Documente Academic
Documente Profesional
Documente Cultură
5 June 2019
Reading: §6.3-6.4
Recommended problems from §6.4:
Announcement: please fill out online evaluations!
Understanding the orthogonal decomposition theorem Gram-Schmidt orthogonalization
Lecture plan
2 Gram-Schmidt orthogonalization
Understanding the orthogonal decomposition theorem Gram-Schmidt orthogonalization
Theorem
Let W be a subspace of Rn . Then each y in Rn can be written
uniquely in the form
y = projW y + z
where projW y is in W and z is in W ⊥ . In fact, if {u1 , . . . , up } is
any orthogonal basis of W , then
y · u1 y · up
projW y = u1 + · · · + up
u1 · u1 up · up
and z = y − projW y.
Understanding the orthogonal decomposition theorem Gram-Schmidt orthogonalization
Geometric interpretation
Example
1
What is the orthogonal projection of the vector 3 onto the
2
3
2-dimensional subspace of R that contains the x-axis and forms
an angle π4 with the y -axis?
Understanding the orthogonal decomposition theorem Gram-Schmidt orthogonalization
and then use it to prove the so-called “existence half” of the first
statement:
Let
2 3 7
x1 = 1
x2 = 1
x3 = 2 .
3 2 3
Can we find an orthogonal basis for Span{x1 , x2 , x3 }?
Understanding the orthogonal decomposition theorem Gram-Schmidt orthogonalization
iClicker
3
that contains 6. What is the 2nd entry of the other vector?
0
(a) -8
(b) -2
(c) 0
(d) 2
1
(e) 5 + 3
Understanding the orthogonal decomposition theorem Gram-Schmidt orthogonalization
Theorem
Given a basis {x1 , . . . , xp } for a nonzero subspace W of Rn , define
v1 = x1
x2 · v1
v2 = x2 − v1
v1 · v1
x3 · v1 x3 · v2
v3 = x3 − v1 − v2
v1 · v1 v2 · v2
..
.
xp · v1 xp · v2 xp · vp−1
vp = xp − v1 − v2 − · · · − vp−1
v1 · v1 v2 · v2 vp−1 · vp−1
Orthonormalizing
Example
1
Let W be the span of 1. Let’s find an orthonormal basis of
1
W ⊥.