



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




The Final Exam is on Thursday, June 15, 2006, 8:00 AM – 10:00 AM at NESBITT 111
Final Exam Breakdown –
Sections % 1.1-1.5,1.7-1.9,2.1-2.5 - 25% 2.8-2.9,3.1-3.3,4.7,5.1-5.3,5.5-5.7 - 45% 6.1-6.6, 7.1 - 35%
,^ v^ =
. Describe the set of all vectors in^ R^3 that are orthogonal to both
u and v.
Let x =
x 1 x 2 x 3
be a vector orthogonal to both^ u^ and^ v. Then^ x^ ·^ u^ = 0 and^ x^ ·^ v^ = 0. Thus,
x 1 + 5x 2 = 0 −x 1 + x 3 = 0
[ 1 5 0 − 1 0 1
] ∼
[ 1 5 0 0 5 1
] ∼
[ 1 0 − 1 (^0 1 )
] ⇒
x 1 = x 3 x 2 = − 15 x 3 x 3 = x 3 free.
Thus, x = x 3
, where x 3 is any real number.
The vectors in R^3 orthogonal to both u and v are the scalar multiples of
.
u =
, v =
.
Find a basis for S⊥. Give a geometric description of S and S⊥.
This is just question (1). We have that S⊥^ =Span
.
A basis for S⊥^ is
.
S is the plane in R^3 spanned by the vectors u and v, and S⊥^ is the line through the origin and
the vector
.
[ 2 3
] , u =
[ 4 − 7
]
. Let L =Span{u}.
(a) Find the orthogonal projection of y onto L. (b) Write y as a sum of a vector in L and a vector orthogonal to L. (c) What is the distance from y to L?
(a) ˆy = projLy =
( (^) y·u u·u
) u = − 6513
[ 4 − 7
] = − (^15)
[ 4 − 7
] .
(b) y = ˆy + z, yˆ =
[ − (^45) 7 5
] , z =
[ 2 3
] −
[ − (^45) 7 5
[ (^14) 5 8 5
] .
(c) ‖ˆy − y‖ = ‖z‖ =
√ ( 145 )^2 + ( 85 )^2 =
√ 260
Let x =
, u =
, v =
, and W = Span{u, v}. Note that u · v = 0.
Find a vector a in W and a vector b that is orthogonal to W , such that x = a + b.
a = projW x =
( (^) x·u u·u
) u +
( (^) x·v v·v
) v, b = x − a.
a =
+^28 21
= −^1 3
+^4 3
=
, b = x − a =
.
[ 2 4
] , and a line L =
{[ x 1 x 2
] : 4 x 1 + 3x 2 = 0
} in R^2 :
(a) Find the vector in L that is closest to x; that is, find the orthogonal projection of x onto the line L. (b) Write x as a vector sum x = p + z, where p is in L and z is in L⊥.
We have that L = Span{u} where u =
[ − 3 4
] .
(a) ˆx = projLx =
( (^) x·u u·u
) u = (^1025)
[ − 3 4
] = (^25)
[ − 3 4
[ − (^65) 8 5
] .
(b) x = ˆx + z, xˆ =
[ − (^65) 8 5
] , z =
[ 2 4
] −
[ − (^65) 8 5
[ (^16) 5 12 5
] .
,^ b^ =
.
(a) Write the normal equations for the least-squares solution of Ax = b. (b) Find the least-squares solution of Ax = b, using the normal equations. (c) Find the closest point to b in the column space of A.
. Find an orthonormal basis for the column space of A.
A = [x 1 x 2 x 3 ], where x 1 =
, x 2 =
, x 3 =
.
Let’s use the Gram-Schmidt process to orthogonalize {x 1 , x 2 , x 3 } :
v 1 = x 1 =
v 2 = x 2 −
( x 2 ·v 1 v 1 ·v 1
) v 1 =
− 9 9
=
v 3 = x 3 −
( x 3 ·v 1 v 1 ·v 1
) v 1 −
( x 3 ·v 2 v 2 ·v 2
) v 2 =
− − 9 9
− − 5 5
=
.
An orthonormal basis for the column space of A is
{ v 1 ‖v 1 ‖
v 2 ‖v 2 ‖
v 3 ‖v 3 ‖
1 3 2 3 2 3 ,
√^2 5 0 − √^15
√^2 45 − √^545 √^4 45
, b =
.
(a) Find the orthogonal projection of b onto Col A. (b) Use (a) to find the least-squares solution of Ax = b.
(a) Let A = [u 1 u 2 u 3 ]. Then
u 1 · u 2 = 0, u 1 · u 3 = 0 and u 2 · u 3 = 0,
so {u 1 , u 2 , u 3 } is an orthogonal basis for Col A. Thus,
bˆ = projCol Ab =
( b·u 1 u 1 ·u 1
) u 1 +
( b·u 2 u 2 ·u 2
) u 2 +
( b·u 3 u 3 ·u 3
) u 3
+^143
+^ − 35
.
(b) From (a), we have bˆ =^1 3 u 1 +
u 2 −
u 3.
The least-squares solution ˆx is the solution to Aˆx = ˆb, that is, the entries of ˆx are the weights when the projection ˆb is written as a combination of the columns of A. Thus,
xˆ =
1 3 14 3 − (^53)
.
We need to find c 0 and c 1 that best approximates
︸ ︷︷ ︸ A
[ c 0 c 1
︸ ︷︷ ︸ b
The normal equations are: AT^ Axˆ = AT^ b, where
[ 1 1 1 1 1 2 4 5
]
=
[ 4 12 12 46
] ,
and
AT^ b =
[ 1 1 1 1 1 2 4 5
]
=
[ 7 16
] .
Row reduction:
[ 4 12 7 12 46 16
] ∼
[ 4 12 7 0 10 − 5
] ∼
[ (^1 3 ) 0 1 − (^12)
] ∼
[ (^1 0 ) 0 1 − (^12)
] .
The least-squares line that best approximates the data points is y = 134 − 12 x.
. Then
v 1 =
,^ v 2 =
,^ v 3 =
are linearly independent eigenvectors of A. Orthogonally diagonalize A. (That is, find an orthog- onal matrix U = [u 1 u 2 u 3 ] whose columns are an orthonormal set of eigenvectors of A, and a diagonal matrix D such that A = U DU −^1 = U DU T^ .)
Check that Av 1 = v 1 Av 2 = v 2 Av 3 = 10 v 3.