SlideShare a Scribd company logo
Householder Transformation and QR
Decomposition
Isaac Amornortey Yowetu
NIMS-GHANA
January 4, 2021
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Introduction
The Householder matrix (reflector) is a unitary (or orthogonal)
matrix that is often used to decompose a matrix into an upper
triangular matrix and orthogonal matrix. In particular,
Householder matrices are usually used to destroy the entries
below the main diagonal of a matrix.
Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Householder Properties
The Householder Transformation or Matrix has the following
properties:
It is symmetric
H = HT
It is also orthogonal
HT
= H−1
Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Consider H to be the Householder Matrix:
Proof: Symmetry
H = HT
(1)
H = I − 2vvT
(2)
HT
= (I − 2vvT
)T
(3)
= IT
− 2(vvT
)T
(4)
= IT
− 2(vT
)T
vT
(5)
= I − 2vvT
(6)
= H (7)
Hence, proved!
Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Consider H to be the Householder Matrix:
Proof: Orthogonality
HT
= H−1
(8)
HT
H = H−1
H = I (9)
HT
H = (I − 2vvT
)T
(I − 2vvT
) (10)
= (I − 2vvT
)(I − 2vvT
) (11)
= I − 2(vvT
) − 2(vvT
) + 4vvT
vvT
(12)
= I − 4(vvT
) + 4v(vT
v)vT
(13)
= I − 4(vvT
) + 4vvT
(14)
= I (15)
Hence, proved! (16)
Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Householder Reflection(Matrix) Derivation
1. Finding any vector u
Considering n dimensional vector x = [x1, x2, ..., xn]T
and
e = [1, 0, ..., 0]T
which a first standard basis vector.
u = x − ||x||e1
2. Finding Householder vector v
v =
u
||u||
3. Construction the Householder Matrix
H = I − 2vvT
= I −
2uuT
||u||2
Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Remark
When the Householder Matrix H is a applied to x, it obtains
its reflection. Say,
x = Hx
Proof
x = Hx = (I − 2vvT
)x = I −
2uuT
||u||2
x (17)
||u||2
= (x − ||x||e1)T
(x − ||x||e1) (18)
= (xT
− ||x||eT
1 )(x − ||x||e1) (19)
= xT
x − ||x||xT
e1 − ||x||eT
1 x + ||x||2
eT
1 e1 (20)
= ||x||2
− 2||x||x1 + ||x||2
(21)
Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Proof continues...
= 2||x||2
− 2||x||x1 (22)
= 2(||x||2
− ||x||x1) (23)
x = I −
2u(x − ||x||e1)T
2(||x||2 − ||x||x1)
x (24)
= x −
2u(xT
x − ||x||eT
1 x)
2(||x||2 − ||x||x1)
(25)
= x −
u(||x||2
− ||x||x1)
(||x||2 − ||x||x1)
(26)
= x − u (27)
= x − (x − ||x||e1) (28)
= ||x||e1 (29)
Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Question 1
Consider the matrix
B =


−1 −1 1
1 3 3
−1 −1 5


using Householder Reflection, determine the QR Factorization.
Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Solution
We consider x1 = [−1, 1 − 1]T
and ||x1||2 =
√
3
u1 = x1 − ||x1||e1
=


−1
1
−1

 −
√
3


1
0
0

 =


−2.7321
1.0000
−1.0000


v1 =
u1
||u1||
=


−0.8881
0.3251
−0.3251


H1 = I − 2vvT
=


−0.5774 0.5774 −0.5774
0.5774 0.7887 0.2113
−0.5774 0.2113 0.7887


Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Solution Continues...
H1B =


−0.5774 0.5774 −0.5774
0.5774 0.7887 0.2113
−0.5774 0.2113 0.7887




−1 −1 1
1 3 3
−1 −1 5


R1 =


1.7321 2.8868 −1.7321
0 1.5774 4.0000
0 0.4226 4.0000


Q1 = H1 =


−0.5774 0.5774 −0.5774
0.5774 0.7887 0.2113
−0.5774 0.2113 0.7887


Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Solution continues...
We consider x2 = [0, 1.5774, 0.4226]T
and ||x2||2 = 1.6330
u2 = x2 − ||x2||e2
=


0
1.5774
0.4226

 − 1.6330


0
1
0

 =


0
−0.0556
0.4226


v2 =
u2
||u2||
=


0
−0.1305
0.9914


H2 = I − 2vvT
=


1.0000 0 0
0 0.9659 0.2588
0 0.2588 −0.9659


Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Solution Continues...
H2R1 =


1.0000 0 0
0 0.9659 0.2588
0 0.2588 −0.9659




1.7321 2.8868 −1.7321
0 1.5774 4.0000
0 0.4226 4.0000


R2 =


1.7321 2.8868 −1.7321
0 1.6330 4.8990
0 0 −2.8284


Q2 = H1H2
=


−0.5774 0.5774 −0.5774
0.5774 0.7887 0.2113
−0.5774 0.2113 0.7887




1.0000 0 0
0 0.9659 0.2588
0 0.2588 −0.9659


Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Solution:
Q = Q2


−0.5774 −0.4082 −0.7071
0.5774 −0.8165 0
−0.5774 −0.4082 0.7071


R = R2


1.7321 2.8868 −1.7321
0 1.6330 4.8990
0 0 −2.8284


Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Question 2
Find QR Decomposition using Householder Method of the
matrix
B =




1 −1 4
1 4 −2
1 4 2
1 −1 0




Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Solution
We consider x1 = [1, 1, 1, 1]T
and ||x1||2 = 2
u1 = x1 − ||x1||e1
=




1
1
1
1



 − 2




1
0
0
0



 =




−1
1
1
1




v1 =
u1
||u1||
=




−0.5000
0.5000
0.5000
0.5000




Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
H1 =




0.50 0.50 0.50 0.50
0.50 0.50 −0.50 −0.50
0.50 −0.50 0.50 −0.50
0.50 −0.50 −0.50 0.50




H1B =




0.50 0.50 0.50 0.50
0.5000 0.5000 −0.50 −0.50
0.50 −0.50 0.50 −0.50
0.50 −0.50 −0.50 0.50








1 −1 4
1 4 −2
1 4 2
1 −1 0




R1 =




2 3 2
0 0 0
0 0 4
0 −5 2




Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Solution Continues...
Q1 = H1 =




0.5000 0.5000 0.5000 0.5000
0.5000 0.5000 −0.5000 −0.5000
0.5000 −0.5000 0.5000 −0.5000
0.5000 −0.5000 −0.5000 0.5000




We consider x2 = [0, 0, 0, −5]T
and ||x2||2 = 5
u2 = x2 − ||x2||e2
=




0
0
0
−5



 − 5




0
1
0
0



 =




0
−5
0
−5




Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Solution continues...
v2 =
u2
||u2||
=




0
−0.7071
0
−0.7071




H2 = I − 2vvT
=




1.00 0 0 0
0 0 0 −1
0 0 1 0
0 −1 0 0




H2R1 =




1.00 0 0 0
0 0 0 −1
0 0 1 0
0 −1 0 0








2 3 2
0 0 0
0 0 4
0 −5 2




Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Solution Continues...
R2 =




2 3 2
0 5 −2
0 0 4
0 0 0




Q2 = H1H2
=




0.50 0.50 0.50 0.50
0.50 0.50 −0.50 −0.50
0.50 −0.50 0.50 −0.50
0.50 −0.50 −0.50 0.50








1.00 0 0 0
0 0 0 −1
0 0 1 0
0 −1 0 0




Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
Solution:
Q = Q2




0.50 −0.50 0.50 0.50
0.50 0.50 −0.50 −0.50
0.50 0.50 0.50 −0.50
0.50 −0.50 −0.50 −0.50




R = R2




2 3 2
0 5 −2
0 0 4
0 0 0




Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
Introduction
Proof of Householder Transformation Properties
Householder Reflection Derivation
Application of Householder Reflection to QR Decomposition
End
THANK YOU
Reference
www.statlect.com/matrix-algebra/Householder-matrix
Isaac Amornortey Yowetu Householder Transformation and QR Decomposition

More Related Content

What's hot

Initial value problems
Initial value problemsInitial value problems
Initial value problems
Ali Jan Hasan
 
Eigenvalue eigenvector slides
Eigenvalue eigenvector slidesEigenvalue eigenvector slides
Eigenvalue eigenvector slides
AmanSaeed11
 
Eigenvalue problems .ppt
Eigenvalue problems .pptEigenvalue problems .ppt
Eigenvalue problems .ppt
Self-employed
 
Odepowerpointpresentation1
Odepowerpointpresentation1 Odepowerpointpresentation1
Odepowerpointpresentation1
Pokarn Narkhede
 
Numerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPTNumerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPT
Panchal Anand
 
Magic graphs
Magic graphsMagic graphs
Magic graphsSpringer
 
Matrix and It's Applications
Matrix and It's ApplicationsMatrix and It's Applications
Matrix and It's Applications
Pritom Chaki
 
Unit5
Unit5Unit5
Natural and Clamped Cubic Splines
Natural and Clamped Cubic SplinesNatural and Clamped Cubic Splines
Natural and Clamped Cubic SplinesMark Brandao
 
Gram schmidt orthogonalization | Orthonormal Process
Gram schmidt orthogonalization | Orthonormal Process Gram schmidt orthogonalization | Orthonormal Process
Gram schmidt orthogonalization | Orthonormal Process
Isaac Yowetu
 
Eigen value and vectors
Eigen value and vectorsEigen value and vectors
Eigen value and vectors
Praveen Prashant
 
Vector space
Vector spaceVector space
Vector space
Mehedi Hasan Raju
 
Numerical solution of eigenvalues and applications 2
Numerical solution of eigenvalues and applications 2Numerical solution of eigenvalues and applications 2
Numerical solution of eigenvalues and applications 2
SamsonAjibola
 
Numerical solution of ordinary differential equations
Numerical solution of ordinary differential equationsNumerical solution of ordinary differential equations
Numerical solution of ordinary differential equations
Santhanam Krishnan
 
Lesson02 Vectors And Matrices Slides
Lesson02   Vectors And Matrices SlidesLesson02   Vectors And Matrices Slides
Lesson02 Vectors And Matrices SlidesMatthew Leingang
 
introduction to differential equations
introduction to differential equationsintroduction to differential equations
introduction to differential equations
Emdadul Haque Milon
 
linear transformation
linear transformationlinear transformation
linear transformation
mansi acharya
 
Group homomorphism
Group homomorphismGroup homomorphism
Group homomorphism
NaliniSPatil
 

What's hot (20)

Initial value problems
Initial value problemsInitial value problems
Initial value problems
 
Eigenvalue eigenvector slides
Eigenvalue eigenvector slidesEigenvalue eigenvector slides
Eigenvalue eigenvector slides
 
Eigenvalue problems .ppt
Eigenvalue problems .pptEigenvalue problems .ppt
Eigenvalue problems .ppt
 
Odepowerpointpresentation1
Odepowerpointpresentation1 Odepowerpointpresentation1
Odepowerpointpresentation1
 
Numerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPTNumerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPT
 
Magic graphs
Magic graphsMagic graphs
Magic graphs
 
Matrix and It's Applications
Matrix and It's ApplicationsMatrix and It's Applications
Matrix and It's Applications
 
Unit5
Unit5Unit5
Unit5
 
Natural and Clamped Cubic Splines
Natural and Clamped Cubic SplinesNatural and Clamped Cubic Splines
Natural and Clamped Cubic Splines
 
Gram schmidt orthogonalization | Orthonormal Process
Gram schmidt orthogonalization | Orthonormal Process Gram schmidt orthogonalization | Orthonormal Process
Gram schmidt orthogonalization | Orthonormal Process
 
Eigen value and vectors
Eigen value and vectorsEigen value and vectors
Eigen value and vectors
 
Numerical method
Numerical methodNumerical method
Numerical method
 
Vector space
Vector spaceVector space
Vector space
 
Numerical solution of eigenvalues and applications 2
Numerical solution of eigenvalues and applications 2Numerical solution of eigenvalues and applications 2
Numerical solution of eigenvalues and applications 2
 
Numerical solution of ordinary differential equations
Numerical solution of ordinary differential equationsNumerical solution of ordinary differential equations
Numerical solution of ordinary differential equations
 
Lesson02 Vectors And Matrices Slides
Lesson02   Vectors And Matrices SlidesLesson02   Vectors And Matrices Slides
Lesson02 Vectors And Matrices Slides
 
introduction to differential equations
introduction to differential equationsintroduction to differential equations
introduction to differential equations
 
Es272 ch3b
Es272 ch3bEs272 ch3b
Es272 ch3b
 
linear transformation
linear transformationlinear transformation
linear transformation
 
Group homomorphism
Group homomorphismGroup homomorphism
Group homomorphism
 

More from Isaac Yowetu

Inverse-power-method.pdf
Inverse-power-method.pdfInverse-power-method.pdf
Inverse-power-method.pdf
Isaac Yowetu
 
Approximating Dominant Eivenvalue By The Power Method
Approximating Dominant Eivenvalue By The Power MethodApproximating Dominant Eivenvalue By The Power Method
Approximating Dominant Eivenvalue By The Power Method
Isaac Yowetu
 
Singular Value Decompostion (SVD): Worked example 3
Singular Value Decompostion (SVD): Worked example 3Singular Value Decompostion (SVD): Worked example 3
Singular Value Decompostion (SVD): Worked example 3
Isaac Yowetu
 
Singular Value Decompostion (SVD): Worked example 2
Singular Value Decompostion (SVD): Worked example 2Singular Value Decompostion (SVD): Worked example 2
Singular Value Decompostion (SVD): Worked example 2
Isaac Yowetu
 
Singular Value Decompostion (SVD): Worked example 1
Singular Value Decompostion (SVD): Worked example 1Singular Value Decompostion (SVD): Worked example 1
Singular Value Decompostion (SVD): Worked example 1
Isaac Yowetu
 
Singular Value Decompostion (SVD)
Singular Value Decompostion (SVD)Singular Value Decompostion (SVD)
Singular Value Decompostion (SVD)
Isaac Yowetu
 
Cayley-Hamilton Theorem, Eigenvalues, Eigenvectors and Eigenspace.
Cayley-Hamilton Theorem, Eigenvalues, Eigenvectors and Eigenspace.Cayley-Hamilton Theorem, Eigenvalues, Eigenvectors and Eigenspace.
Cayley-Hamilton Theorem, Eigenvalues, Eigenvectors and Eigenspace.
Isaac Yowetu
 
Sherman-Morrison Formula Proof
Sherman-Morrison Formula ProofSherman-Morrison Formula Proof
Sherman-Morrison Formula Proof
Isaac Yowetu
 
Gram-Schmidt and QR Decomposition (Factorization) of Matrices
Gram-Schmidt and QR Decomposition (Factorization) of MatricesGram-Schmidt and QR Decomposition (Factorization) of Matrices
Gram-Schmidt and QR Decomposition (Factorization) of Matrices
Isaac Yowetu
 
Regula Falsi (False position) Method
Regula Falsi (False position) MethodRegula Falsi (False position) Method
Regula Falsi (False position) Method
Isaac Yowetu
 
Bisection method
Bisection methodBisection method
Bisection method
Isaac Yowetu
 
Projectors and Projection Onto Subspaces
Projectors and Projection Onto SubspacesProjectors and Projection Onto Subspaces
Projectors and Projection Onto Subspaces
Isaac Yowetu
 
Projectors and Projection Onto a Line
Projectors and Projection Onto a LineProjectors and Projection Onto a Line
Projectors and Projection Onto a Line
Isaac Yowetu
 
Secant Iterative method
Secant Iterative methodSecant Iterative method
Secant Iterative method
Isaac Yowetu
 
Aitken's Method
Aitken's MethodAitken's Method
Aitken's Method
Isaac Yowetu
 
Newton Raphson iterative Method
Newton Raphson iterative MethodNewton Raphson iterative Method
Newton Raphson iterative Method
Isaac Yowetu
 
Fixed point iteration
Fixed point iterationFixed point iteration
Fixed point iteration
Isaac Yowetu
 

More from Isaac Yowetu (17)

Inverse-power-method.pdf
Inverse-power-method.pdfInverse-power-method.pdf
Inverse-power-method.pdf
 
Approximating Dominant Eivenvalue By The Power Method
Approximating Dominant Eivenvalue By The Power MethodApproximating Dominant Eivenvalue By The Power Method
Approximating Dominant Eivenvalue By The Power Method
 
Singular Value Decompostion (SVD): Worked example 3
Singular Value Decompostion (SVD): Worked example 3Singular Value Decompostion (SVD): Worked example 3
Singular Value Decompostion (SVD): Worked example 3
 
Singular Value Decompostion (SVD): Worked example 2
Singular Value Decompostion (SVD): Worked example 2Singular Value Decompostion (SVD): Worked example 2
Singular Value Decompostion (SVD): Worked example 2
 
Singular Value Decompostion (SVD): Worked example 1
Singular Value Decompostion (SVD): Worked example 1Singular Value Decompostion (SVD): Worked example 1
Singular Value Decompostion (SVD): Worked example 1
 
Singular Value Decompostion (SVD)
Singular Value Decompostion (SVD)Singular Value Decompostion (SVD)
Singular Value Decompostion (SVD)
 
Cayley-Hamilton Theorem, Eigenvalues, Eigenvectors and Eigenspace.
Cayley-Hamilton Theorem, Eigenvalues, Eigenvectors and Eigenspace.Cayley-Hamilton Theorem, Eigenvalues, Eigenvectors and Eigenspace.
Cayley-Hamilton Theorem, Eigenvalues, Eigenvectors and Eigenspace.
 
Sherman-Morrison Formula Proof
Sherman-Morrison Formula ProofSherman-Morrison Formula Proof
Sherman-Morrison Formula Proof
 
Gram-Schmidt and QR Decomposition (Factorization) of Matrices
Gram-Schmidt and QR Decomposition (Factorization) of MatricesGram-Schmidt and QR Decomposition (Factorization) of Matrices
Gram-Schmidt and QR Decomposition (Factorization) of Matrices
 
Regula Falsi (False position) Method
Regula Falsi (False position) MethodRegula Falsi (False position) Method
Regula Falsi (False position) Method
 
Bisection method
Bisection methodBisection method
Bisection method
 
Projectors and Projection Onto Subspaces
Projectors and Projection Onto SubspacesProjectors and Projection Onto Subspaces
Projectors and Projection Onto Subspaces
 
Projectors and Projection Onto a Line
Projectors and Projection Onto a LineProjectors and Projection Onto a Line
Projectors and Projection Onto a Line
 
Secant Iterative method
Secant Iterative methodSecant Iterative method
Secant Iterative method
 
Aitken's Method
Aitken's MethodAitken's Method
Aitken's Method
 
Newton Raphson iterative Method
Newton Raphson iterative MethodNewton Raphson iterative Method
Newton Raphson iterative Method
 
Fixed point iteration
Fixed point iterationFixed point iteration
Fixed point iteration
 

Recently uploaded

Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 

Recently uploaded (20)

Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 

Householder transformation | Householder Reflection with QR Decomposition

  • 1. Householder Transformation and QR Decomposition Isaac Amornortey Yowetu NIMS-GHANA January 4, 2021
  • 2. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 3. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Introduction The Householder matrix (reflector) is a unitary (or orthogonal) matrix that is often used to decompose a matrix into an upper triangular matrix and orthogonal matrix. In particular, Householder matrices are usually used to destroy the entries below the main diagonal of a matrix. Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 4. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Householder Properties The Householder Transformation or Matrix has the following properties: It is symmetric H = HT It is also orthogonal HT = H−1 Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 5. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Consider H to be the Householder Matrix: Proof: Symmetry H = HT (1) H = I − 2vvT (2) HT = (I − 2vvT )T (3) = IT − 2(vvT )T (4) = IT − 2(vT )T vT (5) = I − 2vvT (6) = H (7) Hence, proved! Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 6. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Consider H to be the Householder Matrix: Proof: Orthogonality HT = H−1 (8) HT H = H−1 H = I (9) HT H = (I − 2vvT )T (I − 2vvT ) (10) = (I − 2vvT )(I − 2vvT ) (11) = I − 2(vvT ) − 2(vvT ) + 4vvT vvT (12) = I − 4(vvT ) + 4v(vT v)vT (13) = I − 4(vvT ) + 4vvT (14) = I (15) Hence, proved! (16) Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 7. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Householder Reflection(Matrix) Derivation 1. Finding any vector u Considering n dimensional vector x = [x1, x2, ..., xn]T and e = [1, 0, ..., 0]T which a first standard basis vector. u = x − ||x||e1 2. Finding Householder vector v v = u ||u|| 3. Construction the Householder Matrix H = I − 2vvT = I − 2uuT ||u||2 Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 8. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Remark When the Householder Matrix H is a applied to x, it obtains its reflection. Say, x = Hx Proof x = Hx = (I − 2vvT )x = I − 2uuT ||u||2 x (17) ||u||2 = (x − ||x||e1)T (x − ||x||e1) (18) = (xT − ||x||eT 1 )(x − ||x||e1) (19) = xT x − ||x||xT e1 − ||x||eT 1 x + ||x||2 eT 1 e1 (20) = ||x||2 − 2||x||x1 + ||x||2 (21) Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 9. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Proof continues... = 2||x||2 − 2||x||x1 (22) = 2(||x||2 − ||x||x1) (23) x = I − 2u(x − ||x||e1)T 2(||x||2 − ||x||x1) x (24) = x − 2u(xT x − ||x||eT 1 x) 2(||x||2 − ||x||x1) (25) = x − u(||x||2 − ||x||x1) (||x||2 − ||x||x1) (26) = x − u (27) = x − (x − ||x||e1) (28) = ||x||e1 (29) Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 10. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Question 1 Consider the matrix B =   −1 −1 1 1 3 3 −1 −1 5   using Householder Reflection, determine the QR Factorization. Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 11. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Solution We consider x1 = [−1, 1 − 1]T and ||x1||2 = √ 3 u1 = x1 − ||x1||e1 =   −1 1 −1   − √ 3   1 0 0   =   −2.7321 1.0000 −1.0000   v1 = u1 ||u1|| =   −0.8881 0.3251 −0.3251   H1 = I − 2vvT =   −0.5774 0.5774 −0.5774 0.5774 0.7887 0.2113 −0.5774 0.2113 0.7887   Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 12. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Solution Continues... H1B =   −0.5774 0.5774 −0.5774 0.5774 0.7887 0.2113 −0.5774 0.2113 0.7887     −1 −1 1 1 3 3 −1 −1 5   R1 =   1.7321 2.8868 −1.7321 0 1.5774 4.0000 0 0.4226 4.0000   Q1 = H1 =   −0.5774 0.5774 −0.5774 0.5774 0.7887 0.2113 −0.5774 0.2113 0.7887   Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 13. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Solution continues... We consider x2 = [0, 1.5774, 0.4226]T and ||x2||2 = 1.6330 u2 = x2 − ||x2||e2 =   0 1.5774 0.4226   − 1.6330   0 1 0   =   0 −0.0556 0.4226   v2 = u2 ||u2|| =   0 −0.1305 0.9914   H2 = I − 2vvT =   1.0000 0 0 0 0.9659 0.2588 0 0.2588 −0.9659   Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 14. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Solution Continues... H2R1 =   1.0000 0 0 0 0.9659 0.2588 0 0.2588 −0.9659     1.7321 2.8868 −1.7321 0 1.5774 4.0000 0 0.4226 4.0000   R2 =   1.7321 2.8868 −1.7321 0 1.6330 4.8990 0 0 −2.8284   Q2 = H1H2 =   −0.5774 0.5774 −0.5774 0.5774 0.7887 0.2113 −0.5774 0.2113 0.7887     1.0000 0 0 0 0.9659 0.2588 0 0.2588 −0.9659   Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 15. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Solution: Q = Q2   −0.5774 −0.4082 −0.7071 0.5774 −0.8165 0 −0.5774 −0.4082 0.7071   R = R2   1.7321 2.8868 −1.7321 0 1.6330 4.8990 0 0 −2.8284   Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 16. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Question 2 Find QR Decomposition using Householder Method of the matrix B =     1 −1 4 1 4 −2 1 4 2 1 −1 0     Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 17. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Solution We consider x1 = [1, 1, 1, 1]T and ||x1||2 = 2 u1 = x1 − ||x1||e1 =     1 1 1 1     − 2     1 0 0 0     =     −1 1 1 1     v1 = u1 ||u1|| =     −0.5000 0.5000 0.5000 0.5000     Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 18. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition H1 =     0.50 0.50 0.50 0.50 0.50 0.50 −0.50 −0.50 0.50 −0.50 0.50 −0.50 0.50 −0.50 −0.50 0.50     H1B =     0.50 0.50 0.50 0.50 0.5000 0.5000 −0.50 −0.50 0.50 −0.50 0.50 −0.50 0.50 −0.50 −0.50 0.50         1 −1 4 1 4 −2 1 4 2 1 −1 0     R1 =     2 3 2 0 0 0 0 0 4 0 −5 2     Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 19. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Solution Continues... Q1 = H1 =     0.5000 0.5000 0.5000 0.5000 0.5000 0.5000 −0.5000 −0.5000 0.5000 −0.5000 0.5000 −0.5000 0.5000 −0.5000 −0.5000 0.5000     We consider x2 = [0, 0, 0, −5]T and ||x2||2 = 5 u2 = x2 − ||x2||e2 =     0 0 0 −5     − 5     0 1 0 0     =     0 −5 0 −5     Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 20. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Solution continues... v2 = u2 ||u2|| =     0 −0.7071 0 −0.7071     H2 = I − 2vvT =     1.00 0 0 0 0 0 0 −1 0 0 1 0 0 −1 0 0     H2R1 =     1.00 0 0 0 0 0 0 −1 0 0 1 0 0 −1 0 0         2 3 2 0 0 0 0 0 4 0 −5 2     Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 21. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Solution Continues... R2 =     2 3 2 0 5 −2 0 0 4 0 0 0     Q2 = H1H2 =     0.50 0.50 0.50 0.50 0.50 0.50 −0.50 −0.50 0.50 −0.50 0.50 −0.50 0.50 −0.50 −0.50 0.50         1.00 0 0 0 0 0 0 −1 0 0 1 0 0 −1 0 0     Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 22. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition Solution: Q = Q2     0.50 −0.50 0.50 0.50 0.50 0.50 −0.50 −0.50 0.50 0.50 0.50 −0.50 0.50 −0.50 −0.50 −0.50     R = R2     2 3 2 0 5 −2 0 0 4 0 0 0     Isaac Amornortey Yowetu Householder Transformation and QR Decomposition
  • 23. Introduction Proof of Householder Transformation Properties Householder Reflection Derivation Application of Householder Reflection to QR Decomposition End THANK YOU Reference www.statlect.com/matrix-algebra/Householder-matrix Isaac Amornortey Yowetu Householder Transformation and QR Decomposition