q n. Q T Q = I. Projections Least Squares best fit solution to Ax = b. Gram-Schmidt process for getting an orthonormal basis from any basis.

Similar documents
Conceptual Questions for Review

18.06SC Final Exam Solutions

(a) If A is a 3 by 4 matrix, what does this tell us about its nullspace? Solution: dim N(A) 1, since rank(a) 3. Ax =

Math 520 Exam 2 Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

Linear Algebra Primer

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

Review problems for MA 54, Fall 2004.

235 Final exam review questions

Final Exam, Linear Algebra, Fall, 2003, W. Stephen Wilson

Math 310 Final Exam Solutions

An overview of key ideas

Econ Slides from Lecture 7

Math 215 HW #9 Solutions

HOMEWORK PROBLEMS FROM STRANG S LINEAR ALGEBRA AND ITS APPLICATIONS (4TH EDITION)

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Recall : Eigenvalues and Eigenvectors

Chapters 5 & 6: Theory Review: Solutions Math 308 F Spring 2015

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

LINEAR ALGEBRA 1, 2012-I PARTIAL EXAM 3 SOLUTIONS TO PRACTICE PROBLEMS

1. Diagonalize the matrix A if possible, that is, find an invertible matrix P and a diagonal

This lecture is a review for the exam. The majority of the exam is on what we ve learned about rectangular matrices.

ANSWERS. E k E 2 E 1 A = B

Check that your exam contains 30 multiple-choice questions, numbered sequentially.

6 EIGENVALUES AND EIGENVECTORS

Math 224, Fall 2007 Exam 3 Thursday, December 6, 2007

Warm-up. True or false? Baby proof. 2. The system of normal equations for A x = y has solutions iff A x = y has solutions

Eigenvalues and Eigenvectors A =

REVIEW FOR EXAM II. The exam covers sections , the part of 3.7 on Markov chains, and

Math Linear Algebra Final Exam Review Sheet

Linear Algebra Exercises

5.) For each of the given sets of vectors, determine whether or not the set spans R 3. Give reasons for your answers.


Math Bootcamp An p-dimensional vector is p numbers put together. Written as. x 1 x =. x p

Eigenvalues and Eigenvectors

Solutions to Final Practice Problems Written by Victoria Kala Last updated 12/5/2015

PRACTICE FINAL EXAM. why. If they are dependent, exhibit a linear dependence relation among them.

A Brief Outline of Math 355

UNIT 6: The singular value decomposition.

Chapter 6. Eigenvalues. Josef Leydold Mathematical Methods WS 2018/19 6 Eigenvalues 1 / 45

Properties of Linear Transformations from R n to R m

MATRICES ARE SIMILAR TO TRIANGULAR MATRICES

CS 246 Review of Linear Algebra 01/17/19

18.06 Quiz 2 April 7, 2010 Professor Strang

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Solutions to Final Exam

Problem Set (T) If A is an m n matrix, B is an n p matrix and D is a p s matrix, then show

2. Every linear system with the same number of equations as unknowns has a unique solution.

Math 102 Final Exam - Dec 14 - PCYNH pm Fall Name Student No. Section A0

Once more, we review questions from a previous exam to prepare ourselves for an upcoming exam.

LINEAR ALGEBRA KNOWLEDGE SURVEY

Eigenvalues and Eigenvectors

Linear Algebra - Part II

SOLUTION KEY TO THE LINEAR ALGEBRA FINAL EXAM 1 2 ( 2) ( 1) c a = 1 0

1. General Vector Spaces

MA 265 FINAL EXAM Fall 2012

MIT Final Exam Solutions, Spring 2017

Matrices and Deformation

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

Lecture Notes: Eigenvalues and Eigenvectors. 1 Definitions. 2 Finding All Eigenvalues

Diagonalizing Matrices

A Review of Linear Algebra

MATH 1120 (LINEAR ALGEBRA 1), FINAL EXAM FALL 2011 SOLUTIONS TO PRACTICE VERSION

Linear Algebra Final Exam Study Guide Solutions Fall 2012

Final Review Written by Victoria Kala SH 6432u Office Hours R 12:30 1:30pm Last Updated 11/30/2015

1. Linear systems of equations. Chapters 7-8: Linear Algebra. Solution(s) of a linear system of equations (continued)

Knowledge Discovery and Data Mining 1 (VO) ( )

Problem 1: Solving a linear equation

0.1 Eigenvalues and Eigenvectors

18.06 Professor Strang Quiz 3 May 2, 2008

Problems for M 10/26:

There are six more problems on the next two pages

FINAL EXAM Ma (Eakin) Fall 2015 December 16, 2015

MATH 15a: Linear Algebra Practice Exam 2

Study Guide for Linear Algebra Exam 2

Ir O D = D = ( ) Section 2.6 Example 1. (Bottom of page 119) dim(v ) = dim(l(v, W )) = dim(v ) dim(f ) = dim(v )

MATH 369 Linear Algebra

Sample Final Exam: Solutions

22.3. Repeated Eigenvalues and Symmetric Matrices. Introduction. Prerequisites. Learning Outcomes

Foundations of Computer Vision

MATH 1553, Intro to Linear Algebra FINAL EXAM STUDY GUIDE

MTH 2032 SemesterII

Linear Algebra Review. Vectors

Math 308 Practice Test for Final Exam Winter 2015

4. Determinants.

Review of Linear Algebra

Quizzes for Math 304

ANSWERS (5 points) Let A be a 2 2 matrix such that A =. Compute A. 2

No books, no notes, no calculators. You must show work, unless the question is a true/false, yes/no, or fill-in-the-blank question.

Math Camp Lecture 4: Linear Algebra. Xiao Yu Wang. Aug 2010 MIT. Xiao Yu Wang (MIT) Math Camp /10 1 / 88

Math 462: Homework 2 Solutions

COMP 558 lecture 18 Nov. 15, 2010

Systems of Algebraic Equations and Systems of Differential Equations

Math 2B Spring 13 Final Exam Name Write all responses on separate paper. Show your work for credit.

I. Multiple Choice Questions (Answer any eight)

MATH 304 Linear Algebra Lecture 34: Review for Test 2.

Study Notes on Matrices & Determinants for GATE 2017

1. Select the unique answer (choice) for each problem. Write only the answer.

Maths for Signals and Systems Linear Algebra in Engineering

Math 102, Winter Final Exam Review. Chapter 1. Matrices and Gaussian Elimination

Econ Slides from Lecture 8

Transcription:

Exam Review Material covered by the exam [ Orthogonal matrices Q = q 1... ] q n. Q T Q = I. Projections Least Squares best fit solution to Ax = b. Gram-Schmidt process for getting an orthonormal basis from any basis. det A Properties 1-3 that define the determinant. Big formula for the determinant with n! terms, each with + or. Cofactors formula, leading to a formula for A 1. Eigenvalues Ax = λx. det(a λi) = 0. Diagonalization: If A has n independent eigenvectors, then S 1 AS = Λ (this is Ax = λx for all n eigenvectors at once). Powers of A: A k = (SΛS 1 ) k = SΛ k S 1. Sample questions 1. Let a = 1. a) Find the projection matrix P that projects onto a. To answer this, we just use the formula for P. Ordinarily P = A(A T A) 1 A T, but here A is a column vector so: T 4 4 a a 1 P = = 1. a T a 9 4 4 b) What is the rank of P? P has rank 1 because each of its columns is some multiple of its second column, or because it projects onto a one dimensional subspace. c) What is the column space of P? The line determined by a. d) What are the eigenvalues of P? Since P has rank 1 we know it has a repeated eigenvalue of 0. We can use its trace or the fact that it s a projection matrix to find that P has the eigenvalue 1. The eigenvalues of P are 0, 0 and 1. 1

e) Find an eigenvector of P that has eigenvalue 1. Eigenvector a = 1 has eigenvalue one. Because P is a projection matrix, any vector in the space it s projecting onto will be an eigenvector with eigenvalue 1. 9 f) Suppose u k+1 = Pu k with initial condition u 0 = 9. Find u k. 0 We re repeatedly projecting a vector onto a line: a T u 0 7 u 1 = Pu 0 = a = a = 3a = 3. a T a 9 u is the projection of u 1 onto the line determined by a. But u 1 already lies on the line through a. In fact, u k = P k u 0 = Pu 0 = 3. g) The exam might have a difference equation u k+1 = Au k in which A is not a projection matrix with P k = P. In that case we would find its eigenvalues and eigenvectors to calculate u 0 = c 1 x 1 + c x + c 3 x 3. Then u k = c 1 λ 1 k x 1 + c λ k x + c 3 λ k 3 x 3. (For the projection matrix P above, two eigenvalues are 0 and the third is 1, so two terms vanish and for the third λ k = 1. Then u 1 = u = u 3 =.). We re given the following data points: t y 1 4 5 3 8. a) Find the straight line through the origin that best fits these points. The equation of this line will be y = Dt. There s only one unknown, D. We would like a solution to the 3 equations: 1 D = 4 D = 5 [ 3 D = 8. ] 1 4 or D = 5, if we put this in the form Ax = b. To find the 3 8 best value for D we solve the equation: 14Dˆ = 38 ˆ 38 19 D = =. 14 7 A T ADˆ = A T b

We conclude that the best fit line through the origin is y = 19 7 t. We can roughly check our answer by noting that the line y = 3t runs fairly close to the data points. b) What vector did we just project onto what line? There are two ways to think about least squares problems. The first is to think about the best fit line in the ty-plane. The other way is to think 4 in terms of projections we re projecting b = 5 onto the column 8 space of A (the line through (1,, 3)) to get as close as possible to a solution to Ax = b. 3. The vectors a 1 = and a = 1 determine a plane. Find two 3 1 orthogonal vectors in the plane. To answer this question we use the Gram-Shmidt process. We start with a 1 and find a second vector B perpendicular to a 1 by subtracting the component of a that lies in the a 1 direction. at B = a 1 a a1 a T 1 a 1 = 1 14 1 3 1 3/7 = 1 /7 1 9/7 4/7 = 1/7. /7 Because the dot product of a 1 and B is zero, we know this answer is correct. These are our orthogonal vectors. 4. We re given a 4 by 4 matrix A with eigenvalues λ 1, λ, λ 3, λ 4. a) What conditions must the λ i satisfy for the matrix to be invertible? A is invertible if and only if none of the λ i are 0. If one of the λ i is zero, then there is a non-zero vector in the nullspace of A and A is not invertible. b) What is det A 1? The eigenvalues ( ) of ( A 1 ) ( are the ) ( inverses ) of the eigenvalues of A, so det A 1 =. λ 1 λ λ 3 λ 4 3

c) What is trace(a + I)? We know the trace of A is the sum of the eigenvalues of A, so trace(a + I) = (λ 1 + 1) + (λ + 1) + (λ 3 + 1) + (λ 4 + 1) = λ 1 + λ + λ 3 + λ 4 + 4. 5. Remember the family of tridiagonal matrices; for example: Let D n = det A n. A 4 = 0 0 1 0 0 1 0 0 a) Use cofactors to show that D n = ad n 1 + bd n and find values for a and b. Using the cofactor formula we find that the determinant of A 4 is: 0 0 D 4 = 1 1 1 0 + 0 0 0 0 = 1D 3 1 1D = D 3 D. b) In part (a) you found a recurrence relation D n = ad n 1 + bd n. Find a way to predict the value of D n for any n. Note: if your computations are all correct it should be true that λ 1 = λ = 1. We can quickly compute D 1 = 1 and D = = 0.. In general, D n = D n 1 D n. The answer is a = 1 and b = 1. We set up the system for D n = D n 1 D n : D n 1 1 D = n 1 D n 0 D n to get an equation of the form u k = Au k 1. To find the eigenvalues λ i, solve det(a λi) = 0: 1 λ 1 1 λ = λ λ + 1 = 0. The quadratic formula gives us λ = 1 ± 1 4, so: λ 1 = 1 + 3i = e iπ/3 and λ = 1 3i = e iπ/3. 4

The magnitude of these complex numbers is 1. This tells us that the system is stable. The fact that λ 1 = λ tells us that A = I and so the sequence of vectors u k = A k u k 1 will repeat every steps. To finish answering the problem, we can use the recurrence relation D n = D n 1 D n starting from D 1 = 1 and D = 0 to find D 3 = 1, D 4 = 1, D 5 = 0 and D = 1. The sequence will then repeat, with D 7 = D 1 = 1, D 8 = D = 0 and so on. If n = j + k for positive integers j and k, then D n = D k.. Consider the following family of symmetric matrices: 0 1 0 0 0 1 0 0 1 A 4 = 1 0 0 A =, A,,... 1 0 3 = 1 0 0 0 3 0 0 0 0 3 0 a) Find the projection matrix P onto the column space of A 3. We know that A 3 is singular because column 3 is a multiple of column 1, so P is a projection matrix onto a plane. Columns 1 and form a basis for the column space of A [ 3, so we could use the formula P = ] 0 1 A(A T A) 1 A T with A = 1 0 to find: 0 1/5 0 /5 P = 0 1 0. /5 0 4/5 However, there may be a quicker way to solve this problem. To check our work we multiply P by the column vectors of A to see that PA = A. b) What are the eigenvalues and eigenvectors of A 3? λ 1 0 A 3 λi = 1 λ = λ 3 + 5λ. 0 λ Setting A3 λi = 0 gives us λ( λ + 5) = 0, so λ 1 = 0, λ = 5, λ 3 = 5. We check that the trace of A 3 equals the sum of its eigenvalues. Next we solve (A 3 λi)x = 0 to find our eigenvectors. A good strategy for doing this is to choose one component of x to set equal to 1, then determine what the other components of x must be for the product to equal the zero vector. (A 3 0I)x = 0 has the solution x 1 = 0. 1 5

1 (A 3 5I)x = 0 has the solution x = 5. (A 3 + 5I)x = 0 has the solution x = 1 5. If time permits, we can check this answer by multiplying each eigenvector by A 3. c) (This is not difficult.) What is the projection matrix onto the column space of A 4? How could this not be difficult? If A 4 is invertible, then its column space is R 4 and the answer is P = I. To confirm that A 4 is invertible, we can check that its determinant is non-zero. This is not difficult if we use cofactors: ( ) 0 3 0 3 det A 4 = ( 1) 1 + = 9. 3 0 0 0 Because A 4 is invertible, the projection matrix onto its column space is I. d) Bonus question: Prove or disprove that A n is singular if n is odd and invertible if n is even.

MIT OpenCourseWare http://ocw.mit.edu 18.0SC Linear Algebra Fall 011 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.