Professional Documents
Culture Documents
U371sp06 Sol5
U371sp06 Sol5
Alexandru Suciu
MTH U371 LINEAR ALGEBRA Spring 2006
Solutions to Quiz 5
4 −1
1. 8 points Apply the Gram-Schmidt process to the vectors ~v1 = , ~v2 = , and write
3 2
the result in the form A = Q · R.
√
r11 = k~v1 k = 16 + 9 = 5
1 1 4
~u1 = ~v1 =
r11 5 3
1 4 −1 2
r12 = ~u1 ~v2 = =
5 3 2 5
⊥ −1 2 1 4 11 −3
~v2 = ~v2 − r12~u1 = − · =
2 5 5 3 25 4
11 √ 11
r22 =
~v2⊥
= 9 + 16 =
25 5
1 ⊥ 5 11 −3 1 −3
~u2 = ~v = · =
r22 2 11 25 4 5 4
A=Q·R
r11 r12
~v1 ~v1 = ~u1 ~u2 ·
0 r22
4 −1 4/5 −3/5 5 2/5
= ·
3 2 3/5 4/5 0 11/5
1 −2
2. 6 points Consider the vectors ~v = −1 and w
~ = 5 .
2 5
(a) Find the matrix of the orthogonal projection onto the line L in R3 spanned by ~v .
1
1 1
~u = ~v = √ −1
k~v k 6 2
1 1 −1 2
> 1 1 1
A = ~u · ~u = √ −1 · √ 1 −1 2 = −1 1 −2
6 2 6 6 2 −2 4
(b) Find the projection of w
~ onto the line L.
1
1 −1 2 −2
1 2
projL (w)
~ = Aw ~= −1 1 −2 · 5 = − 21
6 2 −2 4 5 1
MTH U371 Solutions to Quiz 5 Spring 2006
Sometimes yes, for example, when A is the identity matrix, and sometimes not, for example,
when A is the zero matrix.
Sometimes yes, for example, when A is the identity matrix, and sometimes not, for example,
when A is the zero matrix.
Sometimes yes, forexample, when Q is the identity matrix, and sometimes not, for example,
0 1
when Q = .
−1 0