EE263: Introduction to Linear Dynamical Systems Review Session 5

Similar documents
CAAM 335 Matrix Analysis

Dynamic interpretation of eigenvectors

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

Solution via Laplace transform and matrix exponential

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

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

Definition (T -invariant subspace) Example. Example

Module 09 From s-domain to time-domain From ODEs, TFs to State-Space Modern Control

Eigenvalues and Eigenvectors

MA 265 FINAL EXAM Fall 2012

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

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

Diagonalization. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

Eigenpairs and Diagonalizability Math 401, Spring 2010, Professor David Levermore

Linear System Theory

Review Notes for Linear Algebra True or False Last Updated: January 25, 2010

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

Matrices and Linear Algebra

vibrations, light transmission, tuning guitar, design buildings and bridges, washing machine, Partial differential problems, water flow,...

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

EE5120 Linear Algebra: Tutorial 6, July-Dec Covers sec 4.2, 5.1, 5.2 of GS

Math 315: Linear Algebra Solutions to Assignment 7

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 Matrix Algebra

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

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

MATH 235. Final ANSWERS May 5, 2015

Online Exercises for Linear Algebra XM511

Linear algebra II Tutorial solutions #1 A = x 1

π 1 = tr(a), π n = ( 1) n det(a). In particular, when n = 2 one has

Eigenvalues, Eigenvectors. Eigenvalues and eigenvector will be fundamentally related to the nature of the solutions of state space systems.

DM554 Linear and Integer Programming. Lecture 9. Diagonalization. Marco Chiarandini

Linear Algebra Practice Problems

MATH 221, Spring Homework 10 Solutions

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

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

MATH 1553-C MIDTERM EXAMINATION 3

Math 304 Fall 2018 Exam 3 Solutions 1. (18 Points, 3 Pts each part) Let A, B, C, D be square matrices of the same size such that

21 Linear State-Space Representations

2 Eigenvectors and Eigenvalues in abstract spaces.

Linear Algebra 1. M.T.Nair Department of Mathematics, IIT Madras. and in that case x is called an eigenvector of T corresponding to the eigenvalue λ.

Knowledge Discovery and Data Mining 1 (VO) ( )

Calculating determinants for larger matrices

MATH 304 Linear Algebra Lecture 33: Bases of eigenvectors. Diagonalization.

Eigenvalues and Eigenvectors

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

MATH 423 Linear Algebra II Lecture 33: Diagonalization of normal operators.

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Linear Algebra, part 2 Eigenvalues, eigenvectors and least squares solutions

City Suburbs. : population distribution after m years

EE/ACM Applications of Convex Optimization in Signal Processing and Communications Lecture 2

Recall : Eigenvalues and Eigenvectors

MTH 102: Linear Algebra Department of Mathematics and Statistics Indian Institute of Technology - Kanpur. Problem Set

Solutions Problem Set 8 Math 240, Fall

Lecture Summaries for Linear Algebra M51A

235 Final exam review questions

Properties of Matrices and Operations on Matrices

Chapter 7. Canonical Forms. 7.1 Eigenvalues and Eigenvectors

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

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

Lec 2: Mathematical Economics

ALGEBRA QUALIFYING EXAM PROBLEMS LINEAR ALGEBRA

Eigenvalues, Eigenvectors, and Diagonalization

University of Colorado at Denver Mathematics Department Applied Linear Algebra Preliminary Exam With Solutions 16 January 2009, 10:00 am 2:00 pm

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 1553 PRACTICE MIDTERM 3 (VERSION B)

EE263: Introduction to Linear Dynamical Systems Review Session 6

UCSD ECE269 Handout #18 Prof. Young-Han Kim Monday, March 19, Final Examination (Total: 130 points)

MATH Spring 2011 Sample problems for Test 2: Solutions

Linear Algebra Review

Announcements Monday, October 29

State space transformations

Cayley-Hamilton Theorem

MAC Module 12 Eigenvalues and Eigenvectors. Learning Objectives. Upon completing this module, you should be able to:

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

0.1 Rational Canonical Forms

Eigenvalues and Eigenvectors 7.2 Diagonalization

ELE/MCE 503 Linear Algebra Facts Fall 2018

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

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

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

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

Math 405: Numerical Methods for Differential Equations 2016 W1 Topics 10: Matrix Eigenvalues and the Symmetric QR Algorithm

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 =

Solutions to Final Exam

Section 8.2 : Homogeneous Linear Systems

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

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

Diagonalization. Hung-yi Lee

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

MATH 315 Linear Algebra Homework #1 Assigned: August 20, 2018

4. Linear transformations as a vector space 17

Recall the convention that, for us, all vectors are column vectors.

MATH JORDAN FORM

Applied Mathematics 205. Unit V: Eigenvalue Problems. Lecturer: Dr. David Knezevic

33AH, WINTER 2018: STUDY GUIDE FOR FINAL EXAM

Linear algebra II Homework #1 solutions A = This means that every eigenvector with eigenvalue λ = 1 must have the form

Linear Algebra II Lecture 13

0 2 0, it is diagonal, hence diagonalizable)

Transcription:

EE263: Introduction to Linear Dynamical Systems Review Session 5 Outline eigenvalues and eigenvectors diagonalization matrix exponential EE263 RS5 1

Eigenvalues and eigenvectors we say that λ C is an eigenvalue of a square matrix A C n n if X(λ) = det(λi A) = 0 where X(s) = det(si A) is the characteristic polynomial of the matrix A det(λi A) = 0 implies λi A is singular, so a nonzero vector v N(λI A) C n, i.e. Av = λv we say that v is an eigenvector of A (associated with the eigenvalue λ) eigenvectors must be nonzero by definition the concept of eigenvalues and eigenvectors applies only to square matrices EE263 RS5 2

Basic facts let A C n n, how many eigenvalues does A have? an eigenvalue is a root of the polynomial X(s), which is of degree n X(s) must have exactly n roots (counting multiplicities), and so A must have exactly n eigenvalues (but these need not be distinct) we can write the polynomial X(s) as X(s) = (s λ 1 )(s λ 2 ) (s λ n ) which implies that det( A) = X(0) = Π n i=1( λ i ) or more simply det(a) = Π n i=1λ i EE263 RS5 3

Basic facts contd. is the eigenvector associated with an eigenvalue unique? if v is an eigenvector of A, then Av = λv this means that αav = αλv for any α C, α 0, and so αv is also an eigenvector from now on we shall assume that A is real even when A is real, the eigenvalues and eigenvectors of A can be complex when both A and λ are real, we can always find a real eigenvector v if A is real and λ is complex, then λ is also an eigenvalue of A, and v is an eigenvector associated with λ EE263 RS5 4

Idempotent matrices suppose A R n n, A 2 = A (A is an idempotent matrix), what can we say about the eigenvalues of A? let s suppose λ is an eigenvalue of A, then Av = λv for some nonzero vector v since A 2 = A, we can write λv = Av = A 2 v = AAv = λ 2 v by definition, v must be a nonzero vector, so we must have λ = λ 2, which implies that λ(λ 1) = 0 the eigenvalues of A must be either 0 or 1 cf. projection matrices EE263 RS5 5

Left eigenvectors given A R n n, show that the eigenvalues of A and A T are the same λ is an eigenvalue of A if det(λi A) = 0, we know that for any square matrix B, det(b) = det(b T ), and so 0 = det(λi A) = det((λi A) T ) = det(λi A T ). i.e. any eigenvalue of A must be an eigenvalue of A T what is the relationship between the eigenvectors of A and A T? let s suppose w is an eigenvector of A T associated with the eigenvalue λ, so A T w = λw. We can write this as w T A = λw T, i.e. w is a left eigenvector of A, associated with the eigenvalue λ EE263 RS5 6

Example find the eigenvalues of the following matrix: A = 1 3 2 0 3 9 0 0 5 the characteristic polynomial of A is det(si A) = det s 1 3 2 0 s 3 9 0 0 s 5 = (s 1)(s 3)(s 5). (note: the determinant of a triangular matrix is the product of the entries along the diagonal) the eigenvalues of A are the roots of the characteristic polynomial, i.e., 1, 3, and 5 EE263 RS5 7

Finding eigenvalues can determine eigenvalues and eigenvectors of matrices analytically only in very special cases: for example, when the matrix is triangular, or idempotent, or when the matrix is in R 2 2 or R 3 3 (in which case we can easily find the roots of the characteristic polynomial) in general, we need to use numerical algorithms to find eigenvalues and eigenvectors in matlab we can use the function eig: [U,V]=eig(A) puts normalized eigenvectors as columns in U and the associated eigenvalues as the diagonal entries in V EE263 RS5 8

Eigenvalues of matrix products for any A R m n, B R n m, Sylvester s determinant identity states that det(i m AB) = det(i n BA), using this, show that the nonzero eigenvalues of AB and BA are identical suppose λ 0, then det(λi n BA) = λ n det(i n B(λ 1 A)) = λ n det(i m (λ 1 A)B) = λ n m det(λi m AB) if λ is a nonzero eigenvalue of BA then det(λi n BA) = 0 implies that λ n m det(λi m AB) = 0. must have det(λi m AB) = 0, so λ is also an eigenvalue of AB EE263 RS5 9

Rank one matrices suppose A R n n is a rank 1 matrix (i.e., rank(a) = 1), then A can be expressed as A = xy T, for nonzero vectors x R n and y R n suppose y T x 0, find a nonzero eigenvalue of A, and a left and a right eigenvector associated with this nonzero eigenvalue what are the other eigenvalues of A? solution let s consider the product Ax; we can write Ax = (xy T )x = (y T x)x. this shows that y T x is an eigenvalue of A, and x is an associated eigenvector EE263 RS5 10

similarly, y T A = y T (xy T ) = (y T x)y T so y is a left eigenvector corresponding to the eigenvalue y T x. by the previous example, the nonzero eigenvalues of xy T must be the same as the nonzero eigenvalues of y T x. But y T x is just a scalar, with only one eigenvalue y T x, and so A can only have one nonzero eigenvalue, hence all the other eigenvalues of A are zero EE263 RS5 11

Diagonalization we say that a matrix A R n n is diagonalizable if A has a set of linearly independent eigenvectors v 1,...,v n, in this case A [ ] [ ] v 1 v n = v1 v n λ 1 defining T = [ v 1 v n ], and Λ = diag(λ1,...,λ n ), we can write and so AT = TΛ T 1 AT = Λ conversely, if we can find a nonsingular T, such that T 1 AT = Λ where Λ is a diagonal matrix, then AT = TΛ, and so the diagonal entries of Λ are the eigenvalues of A, and the columns of T are an independent... λ n EE263 RS5 12

set of eigenvectors of A, so an alternative definition is that a matrix is diagonalizable if there exists a nonsingular T, such that T 1 AT is a diagonal matrix importantly: if A has distinct eigenvalues, i.e., λ i λ j for i j, then A is diagonalizable. the converse is false, e.g. the identity matrix I is diagonalizable (indeed, it is already a diagonal matrix), but all the eigenvalues are equal to 1 we ll see that in many cases diagonalization can simplify matrix expressions, and offer insight into the properties of matrices EE263 RS5 13

Example let A be a rank-1 matrix A can be expressed as A = xy T for nonzero vectors x and y; suppose y T x 0, show that A is diagonalizable solution weknowa = xy T hasanonzeroeigenvaluey T x, andxisacorresponding eigenvector also y T x is the only nonzero eigenvalue, the other n 1 eigenvalues are all zero if v is an eigenvector corresponding to the eigenvalue 0, then v N(0I A) = N(A) but since rank(a) = 1, we know that dim(n(a)) = n 1, and so we can pick n 1 independent eigenvectors v 2,...,v n N(A), that correspond to the eigenvalue 0. EE263 RS5 14

by construction {v 2,...,v n } is independent, so we need to show that x is independent of v 2,...,v n, i.e., x cannot be expressed as a linear combination of v 2,...,v n suppose that we can find α 2,...,α n, such that then x = α 2 v 2 + +α n v n. Ax = α 2 Av 2 + +α n Av n = 0. but we know that Ax = (y T x)x 0, which leads to a contradiction soxcannotdependonthevectorsv 2,...,v n, thus, thesetofeigenvectors {x,v 2,...,v n } is independent, which shows that A is diagonalizable EE263 RS5 15

Example suppose A R n n is diagonalizable, how can we find a matrix B such that B 2 = A? (B is a square root of A) if A is diagonalizable, then A = TΛT 1, where Λ = diag(λ 1,...,λ n ), let µ 2 1 = λ 1,...,µ 2 n = λ n, and let B = T diag(µ 1,...,µ n )T 1 B 2 = T diag(µ 1,...,µ n )T 1 T diag(µ 1,...,µ n )T 1 = T diag(µ 1,...,µ n )diag(µ 1,...,µ n )T 1 = T diag(µ 2 1,...,µ 2 n)t 1 = TΛT 1 = A a matrix square root is not unique, using this method we can choose 2 n different square roots (depending on whether we choose µ i = + λ i, or µ i = λ i )), however, not all matrix square roots are given this way EE263 RS5 16

for example, the matrix A = [ 0 0 0 0 is diagonalizable, and if we use the method we just described we find that the square root is simply the zero matrix an alternative square root is ] B = [ 0 1 0 0 ] if you want to compute the square root of a matrix in matlab you can use the function sqrtm EE263 RS5 17

Simultaneously diagonalizable matrices two matrices A R n n and B R n n are simultaneously diagonalizable if we can find a matrix T, such that T 1 AT = Λ A, and T 1 BT = Λ B, where Λ A, and Λ B are diagonal show that if A and B are simultaneously diagonalizable, then AB = BA solution write A = TΛ A T 1, and B = TΛ B T 1 so AB = TΛ A T 1 TΛ B T 1 = TΛ A Λ B T 1 = TΛ B Λ A T 1 = TΛ B T 1 TΛ A T 1 = BA, EE263 RS5 18

since diagonal matrices commute under matrix multiplication with a little more work we can show that two diagonalizable matrices A and B commute (under matrix multiplication), if and only if they are simultaneously diagonalizable EE263 RS5 19

Linear dynamical systems and invariant sets a continuous time linear dynamical system has the form ẋ = Ax the solution of the linear dynamical system is where x(t) = e ta x(0) e A = I +A+ A2 2! + is the matrix exponential of A we say that a set S R n is invariant under ẋ = Ax if x(t) S implies x(τ) S for all τ t, this means that whenever the trajectory enters the set S, it must stay in S EE263 RS5 20

Example consider a linear dynamical system ẋ = Ax, where x(t) R n the positive quadrant R n + is the set of vectors whose components are all nonnegative, i.e., R n + = {x x i 0, i = 1,...,n} we say the system is positive quadrant invariant (PQI) if whenever we have x(t) R n +, we have x(t) R n +, for all t T what are the conditions on A for which the system ẋ = Ax is PQI? we notice that at the quadrant boundaries, the derivative ẋ = Ax must point into the quadrant so whenever x i = 0, and x j 0, j i, we must have e T i Ax 0 this is equivalent to the condition A ij 0, j = 1,...,i 1,i+1,...,n in other words, the off-diagonal elements must be non-negative EE263 RS5 21