Linear Algebra- Final Exam Review

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

LINEAR ALGEBRA SUMMARY SHEET.

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

MA 265 FINAL EXAM Fall 2012

235 Final exam review questions

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

Study Guide for Linear Algebra Exam 2

MAT Linear Algebra Collection of sample exams

Solutions to Final Exam

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

Solutions to Review Problems for Chapter 6 ( ), 7.1

Linear Algebra Final Exam Study Guide Solutions Fall 2012

MATH 300, Second Exam REVIEW SOLUTIONS. NOTE: You may use a calculator for this exam- You only need something that will perform basic arithmetic.

18.06 Professor Johnson Quiz 1 October 3, 2007

Remark By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

ft-uiowa-math2550 Assignment OptionalFinalExamReviewMultChoiceMEDIUMlengthForm due 12/31/2014 at 10:36pm CST

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

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

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

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

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

Remark 1 By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

Review problems for MA 54, Fall 2004.

Problem 1: Solving a linear equation

Linear Algebra Primer

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

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

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

Summer Session Practice Final Exam

DIAGONALIZATION. In order to see the implications of this definition, let us consider the following example Example 1. Consider the matrix

Chapter 6: Orthogonality

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

1 Last time: least-squares problems

Math 18, Linear Algebra, Lecture C00, Spring 2017 Review and Practice Problems for Final Exam

Math 314/ Exam 2 Blue Exam Solutions December 4, 2008 Instructor: Dr. S. Cooper. Name:

I. Multiple Choice Questions (Answer any eight)

. = V c = V [x]v (5.1) c 1. c k

MATH 369 Linear Algebra

Math 308 Practice Final Exam Page and vector y =

MATH 23a, FALL 2002 THEORETICAL LINEAR ALGEBRA AND MULTIVARIABLE CALCULUS Solutions to Final Exam (in-class portion) January 22, 2003

Final Examination 201-NYC-05 - Linear Algebra I December 8 th, and b = 4. Find the value(s) of a for which the equation Ax = b

ANSWERS. E k E 2 E 1 A = B

4. Linear transformations as a vector space 17

LINEAR ALGEBRA QUESTION BANK

c c c c c c c c c c a 3x3 matrix C= has a determinant determined by

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det

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

Properties of Linear Transformations from R n to R m

MIT Final Exam Solutions, Spring 2017

Econ Slides from Lecture 7

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.

(a) II and III (b) I (c) I and III (d) I and II and III (e) None are true.

(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 =

ft-uiowa-math2550 Assignment NOTRequiredJustHWformatOfQuizReviewForExam3part2 due 12/31/2014 at 07:10pm CST

Least squares problems Linear Algebra with Computer Science Application

Answer Keys For Math 225 Final Review Problem

Applied Linear Algebra in Geoscience Using MATLAB

Linear algebra II Tutorial solutions #1 A = x 1

Linear Algebra Fundamentals

and let s calculate the image of some vectors under the transformation T.

M340L Final Exam Solutions May 13, 1995

Practice problems for Exam 3 A =

Review Solutions for Exam 1

Definitions for Quizzes

Then x 1,..., x n is a basis as desired. Indeed, it suffices to verify that it spans V, since n = dim(v ). We may write any v V as r

LINEAR ALGEBRA REVIEW

(v, w) = arccos( < v, w >

Announcements Wednesday, November 01

Math 265 Linear Algebra Sample Spring 2002., rref (A) =

x 3y 2z = 6 1.2) 2x 4y 3z = 8 3x + 6y + 8z = 5 x + 3y 2z + 5t = 4 1.5) 2x + 8y z + 9t = 9 3x + 5y 12z + 17t = 7

Quizzes for Math 304

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

(b) If a multiple of one row of A is added to another row to produce B then det(b) =det(a).

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 115A: SAMPLE FINAL SOLUTIONS

1. In this problem, if the statement is always true, circle T; otherwise, circle F.

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH M Test #2 Solutions

33AH, WINTER 2018: STUDY GUIDE FOR FINAL EXAM

Practice Exam. 2x 1 + 4x 2 + 2x 3 = 4 x 1 + 2x 2 + 3x 3 = 1 2x 1 + 3x 2 + 4x 3 = 5

MATH 221, Spring Homework 10 Solutions

MAT 1302B Mathematical Methods II

2018 Fall 2210Q Section 013 Midterm Exam II Solution

Announcements Wednesday, November 01

In Class Peer Review Assignment 2

Practice Final Exam Solutions

For each problem, place the letter choice of your answer in the spaces provided on this page.

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

The value of a problem is not so much coming up with the answer as in the ideas and attempted ideas it forces on the would be solver I.N.

PRACTICE PROBLEMS FOR THE FINAL

Recall : Eigenvalues and Eigenvectors

OHSx XM511 Linear Algebra: Solutions to Online True/False Exercises

18.06SC Final Exam Solutions

UNIT 6: The singular value decomposition.

Remarks on Definitions

WI1403-LR Linear Algebra. Delft University of Technology

MATH 304 Linear Algebra Lecture 23: Diagonalization. Review for Test 2.

Linear Algebra. Rekha Santhanam. April 3, Johns Hopkins Univ. Rekha Santhanam (Johns Hopkins Univ.) Linear Algebra April 3, / 7

EXAM. Exam #3. Math 2360, Spring April 24, 2001 ANSWERS

Transcription:

Linear Algebra- Final Exam Review. Let A be invertible. Show that, if v, v, v 3 are linearly independent vectors, so are Av, Av, Av 3. NOTE: It should be clear from your answer that you know the definition. SOLUTION: We need to show that the only solution to: c Av + c Av + c 3 Av 3 = is the trivial solution. Factoring out the matrix A, A(c v + c v + c 3 v 3 ) = Think of the form Aˆx =. Since A is invertible, the only solution to this is ˆx =, which implies that the only solution to the equation above is the solution to c v + c v + c 3 v 3 = Which is (only) the trivial solution, since the vectors are linearly independent. (NOTE: Notice that if the original vectors had been linearly dependent, this last equation would have non-trivial solutions).. Find the line of best first for the data: x 3 y Let A be the matrix formed by a column of ones and a column containing the data in x. If we write the original system as We form the normal equations A T Aβ = A T y- [ ] 4 6 A T A = (A T A) = [ 6 4 4 6 6 4 The solution is ˆx = (A T A) A T y = [4, 9]T [ ] 3 3. Let A =. (a) Is A orthogonally diagonalizable? If so, orthogonally diagonalize it! (b) Find the SVD of A. SOLUTION: Yes it is (it is symmetric). The eigenvalues are the diagonal elements, λ = 3,. The eigenvectors are [, ] T and [, ] T, respectively, so P = I. Because one eigenvalue is negative, the SVD is slightly different. The singular values are sigma = 9 = 3 and. We can put the negative sign with the matrix V to compensate (so that the factorization works out). NOTE: The SVD of a matrix, like the eigenvector decomposition of a matrix, need not be unique. Any representatives from the eigenspaces will make the factorization work for the diagonalization, and in the SVD, ± signs are chosen to be sure the diagonal entries of Σ are positive. ]

4. Let V be the vector space spanned by the functions: f (x) = x sin(x) f (x) = x cos(x) f 3 (x) = sin(x) f 4 (x) = cos(x) Define the operator D : V V as the derivative. (a) Find the matrix A of the operator D relative to the basis f, f, f 3, f 4 SOLUTION: Df = sin(x) + x cos(x) = f 3 + f This implies that in coordinates, D = Similarly, we should find that: D =, D =, D = The matrix for D is the matrix formed from the columns above (in order). (b) Find the eigenvalues of A. SOLUTION: Taking the determinant of A λi, we find that the characteristic polynomial is (I used the third column): so λ = ±i, ±i. (λ + ) = (c) Is the matrix A diagonalizable? SOLUTION: No, not using real numbers. 5. Short answer: (a) Let H be the subset of vectors in IR 3 consisting of those vectors whose first element is the sum of the second and third elements. Is H a subspace? SOLUTION: One way of showing that a subset is a subspace is to show that the subspace can be represented by the span of some set of vectors. In this case, a + b a b = a + b Because H is the span of the given vectors, it is a subspace.

(b) Explain why the image of a linear transformation T : V W is a subspace of W SOLUTION: Maybe Prove would have been better than Explain, since we want to go through the three parts: i. T (V ) since V and T () =. ii. Let u, v be in T (V ). Then there is an x, y in V so that T (x) = u and T (y) = v. Since V is a subspace, x+y V, and therefore T (x+y) = T (x)+t (y) = u+v so that u + v T (V ). iii. Let u T (V ). Show that cu T (V ) for all scalars c. If u T (V ), there is an x in V so that T (x) = u. Since V is a subspace, cu V, and T (cu) T (V ). By linearity, this means ct (u) T (V ). (OK, that probably should not have been in the short answer section) 3 (c) Is the following matrix diagonalizable? Explain. A = 5 8 3 SOLUTION: Yes. The eigenvalues are all distinct, so the corresponding eigenvectors are linearly independent. (d) If the column space of an 8 4 matrix A is 3 dimensional, give the dimensions of the other three fundamental subspaces. Given these numbers, is it possible that the mapping x Ax is one to one? onto? SOLUTION: If the column space is 3-d, so is the row space. Therefore the null space (as a subspace of IR 4 ) is dimensional and the null space of A T is 5 dimensional. Since the null space has more than the zero vector, Ax = has non-trivial solutions, so the matrix mapping will not be -. Since the column space is a three dimensional subspace of IR 8, the mapping cannot be onto. 6. Find a basis for the null space, row space and column space of A, if A = 5 5 3 3 The basis for the column space is the set containing the first and third columns of A. A basis for the row space is the set of vectors [,,, ] T, [,,, ] T. A basis for the null space of A is [,,, ] T, [,,, ] T. 7. Find an orthonormal basis for W = Span {x, x, x 3 } using Gram-Schmidt (you might wait until the very end to normalize all vectors at once): x =, x =, x 3 =, Using Gram Schmidt (before normalization), we get v =, v = 3, v 3 = 3

8. Find the QR factorization of the matrix A[x x x 3 ], defined in the previous problem. SOLUTION: Gets a bit messy by hand- We can write it symbolically as R = Q T A, where the columns of Q are the normalized vectors from the previous problem. 9. Given the QR factorization of a matrix A, show that the least squares solution to Ax = b is ˆx = R Q T b. (Hint: Start with Aˆx, and see where you go). SOLUTION: Using the hint, and substitute the expression: Aˆx = (QR)R Q T b = QQ T b which is the orthogonal projection of b into the column space of Q, which was the column space of A. Therefore, we obtain ˆb; the element of the column space closest to b.. Using the QR factorization in the previous problem for matrix A, find the least squares solution to Ax = b, where b = [,,, ] T. SOLUTION: As in the text (6.4), we see that even small problems can be messy- Try finding the solution in Matlab (sorry- I thought it would work out a little cleaner by hand).. Let P n be the vector space of polynomials of degree n or less. Let W be the subset of P n consisting of p(t) so that p()p() =. Let W be the subset of P n consisting of p(t) so that p() =. Which of the two is a subspace of P n? SOLUTION: First consider W. The zero polynomial is in W. The condition states that either p() or p() must be zero, but not both- That could cause a problem. In fact, what happens with a sum? Let f(t) = p(t) + q(t). Then f()f() = (p() + q())(p() + q()) = p()p() + p()q() + p()q() + q()q() The middle terms will cause a problem. For example, how about p() = 4, p() = and q() =, but q() = 3? They each satisfy the condition for W, but the sum will not. Therefore, W is not a subspace of P n. For W, we will have a subspace (check the three conditions).. For each of the following matrices, find the characteristic equation, the eigenvalues and a basis for each eigenspace: [ ] [ ] 7 3 A = B = C = 4 3 SOLUTION: For matrix A, λ = 3, 5. Eigenvectors are [, ] T and [, ] T, respectively. For matrix B, for λ = 3+i, an eigenvector is [, i] T. The other eigenvalue and eigenvector are the complex conjugates. For matrix C, expand along the d row. λ = is a double eigenvalue with eigenvectors [,, ] T and [,, ] T. The third eigenvalue is λ = with eigenvector [,, ] T. 4

3. Define T : P IR 3 by: T (p) = p( ) p() p() (a) Find the image under T of p(t) = 5 + 3t. SOLUTION: [, 5, 8] T (b) Show that T is a linear transformation. SOLUTION: We show it using the definition. i. Show that T (p + q) = T (p) + T (q): p( ) + q( ) T (p + q) = p() + q() p() + q() = p( ) p() p() + q( ) q() q() = T (p) + T (q) ii. Show that T (cp) = ct (p) for all scalars c. cp( ) T (cp) = cp() cp() = c p( ) p() p() = ct (p) (c) Find the kernel of T. Does your answer imply that T is? Onto? (Review the meaning of these words: kernel, one-to-one, onto) SOLUTION: Since the kernel is the set of elements in the domain that map to zero, let s see what what the action of T is on an arbitrary polynomial. An arbitrary vector in P is: p(t) = at + bt + c, and: T (at + bt + c) = a b + c c a + b + c For this to be the zero vector, c =. Then a b = and a + b =, so a =, b =. Therefore, the only vector mapped to zero is the zero vector. Side Remark: Recall that for any linear function T, if we are solving T (x) = y, then the solution can be written as x = x p + x h, where x p is the particular solution (it solves T (x p ) = y), and T (x h ) = (we said x h is the homogeneous part of the solution). So the equation T (x) = y has at most one solution iff the kernel is only the zero vector (if T was realized as a matrix, we get our familiar setting). Therefore, T is. The mapping T will also be onto (see the next part). (d) Find the matrix for T relative to the basis {, t, t } for P. (This means that the matrix will act on the coordinates of p). You can verify that the matrix representation for T is: 5

From this we see that the matrix is invertible, so the mapping is both - and onto (as a mapping from IR 3 to IR 3 ). 4. Let v be a vector in IR n so that v =, and let Q = I vv T. Show (by direct computation) that Q = I. SOLUTION: This problem is to practice matrix algebra: Q = (I vv T )(I vv T ) = I Ivv T vv T I +4vv T vv T = I 4vv T +4v()v T = I 5. Let A be m n and suppose there is a matrix C so that AC = I m. Show that the equation Ax = b is consistent for every b. Hint: Consider ACb. SOLUTION: Using the hint, we see that ACb = b. Therefore, given an arbitrary vector b, the solution to Ax = b is x = Cb. 6. If B has linearly dependent columns, show that AB has linearly dependent columns. Hint: Consider the null space. SOLUTION: If B has linearly dependent columns, then the equation Bx = has nontrivial solutions. Therefore, the equation ABx = has (the same) non-trivial solutions, and the columns of AB must be linearly dependent. 7. If λ is an eigenvalue of A, then show that it is an eigenvalue of A T. SOLUTION: Use the properties of determinants. Given A λi = (A λi) T = A T λi T = A T λi the solutions to A λi = and A T λi = are exactly the same. [ ] [ ] 8. Let u = and v =, Let S be the parallelogram with vertices at, u, v, and u + v. Compute the area of S. SOLUTION: The area of the parallelogram formed by two vectors in IR is the determinant of the matrix whose columns are those vectors. In this case, that would be 4. a b c a + g b + h c + i g h i 9. Let A = d e f, B = d + 3g e + 3h f + 3i, and C = d e f. g h i g h i a b c If det(a) = 5, find det(b), det(c), det(bc). SOLUTION: This question reviews the relationship between the determinant and row operations. The determinant of B is 5. The determinant of C is. The determinant of BC is 5. {[ ] [ ]} {[ ] [ ]} 3 4 4 6. Let B =, and C =. Write down the matrices that 5 6 5 7 take [x] C to [x] B and from [x] B to [x] C. 6

SOLUTION: Since x = P B [x] B and x = P C [x] C, then [x] C = P C P B[x] B [x] B = P B P C[x] C Doing the calculations, P C P B = [ / 5 5 ] [ P B P C = /5 /5 ]. Define an isomorphism: A one-to-one linear transformation between vector spaces (see p. 5). Let {[ B = 3 ] [, 8 ] [ 3, 7 Find at least two B coordinate vectors for x = [, ] T. SOLUTION: The null space of the matrix is spanned by [5,, ] T (found by row reduction. The particular part of the solution is [5,, ] T. So we can find an infinite number of solutions. 3. Let B = {b,..., b n } be a basis for vector space V. Explain why the B coordinate vectors of {b,..., b n } are the columns of the n n identity matrix: SOLUTION: [b ] B = [,,,..., ] T argument shows that [b i ] B = e i. ]} because b = b + b + + b n. A similar 4. Find the volume of the parallelepiped formed by, a,b, c, a + b, c + b, c + a, and the sum of all three. a = 3 b = c = The volume is the determinant. In this case, expand along the second row, and get 3. 7