Math 54 Second Midterm Exam, Prof. Srivastava October 31, 2016, 4:10pm 5:00pm, 155 Dwinelle Hall.

Similar documents
Math 54 First Midterm Exam, Prof. Srivastava September 23, 2016, 4:10pm 5:00pm, 155 Dwinelle Hall.

80 min. 65 points in total. The raw score will be normalized according to the course policy to count into the final score.

Math 110 (Fall 2018) Midterm II (Monday October 29, 12:10-1:00)

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 53 Final Exam, Prof. Srivastava May 11, 2018, 11:40pm 2:30pm, 155 Dwinelle Hall.

I. Multiple Choice Questions (Answer any eight)

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

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

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

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

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

Family Feud Review. Linear Algebra. October 22, 2013

MATH 1553 SAMPLE FINAL EXAM, SPRING 2018

Math 2114 Common Final Exam May 13, 2015 Form A

Matrices related to linear transformations

Name: Final Exam MATH 3320

Problem # Max points possible Actual score Total 120

MA 265 FINAL EXAM Fall 2012

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

MATH 1553 PRACTICE FINAL EXAMINATION

DEPARTMENT OF MATHEMATICS

DEPARTMENT OF MATHEMATICS

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

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

Solutions to Review Problems for Chapter 6 ( ), 7.1

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

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

This is a closed book exam. No notes or calculators are permitted. We will drop your lowest scoring question for you.

2018 Fall 2210Q Section 013 Midterm Exam II Solution

Test 3, Linear Algebra

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

Third Midterm Exam Name: Practice Problems November 11, Find a basis for the subspace spanned by the following vectors.

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

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

Least squares problems Linear Algebra with Computer Science Application

Study Guide for Linear Algebra Exam 2

Sample Final Exam: Solutions

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

Worksheet for Lecture 15 (due October 23) Section 4.3 Linearly Independent Sets; Bases

5.3.5 The eigenvalues are 3, 2, 3 (i.e., the diagonal entries of D) with corresponding eigenvalues. Null(A 3I) = Null( ), 0 0

Solutions to Final Exam

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

DEPARTMENT OF MATHEMATICS

Math 20F Final Exam(ver. c)

Math 369 Exam #2 Practice Problem Solutions

235 Final exam review questions

Linear Algebra- Final Exam Review

MATH 1553-C MIDTERM EXAMINATION 3

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

Linear Algebra (MATH ) Spring 2011 Final Exam Practice Problem Solutions

MATH 221, Spring Homework 10 Solutions

SUMMARY OF MATH 1600

2. (10 pts) How many vectors are in the null space of the matrix A = 0 1 1? (i). Zero. (iv). Three. (ii). One. (v).

LINEAR ALGEBRA SUMMARY SHEET.

Chapter 6: Orthogonality

MATH 220 FINAL EXAMINATION December 13, Name ID # Section #

Math 308 Final, Autumn 2017

Math Final December 2006 C. Robinson

2.3. VECTOR SPACES 25

Summer Session Practice Final Exam

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

Therefore, A and B have the same characteristic polynomial and hence, the same eigenvalues.

MTH 464: Computational Linear Algebra

Announcements Monday, November 20

MATH 1553, JANKOWSKI MIDTERM 2, SPRING 2018, LECTURE A

Calculating determinants for larger matrices

Linear Systems. Class 27. c 2008 Ron Buckmire. TITLE Projection Matrices and Orthogonal Diagonalization CURRENT READING Poole 5.4

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

Math 20F Practice Final Solutions. Jor-el Briones

Worksheet for Lecture 15 (due October 23) Section 4.3 Linearly Independent Sets; Bases

PRACTICE PROBLEMS FOR THE FINAL

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

Practice Final Exam. Solutions.

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

LINEAR ALGEBRA REVIEW

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH M Test #1. July 11, 2013 Solutions

Fall 2016 MATH*1160 Final Exam

MTH 2032 SemesterII

May 9, 2014 MATH 408 MIDTERM EXAM OUTLINE. Sample Questions

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

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

Math 308 Practice Test for Final Exam Winter 2015

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

The eigenvalues are the roots of the characteristic polynomial, det(a λi). We can compute

Linear Algebra Final Exam Solutions, December 13, 2008

Spring 2014 Math 272 Final Exam Review Sheet

MIT Final Exam Solutions, Spring 2017

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

Math 54 HW 4 solutions

Math 1553, Introduction to Linear Algebra

Columbus State Community College Mathematics Department Public Syllabus

Assignment 1 Math 5341 Linear Algebra Review. Give complete answers to each of the following questions. Show all of your work.

M340L Final Exam Solutions May 13, 1995

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

Chapter 4 & 5: Vector Spaces & Linear Transformations

Reduction to the associated homogeneous system via a particular solution

Shorts

Math 2030, Matrix Theory and Linear Algebra I, Fall 2011 Final Exam, December 13, 2011 FIRST NAME: LAST NAME: STUDENT ID:

Math Abstract Linear Algebra Fall 2011, section E1 Practice Final. This is a (long) practice exam. The real exam will consist of 6 problems.

Final. for Math 308, Winter This exam contains 7 questions for a total of 100 points in 15 pages.

Transcription:

Math 54 Second Midterm Exam, Prof. Srivastava October 31, 2016, 4:10pm 5:00pm, 155 Dwinelle Hall. Name: SID: Instructions: Write all answers in the provided space. This exam includes one page of scratch paper, which must be submitted but will not be graded. Do not under any circumstances unstaple the exam. Write your name and SID on every page. Show your work numerical answers without justification will be considered suspicious and will not be given full credit. Calculators, phones, cheat sheets, textbooks, and your own scratch paper are not allowed. UC Berkeley Honor Code: As a member of the UC Berkeley community, I act with honesty, integrity, and respect for others. Sign here: Name of the student to your left: Name of the student to your right: Question Points 1 20 2 15 3 10 4 7 5 8 Total: 60 Do not turn over this page until your instructor tells you to do so.

1. (20 points) Circle always true (T) or sometimes false (F) for each of the following. There is no need to provide an explanation. Two points each. (a) If A is a square matrix then Col(A) Null(A) = {0}. T F Solution: False. First of all, you should be suspicious of such a claim because for a rectangular m n matrix Col(A) R n and Null(A) R m, which means that they don t even live in the same vector space, and shouldn t have any particular relation in general. [ ] 0 1 For a concrete example, consider A =, for which Col(A) = Null(A) = 0 0 Span{e 1 }. (b) If v Span{w, a} and w Span{a, b} then v Span{a, b}, where v, w, a, b are vectors in a vector space. T F Solution: True. If v = c 1 w+c 2 a and w = d 1 a+d 2 b then v = c 1 d 1 a+c 1 d 2 b+d 2 b. (c) If V and W are n dimensional vector spaces then there is a linear transformation T : V W which is both 1-1 and onto. T F Solution: True. There are several ways to see this. Let B = {b 1,..., b n } be a basis for V and let C = {c 1,..., c n } be a basis for W. Then the coordinate mappings P 1 B : V Rn and P 1 C : W Rn are isomorphisms (which means they are 1-1 and onto). The latter has an inverse, P C : R n W, which is also an isomorphism. The composition P C P 1 B : V W is thus also an isomorphism, as desired. Another, direct way is to consider the linear transformation T : V W defined by T (b i ) = c i an show that its matrix is invertible (which will follow from B and C being bases). (d) If V is an n dimensional vector space then every linearly independent subset of V contains at most n vectors. T F Solution: True. This is one of the theorems in the book. (e) If T : R n R n is a linear transformation, [T ] is the standard matrix of T, and [T ] B is the matrix of T with respect to another basis B, then det([t ]) = det([t ] B ). T F Solution: True. Let E be the standard basis. We have [T ] B = P B E [T ]P E B = P [T ]P 1 Math 54 Midterm 2 Page 2 of 9 10/31/2016

for P = P B E. Since det(xy ) = det(x) det(y ) and det(x 1 ) = 1/ det(x), we have det([t ] B ) = det(p ) det([t ]) det(p 1 1 ) = det(p ) det([t ]) = det([t ]). det(p ) (f) If λ is an eigenvalue of A and µ is an eigenvalue of B then λ + µ is an eigenvalue of A + B. T F Solution: False. This was one of the hardest questions. You should be suspicious just by considering what the definitions say: if λ and µ are eigenvalues of A and B then we know that Ax = λx and By = µy for some eigenvectors x, y 0. Adding these equations gives Ax + By = λx + µy, which would only imply the statement in question if x and y are scalar multipes of each other. So to find a counterexample, you should look for two matrices with different eigenvectors. [ ] 0 1 Most pairs of matrices have this property. Consider A = and B = [ ] 0 0 [ ] 0 0 0 1, each with eigenvalues equal to zero. However, the sum A + B = 1 0 1 0 has eigenvalues equal to ±1. (g) If A is a 4 4 real matrix with two distinct real eigenvalues and two complex eigenvalues, then it must be diagonalizable over C. T F Solution: True. Since A is real its complex eigenvalues must be conjugates of each other, i.e., a + ib and a ib for some b 0. Thus, A has four distinct eigenvalues, which implies that it must be diagonalizable. (h) If W is a subspace of R n and x is a vector in R n such that Proj W (x) = 0 then x W. T F Solution: True. By the unique decomposition theorem, we have x = y + z for y = Proj W (x) and z W. Since y = 0 we have x W. (i) Let W be a subspace of R n and let P = [Proj W ] be the n n matrix of the orthogonal projection onto W. Then every column of P is an element of W. T F Math 54 Midterm 2 Page 3 of 9 10/31/2016

Solution: True. The columns of P are P e 1,..., P e n, where e 1,..., e n are the standard basis vectors. However, P e i = Proj W (e i ) W, so each column is in W. (j) If x, y, z are vectors in R 3 such that x y = 0 and y z = 0 then it follows that x z = 0. T F Solution: False. Consider any nonzero vector x and any y x, and let x = z. Then x y = 0 and y z = y x = 0 but x z = x x > 0. 2. Let P 2 = {a 0 + a 1 t + a 2 t 2 : a 0, a 1, a 2 R} denote the vector space of polynomials of degree at most 2 with coefficient-wise addition and scalar multiplication. Consider the linear transformation T : P 2 R 2 defined by [ ] q(2) T (q) =, q( 3) where q(2) means the polynomial q evaluated at 2. (a) (5 points) Find {[ the ] [ matrix ]} of T with respect to the bases B = {1, t + 1, t 2 + t} of 1 0 P 2 and E =, of R 0 1 2. Solution: E[T ] B = [ [ ] ] 1 2 + 1 2 [T (1)] E [T (t + 1)] E [T (t 2 + t)] 2 + 2 E = 1 3 + 1 ( 3) 2 3 = [ ] 1 3 6. 1 2 6 (b) (5 points) Find a basis for the Kernel (i.e., Null Space) of T. Explain whatever method you use. Solution: The above matrix is row equivalent to: [ ] 1 3 6. 0 5 0 6x 3 Thus x 3 is a free variable and the Null space of E [T ] B is { 0 : x 3 R} = x 3 6 Span{ 0 }. The Kernel of T is the corresponding subspace of P 2, which is 1 spanned by 6(1) + 0(1 + t) + (t 2 + t) = t 2 + t 6. Math 54 Midterm 2 Page 4 of 9 10/31/2016

Thus, a basis for the Kernel of T is {t 2 + t 6}. Note that factoring this polynomial shows that it is just (t 2)(t + 3), which is (up to scaling by constants) the unique quadratic polynomial which vanishes at 2 and 3. This makes sense since T is just evaluating its input at these two points. (c) (2 points) Is T 1-1? Why or why not? Solution: No, T is not 1-1 because Ker(T ) {0}, which means that T (q) = 0 has a nontrivial solution, call it q 0. Thus, for any polynomial p, we have T (p + q 0 ) = T (p) + T (q 0 ) = T (p), so T is not 1-1. (d) (3 points) Let C = {1, t, t 2 }. Find the change of coordinates matrix P C B. Solution: The change of coordinates matrix is P C B = [ ] 1 1 0 [1] C [1 + t] C [t 2 + t] C = 0 1 1, 0 0 1 since 1 = 1 1+0 t+0 t 2, 1+t = 1 1+1 t+0 t 2, and t 2 +t = 0 1+1 t+1 t 2. 3. Let (a) (2 points) Show that A is invertible. 1 2 3 4 5 0 6 7 8 9 A = 0 0 10 11 12 0 0 0 13 14. 0 0 0 0 15 Solution: There are many ways to see this. One is that A is in REF and has a pivot in every row. Another is that since A is upper trinagular its eigenvalues are its digonal entries, and none of them are zero, so A must be invertible. Yet another is to compute the determinant, which is the product of the diagonal entries since A is upper triangular, and which is nonzero, implying that A is invertible. (b) (5 points) Find the eigenvalues of A 1. Explain how you got your answer. (hint: there is a faster way than computing the inverse) Math 54 Midterm 2 Page 5 of 9 10/31/2016

Solution: The trick here was to think about what an eigenvalue means. Observe that if λ is an eigenvalue of A, then Ax = λx for some nonzero x. Since A is invertible, we can multiply by A 1 on both sides to get which after rearranging is x = λa 1 x, A 1 x = (1/λ)x, which means that 1/λ is an eigenvalue of A 1. Thus, the reciprocals of the eigenvalues of A must all be eigenvalues of A 1. THe eigenvalues of A, being upper triangular, are 1, 6, 10, 13, 15, so this means that 1/1, 1/6, 1/10, 1/13, 1/15 are eigenvalues of A 1. Since A is 5 5 these are all the eigenvalues. (c) (3 points) Is (A 1 ) 2 diagonalizable? Explain why or why not. Solution: It is diagonalizable, and there are several ways to see this. One is to observe that the eigenvalues of (A 1 ) 2 are the squares of the eigenvalues of A 1, since A 1 x = λx A 1 A 1 x = A 1 λx = λ 2 x. These eigenvalues are therefore equal to 1 2, (1/6) 2, (1/10) 2, (1/13) 2, (1/15) 2, which are distinct. This implies tht (A 1 ) 2 is invertible. Another way is to observe that A 1 is diagonalizable since it has distinct eigenvalues, so A 1 = P DP 1 for some diagonal P. But now (A 1 ) 2 = P D 2 P 1. Math 54 Midterm 2 Page 6 of 9 10/31/2016

4. (7 points) Consider the matrix 0 1 1 A = 1 2 1. 1 1 0 Find the eigenvalues of A. Find a diagonal matrix D an an invertible matrix P such that AP = P D, or explain why no such matrices exist. Math 54 Midterm 2 Page 7 of 9 10/31/2016

5. Let 1 2 0 3 A = 1 4 6 b = 1. 1 2 0 5 (a) (5 points) Find a least squares solution to Ax = b, i.e., a vector ˆx R 3 minimizing Aˆx b. (b) (3 points) Using your answer to (a), or otherwise, find the orthogonal projection ˆb of b onto the column space of A, i.e., ˆb = Proj Col(A) (b). Math 54 Midterm 2 Page 8 of 9 10/31/2016