


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
The solutions to test 2 of math 304, which covers topics such as orthogonal projections, eigenvectors, and line fitting. Students are expected to understand concepts related to matrix operations, vector spaces, and linear algebra. Detailed solutions to various problems, with explanations and worked-out calculations.
Typology: Exams
1 / 4
This page cannot be seen from the preview
Don't miss anything!



Test 2 Solutions February 16, 2007 Name
Put your answers in the space provided. Show your reasoning. The maximum score on the test is 30 points. Calculators may be used unless specifically restricted.
and let v =
. Let W be the column space of A. Write v as the sum
of two vectors, one in W and the other in W ⊥.
First observe that the columns of A are orthogonal. We first find the projection of v onto W and then subtract this projection from v to find its projection onto W ⊥.
projW v =
+
=
+
=
projW ⊥ v =
So v =
+
(5I − A)x = 5x − Ax = 5x − λx = (5 − λ)x
So x is an eigenvector for 5 I − A and the eigenvalue is 5 − λ
The points yield three equations
b + m = 1 b + 2m = − 3 b + 6m = − 7
or Ax =
[ b m
= b
[ 1 1 1 1 2 6
]
=
[ 3 9 9 41
] AT^ b =
[ 1 1 1 1 2 6
]
=
[ − 9 − 47
]
[ 3 9 − 9 9 41 − 47
] ⇒
[ 1 3 − 3 0 14 − 20
] ⇒
[ 7 21 − 21 0 7 − 10
] ⇒
[ 7 0 9 0 7 − 10
]
So we have b − 9 / 7 , m = − 10 / 7 and the equation of the line is y = −
x +
,
,
and let v =
4a. 2 points Find the projection of v onto W. Circle your answer.
4b. 2 points Determine an orthogonal basis for W ⊥. Circle your answer twice,
projW v =
The vector
−
=
is a non-zero vector which spans W ⊥^ and so
an orthogonal basis for W ⊥^ is
or
and B =
A and B have the same column spaces and let us call it W.
5a. 2 points Find the vector in W which is closest to v = [2, 1 , 2 , 0]T^.
We use the columns of B since they are orthogonal. We project v onto W.
projW v =
x 23 z 2 3
1 3 y 2 3 s^ t
is a symmetric orthogonal matrix. Circle
your answer.
By symmetry: y = s and z = 23.
By unit columns: 1 = x^2 +
( 2 3
) 2
( 2 3
) 2 so x = ± 13 1 =
( 2 3
) 2
( 1 3
) 2
By orthogonal columns: 23 x + 29 + 23 s = 0 so s = −x − 13. Since s > 0 , x = 13 and y = s = − (^23)
1 3
2 3 +^
2 3
( − (^23)
)
The symmetric orthogonal matrix is then
1 3
2 3
2 3 2 3
1 3 −^
2 3 2 3 −^
2 3
1 3
a 3 = [1, − 1 , − 1 , 0]T^. Use the Gram-Schmidt process to construct an orthogonal basis with no fractions for Span(a 1 , a 2 , a 3 ).
a 1 and a 2 are already orthogonal.
t =
−^
−^
=
−^
=
Our orthogonal basis is