Designing Information Devices and Systems I Discussion 4B

Similar documents
Designing Information Devices and Systems I Discussion 4B

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

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.

Dimension. Eigenvalue and eigenvector

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

Study Guide for Linear Algebra Exam 2

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

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

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

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

Econ Slides from Lecture 7

Recall : Eigenvalues and Eigenvectors

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

2 Eigenvectors and Eigenvalues in abstract spaces.

Math 217: Eigenspaces and Characteristic Polynomials Professor Karen Smith

235 Final exam review questions

Designing Information Devices and Systems I Fall 2018 Homework 5

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

Announcements Monday, October 29

Matrices related to linear transformations

Solutions to Final Exam

Math 1553, Introduction to Linear Algebra

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

MATH 221, Spring Homework 10 Solutions

Chapter 5. Eigenvalues and Eigenvectors

Math 215 HW #9 Solutions

Diagonalization. Hung-yi Lee

Problem 1: Solving a linear equation

Final Exam Practice Problems Answers Math 24 Winter 2012

Examples True or false: 3. Let A be a 3 3 matrix. Then there is a pattern in A with precisely 4 inversions.

Math 322. Spring 2015 Review Problems for Midterm 2

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

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

Linear Algebra. and

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

Math 3191 Applied Linear Algebra

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

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

Sample Final Exam: Solutions

12. Perturbed Matrices

AMS10 HW7 Solutions. All credit is given for effort. (-5 pts for any missing sections) Problem 1 (20 pts) Consider the following matrix 2 A =

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

Math Final December 2006 C. Robinson

MA 265 FINAL EXAM Fall 2012

Homework sheet 4: EIGENVALUES AND EIGENVECTORS. DIAGONALIZATION (with solutions) Year ? Why or why not? 6 9

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

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

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

Designing Information Devices and Systems I Spring 2016 Official Lecture Notes Note 21

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 6

Problems for M 10/26:

Designing Information Devices and Systems I Fall 2018 Homework 3

Chapter 3 Transformations

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

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

6 EIGENVALUES AND EIGENVECTORS

Family Feud Review. Linear Algebra. October 22, 2013

Math 323 Exam 2 Sample Problems Solution Guide October 31, 2013

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

Review of Linear Algebra

Math 2114 Common Final Exam May 13, 2015 Form A

MATH SOLUTIONS TO PRACTICE MIDTERM LECTURE 1, SUMMER Given vector spaces V and W, V W is the vector space given by

Summer Session Practice Final Exam

Solutions to Midterm 2 Practice Problems Written by Victoria Kala Last updated 11/10/2015

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

CSL361 Problem set 4: Basic linear algebra

Math 315: Linear Algebra Solutions to Assignment 7

Review problems for MA 54, Fall 2004.

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

1. Let A = (a) 2 (b) 3 (c) 0 (d) 4 (e) 1

Question: Given an n x n matrix A, how do we find its eigenvalues? Idea: Suppose c is an eigenvalue of A, then what is the determinant of A-cI?

APPLICATIONS The eigenvalues are λ = 5, 5. An orthonormal basis of eigenvectors consists of

Lecture 11: Eigenvalues and Eigenvectors

Designing Information Devices and Systems I Spring 2019 Homework 5

Math 110 Linear Algebra Midterm 2 Review October 28, 2017

MATH 423 Linear Algebra II Lecture 20: Geometry of linear transformations. Eigenvalues and eigenvectors. Characteristic polynomial.

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note 6

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

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

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

Lecture 15, 16: Diagonalization

4. Linear transformations as a vector space 17

MAT1302F Mathematical Methods II Lecture 19

Solving a system by back-substitution, checking consistency of a system (no rows of the form

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

First of all, the notion of linearity does not depend on which coordinates are used. Recall that a map T : R n R m is linear if

Answers in blue. If you have questions or spot an error, let me know. 1. Find all matrices that commute with A =. 4 3

MIT Final Exam Solutions, Spring 2017

Topic 2 Quiz 2. choice C implies B and B implies C. correct-choice C implies B, but B does not imply C

Problem # Max points possible Actual score Total 120

Math 308 Practice Final Exam Page and vector y =

Lecture 12: Diagonalization

Eigenvalues and Eigenvectors. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Eigenvalues and Eigenvectors A =

Linear Algebra Review. Vectors

MATH 235. Final ANSWERS May 5, 2015

Homework 3 Solutions Math 309, Fall 2015

Name Solutions Linear Algebra; Test 3. Throughout the test simplify all answers except where stated otherwise.

Calculating determinants for larger matrices

Transcription:

Last Updated: 29-2-2 9:56 EECS 6A Spring 29 Designing Information Devices and Systems I Discussion 4B Reference Definitions: Matrices and Linear (In)Dependence We ve seen that the following statements are equivalent for an n n matrix A, meaning, if one is true then all are true: A is invertible The equation A, has a unique solution, which is The columns of A are linearly independent For each column vector b R n, A x = b has a unique solution x Null(A) = Conversely, if one of the following is true, then all of the following are true: A is not invertible A for some x The columns of A are linearly dependent There is not be a unique x for every b where A x = b Null(A) contains more than just the zero vector These are part of what is known as the Invertible Matrix Theorem.. Mechanical Eigenvalues and Eigenvectors In each part, find the eigenvalues of the matrix M and the associated eigenvectors. (a) M = 9 Let s begin by finding the eigenvalues: det ( ) () λ λ = det = 9 λ 9 λ The determinant of a diagonal matrix is the product of the entries. ( λ)(9 λ) = From the above equation, we know that the eigenvalues are λ = and λ = 9. UCB EECS 6A, Spring 29, Discussion 4B, All Rights Reserved. This may not be publicly shared without explicit permission.

Last Updated: 29-2-2 9:56 2 For the eigenvalue λ = : which is simply x 2 = or equivalently For the eigenvalue λ = 9: ( 9 (M I) ) 8 x or equivalently span {}. (M 9I) ( ) 9 9 ( ) 9 9 9 8 {} which is simply x = or equivalently or equivalently span. x 2 (b) M = 2 2 Let s begin by finding the eigenvalues: det ( ) () λ λ = det = 2 2 λ 2 2 λ ( λ)(2 λ) 2 = λ 2 3λ = λ(λ 3) = From the above equation, we know that the eigenvalues are λ = and λ = 3. For the eigenvalue λ = : (M I) x = M 2 2 x which is simply x is free and x 2 = x or equivalently x For the eigenvalue λ = 3: (M 3I) ( ) 3 2 2 ( ) 3 2 2 3 2 2 {} or equivalently span. UCB EECS 6A, Spring 29, Discussion 4B, All Rights Reserved. This may not be publicly shared without explicit permission. 2

Last Updated: 29-2-2 9:56 3 which is simply x is free and x 2 = 2x or equivalently (c) (PRACTICE) M = 3 4 9 3 Let s begin by finding the eigenvalues: [ x ] {} or equivalently span. 2x 2 λ λ det 3 4 9 λ = det 3 4 λ 9 = 3 λ 3 λ Without changing the determinant, we can subtract 3 λ of row from row 2. λ λ det 3 4 λ 9 = det 4 λ 9 = 3 λ 3 λ λ(4 λ)(3 λ) = From the above equation, we know that the eigenvalues are λ =, λ = 3, and λ = 4. For the eigenvalue λ = : (M I) x = M 3 4 9 3 which is simply x 3 =, x 2 is free, and x = 4 3 x 2 or equivalently For the eigenvalue λ = 3: 4 3 x 2 x 2 (M 3I) 3 4 9 3 3 3 3 4 9 3 3 3 3 3 9 4 3 or equivalently span. which is simply x =, x 3 is free, and x 2 = 9x 3 or equivalently 9x 3 or equivalently span 9. x 3 UCB EECS 6A, Spring 29, Discussion 4B, All Rights Reserved. This may not be publicly shared without explicit permission. 3

Last Updated: 29-2-2 9:56 4 For the eigenvalue λ = 4: (M 4I) 3 4 9 4 3 4 3 4 9 4 3 4 4 3 9 which is simply x = x 3 = and x 2 = x 2 or equivalently x 2 or equivalently span. (d) (PRACTICE) M = Let s begin by finding the eigenvalues: det ( ) λ = det λ () λ = λ Without changing the determinant, we can add λ of row to row 2. () ([ λ λ det = det λ λ λ ( λ λ ) = λ 2 + = λ ]) = From the above equation, we know that the eigenvalues are λ = i and λ = i. For the eigenvalue λ = i: (M ii) ( ) i ( ) i i [ i i ] {} ix2 i which is simply x = ix 2 and x 2 is free or equivalently or equivalently span. x 2 UCB EECS 6A, Spring 29, Discussion 4B, All Rights Reserved. This may not be publicly shared without explicit permission. 4

.5.4.4.4 Last Updated: 29-2-2 9:56 5 For the eigenvalue λ = i: (M + ii) ( ) + i ( ) i + i [ i i ] {} ix2 i which is simply x = ix 2 and x 2 is free or equivalently or equivalently span. 2. Steady State Reservoir Levels We have 3 reservoirs: A,B and C. The pumps system between the reservoirs is depicted in Figure..2 x 2 A B.3.2.3 C.3 Figure : Reservoir pumps system. (a) Write out the transition matrix representing the pumps system..2.5.4 T =.4.3.3.4.2.3 (b) Assuming that you start the pumps with the water levels of the reservoirs at A = 29,B = 9,C = (in kiloliters), what would be the steady state water levels (in kiloliters) according to the pumps system described above? Hint: If x ss = A ss B ss C ss is a vector describing the steady state levels of water in the reservoirs (in kiloliters), what happens if you fill the reservoirs A,B and C with A ss,b ss and C ss kiloliters of water, respectively, and apply the pumps once? UCB EECS 6A, Spring 29, Discussion 4B, All Rights Reserved. This may not be publicly shared without explicit permission. 5

Last Updated: 29-2-2 9:56 6 Hint II: Note that the pumps system preserves the total amount of water in the reservoirs. That is, no water is lost or gained by applying the pumps. If x ss = A ss B ss C ss is a vector describing the steady state levels of water in the reservoirs, then we know that T x ss = x ss that is, applying the pumps one more time wouldn t change the level of water in any of the reservoirs. This means that x ss is an eigenvector of T associated with the eigenvalue λ =. Therefore,.2.5.4.8.5.4 x ss Null(T I) = Null.4.3.3 = Null.4.7.3.4.2.3.4.2.7.8.5.4 43 We calculate the null space of the matrix.4.7.3, which is simply span 4,.4.2.7 36 43α which means that our steady state reservoirs levels vector is of the form 4α,α R. 36α Furthermore, we know that the pumps system conserves the water, i.e., no water is lost by running the pumps system. Therefore, we know that the total amount of water in the reservoirs at any point in time will be 29 + 9 + = 238 (equal to the original total amount of water in the system). Therefore, we are looking for an eigenvector whose components sum to 238. In other words, we are looking for α such that 43α + 4α + 36α = 238, which yields α = 2. Therefore, the steady state levels of the water 86 in the reservoirs will be 8. 72 3. Eigenvalues and Special Matrices Visualization An eigenvector v belonging to a square matrix A is a nonzero vector that satisfies A v = λ v where λ is a a scalar known as the eigenvalue corresponding to eigenvector v. The following parts don t require knowledge about how to find eigenvalues. Answer each part by reasoning about the matrix at hand. (a) Does the identity matrix in R n have any eigenvalues λ R? What are the corresponding eigenvectors? Multiplying the identity matrix with any vector in R n produces the same vector, that is, I x = x = x. Therefore, λ =. Since x can be any vector in R n, the corresponding eigenvectors are all vectors in R n. d d 2 (b) Does a diagonal matrix d 3 in R n have any eigenvalues λ R? What are the....... d n corresponding eigenvectors? UCB EECS 6A, Spring 29, Discussion 4B, All Rights Reserved. This may not be publicly shared without explicit permission. 6

Last Updated: 29-2-2 9:56 7 Since the matrix is diagonal, multiplying the diagonal matrix with any standard basis vector e i produces d i e i, that is, D e i = d i e i. Therefore, the eigenvalues are the diagonal entries d i of D, and the corresponding eigenvector associated with λ = d i is the standard basis vector e i. (c) Does a rotation matrix in R 2 have any eigenvalues λ R? There are three cases: i. Rotation by (more accurately, any integer multiple of 36 ), which yields a rotation matrix R = I: This will have one eigenvalue of + because it doesn t affect any vector (R x = x). The eigenspace associated with it is R 2. ii. Rotation by 8 (more accurately, any angle of 8 + n 36 for integer n), which yields a rotation matrix R = I: This will have one eigenvalue of because it flips any vector (R x = x). The eigenspace associated with it is R 2. iii. Any other rotation: there aren t any real eigenvalues. The reason is, if there were any real eigenvalue λ R for a non-trivial rotation matrix, it means that we can get R x = λ x for some x, which means that by rotating a vector, we scaled it. This is a contradiction (again, unless R = I). Refer to Figure 2 for a visualization. M x λ x x θ α Figure 2: Rotation will never scale any non-zero vector (by a real number) unless it is rotation by an integer multiple of 36 (identity matrix) or the rotation angle is θ = 8 + n 36 for any integer n ( I). (d) Does a reflection matrix in R 2 have any eigenvalues λ R? Yes, both + and. Why? Reflecting any vector that is on the reflection axis will not affect it (eigenvalue +). Reflecting any vector orthogonal to the reflection axis will just flip it/negate it (eigenvalue ). In other words, the axis of reflection is the eigenspace associated with the eigenvalue + and the orthogonal space to that axis of reflection is the eigenspace associated with the eigenvalue. Refer to Figure 3 for a visualization. UCB EECS 6A, Spring 29, Discussion 4B, All Rights Reserved. This may not be publicly shared without explicit permission. 7

Last Updated: 29-2-2 9:56 8 M x λ x x3 M x 3 = x 3 α M x 2 = x 2 α x Figure 3: Reflection will scale vectors on the reflection axis (by +) and orthogonal to it (by ). (e) If a matrix M has an eigenvalue λ =, what does this say about its null space? What does this say about the solutions of the system of linear equations M x = b? dim(null(m)) > M x = b has no unique solution. (f) Does the matrix have any eigenvalues λ R? What are the corresponding eigenvectors? Hint: What is the rank of the matrix? Note that the matrix is rank-deficient. Therefore, according to part (e), one eigenvalue [ is] λ =. The corresponding eigenvector, which is equivalent to the basis vector for the null space, is eigenvalue is, by inspection, λ = with the corresponding eigenvector because. The other ] =. [ UCB EECS 6A, Spring 29, Discussion 4B, All Rights Reserved. This may not be publicly shared without explicit permission. 8