Eigenvalues and Eigenvectors Artem Los (arteml@kth.se) February - - PowerPoint PPT Presentation

eigenvalues and eigenvectors
SMART_READER_LITE
LIVE PREVIEW

Eigenvalues and Eigenvectors Artem Los (arteml@kth.se) February - - PowerPoint PPT Presentation

Eigenvalues and Eigenvectors Artem Los (arteml@kth.se) February 9th, 2017 Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 1 / 16 Overview What is an Eigenvalue? 1 Finding eigenvalues and eigenvectors 2 Exam


slide-1
SLIDE 1

Eigenvalues and Eigenvectors

Artem Los (arteml@kth.se) February 9th, 2017

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 1 / 16

slide-2
SLIDE 2

Overview

1

What is an Eigenvalue?

2

Finding eigenvalues and eigenvectors

3

Exam question

4

Martin’s method

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 2 / 16

slide-3
SLIDE 3

What is an Eigenvalue?

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 3 / 16

slide-4
SLIDE 4

Introduction problem

Problem. Given A = 3/4 1/4 1/4 3/4

  • find A1000(2, 1) using A(1, 1) = (1, 1)

and A(1, −1) = 1

2(1, −1).

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 4 / 16

slide-5
SLIDE 5

Introduction problem

Problem. Given A = 3/4 1/4 1/4 3/4

  • find A1000(2, 1) using A(1, 1) = (1, 1)

and A(1, −1) = 1

2(1, −1).

Step 1: Find x1, x2 so that (2, 1) = x1(1, 1) + x2(1, −1). x1 = 3

2 and

x2 = 1

2

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 4 / 16

slide-6
SLIDE 6

Introduction problem

Problem. Given A = 3/4 1/4 1/4 3/4

  • find A1000(2, 1) using A(1, 1) = (1, 1)

and A(1, −1) = 1

2(1, −1).

Step 1: Find x1, x2 so that (2, 1) = x1(1, 1) + x2(1, −1). x1 = 3

2 and

x2 = 1

2

Step 2: A1000(2, 1) = x1A1000(1, 1) + x2A1000(1, −1) =

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 4 / 16

slide-7
SLIDE 7

Introduction problem

Problem. Given A = 3/4 1/4 1/4 3/4

  • find A1000(2, 1) using A(1, 1) = (1, 1)

and A(1, −1) = 1

2(1, −1).

Step 1: Find x1, x2 so that (2, 1) = x1(1, 1) + x2(1, −1). x1 = 3

2 and

x2 = 1

2

Step 2: A1000(2, 1) = x1A1000(1, 1) + x2A1000(1, −1) = = x1(1, 1) + x2 1 2 1000 (1, −1) =

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 4 / 16

slide-8
SLIDE 8

Introduction problem

Problem. Given A = 3/4 1/4 1/4 3/4

  • find A1000(2, 1) using A(1, 1) = (1, 1)

and A(1, −1) = 1

2(1, −1).

Step 1: Find x1, x2 so that (2, 1) = x1(1, 1) + x2(1, −1). x1 = 3

2 and

x2 = 1

2

Step 2: A1000(2, 1) = x1A1000(1, 1) + x2A1000(1, −1) = = x1(1, 1) + x2 1 2 1000 (1, −1) = = x1(1, 1) = (3/2, 3/2)

Based on lecture notes from Olof Heden’s lecture in SF1604 Linear Algebra (in 2014). Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 4 / 16

slide-9
SLIDE 9

Definition

Eigenvalue

The number λ is an eigenvalue of matrix A if A x = λ x for some vector x = 0.

  • x is an eigenvector to A belonging to the eigenvalue λ.

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 5 / 16

slide-10
SLIDE 10

Definition

Eigenvalue

The number λ is an eigenvalue of matrix A if A x = λ x for some vector x = 0.

  • x is an eigenvector to A belonging to the eigenvalue λ.

We can use it to: find A1000 given A. perform diagonalisations

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 5 / 16

slide-11
SLIDE 11

Finding eigenvalues and eigenvectors

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 6 / 16

slide-12
SLIDE 12

Finding eigenvalues and their corresponding eigenvectors

Using the definition, we can deduce the following:

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 7 / 16

slide-13
SLIDE 13

Finding eigenvalues and their corresponding eigenvectors

Using the definition, we can deduce the following: To find eigenvalues. Solve for λ (in the characteristic equation below): det (A − λI) = 0

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 7 / 16

slide-14
SLIDE 14

Finding eigenvalues and their corresponding eigenvectors

Using the definition, we can deduce the following: To find eigenvalues. Solve for λ (in the characteristic equation below): det (A − λI) = 0

  • Eg. we may get (2 − λ)(3 − λ)2 = 0, so the eigenvalues are λ2 and λ3.

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 7 / 16

slide-15
SLIDE 15

Finding eigenvalues and their corresponding eigenvectors

Using the definition, we can deduce the following: To find eigenvalues. Solve for λ (in the characteristic equation below): det (A − λI) = 0

  • Eg. we may get (2 − λ)(3 − λ)2 = 0, so the eigenvalues are λ2 and λ3.

The algebraic multiplicity of λ2 and λ3 are 1 and 2, respectively.

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 7 / 16

slide-16
SLIDE 16

Finding eigenvalues and their corresponding eigenvectors

Using the definition, we can deduce the following: To find eigenvalues. Solve for λ (in the characteristic equation below): det (A − λI) = 0

  • Eg. we may get (2 − λ)(3 − λ)2 = 0, so the eigenvalues are λ2 and λ3.

The algebraic multiplicity of λ2 and λ3 are 1 and 2, respectively. To find corresponding eigenvectors. Solve for v (for λ2 and λ3): (A − λI) v = The dimension of the solution space is the geometric multiplicity.

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 7 / 16

slide-17
SLIDE 17

Example

Problem. Find the eigenvalues and eigenvectors of A = 2 −2 3

  • Artem Los (arteml@kth.se)

Eigenvalues and Eigenvectors February 9th, 2017 8 / 16

slide-18
SLIDE 18

Example

Problem. Find the eigenvalues and eigenvectors of A = 2 −2 3

  • Step 1: Solve for λ in det(A − λI) = 0

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 8 / 16

slide-19
SLIDE 19

Example

Problem. Find the eigenvalues and eigenvectors of A = 2 −2 3

  • Step 1: Solve for λ in det(A − λI) = 0
  • 2 − λ

−2 3 − λ

  • =

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 8 / 16

slide-20
SLIDE 20

Example

Problem. Find the eigenvalues and eigenvectors of A = 2 −2 3

  • Step 1: Solve for λ in det(A − λI) = 0
  • 2 − λ

−2 3 − λ

  • = (2 − λ)(3 − λ) = 0

The roots are λ1 = 2 and λ2 = 3, which are also the eigenvalues

  • f A.

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 8 / 16

slide-21
SLIDE 21

Example

Problem. Find the eigenvalues and eigenvectors of A = 2 −2 3

  • Step 1: Solve for λ in det(A − λI) = 0
  • 2 − λ

−2 3 − λ

  • = (2 − λ)(3 − λ) = 0

The roots are λ1 = 2 and λ2 = 3, which are also the eigenvalues

  • f A. Both of them have algebraic multiplicity of 1, since we

don’t have any double roots, etc.

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 8 / 16

slide-22
SLIDE 22

Example (continued)

Problem. Find the eigenvalues and eigenvectors of A = 2 −2 3

  • Step 2: To find the corresponding eigenvectors, solve (A − λI)

v =

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 9 / 16

slide-23
SLIDE 23

Example (continued)

Problem. Find the eigenvalues and eigenvectors of A = 2 −2 3

  • Step 2: To find the corresponding eigenvectors, solve (A − λI)

v = Case λ = 2 −2 1

  • Artem Los (arteml@kth.se)

Eigenvalues and Eigenvectors February 9th, 2017 9 / 16

slide-24
SLIDE 24

Example (continued)

Problem. Find the eigenvalues and eigenvectors of A = 2 −2 3

  • Step 2: To find the corresponding eigenvectors, solve (A − λI)

v = Case λ = 2 −2 1

  • x2 has to be 0 and x1 can

be any, let’s say 1.

  • v =

1

  • Artem Los (arteml@kth.se)

Eigenvalues and Eigenvectors February 9th, 2017 9 / 16

slide-25
SLIDE 25

Example (continued)

Problem. Find the eigenvalues and eigenvectors of A = 2 −2 3

  • Step 2: To find the corresponding eigenvectors, solve (A − λI)

v = Case λ = 2 −2 1

  • x2 has to be 0 and x1 can

be any, let’s say 1.

  • v =

1

  • Case λ = 3

−1 −2

  • Artem Los (arteml@kth.se)

Eigenvalues and Eigenvectors February 9th, 2017 9 / 16

slide-26
SLIDE 26

Example (continued)

Problem. Find the eigenvalues and eigenvectors of A = 2 −2 3

  • Step 2: To find the corresponding eigenvectors, solve (A − λI)

v = Case λ = 2 −2 1

  • x2 has to be 0 and x1 can

be any, let’s say 1.

  • v =

1

  • Case λ = 3

−1 −2

  • By parametrization of

−x1 − 2x2 = 0, we get:

  • v =

2 −1

  • Artem Los (arteml@kth.se)

Eigenvalues and Eigenvectors February 9th, 2017 9 / 16

slide-27
SLIDE 27

Example (continued)

Problem. Find the eigenvalues and eigenvectors of A = 2 −2 3

  • Step 2: To find the corresponding eigenvectors, solve (A − λI)

v = Case λ = 2 −2 1

  • x2 has to be 0 and x1 can

be any, let’s say 1.

  • v =

1

  • Case λ = 3

−1 −2

  • By parametrization of

−x1 − 2x2 = 0, we get:

  • v =

2 −1

  • Geometric multiplicity is 1 in both cases, since the dimension is 1.

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 9 / 16

slide-28
SLIDE 28

Exam question

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 10 / 16

slide-29
SLIDE 29

Exam question

From https://www.kth.se/social/files/5858ed94f276542bb5877d62/tentor.pdf, p. 2 Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 11 / 16

slide-30
SLIDE 30

Exam question

From https://www.kth.se/social/files/5858ed94f276542bb5877d62/tentor.pdf, p. 2

Idea. Step 1: Find the T matrix in the standard basis using Martin’s method, i.e. T(1, 0, 0) = . . . , T(0, 1, 0) = . . . , T(0, 0, 1) = . . . .

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 11 / 16

slide-31
SLIDE 31

Exam question

From https://www.kth.se/social/files/5858ed94f276542bb5877d62/tentor.pdf, p. 2

Idea. Step 1: Find the T matrix in the standard basis using Martin’s method, i.e. T(1, 0, 0) = . . . , T(0, 1, 0) = . . . , T(0, 0, 1) = . . . . This is optional but good practise.

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 11 / 16

slide-32
SLIDE 32

Exam question

From https://www.kth.se/social/files/5858ed94f276542bb5877d62/tentor.pdf, p. 2

Idea. Step 1: Find the T matrix in the standard basis using Martin’s method, i.e. T(1, 0, 0) = . . . , T(0, 1, 0) = . . . , T(0, 0, 1) = . . . . This is optional but good practise. Step 2: Find the eigenvalues using det (A − λI) = 0

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 11 / 16

slide-33
SLIDE 33

Exam question

From https://www.kth.se/social/files/5858ed94f276542bb5877d62/tentor.pdf, p. 2

Idea. Step 1: Find the T matrix in the standard basis using Martin’s method, i.e. T(1, 0, 0) = . . . , T(0, 1, 0) = . . . , T(0, 0, 1) = . . . . This is optional but good practise. Step 2: Find the eigenvalues using det (A − λI) = 0 Step 3: Find the eigenvectors using (A − λI) v = 0 for each unique eigenvalue.

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 11 / 16

slide-34
SLIDE 34

Exam question (continued)

Step 1: The standard matrix T is given by: T =   −2

1 2 3 2

 

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 12 / 16

slide-35
SLIDE 35

Exam question (continued)

Step 1: The standard matrix T is given by: T =   −2

1 2 3 2

  Step 2: Find the eigenvalues using det (A − λI) = 0

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 12 / 16

slide-36
SLIDE 36

Exam question (continued)

Step 1: The standard matrix T is given by: T =   −2

1 2 3 2

  Step 2: Find the eigenvalues using det (A − λI) = 0

  • −λ

−2

1 2 − λ 3 2

−λ

  • =

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 12 / 16

slide-37
SLIDE 37

Exam question (continued)

Step 1: The standard matrix T is given by: T =   −2

1 2 3 2

  Step 2: Find the eigenvalues using det (A − λI) = 0

  • −λ

−2

1 2 − λ 3 2

−λ

  • = − λ
  • 1

2 − λ 3 2

−λ

  • =

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 12 / 16

slide-38
SLIDE 38

Exam question (continued)

Step 1: The standard matrix T is given by: T =   −2

1 2 3 2

  Step 2: Find the eigenvalues using det (A − λI) = 0

  • −λ

−2

1 2 − λ 3 2

−λ

  • = − λ
  • 1

2 − λ 3 2

−λ

  • = λ2(0.5 − λ) = 0

∴ λ = 0, λ = 0.5. Keep in mind the double root for λ0.

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 12 / 16

slide-39
SLIDE 39

Exam question (continued)

Step 1: The standard matrix T is given by: T =   −2

1 2 3 2

  Step 2: Find the eigenvalues using det (A − λI) = 0

  • −λ

−2

1 2 − λ 3 2

−λ

  • = − λ
  • 1

2 − λ 3 2

−λ

  • = λ2(0.5 − λ) = 0

∴ λ = 0, λ = 0.5. Keep in mind the double root for λ0. Step 3: Find the eigenvectors using (A − λI) v = 0 for λ0 and λ0.5.

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 12 / 16

slide-40
SLIDE 40

Exam question (continued)

Step 1: The standard matrix T is given by: T =   −2

1 2 3 2

  Step 2: Find the eigenvalues using det (A − λI) = 0

  • −λ

−2

1 2 − λ 3 2

−λ

  • = − λ
  • 1

2 − λ 3 2

−λ

  • = λ2(0.5 − λ) = 0

∴ λ = 0, λ = 0.5. Keep in mind the double root for λ0. Step 3: Find the eigenvectors using (A − λI) v = 0 for λ0 and λ0.5. λ0 :   −2 0.5 1.5   λ0.5 :   −0.5 −2 1.5 −0.5  

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 12 / 16

slide-41
SLIDE 41

Exam question (continued)

Step 3: Find the eigenvectors using (A − λI) v = 0 for λ0 and λ0.5. λ0 :   −2 −0.5 1.5   span{(−0.25, 1, 0), (0.75, 0, 1)} λ0.5 :   −0.5 −2 1.5 −0.5   span{(0, 1, 0)}

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 13 / 16

slide-42
SLIDE 42

Exam question (reflections)

The eigenvectors span up a space. λ0 had a two-dimensional eigenvector space, whereas λ0.5 had one-dimensional.

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 14 / 16

slide-43
SLIDE 43

Exam question (reflections)

The eigenvectors span up a space. λ0 had a two-dimensional eigenvector space, whereas λ0.5 had one-dimensional. An alternative approach would be to use the definition of eigenvalues i.e. T a = λ

  • a. We would clearly see that

T(1, 1, 1) = 0 × (1, 1, 1) =

T(1,1,1)

(0, 0, 0) T(0, 2, 0) = 0.5 × (0, 2, 0) =

T(0,2,0)

(0, 1, 0) and that there is no c such that T(0, 1, 1) = c × (0, 1, 1) =

T(0,1,1)

(0, 2, 0)

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 14 / 16

slide-44
SLIDE 44

Martin’s method

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 15 / 16

slide-45
SLIDE 45

Martin’s method

  • Idea. Put all the vectors as rows in the matrix. Those being transformed

are on the left (i.e. v) and the result on the right (i.e. T( v)). Use row

  • perations to get the identify matrix on LHS.

  1 1 1 2 1 1 1 2   ∼ el row op ∼   1 −2 1 0.5 1 1.5   If you transpose what you have on RHS, you have the standard matrix for the transformation. So, T(1, 0, 0) = (0, −2, 0), for example.

Artem Los (arteml@kth.se) Eigenvalues and Eigenvectors February 9th, 2017 16 / 16