Professional Documents
Culture Documents
3 June 2019
Reading: §6.3-6.4
Recommended problems from §6.3: 1-13 odd, 19, 21, 22, 23
Announcement: please fill out online evaluations!
Finishing up w/ orthogonal sets Orthogonal projections onto lines General orthogonal projections
Lecture plan
y = c1 u1 + · · · + cp up
are given by
y · uj
cj =
uj · uj
for each j = 1, . . . , p.
Finishing up w/ orthogonal sets Orthogonal projections onto lines General orthogonal projections
iClicker
Recall from Friday that the set of vectors B consisting of
3 −1 −1/2
u1 = 1 u2 = 2 u3 = −2
1 1 7/2
is an orthogonal basis of R3 . What is the u2 coordinate of
1
v = 2
1
in the B-basis?
(a) uu22·u·v2
(b) v·u
v·v
2
(c) uv·u
2 ·u2
1
v·u2
(d) u2 ·u2
(e) uv·u
3 ·u3
2
Finishing up w/ orthogonal sets Orthogonal projections onto lines General orthogonal projections
Orthonormal bases
Examples
InT In = In In = In .
y = ŷ + z,
z = y − ŷ = y − αu,
so
(y − αu) · u = y · u − αu · u = 0,
and we conclude
y·u
. α=
u·u
(Note: we assumed u 6= 0, so we’re not dividing by 0 here.)
Finishing up w/ orthogonal sets Orthogonal projections onto lines General orthogonal projections
iClicker 1
9 −1
Let u= and y = . What is the projection of y onto
−2 4
the line spanned by u?
85 9
(a) −17 −2
−17 −1
(b) 85 4
−17 9
(c) 85 −2
85 −1
(d) −17 4
68/85
(e)
306/85
Finishing up w/ orthogonal sets Orthogonal projections onto lines General orthogonal projections
iClicker 2
9 −1
Let u = and y = . What is the component of y
−2 4
orthogonal to u? (Hint: use the answer to the previous question.)
918/85
(a)
−204/85
−17 −1
(b) 85 4
−17 9
(c) 85 −2
85 −1
(d) −17 4
68/85
(e)
306/85
Finishing up w/ orthogonal sets Orthogonal projections onto lines General orthogonal projections
y = c1 u1 + · · · + c4 u4 .
See board.
Finishing up w/ orthogonal sets Orthogonal projections onto lines General orthogonal projections
Theorem
Let W be a subspace of Rn . Then each y in Rn can be written
uniquely in the form
y = ŷ + z
where ŷ is in W and z is in W ⊥ . In fact, if {u1 , . . . , up } is any
orthogonal basis of W , then
y · u1 y · up
ŷ = u1 + · · · + up
u1 · u1 up · up
and z = y − ŷ.
Why we care
Example
Let
−2 −1 3
u1 = 0 u2 = 1 y = 2 .
1 2 1
Let’s find the orthogonal decomposition of y with respect to the
subspace W = Span{u1 , u2 }.