Docsity

Math 201-DDC Final Exam Solutions, Exams of Linear Algebra

Toggle sidebar
bg1
Math 201-DDC Final Exam 1
INSTRUCTIONS: THIS TEST CONTAINS 10 QUESTIONS. EACH QUESTION IS
WORTH 10 EIGENPOINTS. MAKE SURE THAT YOU SHOW YOUR WORK TO
OBTAIN ANY PARTIAL CREDIT. USE THE REVERSE SIDE OF EACH PAGE IF
YOU RUN OUT OF SPACE.
1. Let A=
3−2 5
107
002
Find the eigenvalues of Aand give a basis for each eigenspace.
2. Given the difference equation
an+3 =an+2 −an+1 +an
with a0= 2, a1= 1, a2= 0.
(a) Find a3,a4, and a5.
(b) Write this difference equation as a linear dynamical system xn+1 =Axn. What is the initial state vector,
x0, for this system.
(c) Find x1,x2, and x3(the next three state vectors).
(d) Find the eigenvalues of A. Give any complex eigenvalues in polar form.
(e) Draw a time plot of this system (reasonably accurate and clear enough to indicate the general behavior
of the system).
3. Let A=1 2
k4.
(a) For what value(s) of kis Asymmetric?
(b) For what value(s) of kis Anot invertible?
(c) For what value(s) of kis Anot diagonalizable?
(d) For what value(s) of kis 3
−1an eigenvector of A?
(e) For what value(s) of kdoes Ahave complex eigenvalues.
(f) For those values of kwhere Ahas complex eigenvalues plot the magnitude of these complex eigenvalues
as a function of k. (So the horizontal axis is the kaxis, the vertical axis is the magnitude of the complex
eigenvalues. The domain will be the interval from part
(g) For what value(s) of kdoes Ahave positive eigenvalues (that is, when is Apositive definite)? Indicate
these values on the graph from the previous part.
4. Given the data
x -2 -1 0 1 2
y -2 -1 0 0 3
(a) Find the least squares line y=β0+β1xfor this data.
(b) Find the least squares quadratic y=β0+β1x+β2x2for this data.
(c) Find the total least squares line for this data. In this case it is enough to give the slope accurate to 2
decimal places.
5. (a) Prove that if Qis an orthogonal matrix then kQyk=kyk.
(b) Prove that is λis an eigenvalue of Athen λ+kis an eigenvalue of A+kI.
(c) Prove that if Aand Bare symmetric matrices then AB and BA have the same eigenvalues.
pf3
pf4

Partial preview of the text

Download Math 201-DDC Final Exam Solutions and more Exams Linear Algebra in PDF only on Docsity!

INSTRUCTIONS: THIS TEST CONTAINS 10 QUESTIONS. EACH QUESTION IS

WORTH 10 EIGENPOINTS. MAKE SURE THAT YOU SHOW YOUR WORK TO

OBTAIN ANY PARTIAL CREDIT. USE THE REVERSE SIDE OF EACH PAGE IF

YOU RUN OUT OF SPACE.

  1. Let A =

Find the eigenvalues of A and give a basis for each eigenspace.

  1. Given the difference equation an+3 = an+2 − an+1 + an with a 0 = 2, a 1 = 1, a 2 = 0.

(a) Find a 3 , a 4 , and a 5. (b) Write this difference equation as a linear dynamical system xn+1 = Axn. What is the initial state vector, x 0 , for this system. (c) Find x 1 , x 2 , and x 3 (the next three state vectors). (d) Find the eigenvalues of A. Give any complex eigenvalues in polar form. (e) Draw a time plot of this system (reasonably accurate and clear enough to indicate the general behavior of the system).

  1. Let A =

[

k 4

]

(a) For what value(s) of k is A symmetric? (b) For what value(s) of k is A not invertible? (c) For what value(s) of k is A not diagonalizable?

(d) For what value(s) of k is

[

]

an eigenvector of A?

(e) For what value(s) of k does A have complex eigenvalues. (f) For those values of k where A has complex eigenvalues plot the magnitude of these complex eigenvalues as a function of k. (So the horizontal axis is the k axis, the vertical axis is the magnitude of the complex eigenvalues. The domain will be the interval from part (g) For what value(s) of k does A have positive eigenvalues (that is, when is A positive definite)? Indicate these values on the graph from the previous part.

  1. Given the data

x -2 -1 0 1 2 y -2 -1 0 0 3

(a) Find the least squares line y = β 0 + β 1 x for this data. (b) Find the least squares quadratic y = β 0 + β 1 x + β 2 x^2 for this data. (c) Find the total least squares line for this data. In this case it is enough to give the slope accurate to 2 decimal places.

  1. (a) Prove that if Q is an orthogonal matrix then ‖Qy‖ = ‖y‖. (b) Prove that is λ is an eigenvalue of A then λ + k is an eigenvalue of A + kI. (c) Prove that if A and B are symmetric matrices then AB and BA have the same eigenvalues.
  1. In the space of integrable functions defined on the interval [− 1 , 1] define the inner product

〈f, g〉 =

− 1

f (x)g(x) dx

The first 3 orthogonal Legendre polynomials in this inner product space are 1, x, x^2 − (^13)

Let f (x) =

0 if x < 0 k 0 ≤ x ≤ 1 /k 0 if 1/k < x

where k > 1.

(a) Plot f (x) when k = 2. Plot f (x) when k = 3. (b) What is ‖f ‖ in this inner product space? (c) Find the best approximation to f (x) by a polynomial of degree 1 in this inner product space. What happens to this polynomial as k → ∞? (d) Find the best approximation to f (x) by a quadratic polynomial in this inner product space. What happens to this polynomial as k → ∞?

  1. Let

A =

Find the QR factorization of A.

  1. In the space of n × n matrices define the inner product

〈A, B〉 = trace(AT^ B)

(a) A matrix A is symmetric if AT^ = A. A matrix B is skew-symmetric if BT^ = −B. Show that if A is symmetric and B is skew-symmetric then A and B are orthogonal relative to the above inner product. (b) If u and v are vectors in Rn^ show that uvT^ − vuT^ is skew-symmetric. (c) Suppose u and v are linearly independent unit vectors in Rn^ and that θ is the angle between u and v. Find ‖uvT^ − vuT^ ‖ relative to the above inner product. Your answer should be a simple expression in terms of θ.

  1. (a) Plot 2x^21 + 12x 1 x 2 − 7 x^22 = 10. Include the principal axes (the axes of symmetry) in your plot. (b) Give the coordinates (that is, the x 1 , x 2 coordinates) of the points on the graph closest to the origin.
  2. Let v 1 =

 ,^ v^2 =

,^ y^ =

. Let^ V^ = Span^ {v^1 ,^ v^2 }.

(a) Find the best approximation to y by a vector in V. (b) Find the distance from y to V. (c) Find a basis for V ⊥.

ANSWERS:

λ 1 = 2,

 (^) , λ 2 = 1,

  1. (a)

(b)

(c)