SlideShare a Scribd company logo
1 of 10
Download to read offline
Gram-Schmidt and QR Decompostion
(Factorization) of Matrices
Isaac Amornortey Yowetu
NIMS-GHANA
September 24, 2020
1 Introduction
2 Types of Matrices under consideration
3 QR Decompostion
4 Application of Gram-Schmidt Process to QR Decomposition
Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 2 / 10
Introduction
Gram-Schmidt Process is one of the principal numerical
algorithms for computing QR Factorization.
Householder Triangularization is also one of the other algorithms
for computing QR Factorization.
In QR Decomposition;
Q is an Orthogonal Matrix with orthonormal basis.
R is a Right Upper Triangular Matrix.
A matrix A can be decomposed as A = QR.
Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 3 / 10
Cases of Matrices
Considering An×m
Q-Factor
In a real space, if A is a square matrix(m=n), then
Q is an orthogonal unit vectors such that,
QT
Q = QQT
= I
if Q m × n and (m = n) with orthonormal columns, then
QT
Q = I
R-Factor
R is n × n right upper triangular matrix with rii = 0 (nonzero)
elements
R is nonsinular matrix
Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 4 / 10
QR Decomposition
A = QR
a1 a2 · · · an = q1 q2 · · · qn





r11 r12 · · · r1n
0 r22 · · · r2n
...
...
...
...
0 0 · · · rnn





Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 5 / 10
Question
Example 1
Consider the matrix
B =




−1 −1 1
1 3 3
−1 −1 5
1 3 7




using Gram-Schmidt process, determine the QR Factorization.
Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 6 / 10
solution
Rewrite B as B = [b1, b2, b3] where
b1 =




−1
1
−1
1



 , b2 =




−1
3
−1
3



 , b3 =




1
3
5
7




Suppose {v1, v2, v3} ∈ V a set of linearly independent vectors and
{q1, q2, q3} ∈ Q a set of othornormal basis.
Let v1 = b1 =




−1
1
−1
1



, r11 = ||v1|| =
√
4 = 2
Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 7 / 10
Solution Continues...
q1 = v1
||v1||
= 1
2




−1
1
−1
1



 =




−1
2
1
2
−1
2
1
2




v2 = b2 − projq1 (b2)
v2 = b2 − r12q1
=




−1
3
−1
3



 − 4




−1
2
1
2
−1
2
1
2



 =




1
1
1
1




But, r12 = <q1,b2>
<q1,q1>
= 1
2
+ 3
2
+ 1
2
+ 3
2
= 4 and ||v2|| =
√
4 = 2
Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 8 / 10
Solution Continues...
q2 = v2
||v2||
= 1
2




1
1
1
1



 =




1
2
1
2
1
2
1
2




v3 = b3 − projq1 (b3) − projq2 (b3)
v3 = b3 − r13q1 − r23q2
=




1
3
5
7



 − 2




−1
2
1
2
−1
2
1
2



 − 8




1
2
1
2
1
2
1
2



 =




−2
−2
2
2




But, r13 = <q1,b3>
<q1,q1>
= 2, r23 = <q2,b3>
<q2,q2>
= 8 and ||v3|| =
√
16 = 4
Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 9 / 10
Solution Continues...
q3 = v3
||v3||
= 1
4




−2
−2
2
2



 =




−1
2
−1
2
1
2
1
2




Solution: B = QR




−1 −1 1
1 3 3
−1 −1 5
1 3 7



 =




−1
2
1
2
−1
2
1
2
1
2
−1
2
−1
2
1
2
1
2
1
2
1
2
1
2






2 4 2
0 2 8
0 0 4


Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 10 / 10

More Related Content

What's hot

Inner product spaces
Inner product spacesInner product spaces
Inner product spacesEasyStudy3
 
Neural Networks: Radial Bases Functions (RBF)
Neural Networks: Radial Bases Functions (RBF)Neural Networks: Radial Bases Functions (RBF)
Neural Networks: Radial Bases Functions (RBF)Mostafa G. M. Mostafa
 
Givens rotation method
Givens rotation methodGivens rotation method
Givens rotation methodIsaac Yowetu
 
Discrete mathematics Ch1 sets Theory_Dr.Khaled.Bakro د. خالد بكرو
Discrete mathematics Ch1 sets Theory_Dr.Khaled.Bakro د. خالد بكروDiscrete mathematics Ch1 sets Theory_Dr.Khaled.Bakro د. خالد بكرو
Discrete mathematics Ch1 sets Theory_Dr.Khaled.Bakro د. خالد بكروDr. Khaled Bakro
 
Lu decomposition
Lu decompositionLu decomposition
Lu decompositiongilandio
 
Numerical Methods - Power Method for Eigen values
Numerical Methods - Power Method for Eigen valuesNumerical Methods - Power Method for Eigen values
Numerical Methods - Power Method for Eigen valuesDr. Nirav Vyas
 
Newton's Forward/Backward Difference Interpolation
Newton's Forward/Backward  Difference InterpolationNewton's Forward/Backward  Difference Interpolation
Newton's Forward/Backward Difference InterpolationVARUN KUMAR
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equationsRifat Rahamatullah
 
Gradient Steepest method application on Griewank Function
Gradient Steepest method application  on Griewank Function Gradient Steepest method application  on Griewank Function
Gradient Steepest method application on Griewank Function Imane Haf
 
Linear transformation.ppt
Linear transformation.pptLinear transformation.ppt
Linear transformation.pptRaj Parekh
 
Gaussian Elimination Method
Gaussian Elimination MethodGaussian Elimination Method
Gaussian Elimination MethodAndi Firdaus
 
Inner Product Space
Inner Product SpaceInner Product Space
Inner Product SpacePatel Raj
 
Linear algebra-Basis & Dimension
Linear algebra-Basis & DimensionLinear algebra-Basis & Dimension
Linear algebra-Basis & DimensionManikanta satyala
 
Gradient descent method
Gradient descent methodGradient descent method
Gradient descent methodSanghyuk Chun
 
Null space, Rank and nullity theorem
Null space, Rank and nullity theoremNull space, Rank and nullity theorem
Null space, Rank and nullity theoremRonak Machhi
 
CMSC 56 | Lecture 17: Matrices
CMSC 56 | Lecture 17: MatricesCMSC 56 | Lecture 17: Matrices
CMSC 56 | Lecture 17: Matricesallyn joy calcaben
 
Gaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationGaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationStudent
 

What's hot (20)

Inner product spaces
Inner product spacesInner product spaces
Inner product spaces
 
Neural Networks: Radial Bases Functions (RBF)
Neural Networks: Radial Bases Functions (RBF)Neural Networks: Radial Bases Functions (RBF)
Neural Networks: Radial Bases Functions (RBF)
 
Givens rotation method
Givens rotation methodGivens rotation method
Givens rotation method
 
Diagonalization
DiagonalizationDiagonalization
Diagonalization
 
Discrete mathematics Ch1 sets Theory_Dr.Khaled.Bakro د. خالد بكرو
Discrete mathematics Ch1 sets Theory_Dr.Khaled.Bakro د. خالد بكروDiscrete mathematics Ch1 sets Theory_Dr.Khaled.Bakro د. خالد بكرو
Discrete mathematics Ch1 sets Theory_Dr.Khaled.Bakro د. خالد بكرو
 
L8 fuzzy relations contd.
L8 fuzzy relations contd.L8 fuzzy relations contd.
L8 fuzzy relations contd.
 
Lu decomposition
Lu decompositionLu decomposition
Lu decomposition
 
Numerical Methods - Power Method for Eigen values
Numerical Methods - Power Method for Eigen valuesNumerical Methods - Power Method for Eigen values
Numerical Methods - Power Method for Eigen values
 
Newton's Forward/Backward Difference Interpolation
Newton's Forward/Backward  Difference InterpolationNewton's Forward/Backward  Difference Interpolation
Newton's Forward/Backward Difference Interpolation
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equations
 
Gradient Steepest method application on Griewank Function
Gradient Steepest method application  on Griewank Function Gradient Steepest method application  on Griewank Function
Gradient Steepest method application on Griewank Function
 
Linear transformation.ppt
Linear transformation.pptLinear transformation.ppt
Linear transformation.ppt
 
Gaussian Elimination Method
Gaussian Elimination MethodGaussian Elimination Method
Gaussian Elimination Method
 
Inner Product Space
Inner Product SpaceInner Product Space
Inner Product Space
 
Echelon forms
Echelon formsEchelon forms
Echelon forms
 
Linear algebra-Basis & Dimension
Linear algebra-Basis & DimensionLinear algebra-Basis & Dimension
Linear algebra-Basis & Dimension
 
Gradient descent method
Gradient descent methodGradient descent method
Gradient descent method
 
Null space, Rank and nullity theorem
Null space, Rank and nullity theoremNull space, Rank and nullity theorem
Null space, Rank and nullity theorem
 
CMSC 56 | Lecture 17: Matrices
CMSC 56 | Lecture 17: MatricesCMSC 56 | Lecture 17: Matrices
CMSC 56 | Lecture 17: Matrices
 
Gaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationGaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equation
 

More from Isaac Yowetu

Inverse-power-method.pdf
Inverse-power-method.pdfInverse-power-method.pdf
Inverse-power-method.pdfIsaac 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 MethodIsaac 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 3Isaac 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 2Isaac 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 1Isaac 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 ProofIsaac Yowetu
 
Householder transformation | Householder Reflection with QR Decomposition
Householder transformation | Householder Reflection with QR DecompositionHouseholder transformation | Householder Reflection with QR Decomposition
Householder transformation | Householder Reflection with QR DecompositionIsaac Yowetu
 
Regula Falsi (False position) Method
Regula Falsi (False position) MethodRegula Falsi (False position) Method
Regula Falsi (False position) MethodIsaac Yowetu
 
Projectors and Projection Onto Subspaces
Projectors and Projection Onto SubspacesProjectors and Projection Onto Subspaces
Projectors and Projection Onto SubspacesIsaac Yowetu
 
Projectors and Projection Onto a Line
Projectors and Projection Onto a LineProjectors and Projection Onto a Line
Projectors and Projection Onto a LineIsaac Yowetu
 
Secant Iterative method
Secant Iterative methodSecant Iterative method
Secant Iterative methodIsaac Yowetu
 
Newton Raphson iterative Method
Newton Raphson iterative MethodNewton Raphson iterative Method
Newton Raphson iterative MethodIsaac Yowetu
 
Fixed point iteration
Fixed point iterationFixed point iteration
Fixed point iterationIsaac 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
 
Householder transformation | Householder Reflection with QR Decomposition
Householder transformation | Householder Reflection with QR DecompositionHouseholder transformation | Householder Reflection with QR Decomposition
Householder transformation | Householder Reflection with QR Decomposition
 
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

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 

Recently uploaded (20)

Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 

Gram-Schmidt and QR Decomposition (Factorization) of Matrices

  • 1. Gram-Schmidt and QR Decompostion (Factorization) of Matrices Isaac Amornortey Yowetu NIMS-GHANA September 24, 2020
  • 2. 1 Introduction 2 Types of Matrices under consideration 3 QR Decompostion 4 Application of Gram-Schmidt Process to QR Decomposition Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 2 / 10
  • 3. Introduction Gram-Schmidt Process is one of the principal numerical algorithms for computing QR Factorization. Householder Triangularization is also one of the other algorithms for computing QR Factorization. In QR Decomposition; Q is an Orthogonal Matrix with orthonormal basis. R is a Right Upper Triangular Matrix. A matrix A can be decomposed as A = QR. Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 3 / 10
  • 4. Cases of Matrices Considering An×m Q-Factor In a real space, if A is a square matrix(m=n), then Q is an orthogonal unit vectors such that, QT Q = QQT = I if Q m × n and (m = n) with orthonormal columns, then QT Q = I R-Factor R is n × n right upper triangular matrix with rii = 0 (nonzero) elements R is nonsinular matrix Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 4 / 10
  • 5. QR Decomposition A = QR a1 a2 · · · an = q1 q2 · · · qn      r11 r12 · · · r1n 0 r22 · · · r2n ... ... ... ... 0 0 · · · rnn      Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 5 / 10
  • 6. Question Example 1 Consider the matrix B =     −1 −1 1 1 3 3 −1 −1 5 1 3 7     using Gram-Schmidt process, determine the QR Factorization. Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 6 / 10
  • 7. solution Rewrite B as B = [b1, b2, b3] where b1 =     −1 1 −1 1     , b2 =     −1 3 −1 3     , b3 =     1 3 5 7     Suppose {v1, v2, v3} ∈ V a set of linearly independent vectors and {q1, q2, q3} ∈ Q a set of othornormal basis. Let v1 = b1 =     −1 1 −1 1    , r11 = ||v1|| = √ 4 = 2 Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 7 / 10
  • 8. Solution Continues... q1 = v1 ||v1|| = 1 2     −1 1 −1 1     =     −1 2 1 2 −1 2 1 2     v2 = b2 − projq1 (b2) v2 = b2 − r12q1 =     −1 3 −1 3     − 4     −1 2 1 2 −1 2 1 2     =     1 1 1 1     But, r12 = <q1,b2> <q1,q1> = 1 2 + 3 2 + 1 2 + 3 2 = 4 and ||v2|| = √ 4 = 2 Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 8 / 10
  • 9. Solution Continues... q2 = v2 ||v2|| = 1 2     1 1 1 1     =     1 2 1 2 1 2 1 2     v3 = b3 − projq1 (b3) − projq2 (b3) v3 = b3 − r13q1 − r23q2 =     1 3 5 7     − 2     −1 2 1 2 −1 2 1 2     − 8     1 2 1 2 1 2 1 2     =     −2 −2 2 2     But, r13 = <q1,b3> <q1,q1> = 2, r23 = <q2,b3> <q2,q2> = 8 and ||v3|| = √ 16 = 4 Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 9 / 10
  • 10. Solution Continues... q3 = v3 ||v3|| = 1 4     −2 −2 2 2     =     −1 2 −1 2 1 2 1 2     Solution: B = QR     −1 −1 1 1 3 3 −1 −1 5 1 3 7     =     −1 2 1 2 −1 2 1 2 1 2 −1 2 −1 2 1 2 1 2 1 2 1 2 1 2       2 4 2 0 2 8 0 0 4   Isaac Amornortey Yowetu (NIMS-GHANA)Gram-Schmidt and QR Decompostion (Factorization) of MatricesSeptember 24, 2020 10 / 10