Section 6.4 The Gram-Schmidt Process: Span Where X and X - Find An Orthogonal
Section 6.4 The Gram-Schmidt Process: Span Where X and X - Find An Orthogonal
Goal: Form an orthogonal basis for a subspace W. 1 EXAMPLE: Suppose W Span x 1 , x 2 where x 1 basis v 1 , v 2 for W. 1 0 and x 2 2 2 3 . Find an orthogonal
1 0
x 2 v 1 v 1 v 1
v1 1 0 0 3
v1
2 3
4 2
1 0
(component of x 2 orthogonal to x 1 )
EXAMPLE: Suppose x 1 , x 2 , x 3 is a basis for a subspace W of R 4 . Describe an orthogonal basis for W. Solution: Let v1, v2 Let
THEOREM 11
v2 v2
x p v p1 v p1 v p1
v p1
1 , x2 2 0 0 , x3
1 0 0 1 , is a basis for a
and
1
5 14
v1
2 0 0
2 3 0
9 14 9 7 15 14
9 14 9 7 15 14
0 9 18 15
v1
x 3 v 2 v 2 v 2
v2 9
1
1 14
2 3 0
9 630
18 15 0
1 2 3 0
1 70
9 18 15 0
4 5 2 5
0 1
4 Rescale (optional): v 3 2 0 5 Orthogonal Basis for W: 1 v1, v2, v3 2 3 0 Orthonomal Basis 1 Suppose the following is an orthogonal basis for subspace W span 1 0 1 v1, v2 1 0 Rescale to form unit vectors: 1 u1
1 v 1 1 2
9 , 18 15 0 ,
4 2 0 5
2 , 2 3 :
0 , 0 3
v1
1 2
1 0 0
1 2
0 0 0 1
u2
1 v 2
v2
1 3
0 3
If A is an m n matrix with linearly independent columns, then A can be factored as A QR, where Q is an m n matrix whose columns form an orthogonal basis for Col A and R is an n n upper triangular invertible matrix with positive entries on its main diagonal.
0 , 0 1 which is an orthonomal
1 2
0 0 1 .
R QTA
1 2
2 0
1 2
2 0 0 1
1 2 1 2 0 3
2 2 2 0 3