18
5 5. 3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Embed Size (px)

Citation preview

Page 1: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

5

5.3

© 2016 Pearson Education, Inc.

Eigenvalues and Eigenvectors

DIAGONALIZATION

Page 2: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 2 © 2016 Pearson Education, Inc.

DIAGONALIZATION

Example 2: Let . Find a formula for

Ak, given that , where

and

Solution: The standard formula for the inverse of a

matrix yields

7 2

4 1A

1A PDP

1 1

1 2P

5 0

0 3D

2 21

2 1

1 1P

Page 3: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 3

DIAGONALIZATION

Then, by associativity of matrix multiplication,

Again,

2 1 1 1 1 1

2

2 1

2

( )( ) ( )

1 1 2 15 0

1 2 1 10 3

I

A PDP PDP PD P P DP PDDP

PD P

3 1 2 1 2 1 2 1 3 1( ) ( )

I

A PDP A PD P P D P PDD P PD P

© 2016 Pearson Education, Inc.

Page 4: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 4

DIAGONALIZATION

In general, for ,

A square matrix A is said to be diagonalizable if A is similar to a diagonal matrix, that is, if for some invertible matrix P and some diagonal, matrix D.

1k

11 1 2 15 0

1 2 1 10 3

2 5 3 5 3

2 3 2 5 2 3 5

k

k k

k

k k k k

k k k k

A PD P

1A PDP

© 2016 Pearson Education, Inc.

Page 5: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 5

THE DIAGONALIZATION THEOREM

Theorem 5: An matrix A is diagonalizable if and only if A has n linearly independent eigenvectors.

In fact, , with D a diagonal matrix, if and only if the columns of P and n linearly independent eigenvectors of A. In this case, the diagonal entries of D are eigenvalues of A that correspond, respectively, to the eigenvectors in P.

In other words, A is diagonalizable if and only if there are enough eigenvectors to form a basis of . We call such a basis an eigenvector basis of.

n n

1A PDP

© 2016 Pearson Education, Inc.

Page 6: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 6

THE DIAGONALIZATION THEOREM Proof: First, observe that if P is any matrix with

columns v1, …, vn, and if D is any diagonal matrix with diagonal entries λ1, …, λn, then

(1)

while

(2)

n n

1 2 1 2v v v v v vn nAP A A A A

1

2

1 1 2 2

λ 0 0

0 λ 0λ v λ v λ v

0 0 λ

n n

n

PD P

© 2016 Pearson Education, Inc.

Page 7: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 7

THE DIAGONALIZATION THEOREM

Now suppose A is diagonalizable and . Then right-multiplying this relation by P, we have

. In this case, equations (1) and (2) imply that

(3) Equating columns, we find that

(4) Since P is invertible, its columns v1, …, vn must be

linearly independent.

1A PDP

AP PD

1 2 1 1 2 2v v v λ v λ v λ vn n nA A A

1 1 1 2 2 2v λ v , v λ v , , v λ vn n nA A A

© 2016 Pearson Education, Inc.

Page 8: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 8

THE DIAGONALIZATION THEOREM

Also, since these columns are nonzero, the equations in (4) show that λ1, …, λn are eigenvalues and v1, …, vn are corresponding eigenvectors.

This argument proves the “only if ” parts of the first and second statements, along with the third statement, of the theorem.

Finally, given any n eigenvectors v1, …, vn, use them to construct the columns of P and use corresponding eigenvalues λ1, …, λn to construct D.

© 2016 Pearson Education, Inc.

Page 9: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 9

THE DIAGONALIZATION THEOREM

By equations (1)–(3), .

This is true without any condition on the eigenvectors.

If, in fact, the eigenvectors are linearly independent, then P is invertible (by the Invertible Matrix Theorem), and implies that .AP PD 1A PDP

AP PD

© 2016 Pearson Education, Inc.

Page 10: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 10

DIAGONALIZING MATRICES Example 3: Diagonalize the following matrix, if

possible.

That is, find an invertible matrix P and a diagonal matrix D such that .

Solution: There are four steps to implement the description in Theorem 5.

Step 1. Find the eigenvalues of A. Here, the characteristic equation turns out to involve

a cubic polynomial that can be factored:

1 3 3

3 5 3

3 3 1

A

1A PDP

© 2016 Pearson Education, Inc.

Page 11: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 11

DIAGONALIZING MATRICES

The eigenvalues are and . Step 2. Find three linearly independent eigenvectors

of A. Three vectors are needed because A is a matrix. This is a critical step. If it fails, then Theorem 5 says that A cannot be

diagonalized.

3 2

2

0 det( λ ) λ 3λ 4

(λ 1)(λ 2)

A I

λ 1 λ 2

3 3

© 2016 Pearson Education, Inc.

Page 12: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 12

DIAGONALIZING MATRICES

Basis for

Basis for and

You can check that {v1, v2, v3} is a linearly independent set.

1

1

λ 1: v 1

1

2

1

λ 2 : v 1

0

3

1

v 0

1

© 2016 Pearson Education, Inc.

Page 13: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 13

DIAGONALIZING MATRICES

Step 3. Construct P from the vectors in step 2. The order of the vectors is unimportant. Using the order chosen in step 2, form

Step 4. Construct D from the corresponding eigenvalues. In this step, it is essential that the order of the eigenvalues

matches the order chosen for the columns of P.

1 2 3

1 1 1

v v v 1 1 0

1 0 1

P

© 2016 Pearson Education, Inc.

Page 14: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 14

DIAGONALIZING MATRICES Use the eigenvalue twice, once for each of the

eigenvectors corresponding to :

To avoid computing , simply verify that . Compute

λ 2λ 2

1 0 0

0 2 0

0 0 2

D

1P AD PD

1 3 3 1 1 1 1 2 2

3 5 3 1 1 0 1 2 0

3 3 1 1 0 1 1 0 2

AP

© 2016 Pearson Education, Inc.

Page 15: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 15

DIAGONALIZING MATRICES

Theorem 6: An matrix with n distinct eigenvalues is diagonalizable.

Proof: Let v1, …, vn be eigenvectors corresponding to the n distinct eigenvalues of a matrix A.

Then {v1, …, vn} is linearly independent, by Theorem 2 in Section 5.1.

Hence A is diagonalizable, by Theorem 5.

1 1 1 1 0 0 1 2 2

1 1 0 0 2 0 1 2 0

1 0 1 0 0 2 1 0 2

PD

n n

© 2016 Pearson Education, Inc.

Page 16: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 16

MATRICES WHOSE EIGENVALUES ARE NOT DISTINCT

It is not necessary for an matrix to have n distinct eigenvalues in order to be diagonalizable.

The 3 x 3 matrix in Example 3 is diagonalizable even though it has only two distinct eigenvalues.

If an matrix A has n distinct eigenvalues, with corresponding eigenvectors v1, …, vn, and if

, then P is automatically invertible because its columns are linearly independent, by Theorem 2.

n n

n n

1 2v vP

© 2016 Pearson Education, Inc.

Page 17: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 17

MATRICES WHOSE EIGENVALUES ARE NOT DISTINCT

When A is diagonalizable but has fewer than n distinct eigenvalues, it is still possible to build P in a way that makes P automatically invertible, as the next theorem shows.

Theorem 7: Let A be an matrix whose distinct eigenvalues are λ1, …, λp.

a. For , the dimension of the eigenspace for λk is less than or equal to the multiplicity of the eigenvalue λk.

1 k p

n n

© 2016 Pearson Education, Inc.

Page 18: 5 5.3 © 2016 Pearson Education, Inc. Eigenvalues and Eigenvectors DIAGONALIZATION

Slide 5.3- 18

MATRICES WHOSE EIGENVALUES ARE NOT DISTINCT

b. The matrix A is diagonalizable if and only if the sum of the dimensions of the eigenspaces equals n, and this happens if and only if (i) the characteristic polynomial factors completely into linear factors and (ii) the dimension of the eigenspace for each λk equals the multiplicity of λk.

c. If A is diagonalizable and Bk is a basis for the eigenspace corresponding to Bk for each k, then the total collection of vectors in the sets B1, …, Bp forms an eigenvector basis for .

© 2016 Pearson Education, Inc.