Linear Algebra Exercises-n-Answers.pdf
Linear Algebra Exercises-n-Answers.pdf
Linear Algebra Exercises-n-Answers.pdf
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
130 <strong>Linear</strong> <strong>Algebra</strong>, by Hefferon<br />
then the vector ⃗w whose components are v 2 , −v 1 , 0, . . . , 0 is perpendicular to ⃗v. In either case, observe<br />
that ⃗v + ⃗w does not equal ⃗v, and that ⃗v is the projection of ⃗v + ⃗w into l.<br />
(⃗v + ⃗w) ⃗v<br />
· ⃗v = ( ⃗v ⃗v ⃗w ⃗v ) ⃗v ⃗v<br />
+ · ⃗v = · ⃗v = ⃗v<br />
⃗v ⃗v ⃗v ⃗v ⃗v ⃗v ⃗v ⃗v<br />
We can dispose of the remaining n = 0 and n = 1 cases. The dimension n = 0 case is the trivial<br />
vector space, here there is only one vector and so it cannot be expressed as the projection of a different<br />
vector. In the dimension n = 1 case there is only one (nondegenerate) line, and every vector is in it,<br />
hence every vector is the projection only of itself.<br />
Three.VI.1.15 The proof is simply a calculation.<br />
⃗v ⃗s ⃗s |⃗v ⃗s | |⃗v ⃗s |<br />
‖ · ⃗s ‖ = |⃗v | · ‖⃗s ‖ = · ‖⃗s ‖ =<br />
⃗s ⃗s ⃗s ⃗s ‖⃗s ‖<br />
2<br />
‖⃗s ‖<br />
Three.VI.1.16 Because the projection of ⃗v into the line spanned by ⃗s is<br />
⃗v ⃗s<br />
⃗s ⃗s · ⃗s<br />
the distance squared from the point to the line is this (a vector dotted with itself ⃗w ⃗w is written ⃗w 2 ).<br />
⃗v ⃗s<br />
‖⃗v −<br />
⃗s ⃗s · ⃗s ⃗v ⃗s ⃗s<br />
⃗s<br />
‖2 = ⃗v ⃗v − ⃗v ( · ⃗s) − (⃗v · ⃗s ) ⃗v + (⃗v · ⃗s )2<br />
⃗s ⃗s ⃗s ⃗s ⃗s ⃗s<br />
⃗v ⃗s<br />
⃗s<br />
= ⃗v ⃗v − 2 · ( ) · ⃗v ⃗s + (⃗v ) · ⃗s ⃗s<br />
⃗s ⃗s ⃗s ⃗s<br />
= (⃗v ⃗v ) · (⃗s ⃗s ) − 2 · (⃗v ⃗s )2 + (⃗v ⃗s ) 2<br />
⃗s ⃗s<br />
(⃗v ⃗v )(⃗s ⃗s ) − (⃗v ⃗s )2<br />
=<br />
⃗s ⃗s<br />
Three.VI.1.17 Because square root is a strictly increasing function, we can minimize d(c) = (cs 1 −<br />
v 1 ) 2 +(cs 2 −v 2 ) 2 instead of the square root of d. The derivative is dd/dc = 2(cs 1 −v 1 )·s 1 +2(cs 2 −v 2 )·s 2 .<br />
Setting it equal to zero 2(cs 1 − v 1 ) · s 1 + 2(cs 2 − v 2 ) · s 2 = c · (2s 2 1 + 2s 2 2) − (v 1 s 1 + v 2 s 2 ) = 0 gives the<br />
only critical point.<br />
c = v 1s 1 + v 2 s 2 ⃗v ⃗s<br />
=<br />
s 12 + s<br />
2 2 ⃗s ⃗s<br />
Now the second derivative with respect to c<br />
d 2 d<br />
dc 2 = 2s 1 2 2<br />
+ 2s 2<br />
is strictly positive (as long as neither s 1 nor s 2 is zero, in which case the question is trivial) and so the<br />
critical point is a minimum.<br />
The generalization to R n is straightforward. Consider d n (c) = (cs 1 − v 1 ) 2 + · · · + (cs n − v n ) 2 , take<br />
the derivative, etc.<br />
Three.VI.1.18 The Cauchy-Schwartz inequality |⃗v ⃗s | ≤ ‖⃗v ‖ · ‖⃗s ‖ gives that this fraction<br />
⃗v ⃗s ⃗s |⃗v ⃗s | |⃗v ⃗s |<br />
‖ · ⃗s ‖ = |⃗v | · ‖⃗s ‖ = · ‖⃗s ‖ =<br />
⃗s ⃗s ⃗s ⃗s ‖⃗s ‖<br />
2<br />
‖⃗s ‖<br />
when divided by ‖⃗v ‖ is less than or equal to one. That is, ‖⃗v ‖ is larger than or equal to the fraction.<br />
Three.VI.1.19 Write c⃗s for ⃗q, and calculate: (⃗v c⃗s/c⃗s c⃗s ) · c⃗s = (⃗v ⃗s/⃗s ⃗s ) · ⃗s.<br />
Three.VI.1.20<br />
(a) Fixing<br />
(<br />
1<br />
⃗s =<br />
1)<br />
as the vector whose span is the line, the formula gives this action,<br />
( ) (<br />
x 1<br />
( (<br />
x y 1)<br />
1<br />
↦→ ( ) ( · =<br />
y)<br />
1 1 1)<br />
1 1) x + y ( ( )<br />
1 (x + y)/2<br />
· =<br />
2 1)<br />
(x + y)/2<br />
which is the effect of this matrix. ( 1/2<br />
) 1/2<br />
1/2 1/2<br />
(b) Rotating the entire plane π/4 radians clockwise brings the y = x line to lie on the x-axis. Now<br />
projecting and then rotating back has the desired effect.