![]()
MATH347 L15: Matrix factorizations
|
New concepts:
Gaussian elimination as
Gram-Schmidt as
Solving linear systems
![]()
Solving
by Gaussian elimination
|
Recall from Lesson 9
Gaussian elimination produces a sequence matrices similar to
Step produces zeros underneath diagonal position
Step can be represented as multiplication by matrix
All steps produce an upper triangular matrix
With permutations (Matlab [L,U,P]=lu(A), A=P'*L*U)
![]()
Matrix formulation of Gaussian elimination
|
With known -factorization:
To solve :
Carry out -factorization:
Solve by forward substitution to find
Solve by backward substitution
FLOP = floating point operation = one multiplication and one addition
Operation counts: how many FLOPS in each step?
Each costs FLOPS. Overall
Forward substitution step costs flops
Backward substitution cost is identical /
![]()
Gram-Schmidt as
|
Recall from Lesson 13
Orthonormalization of columns of is also a factorization
Operation count:
costs FLOPS
There are components in , Overall cost
With permutations (Matlab [Q,R,P]=qr(A) )
![]()
Solving linear ,
systems by
|
With known -factorization:
To solve :
Carry out -factorization:
Compute
Solve by backward substitution
Find
Operation counts: how many FLOPS in each step?
-factorization
Compute ,
Backward substitution