



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Solutions to assignment 5, which covers the concepts of inner products, orthogonal projections, and the gram-schmidt process. It includes calculations and explanations of theorems and processes.
Typology: Exercises
1 / 6
This page cannot be seen from the preview
Don't miss anything!




a. To prove that − −, (^) A is an inner product, we check the axioms:
(because the dot product is an inner product) = ,
A
A
u v Au Av Av Au v u
i G G i G G
A
A A
u v w A u v Aw Au Av Aw Au Aw Av Aw u w v w
i G G JG i G JG G JG i i G JG G JG
ru v S ru Sv rSu Sv r Su Sv r u v
i G G i G G i G G
2
(the dot product norm) 0
u u (^) A Su Su
Su
i G
b. Let 1 2 2
: and :. u v u v u v
G G (^1) Then we see
1 1 2 2 1 2 1 2 1 2 1 2 1 2 1 2
, : cos^ sin^ cos^ sin sin cos sin cos cos sin cos sin sin cos sin cos cos sin cos sin sin
A u v u^ v u v u u v v u u v v u u v v
i
i
( ) (^) ( )
1 2 1 2 (^2 21 1 2 )
1 2 2 2 2 1 1 2 1 2 1 1 2 2
cos sin cos (cos sin ) sin cos sin cos cos sin cos sin sin cos
u u v v u v u v u v u v u v v u u v u v
⎢⎣ ⎥ ⎢⎦ ⎣^ i ⎥⎦
c. (Bonus) This inner product takes the vectors u and v
maps them using the linear transformation represented by A, and then takes the dot product of the resulting vectors. Now, in part b), the matrix represents a rotation. Since the dot product measures angles and lengths and rotations change neither of these, the effect in b) makes sense.
a.
i
i 0
b. 2 2 2
x x x x x x
( )
proj , 0 (^0 1 1 ) 1 1 1 0 1 1
v
u v u v v v
G
b. (^2 ) 1 0 1 1 1 1 1 0 0
u = u − u ⎡ ⎤ ⎡ ⎤ = ⎢ ⎥^ −⎢ ⎥ ⎢ ⎥ ⎢ ⎥ ⎢ ⎥⎣ ⎦ ⎢ ⎥⎣ ⎦ = ⎡ ⎤ ⎢ ⎥ ⎢ ⎥ ⎢ ⎥⎣ ⎦
a. Suppose that ai is a row of A and
v
is such that Av = 0
. Consider a vi.
i
1 1 1 2 2 2 1 2
i i i i i im m m
a v v a v v a v a a a a v v
i i "
Also, let’s expand out the Av = 0
11 12 1 1 2 1 2
1 2
m
i i im m n n nm
a a a v v a a a v a a a
The calculation of the i’th coordinate in the above equation is
1 2 i 1 i 2 im^0 m
v v a a a v
So we see that the row ai
is orthogonal to v
. Since the row space is spanned of A and the null space is the collection of all vectors mapped to 0 by A, we see that
b. Using the result from a), to find the orthogonal complement of a collection of vectors, one needs only to put them into a matrix as rows and then find the null space.
1 3 (^2 3 )
2 4 3 3 2
1 2 4 3
" "" 2"" "
1 33"^ "
2
R R RR RR
R R R (^) R R
R R R R
−
↔ −
−
12 33
1 3 2"" ""
R RR (^) RR − −−
This has two free variables so the null space (and hence the orthogonal complement of W) has two vectors in its basis: 1 0 1 0 Span 0 , 1 0 0 0 1