

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!


APPM 3310: Matrix Methods — Exam #2 Solutions — November 5, 2010
Problem 1. (30 points) Consider the matrix F =
(a) (10 pts) Find a basis for the kernel of F. Show all work. (b) (10 pts) Is the range of F a point, a line, a plane or all of R^3? Justify your answer. (c) (10 pts) Find a basis for the cokernel of F. Show all work.
Solution:
(a) We solve F x = 0 ,
x + 2y − z + w = 0 8 z + w = 0 w = 0 (free variable) y = y so, (^)
x y z w
− 2 y y 0 0
⇒^ ker(F^ ) = span
(b) Note that rank(F ) = 3 and so by the Fundamental Theorem of Linear Algebra we have that dim(range(F )) = 3 and so the range is all of R^3.
(c) Note that rank(F ) = 3 and F is 3 × 4 so by the Fundamental Theorem of Linear Algebra we have dim(coker(F )) = 3 − 3 = 0 and so coker(F ) = { 0 }.
Problem 2. (40 points) Show all work.
(a) (10 pts) Suppose F is 10×10 positive definite matrix. Show that F has positive determinant. (b) (10 pts) Suppose M is 6 × 6 positive definite matrix. Show that the trace of M is positive. (c) (Section 001) (10 pts) Let B be a positive definite n × n matrix, show that 〈x, y〉 = xT^ By defines an inner product for any x, y ∈ Rn. (c) (Section 002) (10 pts) Does 〈u, v〉 = u 1 v 1 − 2 u 2 v 1 − 2 u 1 v 2 + 5u 2 v 2 define an inner product in R^2. Why or why not? (d) (10 pts) True or False: ‖w‖ ≤ ‖v‖ + ‖v + w‖. Justify your answer for the general case.
Solution:
(a) Since F is positive definite we can write F = LDLT^ where L is special lower triangular and D is a diagonal matrix with positive diagonal terms. Now, det(F ) = det(L) det(D) det(LT^ ) = det(D) = d 11 d 22 · · · d 10 , 10 > 0. So F has a positive determinant.
(b) Note that M positive definite implies xT^ M x > 0 for any x 6 = 0 , so we have mii = eTi M ei > 0 for i = 1,... , 6, and so tr(M ) = m 11 + · · · + m 66 > 0, thus M has positive trace.
(c) This is an inner product:
Symmetry: Note that xT^ By is a scalar so 〈x, y〉 = xT^ By = (xT^ By)T^ = yT^ Bx = 〈y, x〉
Bilinearity: Note,
〈c 1 x 1 + c 2 x 2 , y〉 = (x 1 + c 2 x 2 )T^ By = (c 1 xT 1 + c 2 xT 2 )By = c 1 xT 1 By + c 2 xT 2 By = c 1 〈x 1 , y〉 + c 2 〈x 2 , y〉
thus the inner product is linear and this, combined with symmetry, implies the inner product is bilinear.
Positivity: Note that 〈x, x〉 = xT^ Bx ≥ 0 for x ≥ 0 with xT^ Bx = 0 if and only if x = 0 since B is positive definite.
(c)Yes. 〈u, v〉 = uT^ Kv,
where K =
. K is positive definite, so 〈u, v〉 is an inner product.
(d) True. ‖w‖ = ‖w + v + (−v)‖ ≤ ‖w + v‖ + ‖ − v‖ = ‖w + v‖ + ‖v‖.
Problem 3. (30 points) P =
x y z
(^) ∈ R^3 : x − y − 2 z = 0
is a plane in R^3.
(a) Find an orthonormal basis of P.
(b) Find the point in P that is closest to b =
(^) and the distance using the methods
and techniques of this class only.
Solution: (a) Solving the equation yields that
x = t
(^) + l
(^) , t, l, ∈ R,
which implies
is a basis of P.
Applying the Gram-Schmidt process,
v 1 =
v 2 =
Normalizing each vector yields an orthonormal basis
(b) Every point in the plane can be written as Ac where A =
(^) and c =
c 1 c 2
. The
squared distance is of the form ‖Ac − b‖^2 = cT^ Kc − 2 xT^ f + C where K = AT^ A =