Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This...

307
Review of Linear Algebra (Sect. 5.2, 5.3) This Class: n × n systems of linear algebraic equations. The matrix-vector product. A matrix is a function. The inverse of a square matrix. The determinant of a square matrix. Next Class: Eigenvalues, eigenvectors of a matrix. Computing eigenvalues and eigenvectors. Diagonalizable matrices.

Transcript of Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This...

Page 1: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Review of Linear Algebra (Sect. 5.2, 5.3)

This Class:

I n × n systems of linear algebraic equations.

I The matrix-vector product.

I A matrix is a function.

I The inverse of a square matrix.

I The determinant of a square matrix.

Next Class:

I Eigenvalues, eigenvectors of a matrix.

I Computing eigenvalues and eigenvectors.

I Diagonalizable matrices.

Page 2: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

DefinitionAn n × n algebraic system of linear equations is the following:Given constants aij and bi , where indices i , j = 1 · · · , n > 1, findthe constants xj solutions of the system

a11x1 + · · ·+ a1nxn = b1,

...

an1x1 + · · ·+ annxn = bn.

The system is called homogeneous iff the sources vanish, that is,b1 = · · · = bn = 0.

Example

2× 2:2x1 − x2 = 0,

−x1 + 2x2 = 3.3× 3:

x1 + 2x2 + x3 = 1,

−3x1 + x2 + 3x3 = 24,

x2 − 4x3 = −1.

C

Page 3: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

DefinitionAn n × n algebraic system of linear equations is the following:Given constants aij and bi , where indices i , j = 1 · · · , n > 1, findthe constants xj solutions of the system

a11x1 + · · ·+ a1nxn = b1,

...

an1x1 + · · ·+ annxn = bn.

The system is called homogeneous iff the sources vanish, that is,b1 = · · · = bn = 0.

Example

2× 2:2x1 − x2 = 0,

−x1 + 2x2 = 3.

3× 3:

x1 + 2x2 + x3 = 1,

−3x1 + x2 + 3x3 = 24,

x2 − 4x3 = −1.

C

Page 4: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

DefinitionAn n × n algebraic system of linear equations is the following:Given constants aij and bi , where indices i , j = 1 · · · , n > 1, findthe constants xj solutions of the system

a11x1 + · · ·+ a1nxn = b1,

...

an1x1 + · · ·+ annxn = bn.

The system is called homogeneous iff the sources vanish, that is,b1 = · · · = bn = 0.

Example

2× 2:2x1 − x2 = 0,

−x1 + 2x2 = 3.3× 3:

x1 + 2x2 + x3 = 1,

−3x1 + x2 + 3x3 = 24,

x2 − 4x3 = −1.

C

Page 5: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Review of Linear Algebra (Sect. 5.2, 5.3)

I n × n systems of linear algebraic equations.

I The matrix-vector product.

I A matrix is a function.

I The inverse of a square matrix.

I The determinant of a square matrix.

Page 6: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The matrix-vector product.

DefinitionThe matrix-vector product is the matrix multiplication of an n × nmatrix A and an n-vector v, resulting in an n-vector Av, that is,

An × n

vn × 1

−→ Avn × 1

Example

Find the matrix-vector product Av for

A =

[2 −1−1 2

], v =

[13

].

Solution: This is a straightforward computation,

Av =

[2 −1−1 2

] [13

]=

[2− 3−1 + 6

]⇒ Av =

[−15

]. C

Page 7: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The matrix-vector product.

DefinitionThe matrix-vector product is the matrix multiplication of an n × nmatrix A and an n-vector v, resulting in an n-vector Av, that is,

An × n

vn × 1

−→ Avn × 1

Example

Find the matrix-vector product Av for

A =

[2 −1−1 2

], v =

[13

].

Solution: This is a straightforward computation,

Av =

[2 −1−1 2

] [13

]=

[2− 3−1 + 6

]⇒ Av =

[−15

]. C

Page 8: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The matrix-vector product.

DefinitionThe matrix-vector product is the matrix multiplication of an n × nmatrix A and an n-vector v, resulting in an n-vector Av, that is,

An × n

vn × 1

−→ Avn × 1

Example

Find the matrix-vector product Av for

A =

[2 −1−1 2

], v =

[13

].

Solution: This is a straightforward computation,

Av =

[2 −1−1 2

] [13

]

=

[2− 3−1 + 6

]⇒ Av =

[−15

]. C

Page 9: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The matrix-vector product.

DefinitionThe matrix-vector product is the matrix multiplication of an n × nmatrix A and an n-vector v, resulting in an n-vector Av, that is,

An × n

vn × 1

−→ Avn × 1

Example

Find the matrix-vector product Av for

A =

[2 −1−1 2

], v =

[13

].

Solution: This is a straightforward computation,

Av =

[2 −1−1 2

] [13

]=

[2− 3−1 + 6

]

⇒ Av =

[−15

]. C

Page 10: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The matrix-vector product.

DefinitionThe matrix-vector product is the matrix multiplication of an n × nmatrix A and an n-vector v, resulting in an n-vector Av, that is,

An × n

vn × 1

−→ Avn × 1

Example

Find the matrix-vector product Av for

A =

[2 −1−1 2

], v =

[13

].

Solution: This is a straightforward computation,

Av =

[2 −1−1 2

] [13

]=

[2− 3−1 + 6

]⇒ Av =

[−15

]. C

Page 11: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

Remark: Matrix notation is useful to work with systems of linearalgebraic equations.

Introduce the coefficient matrix, the source vector, and theunknown vector, respectively,

A =

a11 · · · a1n...

...an1 · · · ann

, b =

b1

...bn

, x =

x1

...xn

.

Using this matrix notation and the matrix-vector product, thelinear algebraic system above can be written as

a11x1 + · · ·+ a1nxn = b1,

...

an1x1 + · · ·+ annxn = bn.

a11 · · · a1n...

...an1 · · · ann

x1

...xn

=

b1

...bn

Ax = b.

Page 12: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

Remark: Matrix notation is useful to work with systems of linearalgebraic equations.

Introduce the coefficient matrix, the source vector, and theunknown vector, respectively,

A =

a11 · · · a1n...

...an1 · · · ann

, b =

b1

...bn

, x =

x1

...xn

.

Using this matrix notation and the matrix-vector product, thelinear algebraic system above can be written as

a11x1 + · · ·+ a1nxn = b1,

...

an1x1 + · · ·+ annxn = bn.

a11 · · · a1n...

...an1 · · · ann

x1

...xn

=

b1

...bn

Ax = b.

Page 13: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

Remark: Matrix notation is useful to work with systems of linearalgebraic equations.

Introduce the coefficient matrix, the source vector, and theunknown vector, respectively,

A =

a11 · · · a1n...

...an1 · · · ann

, b =

b1

...bn

, x =

x1

...xn

.

Using this matrix notation and the matrix-vector product, thelinear algebraic system above can be written as

a11x1 + · · ·+ a1nxn = b1,

...

an1x1 + · · ·+ annxn = bn.

a11 · · · a1n...

...an1 · · · ann

x1

...xn

=

b1

...bn

Ax = b.

Page 14: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

Remark: Matrix notation is useful to work with systems of linearalgebraic equations.

Introduce the coefficient matrix, the source vector, and theunknown vector, respectively,

A =

a11 · · · a1n...

...an1 · · · ann

, b =

b1

...bn

, x =

x1

...xn

.

Using this matrix notation and the matrix-vector product, thelinear algebraic system above can be written as

a11x1 + · · ·+ a1nxn = b1,

...

an1x1 + · · ·+ annxn = bn.

a11 · · · a1n...

...an1 · · · ann

x1

...xn

=

b1

...bn

Ax = b.

Page 15: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

Remark: Matrix notation is useful to work with systems of linearalgebraic equations.

Introduce the coefficient matrix, the source vector, and theunknown vector, respectively,

A =

a11 · · · a1n...

...an1 · · · ann

, b =

b1

...bn

, x =

x1

...xn

.

Using this matrix notation and the matrix-vector product, thelinear algebraic system above can be written as

a11x1 + · · ·+ a1nxn = b1,

...

an1x1 + · · ·+ annxn = bn.

a11 · · · a1n...

...an1 · · · ann

x1

...xn

=

b1

...bn

Ax = b.

Page 16: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

Example

Find the solution to the linear system Ax = b, where

A =

[2 −1−1 2

], b =

[03

].

Solution: The linear system is[2 −1−1 2

] [x1

x2

]=

[03

]⇔

2x1 − x2 = 0,

−x1 + 2x2 = 3.

Since x2 = 2x1, then −x1 + 4x1 = 3, that is x1 = 1, hence x2 = 2.

The solution is: x =

[12

]. C

Page 17: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

Example

Find the solution to the linear system Ax = b, where

A =

[2 −1−1 2

], b =

[03

].

Solution: The linear system is[2 −1−1 2

] [x1

x2

]=

[03

]

⇔2x1 − x2 = 0,

−x1 + 2x2 = 3.

Since x2 = 2x1, then −x1 + 4x1 = 3, that is x1 = 1, hence x2 = 2.

The solution is: x =

[12

]. C

Page 18: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

Example

Find the solution to the linear system Ax = b, where

A =

[2 −1−1 2

], b =

[03

].

Solution: The linear system is[2 −1−1 2

] [x1

x2

]=

[03

]⇔

2x1 − x2 = 0,

−x1 + 2x2 = 3.

Since x2 = 2x1, then −x1 + 4x1 = 3, that is x1 = 1, hence x2 = 2.

The solution is: x =

[12

]. C

Page 19: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

Example

Find the solution to the linear system Ax = b, where

A =

[2 −1−1 2

], b =

[03

].

Solution: The linear system is[2 −1−1 2

] [x1

x2

]=

[03

]⇔

2x1 − x2 = 0,

−x1 + 2x2 = 3.

Since x2 = 2x1,

then −x1 + 4x1 = 3, that is x1 = 1, hence x2 = 2.

The solution is: x =

[12

]. C

Page 20: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

Example

Find the solution to the linear system Ax = b, where

A =

[2 −1−1 2

], b =

[03

].

Solution: The linear system is[2 −1−1 2

] [x1

x2

]=

[03

]⇔

2x1 − x2 = 0,

−x1 + 2x2 = 3.

Since x2 = 2x1, then −x1 + 4x1 = 3,

that is x1 = 1, hence x2 = 2.

The solution is: x =

[12

]. C

Page 21: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

Example

Find the solution to the linear system Ax = b, where

A =

[2 −1−1 2

], b =

[03

].

Solution: The linear system is[2 −1−1 2

] [x1

x2

]=

[03

]⇔

2x1 − x2 = 0,

−x1 + 2x2 = 3.

Since x2 = 2x1, then −x1 + 4x1 = 3, that is x1 = 1,

hence x2 = 2.

The solution is: x =

[12

]. C

Page 22: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

Example

Find the solution to the linear system Ax = b, where

A =

[2 −1−1 2

], b =

[03

].

Solution: The linear system is[2 −1−1 2

] [x1

x2

]=

[03

]⇔

2x1 − x2 = 0,

−x1 + 2x2 = 3.

Since x2 = 2x1, then −x1 + 4x1 = 3, that is x1 = 1, hence x2 = 2.

The solution is: x =

[12

]. C

Page 23: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n systems of linear algebraic equations.

Example

Find the solution to the linear system Ax = b, where

A =

[2 −1−1 2

], b =

[03

].

Solution: The linear system is[2 −1−1 2

] [x1

x2

]=

[03

]⇔

2x1 − x2 = 0,

−x1 + 2x2 = 3.

Since x2 = 2x1, then −x1 + 4x1 = 3, that is x1 = 1, hence x2 = 2.

The solution is: x =

[12

]. C

Page 24: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Review of Linear Algebra (Sect. 5.2, 5.3)

I n × n systems of linear algebraic equations.

I The matrix-vector product.

I A matrix is a function.

I The inverse of a square matrix.

I The determinant of a square matrix.

Page 25: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Remark:

I The matrix-vector product provides a new interpretation for amatrix.

A matrix is a function.

I An n × n matrix A is a function A : Rn → Rn, given byv 7→ Av.

For example, A =

[2 −1−1 2

]: R2 → R2, is a function that

associates

[13

]→

[−15

], since,

[2 −1−1 2

] [13

]=

[−15

].

I A matrix is a function, and matrix multiplication is equivalentto function composition.

Page 26: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Remark:

I The matrix-vector product provides a new interpretation for amatrix. A matrix is a function.

I An n × n matrix A is a function A : Rn → Rn, given byv 7→ Av.

For example, A =

[2 −1−1 2

]: R2 → R2, is a function that

associates

[13

]→

[−15

], since,

[2 −1−1 2

] [13

]=

[−15

].

I A matrix is a function, and matrix multiplication is equivalentto function composition.

Page 27: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Remark:

I The matrix-vector product provides a new interpretation for amatrix. A matrix is a function.

I An n × n matrix A is a function A : Rn → Rn,

given byv 7→ Av.

For example, A =

[2 −1−1 2

]: R2 → R2, is a function that

associates

[13

]→

[−15

], since,

[2 −1−1 2

] [13

]=

[−15

].

I A matrix is a function, and matrix multiplication is equivalentto function composition.

Page 28: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Remark:

I The matrix-vector product provides a new interpretation for amatrix. A matrix is a function.

I An n × n matrix A is a function A : Rn → Rn, given byv 7→ Av.

For example, A =

[2 −1−1 2

]: R2 → R2, is a function that

associates

[13

]→

[−15

], since,

[2 −1−1 2

] [13

]=

[−15

].

I A matrix is a function, and matrix multiplication is equivalentto function composition.

Page 29: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Remark:

I The matrix-vector product provides a new interpretation for amatrix. A matrix is a function.

I An n × n matrix A is a function A : Rn → Rn, given byv 7→ Av.

For example, A =

[2 −1−1 2

]: R2 → R2,

is a function that

associates

[13

]→

[−15

], since,

[2 −1−1 2

] [13

]=

[−15

].

I A matrix is a function, and matrix multiplication is equivalentto function composition.

Page 30: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Remark:

I The matrix-vector product provides a new interpretation for amatrix. A matrix is a function.

I An n × n matrix A is a function A : Rn → Rn, given byv 7→ Av.

For example, A =

[2 −1−1 2

]: R2 → R2, is a function

that

associates

[13

]→

[−15

], since,

[2 −1−1 2

] [13

]=

[−15

].

I A matrix is a function, and matrix multiplication is equivalentto function composition.

Page 31: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Remark:

I The matrix-vector product provides a new interpretation for amatrix. A matrix is a function.

I An n × n matrix A is a function A : Rn → Rn, given byv 7→ Av.

For example, A =

[2 −1−1 2

]: R2 → R2, is a function that

associates

[13

]→

[−15

],

since,

[2 −1−1 2

] [13

]=

[−15

].

I A matrix is a function, and matrix multiplication is equivalentto function composition.

Page 32: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Remark:

I The matrix-vector product provides a new interpretation for amatrix. A matrix is a function.

I An n × n matrix A is a function A : Rn → Rn, given byv 7→ Av.

For example, A =

[2 −1−1 2

]: R2 → R2, is a function that

associates

[13

]→

[−15

], since,

[2 −1−1 2

] [13

]=

[−15

].

I A matrix is a function, and matrix multiplication is equivalentto function composition.

Page 33: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Remark:

I The matrix-vector product provides a new interpretation for amatrix. A matrix is a function.

I An n × n matrix A is a function A : Rn → Rn, given byv 7→ Av.

For example, A =

[2 −1−1 2

]: R2 → R2, is a function that

associates

[13

]→

[−15

], since,

[2 −1−1 2

] [13

]=

[−15

].

I A matrix is a function, and matrix multiplication is equivalentto function composition.

Page 34: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Example

Show that A =

[0 −11 0

]is a rotation in R2 by π/2

counterclockwise.

Solution: Matrix A is 2× 2, so A : R2 → R2. Given x =

[x1

x2

]∈ R2,

Ax =

[0 −11 0

] [x1

x2

]=

[−x2

x1

]⇒

[0 −11 0

] [10

]=

[01

],

[0 −11 0

] [11

]=

[−11

],

[0 −11 0

] [−10

]=

[0−1

].

C

Ay

x

x

1

2

Ax

z

Az

x

y

Page 35: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Example

Show that A =

[0 −11 0

]is a rotation in R2 by π/2

counterclockwise.

Solution: Matrix A is 2× 2,

so A : R2 → R2. Given x =

[x1

x2

]∈ R2,

Ax =

[0 −11 0

] [x1

x2

]=

[−x2

x1

]⇒

[0 −11 0

] [10

]=

[01

],

[0 −11 0

] [11

]=

[−11

],

[0 −11 0

] [−10

]=

[0−1

].

C

Ay

x

x

1

2

Ax

z

Az

x

y

Page 36: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Example

Show that A =

[0 −11 0

]is a rotation in R2 by π/2

counterclockwise.

Solution: Matrix A is 2× 2, so A : R2 → R2.

Given x =

[x1

x2

]∈ R2,

Ax =

[0 −11 0

] [x1

x2

]=

[−x2

x1

]⇒

[0 −11 0

] [10

]=

[01

],

[0 −11 0

] [11

]=

[−11

],

[0 −11 0

] [−10

]=

[0−1

].

C

Ay

x

x

1

2

Ax

z

Az

x

y

Page 37: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Example

Show that A =

[0 −11 0

]is a rotation in R2 by π/2

counterclockwise.

Solution: Matrix A is 2× 2, so A : R2 → R2. Given x =

[x1

x2

]∈ R2,

Ax =

[0 −11 0

] [x1

x2

]

=

[−x2

x1

]⇒

[0 −11 0

] [10

]=

[01

],

[0 −11 0

] [11

]=

[−11

],

[0 −11 0

] [−10

]=

[0−1

].

C

Ay

x

x

1

2

Ax

z

Az

x

y

Page 38: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Example

Show that A =

[0 −11 0

]is a rotation in R2 by π/2

counterclockwise.

Solution: Matrix A is 2× 2, so A : R2 → R2. Given x =

[x1

x2

]∈ R2,

Ax =

[0 −11 0

] [x1

x2

]=

[−x2

x1

]

⇒[0 −11 0

] [10

]=

[01

],

[0 −11 0

] [11

]=

[−11

],

[0 −11 0

] [−10

]=

[0−1

].

C

Ay

x

x

1

2

Ax

z

Az

x

y

Page 39: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Example

Show that A =

[0 −11 0

]is a rotation in R2 by π/2

counterclockwise.

Solution: Matrix A is 2× 2, so A : R2 → R2. Given x =

[x1

x2

]∈ R2,

Ax =

[0 −11 0

] [x1

x2

]=

[−x2

x1

]⇒

[0 −11 0

] [10

]

=

[01

],

[0 −11 0

] [11

]=

[−11

],

[0 −11 0

] [−10

]=

[0−1

].

C

Ay

x

x

1

2

Ax

z

Az

x

y

Page 40: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Example

Show that A =

[0 −11 0

]is a rotation in R2 by π/2

counterclockwise.

Solution: Matrix A is 2× 2, so A : R2 → R2. Given x =

[x1

x2

]∈ R2,

Ax =

[0 −11 0

] [x1

x2

]=

[−x2

x1

]⇒

[0 −11 0

] [10

]=

[01

],

[0 −11 0

] [11

]=

[−11

],

[0 −11 0

] [−10

]=

[0−1

].

C

Ay

x

x

1

2

Ax

z

Az

x

y

Page 41: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Example

Show that A =

[0 −11 0

]is a rotation in R2 by π/2

counterclockwise.

Solution: Matrix A is 2× 2, so A : R2 → R2. Given x =

[x1

x2

]∈ R2,

Ax =

[0 −11 0

] [x1

x2

]=

[−x2

x1

]⇒

[0 −11 0

] [10

]=

[01

],

[0 −11 0

] [11

]

=

[−11

],

[0 −11 0

] [−10

]=

[0−1

].

C

Ay

x

x

1

2

Ax

z

Az

x

y

Page 42: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Example

Show that A =

[0 −11 0

]is a rotation in R2 by π/2

counterclockwise.

Solution: Matrix A is 2× 2, so A : R2 → R2. Given x =

[x1

x2

]∈ R2,

Ax =

[0 −11 0

] [x1

x2

]=

[−x2

x1

]⇒

[0 −11 0

] [10

]=

[01

],

[0 −11 0

] [11

]=

[−11

],

[0 −11 0

] [−10

]=

[0−1

].

C

Ay

x

x

1

2

Ax

z

Az

x

y

Page 43: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Example

Show that A =

[0 −11 0

]is a rotation in R2 by π/2

counterclockwise.

Solution: Matrix A is 2× 2, so A : R2 → R2. Given x =

[x1

x2

]∈ R2,

Ax =

[0 −11 0

] [x1

x2

]=

[−x2

x1

]⇒

[0 −11 0

] [10

]=

[01

],

[0 −11 0

] [11

]=

[−11

],

[0 −11 0

] [−10

]

=

[0−1

].

C

Ay

x

x

1

2

Ax

z

Az

x

y

Page 44: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Example

Show that A =

[0 −11 0

]is a rotation in R2 by π/2

counterclockwise.

Solution: Matrix A is 2× 2, so A : R2 → R2. Given x =

[x1

x2

]∈ R2,

Ax =

[0 −11 0

] [x1

x2

]=

[−x2

x1

]⇒

[0 −11 0

] [10

]=

[01

],

[0 −11 0

] [11

]=

[−11

],

[0 −11 0

] [−10

]=

[0−1

].

C

Ay

x

x

1

2

Ax

z

Az

x

y

Page 45: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

Example

Show that A =

[0 −11 0

]is a rotation in R2 by π/2

counterclockwise.

Solution: Matrix A is 2× 2, so A : R2 → R2. Given x =

[x1

x2

]∈ R2,

Ax =

[0 −11 0

] [x1

x2

]=

[−x2

x1

]⇒

[0 −11 0

] [10

]=

[01

],

[0 −11 0

] [11

]=

[−11

],

[0 −11 0

] [−10

]=

[0−1

].

C

Ay

x

x

1

2

Ax

z

Az

x

y

Page 46: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

DefinitionAn n × n matrix In is called the identity matrix iff holds

Inx = x for all x ∈ Rn.

Example

Write down the identity matrices I2, I3, and In.

Solution:

I2 =

[1 00 1

]I3 =

1 0 00 1 00 0 1

, In =

1 · · · 0...

. . ....

0 · · · 1

.C

Page 47: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

DefinitionAn n × n matrix In is called the identity matrix iff holds

Inx = x for all x ∈ Rn.

Example

Write down the identity matrices I2, I3, and In.

Solution:

I2 =

[1 00 1

]I3 =

1 0 00 1 00 0 1

, In =

1 · · · 0...

. . ....

0 · · · 1

.C

Page 48: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

DefinitionAn n × n matrix In is called the identity matrix iff holds

Inx = x for all x ∈ Rn.

Example

Write down the identity matrices I2, I3, and In.

Solution:

I2 =

[1 00 1

]

I3 =

1 0 00 1 00 0 1

, In =

1 · · · 0...

. . ....

0 · · · 1

.C

Page 49: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

DefinitionAn n × n matrix In is called the identity matrix iff holds

Inx = x for all x ∈ Rn.

Example

Write down the identity matrices I2, I3, and In.

Solution:

I2 =

[1 00 1

]I3 =

1 0 00 1 00 0 1

,

In =

1 · · · 0...

. . ....

0 · · · 1

.C

Page 50: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

A matrix is a function.

DefinitionAn n × n matrix In is called the identity matrix iff holds

Inx = x for all x ∈ Rn.

Example

Write down the identity matrices I2, I3, and In.

Solution:

I2 =

[1 00 1

]I3 =

1 0 00 1 00 0 1

, In =

1 · · · 0...

. . ....

0 · · · 1

.C

Page 51: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Review of Linear Algebra (Sect. 5.2, 5.3)

I n × n systems of linear algebraic equations.

I The matrix-vector product.

I A matrix is a function.

I The inverse of a square matrix.

I The determinant of a square matrix.

Page 52: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

DefinitionAn n × n matrix A is called invertible iff there exists a matrix,denoted as A−1, such(

A−1)A = In, A

(A−1

)= In.

Example

Show that A =

[2 21 3

]has the inverse A−1 =

1

4

[3 −2−1 2

].

Solution: We have to compute the product

A(A−1

)=

[2 21 3

]1

4

[3 −2−1 2

]=

1

4

[4 00 4

]⇒ A

(A−1

)= I2.

Check that(A−1

)A = I2 also holds. C

Page 53: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

DefinitionAn n × n matrix A is called invertible iff there exists a matrix,denoted as A−1, such(

A−1)A = In, A

(A−1

)= In.

Example

Show that A =

[2 21 3

]has the inverse A−1 =

1

4

[3 −2−1 2

].

Solution: We have to compute the product

A(A−1

)=

[2 21 3

]1

4

[3 −2−1 2

]=

1

4

[4 00 4

]⇒ A

(A−1

)= I2.

Check that(A−1

)A = I2 also holds. C

Page 54: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

DefinitionAn n × n matrix A is called invertible iff there exists a matrix,denoted as A−1, such(

A−1)A = In, A

(A−1

)= In.

Example

Show that A =

[2 21 3

]has the inverse A−1 =

1

4

[3 −2−1 2

].

Solution: We have to compute the product

A(A−1

)

=

[2 21 3

]1

4

[3 −2−1 2

]=

1

4

[4 00 4

]⇒ A

(A−1

)= I2.

Check that(A−1

)A = I2 also holds. C

Page 55: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

DefinitionAn n × n matrix A is called invertible iff there exists a matrix,denoted as A−1, such(

A−1)A = In, A

(A−1

)= In.

Example

Show that A =

[2 21 3

]has the inverse A−1 =

1

4

[3 −2−1 2

].

Solution: We have to compute the product

A(A−1

)=

[2 21 3

]1

4

[3 −2−1 2

]

=1

4

[4 00 4

]⇒ A

(A−1

)= I2.

Check that(A−1

)A = I2 also holds. C

Page 56: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

DefinitionAn n × n matrix A is called invertible iff there exists a matrix,denoted as A−1, such(

A−1)A = In, A

(A−1

)= In.

Example

Show that A =

[2 21 3

]has the inverse A−1 =

1

4

[3 −2−1 2

].

Solution: We have to compute the product

A(A−1

)=

[2 21 3

]1

4

[3 −2−1 2

]=

1

4

[4 00 4

]

⇒ A(A−1

)= I2.

Check that(A−1

)A = I2 also holds. C

Page 57: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

DefinitionAn n × n matrix A is called invertible iff there exists a matrix,denoted as A−1, such(

A−1)A = In, A

(A−1

)= In.

Example

Show that A =

[2 21 3

]has the inverse A−1 =

1

4

[3 −2−1 2

].

Solution: We have to compute the product

A(A−1

)=

[2 21 3

]1

4

[3 −2−1 2

]=

1

4

[4 00 4

]⇒ A

(A−1

)= I2.

Check that(A−1

)A = I2 also holds. C

Page 58: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

DefinitionAn n × n matrix A is called invertible iff there exists a matrix,denoted as A−1, such(

A−1)A = In, A

(A−1

)= In.

Example

Show that A =

[2 21 3

]has the inverse A−1 =

1

4

[3 −2−1 2

].

Solution: We have to compute the product

A(A−1

)=

[2 21 3

]1

4

[3 −2−1 2

]=

1

4

[4 00 4

]⇒ A

(A−1

)= I2.

Check that(A−1

)A = I2 also holds. C

Page 59: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

Remark: Not every n × n matrix is invertible.

Theorem (2× 2 case)

The matrix A =

[a bc d

]is invertible iff holds that

∆ = ad − bc 6= 0. Furthermore, if A is invertible, then

A−1 =1

[d −b−c a

].

Verify:

A(A−1

)=

[a bc d

]1

[d −b−c a

]=

1

[∆ −ab + ba

cd − dc ∆

]= I2.

It is not difficult to see that:(A−1

)A = I2 also holds.

Page 60: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

Remark: Not every n × n matrix is invertible.

Theorem (2× 2 case)

The matrix A =

[a bc d

]is invertible iff holds that

∆ = ad − bc 6= 0. Furthermore, if A is invertible, then

A−1 =1

[d −b−c a

].

Verify:

A(A−1

)=

[a bc d

]1

[d −b−c a

]=

1

[∆ −ab + ba

cd − dc ∆

]= I2.

It is not difficult to see that:(A−1

)A = I2 also holds.

Page 61: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

Remark: Not every n × n matrix is invertible.

Theorem (2× 2 case)

The matrix A =

[a bc d

]is invertible iff holds that

∆ = ad − bc 6= 0. Furthermore, if A is invertible, then

A−1 =1

[d −b−c a

].

Verify:

A(A−1

)=

[a bc d

]1

[d −b−c a

]=

1

[∆ −ab + ba

cd − dc ∆

]= I2.

It is not difficult to see that:(A−1

)A = I2 also holds.

Page 62: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

Remark: Not every n × n matrix is invertible.

Theorem (2× 2 case)

The matrix A =

[a bc d

]is invertible iff holds that

∆ = ad − bc 6= 0. Furthermore, if A is invertible, then

A−1 =1

[d −b−c a

].

Verify:

A(A−1

)

=

[a bc d

]1

[d −b−c a

]=

1

[∆ −ab + ba

cd − dc ∆

]= I2.

It is not difficult to see that:(A−1

)A = I2 also holds.

Page 63: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

Remark: Not every n × n matrix is invertible.

Theorem (2× 2 case)

The matrix A =

[a bc d

]is invertible iff holds that

∆ = ad − bc 6= 0. Furthermore, if A is invertible, then

A−1 =1

[d −b−c a

].

Verify:

A(A−1

)=

[a bc d

]1

[d −b−c a

]

=1

[∆ −ab + ba

cd − dc ∆

]= I2.

It is not difficult to see that:(A−1

)A = I2 also holds.

Page 64: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

Remark: Not every n × n matrix is invertible.

Theorem (2× 2 case)

The matrix A =

[a bc d

]is invertible iff holds that

∆ = ad − bc 6= 0. Furthermore, if A is invertible, then

A−1 =1

[d −b−c a

].

Verify:

A(A−1

)=

[a bc d

]1

[d −b−c a

]=

1

[∆ −ab + ba

cd − dc ∆

]

= I2.

It is not difficult to see that:(A−1

)A = I2 also holds.

Page 65: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

Remark: Not every n × n matrix is invertible.

Theorem (2× 2 case)

The matrix A =

[a bc d

]is invertible iff holds that

∆ = ad − bc 6= 0. Furthermore, if A is invertible, then

A−1 =1

[d −b−c a

].

Verify:

A(A−1

)=

[a bc d

]1

[d −b−c a

]=

1

[∆ −ab + ba

cd − dc ∆

]= I2.

It is not difficult to see that:(A−1

)A = I2 also holds.

Page 66: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

Remark: Not every n × n matrix is invertible.

Theorem (2× 2 case)

The matrix A =

[a bc d

]is invertible iff holds that

∆ = ad − bc 6= 0. Furthermore, if A is invertible, then

A−1 =1

[d −b−c a

].

Verify:

A(A−1

)=

[a bc d

]1

[d −b−c a

]=

1

[∆ −ab + ba

cd − dc ∆

]= I2.

It is not difficult to see that:(A−1

)A = I2 also holds.

Page 67: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

Example

Find A−1 for A =

[2 21 3

].

Solution:We use the formula in the previous Theorem.In this case: ∆ = 6− 2 = 4, and

A−1 =1

[d −b−c a

]⇒ A−1 =

1

4

[3 −2−1 2

].

C

Remark: The formula for the inverse matrix can be generalized ton × n matrices having non-zero determinant.

Page 68: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

Example

Find A−1 for A =

[2 21 3

].

Solution:We use the formula in the previous Theorem.

In this case: ∆ = 6− 2 = 4, and

A−1 =1

[d −b−c a

]⇒ A−1 =

1

4

[3 −2−1 2

].

C

Remark: The formula for the inverse matrix can be generalized ton × n matrices having non-zero determinant.

Page 69: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

Example

Find A−1 for A =

[2 21 3

].

Solution:We use the formula in the previous Theorem.In this case: ∆ = 6− 2 = 4,

and

A−1 =1

[d −b−c a

]⇒ A−1 =

1

4

[3 −2−1 2

].

C

Remark: The formula for the inverse matrix can be generalized ton × n matrices having non-zero determinant.

Page 70: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

Example

Find A−1 for A =

[2 21 3

].

Solution:We use the formula in the previous Theorem.In this case: ∆ = 6− 2 = 4, and

A−1 =1

[d −b−c a

]

⇒ A−1 =1

4

[3 −2−1 2

].

C

Remark: The formula for the inverse matrix can be generalized ton × n matrices having non-zero determinant.

Page 71: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

Example

Find A−1 for A =

[2 21 3

].

Solution:We use the formula in the previous Theorem.In this case: ∆ = 6− 2 = 4, and

A−1 =1

[d −b−c a

]⇒ A−1 =

1

4

[3 −2−1 2

].

C

Remark: The formula for the inverse matrix can be generalized ton × n matrices having non-zero determinant.

Page 72: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The inverse of a square matrix.

Example

Find A−1 for A =

[2 21 3

].

Solution:We use the formula in the previous Theorem.In this case: ∆ = 6− 2 = 4, and

A−1 =1

[d −b−c a

]⇒ A−1 =

1

4

[3 −2−1 2

].

C

Remark: The formula for the inverse matrix can be generalized ton × n matrices having non-zero determinant.

Page 73: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Review of Linear Algebra (Sect. 5.2, 5.3)

I n × n systems of linear algebraic equations.

I The matrix-vector product.

I A matrix is a function.

I The inverse of a square matrix.

I The determinant of a square matrix.

Page 74: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Definition

The determinant of a 2× 2 matrix A =

[a bc d

]is the number

∆ = ad − bc .

Notation: The determinant can be denoted in different ways:

∆ = det(A) = |A| =∣∣∣∣a bc d

∣∣∣∣ .

Example

(a)

∣∣∣∣1 23 4

∣∣∣∣ = 4− 6 = −2.

(b)

∣∣∣∣2 13 4

∣∣∣∣ = 8− 3 = 5.

(c)

∣∣∣∣1 22 4

∣∣∣∣ = 4− 4 = 0. C

Remark:∣∣∣det

([a bc d

])∣∣∣ is the

area of the parallelogram formedby the vectors[

ac

]and

[bd

].

Page 75: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Definition

The determinant of a 2× 2 matrix A =

[a bc d

]is the number

∆ = ad − bc .

Notation: The determinant can be denoted in different ways:

∆ = det(A) = |A| =∣∣∣∣a bc d

∣∣∣∣ .

Example

(a)

∣∣∣∣1 23 4

∣∣∣∣ = 4− 6 = −2.

(b)

∣∣∣∣2 13 4

∣∣∣∣ = 8− 3 = 5.

(c)

∣∣∣∣1 22 4

∣∣∣∣ = 4− 4 = 0. C

Remark:∣∣∣det

([a bc d

])∣∣∣ is the

area of the parallelogram formedby the vectors[

ac

]and

[bd

].

Page 76: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Definition

The determinant of a 2× 2 matrix A =

[a bc d

]is the number

∆ = ad − bc .

Notation: The determinant can be denoted in different ways:

∆ = det(A) = |A| =∣∣∣∣a bc d

∣∣∣∣ .

Example

(a)

∣∣∣∣1 23 4

∣∣∣∣ = 4− 6 = −2.

(b)

∣∣∣∣2 13 4

∣∣∣∣ = 8− 3 = 5.

(c)

∣∣∣∣1 22 4

∣∣∣∣ = 4− 4 = 0. C

Remark:∣∣∣det

([a bc d

])∣∣∣ is the

area of the parallelogram formedby the vectors[

ac

]and

[bd

].

Page 77: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Definition

The determinant of a 2× 2 matrix A =

[a bc d

]is the number

∆ = ad − bc .

Notation: The determinant can be denoted in different ways:

∆ = det(A) = |A| =∣∣∣∣a bc d

∣∣∣∣ .

Example

(a)

∣∣∣∣1 23 4

∣∣∣∣

= 4− 6 = −2.

(b)

∣∣∣∣2 13 4

∣∣∣∣ = 8− 3 = 5.

(c)

∣∣∣∣1 22 4

∣∣∣∣ = 4− 4 = 0. C

Remark:∣∣∣det

([a bc d

])∣∣∣ is the

area of the parallelogram formedby the vectors[

ac

]and

[bd

].

Page 78: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Definition

The determinant of a 2× 2 matrix A =

[a bc d

]is the number

∆ = ad − bc .

Notation: The determinant can be denoted in different ways:

∆ = det(A) = |A| =∣∣∣∣a bc d

∣∣∣∣ .

Example

(a)

∣∣∣∣1 23 4

∣∣∣∣ = 4− 6

= −2.

(b)

∣∣∣∣2 13 4

∣∣∣∣ = 8− 3 = 5.

(c)

∣∣∣∣1 22 4

∣∣∣∣ = 4− 4 = 0. C

Remark:∣∣∣det

([a bc d

])∣∣∣ is the

area of the parallelogram formedby the vectors[

ac

]and

[bd

].

Page 79: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Definition

The determinant of a 2× 2 matrix A =

[a bc d

]is the number

∆ = ad − bc .

Notation: The determinant can be denoted in different ways:

∆ = det(A) = |A| =∣∣∣∣a bc d

∣∣∣∣ .

Example

(a)

∣∣∣∣1 23 4

∣∣∣∣ = 4− 6 = −2.

(b)

∣∣∣∣2 13 4

∣∣∣∣ = 8− 3 = 5.

(c)

∣∣∣∣1 22 4

∣∣∣∣ = 4− 4 = 0. C

Remark:∣∣∣det

([a bc d

])∣∣∣ is the

area of the parallelogram formedby the vectors[

ac

]and

[bd

].

Page 80: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Definition

The determinant of a 2× 2 matrix A =

[a bc d

]is the number

∆ = ad − bc .

Notation: The determinant can be denoted in different ways:

∆ = det(A) = |A| =∣∣∣∣a bc d

∣∣∣∣ .

Example

(a)

∣∣∣∣1 23 4

∣∣∣∣ = 4− 6 = −2.

(b)

∣∣∣∣2 13 4

∣∣∣∣

= 8− 3 = 5.

(c)

∣∣∣∣1 22 4

∣∣∣∣ = 4− 4 = 0. C

Remark:∣∣∣det

([a bc d

])∣∣∣ is the

area of the parallelogram formedby the vectors[

ac

]and

[bd

].

Page 81: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Definition

The determinant of a 2× 2 matrix A =

[a bc d

]is the number

∆ = ad − bc .

Notation: The determinant can be denoted in different ways:

∆ = det(A) = |A| =∣∣∣∣a bc d

∣∣∣∣ .

Example

(a)

∣∣∣∣1 23 4

∣∣∣∣ = 4− 6 = −2.

(b)

∣∣∣∣2 13 4

∣∣∣∣ = 8− 3

= 5.

(c)

∣∣∣∣1 22 4

∣∣∣∣ = 4− 4 = 0. C

Remark:∣∣∣det

([a bc d

])∣∣∣ is the

area of the parallelogram formedby the vectors[

ac

]and

[bd

].

Page 82: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Definition

The determinant of a 2× 2 matrix A =

[a bc d

]is the number

∆ = ad − bc .

Notation: The determinant can be denoted in different ways:

∆ = det(A) = |A| =∣∣∣∣a bc d

∣∣∣∣ .

Example

(a)

∣∣∣∣1 23 4

∣∣∣∣ = 4− 6 = −2.

(b)

∣∣∣∣2 13 4

∣∣∣∣ = 8− 3 = 5.

(c)

∣∣∣∣1 22 4

∣∣∣∣ = 4− 4 = 0. C

Remark:∣∣∣det

([a bc d

])∣∣∣ is the

area of the parallelogram formedby the vectors[

ac

]and

[bd

].

Page 83: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Definition

The determinant of a 2× 2 matrix A =

[a bc d

]is the number

∆ = ad − bc .

Notation: The determinant can be denoted in different ways:

∆ = det(A) = |A| =∣∣∣∣a bc d

∣∣∣∣ .

Example

(a)

∣∣∣∣1 23 4

∣∣∣∣ = 4− 6 = −2.

(b)

∣∣∣∣2 13 4

∣∣∣∣ = 8− 3 = 5.

(c)

∣∣∣∣1 22 4

∣∣∣∣

= 4− 4 = 0. C

Remark:∣∣∣det

([a bc d

])∣∣∣ is the

area of the parallelogram formedby the vectors[

ac

]and

[bd

].

Page 84: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Definition

The determinant of a 2× 2 matrix A =

[a bc d

]is the number

∆ = ad − bc .

Notation: The determinant can be denoted in different ways:

∆ = det(A) = |A| =∣∣∣∣a bc d

∣∣∣∣ .

Example

(a)

∣∣∣∣1 23 4

∣∣∣∣ = 4− 6 = −2.

(b)

∣∣∣∣2 13 4

∣∣∣∣ = 8− 3 = 5.

(c)

∣∣∣∣1 22 4

∣∣∣∣ = 4− 4

= 0. C

Remark:∣∣∣det

([a bc d

])∣∣∣ is the

area of the parallelogram formedby the vectors[

ac

]and

[bd

].

Page 85: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Definition

The determinant of a 2× 2 matrix A =

[a bc d

]is the number

∆ = ad − bc .

Notation: The determinant can be denoted in different ways:

∆ = det(A) = |A| =∣∣∣∣a bc d

∣∣∣∣ .

Example

(a)

∣∣∣∣1 23 4

∣∣∣∣ = 4− 6 = −2.

(b)

∣∣∣∣2 13 4

∣∣∣∣ = 8− 3 = 5.

(c)

∣∣∣∣1 22 4

∣∣∣∣ = 4− 4 = 0. C

Remark:∣∣∣det

([a bc d

])∣∣∣ is the

area of the parallelogram formedby the vectors[

ac

]and

[bd

].

Page 86: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Definition

The determinant of a 2× 2 matrix A =

[a bc d

]is the number

∆ = ad − bc .

Notation: The determinant can be denoted in different ways:

∆ = det(A) = |A| =∣∣∣∣a bc d

∣∣∣∣ .

Example

(a)

∣∣∣∣1 23 4

∣∣∣∣ = 4− 6 = −2.

(b)

∣∣∣∣2 13 4

∣∣∣∣ = 8− 3 = 5.

(c)

∣∣∣∣1 22 4

∣∣∣∣ = 4− 4 = 0. C

Remark:∣∣∣det

([a bc d

])∣∣∣ is the

area of the parallelogram formedby the vectors[

ac

]and

[bd

].

Page 87: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

DefinitionThe determinant of a 3× 3 matrix A is given by

det(A) =

∣∣∣∣∣∣a11 a12 a13

a21 a22 a23

a31 a32 a33

∣∣∣∣∣∣= a11

∣∣∣∣a22 a23

a32 a33

∣∣∣∣− a12

∣∣∣∣a21 a23

a31 a33

∣∣∣∣ + a13

∣∣∣∣a21 a22

a31 a32

∣∣∣∣ .

Remark: The | det(A)| is the volume of the parallelepiped formedby the column vectors of A.

Page 88: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

DefinitionThe determinant of a 3× 3 matrix A is given by

det(A) =

∣∣∣∣∣∣a11 a12 a13

a21 a22 a23

a31 a32 a33

∣∣∣∣∣∣= a11

∣∣∣∣a22 a23

a32 a33

∣∣∣∣− a12

∣∣∣∣a21 a23

a31 a33

∣∣∣∣ + a13

∣∣∣∣a21 a22

a31 a32

∣∣∣∣ .

Remark: The | det(A)| is the volume of the parallelepiped formedby the column vectors of A.

Page 89: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Example

Find the determinant of A =

1 3 −12 1 13 2 1

.

Solution: We use the definition above, that is,

det(A) =

∣∣∣∣∣∣1 3 −12 1 13 2 1

∣∣∣∣∣∣ = 1

∣∣∣∣1 12 1

∣∣∣∣− 3

∣∣∣∣2 13 1

∣∣∣∣ + (−1)

∣∣∣∣2 13 2

∣∣∣∣ ,

det(A) = (1− 2)− 3(2− 3)− (4− 3) = −1 + 3− 1.

We conclude: det(A) = 1. C

Page 90: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Example

Find the determinant of A =

1 3 −12 1 13 2 1

.

Solution: We use the definition above, that is,

det(A) =

∣∣∣∣∣∣1 3 −12 1 13 2 1

∣∣∣∣∣∣ = 1

∣∣∣∣1 12 1

∣∣∣∣− 3

∣∣∣∣2 13 1

∣∣∣∣ + (−1)

∣∣∣∣2 13 2

∣∣∣∣ ,

det(A) = (1− 2)− 3(2− 3)− (4− 3) = −1 + 3− 1.

We conclude: det(A) = 1. C

Page 91: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Example

Find the determinant of A =

1 3 −12 1 13 2 1

.

Solution: We use the definition above, that is,

det(A) =

∣∣∣∣∣∣1 3 −12 1 13 2 1

∣∣∣∣∣∣ = 1

∣∣∣∣1 12 1

∣∣∣∣− 3

∣∣∣∣2 13 1

∣∣∣∣ + (−1)

∣∣∣∣2 13 2

∣∣∣∣ ,

det(A) = (1− 2)− 3(2− 3)− (4− 3)

= −1 + 3− 1.

We conclude: det(A) = 1. C

Page 92: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Example

Find the determinant of A =

1 3 −12 1 13 2 1

.

Solution: We use the definition above, that is,

det(A) =

∣∣∣∣∣∣1 3 −12 1 13 2 1

∣∣∣∣∣∣ = 1

∣∣∣∣1 12 1

∣∣∣∣− 3

∣∣∣∣2 13 1

∣∣∣∣ + (−1)

∣∣∣∣2 13 2

∣∣∣∣ ,

det(A) = (1− 2)− 3(2− 3)− (4− 3) = −1 + 3− 1.

We conclude: det(A) = 1. C

Page 93: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

The determinant of a square matrix.

Example

Find the determinant of A =

1 3 −12 1 13 2 1

.

Solution: We use the definition above, that is,

det(A) =

∣∣∣∣∣∣1 3 −12 1 13 2 1

∣∣∣∣∣∣ = 1

∣∣∣∣1 12 1

∣∣∣∣− 3

∣∣∣∣2 13 1

∣∣∣∣ + (−1)

∣∣∣∣2 13 2

∣∣∣∣ ,

det(A) = (1− 2)− 3(2− 3)− (4− 3) = −1 + 3− 1.

We conclude: det(A) = 1. C

Page 94: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Linear Algebra and differential systems (Sect. 5.4, 5.5, 5.6)

I Eigenvalues, eigenvectors of a matrix (5.5).

I Computing eigenvalues and eigenvectors (5.5).

I Diagonalizable matrices (5.5).

I n × n linear differential systems (5.4).

I Constant coefficients homogenoues systems (5.6).

I Examples: 2× 2 linear systems (5.6).

Page 95: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

DefinitionA number λ and a non-zero n-vector v are respectively called aneigenvalue and eigenvector of an n × n matrix A iff the followingequation holds,

Av = λv .

Example

Verify that the pair λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

]are

eigenvalue and eigenvector pairs of matrix A =

[1 33 1

].

Solution: Av1 =

[1 33 1

] [11

]=

[44

]= 4

[11

]= λ1v1.

Av2 =

[1 33 1

] [−11

]=

[2−2

]= −2

[−11

]= λ2v2. C

Page 96: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

DefinitionA number λ and a non-zero n-vector v are respectively called aneigenvalue and eigenvector of an n × n matrix A iff the followingequation holds,

Av = λv .

Example

Verify that the pair λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

]are

eigenvalue and eigenvector pairs of matrix A =

[1 33 1

].

Solution: Av1 =

[1 33 1

] [11

]=

[44

]= 4

[11

]= λ1v1.

Av2 =

[1 33 1

] [−11

]=

[2−2

]= −2

[−11

]= λ2v2. C

Page 97: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

DefinitionA number λ and a non-zero n-vector v are respectively called aneigenvalue and eigenvector of an n × n matrix A iff the followingequation holds,

Av = λv .

Example

Verify that the pair λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

]are

eigenvalue and eigenvector pairs of matrix A =

[1 33 1

].

Solution: Av1

=

[1 33 1

] [11

]=

[44

]= 4

[11

]= λ1v1.

Av2 =

[1 33 1

] [−11

]=

[2−2

]= −2

[−11

]= λ2v2. C

Page 98: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

DefinitionA number λ and a non-zero n-vector v are respectively called aneigenvalue and eigenvector of an n × n matrix A iff the followingequation holds,

Av = λv .

Example

Verify that the pair λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

]are

eigenvalue and eigenvector pairs of matrix A =

[1 33 1

].

Solution: Av1 =

[1 33 1

] [11

]

=

[44

]= 4

[11

]= λ1v1.

Av2 =

[1 33 1

] [−11

]=

[2−2

]= −2

[−11

]= λ2v2. C

Page 99: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

DefinitionA number λ and a non-zero n-vector v are respectively called aneigenvalue and eigenvector of an n × n matrix A iff the followingequation holds,

Av = λv .

Example

Verify that the pair λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

]are

eigenvalue and eigenvector pairs of matrix A =

[1 33 1

].

Solution: Av1 =

[1 33 1

] [11

]=

[44

]

= 4

[11

]= λ1v1.

Av2 =

[1 33 1

] [−11

]=

[2−2

]= −2

[−11

]= λ2v2. C

Page 100: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

DefinitionA number λ and a non-zero n-vector v are respectively called aneigenvalue and eigenvector of an n × n matrix A iff the followingequation holds,

Av = λv .

Example

Verify that the pair λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

]are

eigenvalue and eigenvector pairs of matrix A =

[1 33 1

].

Solution: Av1 =

[1 33 1

] [11

]=

[44

]= 4

[11

]

= λ1v1.

Av2 =

[1 33 1

] [−11

]=

[2−2

]= −2

[−11

]= λ2v2. C

Page 101: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

DefinitionA number λ and a non-zero n-vector v are respectively called aneigenvalue and eigenvector of an n × n matrix A iff the followingequation holds,

Av = λv .

Example

Verify that the pair λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

]are

eigenvalue and eigenvector pairs of matrix A =

[1 33 1

].

Solution: Av1 =

[1 33 1

] [11

]=

[44

]= 4

[11

]= λ1v1.

Av2 =

[1 33 1

] [−11

]=

[2−2

]= −2

[−11

]= λ2v2. C

Page 102: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

DefinitionA number λ and a non-zero n-vector v are respectively called aneigenvalue and eigenvector of an n × n matrix A iff the followingequation holds,

Av = λv .

Example

Verify that the pair λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

]are

eigenvalue and eigenvector pairs of matrix A =

[1 33 1

].

Solution: Av1 =

[1 33 1

] [11

]=

[44

]= 4

[11

]= λ1v1.

Av2

=

[1 33 1

] [−11

]=

[2−2

]= −2

[−11

]= λ2v2. C

Page 103: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

DefinitionA number λ and a non-zero n-vector v are respectively called aneigenvalue and eigenvector of an n × n matrix A iff the followingequation holds,

Av = λv .

Example

Verify that the pair λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

]are

eigenvalue and eigenvector pairs of matrix A =

[1 33 1

].

Solution: Av1 =

[1 33 1

] [11

]=

[44

]= 4

[11

]= λ1v1.

Av2 =

[1 33 1

] [−11

]

=

[2−2

]= −2

[−11

]= λ2v2. C

Page 104: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

DefinitionA number λ and a non-zero n-vector v are respectively called aneigenvalue and eigenvector of an n × n matrix A iff the followingequation holds,

Av = λv .

Example

Verify that the pair λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

]are

eigenvalue and eigenvector pairs of matrix A =

[1 33 1

].

Solution: Av1 =

[1 33 1

] [11

]=

[44

]= 4

[11

]= λ1v1.

Av2 =

[1 33 1

] [−11

]=

[2−2

]

= −2

[−11

]= λ2v2. C

Page 105: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

DefinitionA number λ and a non-zero n-vector v are respectively called aneigenvalue and eigenvector of an n × n matrix A iff the followingequation holds,

Av = λv .

Example

Verify that the pair λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

]are

eigenvalue and eigenvector pairs of matrix A =

[1 33 1

].

Solution: Av1 =

[1 33 1

] [11

]=

[44

]= 4

[11

]= λ1v1.

Av2 =

[1 33 1

] [−11

]=

[2−2

]= −2

[−11

]

= λ2v2. C

Page 106: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

DefinitionA number λ and a non-zero n-vector v are respectively called aneigenvalue and eigenvector of an n × n matrix A iff the followingequation holds,

Av = λv .

Example

Verify that the pair λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

]are

eigenvalue and eigenvector pairs of matrix A =

[1 33 1

].

Solution: Av1 =

[1 33 1

] [11

]=

[44

]= 4

[11

]= λ1v1.

Av2 =

[1 33 1

] [−11

]=

[2−2

]= −2

[−11

]= λ2v2. C

Page 107: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Remarks:

I If we interpret an n × n matrix A as a function A : Rn → Rn,then the eigenvector v determines a particular direction on Rn

where the action of A is simple:

Av is proportional to v.

I Matrices usually change the direction of the vector, like[1 33 1

] [12

]=

[75

].

I This is not the case for eigenvectors, like[1 33 1

] [11

]=

[44

].

Page 108: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Remarks:

I If we interpret an n × n matrix A as a function A : Rn → Rn,then the eigenvector v determines a particular direction on Rn

where the action of A is simple: Av is proportional to v.

I Matrices usually change the direction of the vector, like[1 33 1

] [12

]=

[75

].

I This is not the case for eigenvectors, like[1 33 1

] [11

]=

[44

].

Page 109: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Remarks:

I If we interpret an n × n matrix A as a function A : Rn → Rn,then the eigenvector v determines a particular direction on Rn

where the action of A is simple: Av is proportional to v.

I Matrices usually change the direction of the vector,

like[1 33 1

] [12

]=

[75

].

I This is not the case for eigenvectors, like[1 33 1

] [11

]=

[44

].

Page 110: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Remarks:

I If we interpret an n × n matrix A as a function A : Rn → Rn,then the eigenvector v determines a particular direction on Rn

where the action of A is simple: Av is proportional to v.

I Matrices usually change the direction of the vector, like[1 33 1

] [12

]

=

[75

].

I This is not the case for eigenvectors, like[1 33 1

] [11

]=

[44

].

Page 111: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Remarks:

I If we interpret an n × n matrix A as a function A : Rn → Rn,then the eigenvector v determines a particular direction on Rn

where the action of A is simple: Av is proportional to v.

I Matrices usually change the direction of the vector, like[1 33 1

] [12

]=

[75

].

I This is not the case for eigenvectors, like[1 33 1

] [11

]=

[44

].

Page 112: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Remarks:

I If we interpret an n × n matrix A as a function A : Rn → Rn,then the eigenvector v determines a particular direction on Rn

where the action of A is simple: Av is proportional to v.

I Matrices usually change the direction of the vector, like[1 33 1

] [12

]=

[75

].

I This is not the case for eigenvectors,

like[1 33 1

] [11

]=

[44

].

Page 113: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Remarks:

I If we interpret an n × n matrix A as a function A : Rn → Rn,then the eigenvector v determines a particular direction on Rn

where the action of A is simple: Av is proportional to v.

I Matrices usually change the direction of the vector, like[1 33 1

] [12

]=

[75

].

I This is not the case for eigenvectors, like[1 33 1

] [11

]

=

[44

].

Page 114: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Remarks:

I If we interpret an n × n matrix A as a function A : Rn → Rn,then the eigenvector v determines a particular direction on Rn

where the action of A is simple: Av is proportional to v.

I Matrices usually change the direction of the vector, like[1 33 1

] [12

]=

[75

].

I This is not the case for eigenvectors, like[1 33 1

] [11

]=

[44

].

Page 115: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution:

The function A : R2 → R2 is areflection along x1 = x2 axis.[

0 11 0

] [x1

x2

]=

[x2

x1

]2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

The line x1 = x2 is invariant under A. Hence,

v1 =

[11

]⇒

[0 11 0

] [11

]=

[11

]⇒ λ1 = 1.

An eigenvalue eigenvector pair is: λ1 = 1, v1 =

[11

].

Page 116: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution:

The function A : R2 → R2 is areflection along x1 = x2 axis.

[0 11 0

] [x1

x2

]=

[x2

x1

]2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

The line x1 = x2 is invariant under A. Hence,

v1 =

[11

]⇒

[0 11 0

] [11

]=

[11

]⇒ λ1 = 1.

An eigenvalue eigenvector pair is: λ1 = 1, v1 =

[11

].

Page 117: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution:

The function A : R2 → R2 is areflection along x1 = x2 axis.[

0 11 0

] [x1

x2

]

=

[x2

x1

]2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

The line x1 = x2 is invariant under A. Hence,

v1 =

[11

]⇒

[0 11 0

] [11

]=

[11

]⇒ λ1 = 1.

An eigenvalue eigenvector pair is: λ1 = 1, v1 =

[11

].

Page 118: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution:

The function A : R2 → R2 is areflection along x1 = x2 axis.[

0 11 0

] [x1

x2

]=

[x2

x1

]

2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

The line x1 = x2 is invariant under A. Hence,

v1 =

[11

]⇒

[0 11 0

] [11

]=

[11

]⇒ λ1 = 1.

An eigenvalue eigenvector pair is: λ1 = 1, v1 =

[11

].

Page 119: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution:

The function A : R2 → R2 is areflection along x1 = x2 axis.[

0 11 0

] [x1

x2

]=

[x2

x1

]2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

The line x1 = x2 is invariant under A. Hence,

v1 =

[11

]⇒

[0 11 0

] [11

]=

[11

]⇒ λ1 = 1.

An eigenvalue eigenvector pair is: λ1 = 1, v1 =

[11

].

Page 120: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution:

The function A : R2 → R2 is areflection along x1 = x2 axis.[

0 11 0

] [x1

x2

]=

[x2

x1

]2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

The line x1 = x2 is invariant under A.

Hence,

v1 =

[11

]⇒

[0 11 0

] [11

]=

[11

]⇒ λ1 = 1.

An eigenvalue eigenvector pair is: λ1 = 1, v1 =

[11

].

Page 121: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution:

The function A : R2 → R2 is areflection along x1 = x2 axis.[

0 11 0

] [x1

x2

]=

[x2

x1

]2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

The line x1 = x2 is invariant under A. Hence,

v1 =

[11

]

⇒[0 11 0

] [11

]=

[11

]⇒ λ1 = 1.

An eigenvalue eigenvector pair is: λ1 = 1, v1 =

[11

].

Page 122: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution:

The function A : R2 → R2 is areflection along x1 = x2 axis.[

0 11 0

] [x1

x2

]=

[x2

x1

]2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

The line x1 = x2 is invariant under A. Hence,

v1 =

[11

]⇒

[0 11 0

] [11

]

=

[11

]⇒ λ1 = 1.

An eigenvalue eigenvector pair is: λ1 = 1, v1 =

[11

].

Page 123: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution:

The function A : R2 → R2 is areflection along x1 = x2 axis.[

0 11 0

] [x1

x2

]=

[x2

x1

]2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

The line x1 = x2 is invariant under A. Hence,

v1 =

[11

]⇒

[0 11 0

] [11

]=

[11

]

⇒ λ1 = 1.

An eigenvalue eigenvector pair is: λ1 = 1, v1 =

[11

].

Page 124: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution:

The function A : R2 → R2 is areflection along x1 = x2 axis.[

0 11 0

] [x1

x2

]=

[x2

x1

]2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

The line x1 = x2 is invariant under A. Hence,

v1 =

[11

]⇒

[0 11 0

] [11

]=

[11

]⇒ λ1 = 1.

An eigenvalue eigenvector pair is: λ1 = 1, v1 =

[11

].

Page 125: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution:

The function A : R2 → R2 is areflection along x1 = x2 axis.[

0 11 0

] [x1

x2

]=

[x2

x1

]2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

The line x1 = x2 is invariant under A. Hence,

v1 =

[11

]⇒

[0 11 0

] [11

]=

[11

]⇒ λ1 = 1.

An eigenvalue eigenvector pair is: λ1 = 1, v1 =

[11

].

Page 126: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution: Eigenvalue eigenvector pair:

λ1 = 1, v1 =

[11

].

2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

A second eigenvector eigenvalue pair is:

v2 =

[−11

]⇒

[0 11 0

] [−11

]=

[1−1

]= (−1)

[−11

]⇒ λ2 = −1.

A second eigenvalue eigenvector pair: λ2 = −1, v2 =

[−11

]. C

Page 127: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution: Eigenvalue eigenvector pair:

λ1 = 1, v1 =

[11

].

2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

A second eigenvector eigenvalue pair is:

v2 =

[−11

]⇒

[0 11 0

] [−11

]=

[1−1

]= (−1)

[−11

]⇒ λ2 = −1.

A second eigenvalue eigenvector pair: λ2 = −1, v2 =

[−11

]. C

Page 128: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution: Eigenvalue eigenvector pair:

λ1 = 1, v1 =

[11

].

2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

A second eigenvector eigenvalue pair is:

v2 =

[−11

]⇒

[0 11 0

] [−11

]=

[1−1

]= (−1)

[−11

]⇒ λ2 = −1.

A second eigenvalue eigenvector pair: λ2 = −1, v2 =

[−11

]. C

Page 129: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution: Eigenvalue eigenvector pair:

λ1 = 1, v1 =

[11

].

2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

A second eigenvector eigenvalue pair is:

v2 =

[−11

]

⇒[0 11 0

] [−11

]=

[1−1

]= (−1)

[−11

]⇒ λ2 = −1.

A second eigenvalue eigenvector pair: λ2 = −1, v2 =

[−11

]. C

Page 130: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution: Eigenvalue eigenvector pair:

λ1 = 1, v1 =

[11

].

2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

A second eigenvector eigenvalue pair is:

v2 =

[−11

]⇒

[0 11 0

] [−11

]

=

[1−1

]= (−1)

[−11

]⇒ λ2 = −1.

A second eigenvalue eigenvector pair: λ2 = −1, v2 =

[−11

]. C

Page 131: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution: Eigenvalue eigenvector pair:

λ1 = 1, v1 =

[11

].

2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

A second eigenvector eigenvalue pair is:

v2 =

[−11

]⇒

[0 11 0

] [−11

]=

[1−1

]

= (−1)

[−11

]⇒ λ2 = −1.

A second eigenvalue eigenvector pair: λ2 = −1, v2 =

[−11

]. C

Page 132: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution: Eigenvalue eigenvector pair:

λ1 = 1, v1 =

[11

].

2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

A second eigenvector eigenvalue pair is:

v2 =

[−11

]⇒

[0 11 0

] [−11

]=

[1−1

]= (−1)

[−11

]

⇒ λ2 = −1.

A second eigenvalue eigenvector pair: λ2 = −1, v2 =

[−11

]. C

Page 133: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution: Eigenvalue eigenvector pair:

λ1 = 1, v1 =

[11

].

2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

A second eigenvector eigenvalue pair is:

v2 =

[−11

]⇒

[0 11 0

] [−11

]=

[1−1

]= (−1)

[−11

]⇒ λ2 = −1.

A second eigenvalue eigenvector pair: λ2 = −1, v2 =

[−11

]. C

Page 134: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Example

Find the eigenvalues and eigenvectors of the matrix A =

[0 11 0

].

Solution: Eigenvalue eigenvector pair:

λ1 = 1, v1 =

[11

].

2

Ax

x

x

Av = −v

Av = vv

2 2

2

x1

2

11

x = x1

A second eigenvector eigenvalue pair is:

v2 =

[−11

]⇒

[0 11 0

] [−11

]=

[1−1

]= (−1)

[−11

]⇒ λ2 = −1.

A second eigenvalue eigenvector pair: λ2 = −1, v2 =

[−11

]. C

Page 135: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Remark: Not every n × n matrix has real eigenvalues.

Example

Fix θ ∈ (0, π) and define A =

[cos(θ) − sin(θ)sin(θ) cos(θ)

].

Show that A has no real eigenvalues.

Solution: Matrix A : R2 → R2 is a

rotation by θ counterclockwise.There is no direction left invariant bythe function A.

2

0

Ax

x

x1

x

We conclude: Matrix A has no eigenvalues eigenvector pairs. C

Remark:Matrix A has complex-values eigenvalues and eigenvectors.

Page 136: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Remark: Not every n × n matrix has real eigenvalues.

Example

Fix θ ∈ (0, π) and define A =

[cos(θ) − sin(θ)sin(θ) cos(θ)

].

Show that A has no real eigenvalues.

Solution: Matrix A : R2 → R2 is a

rotation by θ counterclockwise.There is no direction left invariant bythe function A.

2

0

Ax

x

x1

x

We conclude: Matrix A has no eigenvalues eigenvector pairs. C

Remark:Matrix A has complex-values eigenvalues and eigenvectors.

Page 137: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Remark: Not every n × n matrix has real eigenvalues.

Example

Fix θ ∈ (0, π) and define A =

[cos(θ) − sin(θ)sin(θ) cos(θ)

].

Show that A has no real eigenvalues.

Solution: Matrix A : R2 → R2 is a

rotation by θ counterclockwise.

There is no direction left invariant bythe function A.

2

0

Ax

x

x1

x

We conclude: Matrix A has no eigenvalues eigenvector pairs. C

Remark:Matrix A has complex-values eigenvalues and eigenvectors.

Page 138: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Remark: Not every n × n matrix has real eigenvalues.

Example

Fix θ ∈ (0, π) and define A =

[cos(θ) − sin(θ)sin(θ) cos(θ)

].

Show that A has no real eigenvalues.

Solution: Matrix A : R2 → R2 is a

rotation by θ counterclockwise.There is no direction left invariant bythe function A.

2

0

Ax

x

x1

x

We conclude: Matrix A has no eigenvalues eigenvector pairs. C

Remark:Matrix A has complex-values eigenvalues and eigenvectors.

Page 139: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Remark: Not every n × n matrix has real eigenvalues.

Example

Fix θ ∈ (0, π) and define A =

[cos(θ) − sin(θ)sin(θ) cos(θ)

].

Show that A has no real eigenvalues.

Solution: Matrix A : R2 → R2 is a

rotation by θ counterclockwise.There is no direction left invariant bythe function A.

2

0

Ax

x

x1

x

We conclude: Matrix A has no eigenvalues eigenvector pairs. C

Remark:Matrix A has complex-values eigenvalues and eigenvectors.

Page 140: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Remark: Not every n × n matrix has real eigenvalues.

Example

Fix θ ∈ (0, π) and define A =

[cos(θ) − sin(θ)sin(θ) cos(θ)

].

Show that A has no real eigenvalues.

Solution: Matrix A : R2 → R2 is a

rotation by θ counterclockwise.There is no direction left invariant bythe function A.

2

0

Ax

x

x1

x

We conclude: Matrix A has no eigenvalues eigenvector pairs. C

Remark:Matrix A has complex-values eigenvalues and eigenvectors.

Page 141: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Eigenvalues, eigenvectors of a matrix

Remark: Not every n × n matrix has real eigenvalues.

Example

Fix θ ∈ (0, π) and define A =

[cos(θ) − sin(θ)sin(θ) cos(θ)

].

Show that A has no real eigenvalues.

Solution: Matrix A : R2 → R2 is a

rotation by θ counterclockwise.There is no direction left invariant bythe function A.

2

0

Ax

x

x1

x

We conclude: Matrix A has no eigenvalues eigenvector pairs. C

Remark:Matrix A has complex-values eigenvalues and eigenvectors.

Page 142: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Linear Algebra and differential systems (Sect. 5.4, 5.5, 5.6)

I Eigenvalues, eigenvectors of a matrix (5.5).

I Computing eigenvalues and eigenvectors (5.5).

I Diagonalizable matrices (5.5).

I n × n linear differential systems (5.4).

I Constant coefficients homogenoues systems (5.6).

I Examples: 2× 2 linear systems (5.6).

Page 143: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Problem:Given an n × n matrix A, find, if possible, λ and v 6= 0 solution of

Av = λ v.

Remark:This is more complicated than solving a linear system Av = b,since in our case we do not know the source vector b = λv.

Solution:

(a) First solve for λ.

(b) Having λ, then solve for v.

Page 144: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Problem:Given an n × n matrix A, find, if possible, λ and v 6= 0 solution of

Av = λ v.

Remark:This is more complicated than solving a linear system Av = b,

since in our case we do not know the source vector b = λv.

Solution:

(a) First solve for λ.

(b) Having λ, then solve for v.

Page 145: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Problem:Given an n × n matrix A, find, if possible, λ and v 6= 0 solution of

Av = λ v.

Remark:This is more complicated than solving a linear system Av = b,since in our case we do not know the source vector b = λv.

Solution:

(a) First solve for λ.

(b) Having λ, then solve for v.

Page 146: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Problem:Given an n × n matrix A, find, if possible, λ and v 6= 0 solution of

Av = λ v.

Remark:This is more complicated than solving a linear system Av = b,since in our case we do not know the source vector b = λv.

Solution:

(a) First solve for λ.

(b) Having λ, then solve for v.

Page 147: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Problem:Given an n × n matrix A, find, if possible, λ and v 6= 0 solution of

Av = λ v.

Remark:This is more complicated than solving a linear system Av = b,since in our case we do not know the source vector b = λv.

Solution:

(a) First solve for λ.

(b) Having λ, then solve for v.

Page 148: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Theorem (Eigenvalues-eigenvectors)

(a) The number λ is an eigenvalue of an n × n matrix A iff

det(A− λI ) = 0.

(b) Given an eigenvalue λ of matrix A, the correspondingeigenvectors v are the non-zero solutions to the homogeneouslinear system

(A− λI )v = 0.

Notation:p(λ) = det(A− λI ) is called the characteristic polynomial.If A is n × n, then p is degree n.

Remark: An eigenvalue is a root of the characteristic polynomial.

Page 149: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Theorem (Eigenvalues-eigenvectors)

(a) The number λ is an eigenvalue of an n × n matrix A iff

det(A− λI ) = 0.

(b) Given an eigenvalue λ of matrix A, the correspondingeigenvectors v are the non-zero solutions to the homogeneouslinear system

(A− λI )v = 0.

Notation:p(λ) = det(A− λI ) is called the characteristic polynomial.

If A is n × n, then p is degree n.

Remark: An eigenvalue is a root of the characteristic polynomial.

Page 150: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Theorem (Eigenvalues-eigenvectors)

(a) The number λ is an eigenvalue of an n × n matrix A iff

det(A− λI ) = 0.

(b) Given an eigenvalue λ of matrix A, the correspondingeigenvectors v are the non-zero solutions to the homogeneouslinear system

(A− λI )v = 0.

Notation:p(λ) = det(A− λI ) is called the characteristic polynomial.If A is n × n, then p is degree n.

Remark: An eigenvalue is a root of the characteristic polynomial.

Page 151: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Theorem (Eigenvalues-eigenvectors)

(a) The number λ is an eigenvalue of an n × n matrix A iff

det(A− λI ) = 0.

(b) Given an eigenvalue λ of matrix A, the correspondingeigenvectors v are the non-zero solutions to the homogeneouslinear system

(A− λI )v = 0.

Notation:p(λ) = det(A− λI ) is called the characteristic polynomial.If A is n × n, then p is degree n.

Remark: An eigenvalue is a root of the characteristic polynomial.

Page 152: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Proof:Find λ such that for a non-zero vector v holds,

Av = λv

⇔ (A− λI )v = 0.

Recall, v 6= 0.

This last condition implies that matrix (A− λI ) is not invertible.

(Proof: If (A− λI ) invertible, then (A− λI )−1(A− λI )v = 0,that is, v = 0.)

Since (A− λI ) is not invertible, then det(A− λI ) = 0.

Once λ is known, the original eigenvalue-eigenvector equationAv = λv is equivalent to (A− λI )v = 0.

Page 153: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Proof:Find λ such that for a non-zero vector v holds,

Av = λv ⇔ (A− λI )v = 0.

Recall, v 6= 0.

This last condition implies that matrix (A− λI ) is not invertible.

(Proof: If (A− λI ) invertible, then (A− λI )−1(A− λI )v = 0,that is, v = 0.)

Since (A− λI ) is not invertible, then det(A− λI ) = 0.

Once λ is known, the original eigenvalue-eigenvector equationAv = λv is equivalent to (A− λI )v = 0.

Page 154: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Proof:Find λ such that for a non-zero vector v holds,

Av = λv ⇔ (A− λI )v = 0.

Recall, v 6= 0.

This last condition implies that matrix (A− λI ) is not invertible.

(Proof: If (A− λI ) invertible, then (A− λI )−1(A− λI )v = 0,that is, v = 0.)

Since (A− λI ) is not invertible, then det(A− λI ) = 0.

Once λ is known, the original eigenvalue-eigenvector equationAv = λv is equivalent to (A− λI )v = 0.

Page 155: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Proof:Find λ such that for a non-zero vector v holds,

Av = λv ⇔ (A− λI )v = 0.

Recall, v 6= 0.

This last condition implies that matrix (A− λI ) is not invertible.

(Proof: If (A− λI ) invertible, then (A− λI )−1(A− λI )v = 0,that is, v = 0.)

Since (A− λI ) is not invertible, then det(A− λI ) = 0.

Once λ is known, the original eigenvalue-eigenvector equationAv = λv is equivalent to (A− λI )v = 0.

Page 156: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Proof:Find λ such that for a non-zero vector v holds,

Av = λv ⇔ (A− λI )v = 0.

Recall, v 6= 0.

This last condition implies that matrix (A− λI ) is not invertible.

(Proof: If (A− λI ) invertible,

then (A− λI )−1(A− λI )v = 0,that is, v = 0.)

Since (A− λI ) is not invertible, then det(A− λI ) = 0.

Once λ is known, the original eigenvalue-eigenvector equationAv = λv is equivalent to (A− λI )v = 0.

Page 157: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Proof:Find λ such that for a non-zero vector v holds,

Av = λv ⇔ (A− λI )v = 0.

Recall, v 6= 0.

This last condition implies that matrix (A− λI ) is not invertible.

(Proof: If (A− λI ) invertible, then (A− λI )−1(A− λI )v = 0,

that is, v = 0.)

Since (A− λI ) is not invertible, then det(A− λI ) = 0.

Once λ is known, the original eigenvalue-eigenvector equationAv = λv is equivalent to (A− λI )v = 0.

Page 158: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Proof:Find λ such that for a non-zero vector v holds,

Av = λv ⇔ (A− λI )v = 0.

Recall, v 6= 0.

This last condition implies that matrix (A− λI ) is not invertible.

(Proof: If (A− λI ) invertible, then (A− λI )−1(A− λI )v = 0,that is, v = 0.)

Since (A− λI ) is not invertible, then det(A− λI ) = 0.

Once λ is known, the original eigenvalue-eigenvector equationAv = λv is equivalent to (A− λI )v = 0.

Page 159: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Proof:Find λ such that for a non-zero vector v holds,

Av = λv ⇔ (A− λI )v = 0.

Recall, v 6= 0.

This last condition implies that matrix (A− λI ) is not invertible.

(Proof: If (A− λI ) invertible, then (A− λI )−1(A− λI )v = 0,that is, v = 0.)

Since (A− λI ) is not invertible, then det(A− λI ) = 0.

Once λ is known, the original eigenvalue-eigenvector equationAv = λv is equivalent to (A− λI )v = 0.

Page 160: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Proof:Find λ such that for a non-zero vector v holds,

Av = λv ⇔ (A− λI )v = 0.

Recall, v 6= 0.

This last condition implies that matrix (A− λI ) is not invertible.

(Proof: If (A− λI ) invertible, then (A− λI )−1(A− λI )v = 0,that is, v = 0.)

Since (A− λI ) is not invertible, then det(A− λI ) = 0.

Once λ is known, the original eigenvalue-eigenvector equationAv = λv is equivalent to (A− λI )v = 0.

Page 161: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution:The eigenvalues are the roots of the characteristic polynomial.

A−λI =

[1 33 1

]−λ

[1 00 1

]=

[1 33 1

]−

[λ 00 λ

]=

[(1− λ) 3

3 (1− λ)

]The characteristic polynomial is

p(λ) = det(A− λI ) =

∣∣∣∣(1− λ) 33 (1− λ)

∣∣∣∣ = (λ− 1)2 − 9

The roots are λ+ = 4 and λ− = −2.Compute the eigenvector for λ+ = 4. Solve (A− 4I )v+ = 0.

A− 4I =

[1− 4 3

3 1− 4

]=

[−3 33 −3

].

Page 162: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution:The eigenvalues are the roots of the characteristic polynomial.

A−λI =

[1 33 1

]−λ

[1 00 1

]=

[1 33 1

]−

[λ 00 λ

]=

[(1− λ) 3

3 (1− λ)

]The characteristic polynomial is

p(λ) = det(A− λI ) =

∣∣∣∣(1− λ) 33 (1− λ)

∣∣∣∣ = (λ− 1)2 − 9

The roots are λ+ = 4 and λ− = −2.Compute the eigenvector for λ+ = 4. Solve (A− 4I )v+ = 0.

A− 4I =

[1− 4 3

3 1− 4

]=

[−3 33 −3

].

Page 163: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution:The eigenvalues are the roots of the characteristic polynomial.

A−λI

=

[1 33 1

]−λ

[1 00 1

]=

[1 33 1

]−

[λ 00 λ

]=

[(1− λ) 3

3 (1− λ)

]The characteristic polynomial is

p(λ) = det(A− λI ) =

∣∣∣∣(1− λ) 33 (1− λ)

∣∣∣∣ = (λ− 1)2 − 9

The roots are λ+ = 4 and λ− = −2.Compute the eigenvector for λ+ = 4. Solve (A− 4I )v+ = 0.

A− 4I =

[1− 4 3

3 1− 4

]=

[−3 33 −3

].

Page 164: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution:The eigenvalues are the roots of the characteristic polynomial.

A−λI =

[1 33 1

]−λ

[1 00 1

]

=

[1 33 1

]−

[λ 00 λ

]=

[(1− λ) 3

3 (1− λ)

]The characteristic polynomial is

p(λ) = det(A− λI ) =

∣∣∣∣(1− λ) 33 (1− λ)

∣∣∣∣ = (λ− 1)2 − 9

The roots are λ+ = 4 and λ− = −2.Compute the eigenvector for λ+ = 4. Solve (A− 4I )v+ = 0.

A− 4I =

[1− 4 3

3 1− 4

]=

[−3 33 −3

].

Page 165: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution:The eigenvalues are the roots of the characteristic polynomial.

A−λI =

[1 33 1

]−λ

[1 00 1

]=

[1 33 1

]−

[λ 00 λ

]

=

[(1− λ) 3

3 (1− λ)

]The characteristic polynomial is

p(λ) = det(A− λI ) =

∣∣∣∣(1− λ) 33 (1− λ)

∣∣∣∣ = (λ− 1)2 − 9

The roots are λ+ = 4 and λ− = −2.Compute the eigenvector for λ+ = 4. Solve (A− 4I )v+ = 0.

A− 4I =

[1− 4 3

3 1− 4

]=

[−3 33 −3

].

Page 166: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution:The eigenvalues are the roots of the characteristic polynomial.

A−λI =

[1 33 1

]−λ

[1 00 1

]=

[1 33 1

]−

[λ 00 λ

]=

[(1− λ) 3

3 (1− λ)

]

The characteristic polynomial is

p(λ) = det(A− λI ) =

∣∣∣∣(1− λ) 33 (1− λ)

∣∣∣∣ = (λ− 1)2 − 9

The roots are λ+ = 4 and λ− = −2.Compute the eigenvector for λ+ = 4. Solve (A− 4I )v+ = 0.

A− 4I =

[1− 4 3

3 1− 4

]=

[−3 33 −3

].

Page 167: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution:The eigenvalues are the roots of the characteristic polynomial.

A−λI =

[1 33 1

]−λ

[1 00 1

]=

[1 33 1

]−

[λ 00 λ

]=

[(1− λ) 3

3 (1− λ)

]The characteristic polynomial is

p(λ) = det(A− λI )

=

∣∣∣∣(1− λ) 33 (1− λ)

∣∣∣∣ = (λ− 1)2 − 9

The roots are λ+ = 4 and λ− = −2.Compute the eigenvector for λ+ = 4. Solve (A− 4I )v+ = 0.

A− 4I =

[1− 4 3

3 1− 4

]=

[−3 33 −3

].

Page 168: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution:The eigenvalues are the roots of the characteristic polynomial.

A−λI =

[1 33 1

]−λ

[1 00 1

]=

[1 33 1

]−

[λ 00 λ

]=

[(1− λ) 3

3 (1− λ)

]The characteristic polynomial is

p(λ) = det(A− λI ) =

∣∣∣∣(1− λ) 33 (1− λ)

∣∣∣∣

= (λ− 1)2 − 9

The roots are λ+ = 4 and λ− = −2.Compute the eigenvector for λ+ = 4. Solve (A− 4I )v+ = 0.

A− 4I =

[1− 4 3

3 1− 4

]=

[−3 33 −3

].

Page 169: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution:The eigenvalues are the roots of the characteristic polynomial.

A−λI =

[1 33 1

]−λ

[1 00 1

]=

[1 33 1

]−

[λ 00 λ

]=

[(1− λ) 3

3 (1− λ)

]The characteristic polynomial is

p(λ) = det(A− λI ) =

∣∣∣∣(1− λ) 33 (1− λ)

∣∣∣∣ = (λ− 1)2 − 9

The roots are λ+ = 4 and λ− = −2.Compute the eigenvector for λ+ = 4. Solve (A− 4I )v+ = 0.

A− 4I =

[1− 4 3

3 1− 4

]=

[−3 33 −3

].

Page 170: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution:The eigenvalues are the roots of the characteristic polynomial.

A−λI =

[1 33 1

]−λ

[1 00 1

]=

[1 33 1

]−

[λ 00 λ

]=

[(1− λ) 3

3 (1− λ)

]The characteristic polynomial is

p(λ) = det(A− λI ) =

∣∣∣∣(1− λ) 33 (1− λ)

∣∣∣∣ = (λ− 1)2 − 9

The roots are λ+ = 4 and λ− = −2.

Compute the eigenvector for λ+ = 4. Solve (A− 4I )v+ = 0.

A− 4I =

[1− 4 3

3 1− 4

]=

[−3 33 −3

].

Page 171: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution:The eigenvalues are the roots of the characteristic polynomial.

A−λI =

[1 33 1

]−λ

[1 00 1

]=

[1 33 1

]−

[λ 00 λ

]=

[(1− λ) 3

3 (1− λ)

]The characteristic polynomial is

p(λ) = det(A− λI ) =

∣∣∣∣(1− λ) 33 (1− λ)

∣∣∣∣ = (λ− 1)2 − 9

The roots are λ+ = 4 and λ− = −2.Compute the eigenvector for λ+ = 4.

Solve (A− 4I )v+ = 0.

A− 4I =

[1− 4 3

3 1− 4

]=

[−3 33 −3

].

Page 172: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution:The eigenvalues are the roots of the characteristic polynomial.

A−λI =

[1 33 1

]−λ

[1 00 1

]=

[1 33 1

]−

[λ 00 λ

]=

[(1− λ) 3

3 (1− λ)

]The characteristic polynomial is

p(λ) = det(A− λI ) =

∣∣∣∣(1− λ) 33 (1− λ)

∣∣∣∣ = (λ− 1)2 − 9

The roots are λ+ = 4 and λ− = −2.Compute the eigenvector for λ+ = 4. Solve (A− 4I )v+ = 0.

A− 4I =

[1− 4 3

3 1− 4

]=

[−3 33 −3

].

Page 173: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution:The eigenvalues are the roots of the characteristic polynomial.

A−λI =

[1 33 1

]−λ

[1 00 1

]=

[1 33 1

]−

[λ 00 λ

]=

[(1− λ) 3

3 (1− λ)

]The characteristic polynomial is

p(λ) = det(A− λI ) =

∣∣∣∣(1− λ) 33 (1− λ)

∣∣∣∣ = (λ− 1)2 − 9

The roots are λ+ = 4 and λ− = −2.Compute the eigenvector for λ+ = 4. Solve (A− 4I )v+ = 0.

A− 4I =

[1− 4 3

3 1− 4

]

=

[−3 33 −3

].

Page 174: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution:The eigenvalues are the roots of the characteristic polynomial.

A−λI =

[1 33 1

]−λ

[1 00 1

]=

[1 33 1

]−

[λ 00 λ

]=

[(1− λ) 3

3 (1− λ)

]The characteristic polynomial is

p(λ) = det(A− λI ) =

∣∣∣∣(1− λ) 33 (1− λ)

∣∣∣∣ = (λ− 1)2 − 9

The roots are λ+ = 4 and λ− = −2.Compute the eigenvector for λ+ = 4. Solve (A− 4I )v+ = 0.

A− 4I =

[1− 4 3

3 1− 4

]=

[−3 33 −3

].

Page 175: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, λ− = −2, A− 4I =

[−3 33 −3

].

We solve (A− 4I )v+ = 0, using Gauss elimination,[−3 33 −3

]→

[1 −13 −3

]→

[1 −10 0

]⇒

{v+

1 = v+2 ,

v+2 free.

Al solutions to the equation above are then given by

v+ =

[v+

2

v+2

]=

[11

]v+

2 ⇒ v+ =

[11

],

The first eigenvalue eigenvector pair is λ+ = 4, v+ =

[11

]

Page 176: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, λ− = −2, A− 4I =

[−3 33 −3

].

We solve (A− 4I )v+ = 0,

using Gauss elimination,[−3 33 −3

]→

[1 −13 −3

]→

[1 −10 0

]⇒

{v+

1 = v+2 ,

v+2 free.

Al solutions to the equation above are then given by

v+ =

[v+

2

v+2

]=

[11

]v+

2 ⇒ v+ =

[11

],

The first eigenvalue eigenvector pair is λ+ = 4, v+ =

[11

]

Page 177: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, λ− = −2, A− 4I =

[−3 33 −3

].

We solve (A− 4I )v+ = 0, using Gauss elimination,

[−3 33 −3

]→

[1 −13 −3

]→

[1 −10 0

]⇒

{v+

1 = v+2 ,

v+2 free.

Al solutions to the equation above are then given by

v+ =

[v+

2

v+2

]=

[11

]v+

2 ⇒ v+ =

[11

],

The first eigenvalue eigenvector pair is λ+ = 4, v+ =

[11

]

Page 178: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, λ− = −2, A− 4I =

[−3 33 −3

].

We solve (A− 4I )v+ = 0, using Gauss elimination,[−3 33 −3

]

→[1 −13 −3

]→

[1 −10 0

]⇒

{v+

1 = v+2 ,

v+2 free.

Al solutions to the equation above are then given by

v+ =

[v+

2

v+2

]=

[11

]v+

2 ⇒ v+ =

[11

],

The first eigenvalue eigenvector pair is λ+ = 4, v+ =

[11

]

Page 179: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, λ− = −2, A− 4I =

[−3 33 −3

].

We solve (A− 4I )v+ = 0, using Gauss elimination,[−3 33 −3

]→

[1 −13 −3

]

→[1 −10 0

]⇒

{v+

1 = v+2 ,

v+2 free.

Al solutions to the equation above are then given by

v+ =

[v+

2

v+2

]=

[11

]v+

2 ⇒ v+ =

[11

],

The first eigenvalue eigenvector pair is λ+ = 4, v+ =

[11

]

Page 180: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, λ− = −2, A− 4I =

[−3 33 −3

].

We solve (A− 4I )v+ = 0, using Gauss elimination,[−3 33 −3

]→

[1 −13 −3

]→

[1 −10 0

]

{v+

1 = v+2 ,

v+2 free.

Al solutions to the equation above are then given by

v+ =

[v+

2

v+2

]=

[11

]v+

2 ⇒ v+ =

[11

],

The first eigenvalue eigenvector pair is λ+ = 4, v+ =

[11

]

Page 181: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, λ− = −2, A− 4I =

[−3 33 −3

].

We solve (A− 4I )v+ = 0, using Gauss elimination,[−3 33 −3

]→

[1 −13 −3

]→

[1 −10 0

]⇒

{v+

1 = v+2 ,

v+2 free.

Al solutions to the equation above are then given by

v+ =

[v+

2

v+2

]=

[11

]v+

2 ⇒ v+ =

[11

],

The first eigenvalue eigenvector pair is λ+ = 4, v+ =

[11

]

Page 182: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, λ− = −2, A− 4I =

[−3 33 −3

].

We solve (A− 4I )v+ = 0, using Gauss elimination,[−3 33 −3

]→

[1 −13 −3

]→

[1 −10 0

]⇒

{v+

1 = v+2 ,

v+2 free.

Al solutions to the equation above are then given by

v+ =

[v+

2

v+2

]

=

[11

]v+

2 ⇒ v+ =

[11

],

The first eigenvalue eigenvector pair is λ+ = 4, v+ =

[11

]

Page 183: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, λ− = −2, A− 4I =

[−3 33 −3

].

We solve (A− 4I )v+ = 0, using Gauss elimination,[−3 33 −3

]→

[1 −13 −3

]→

[1 −10 0

]⇒

{v+

1 = v+2 ,

v+2 free.

Al solutions to the equation above are then given by

v+ =

[v+

2

v+2

]=

[11

]v+

2

⇒ v+ =

[11

],

The first eigenvalue eigenvector pair is λ+ = 4, v+ =

[11

]

Page 184: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, λ− = −2, A− 4I =

[−3 33 −3

].

We solve (A− 4I )v+ = 0, using Gauss elimination,[−3 33 −3

]→

[1 −13 −3

]→

[1 −10 0

]⇒

{v+

1 = v+2 ,

v+2 free.

Al solutions to the equation above are then given by

v+ =

[v+

2

v+2

]=

[11

]v+

2 ⇒ v+ =

[11

],

The first eigenvalue eigenvector pair is λ+ = 4, v+ =

[11

]

Page 185: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, λ− = −2, A− 4I =

[−3 33 −3

].

We solve (A− 4I )v+ = 0, using Gauss elimination,[−3 33 −3

]→

[1 −13 −3

]→

[1 −10 0

]⇒

{v+

1 = v+2 ,

v+2 free.

Al solutions to the equation above are then given by

v+ =

[v+

2

v+2

]=

[11

]v+

2 ⇒ v+ =

[11

],

The first eigenvalue eigenvector pair is λ+ = 4, v+ =

[11

]

Page 186: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, v+ =

[11

], λ− = −2.

Solve (A + 2I )v− = 0, using Gauss operations on A + 2I =

[3 33 3

].[

3 33 3

]→

[1 13 3

]→

[1 10 0

]⇒

{v−1 = −v−2 ,

v−2 free.

Al solutions to the equation above are then given by

v− =

[−v−2v−2

]=

[−11

]v−2 ⇒ v− =

[−11

],

The second eigenvalue eigenvector pair: λ− = −2, v− =

[−11

].C

Page 187: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, v+ =

[11

], λ− = −2.

Solve (A + 2I )v− = 0,

using Gauss operations on A + 2I =

[3 33 3

].[

3 33 3

]→

[1 13 3

]→

[1 10 0

]⇒

{v−1 = −v−2 ,

v−2 free.

Al solutions to the equation above are then given by

v− =

[−v−2v−2

]=

[−11

]v−2 ⇒ v− =

[−11

],

The second eigenvalue eigenvector pair: λ− = −2, v− =

[−11

].C

Page 188: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, v+ =

[11

], λ− = −2.

Solve (A + 2I )v− = 0, using Gauss operations on A + 2I =

[3 33 3

].

[3 33 3

]→

[1 13 3

]→

[1 10 0

]⇒

{v−1 = −v−2 ,

v−2 free.

Al solutions to the equation above are then given by

v− =

[−v−2v−2

]=

[−11

]v−2 ⇒ v− =

[−11

],

The second eigenvalue eigenvector pair: λ− = −2, v− =

[−11

].C

Page 189: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, v+ =

[11

], λ− = −2.

Solve (A + 2I )v− = 0, using Gauss operations on A + 2I =

[3 33 3

].[

3 33 3

]

→[1 13 3

]→

[1 10 0

]⇒

{v−1 = −v−2 ,

v−2 free.

Al solutions to the equation above are then given by

v− =

[−v−2v−2

]=

[−11

]v−2 ⇒ v− =

[−11

],

The second eigenvalue eigenvector pair: λ− = −2, v− =

[−11

].C

Page 190: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, v+ =

[11

], λ− = −2.

Solve (A + 2I )v− = 0, using Gauss operations on A + 2I =

[3 33 3

].[

3 33 3

]→

[1 13 3

]

→[1 10 0

]⇒

{v−1 = −v−2 ,

v−2 free.

Al solutions to the equation above are then given by

v− =

[−v−2v−2

]=

[−11

]v−2 ⇒ v− =

[−11

],

The second eigenvalue eigenvector pair: λ− = −2, v− =

[−11

].C

Page 191: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, v+ =

[11

], λ− = −2.

Solve (A + 2I )v− = 0, using Gauss operations on A + 2I =

[3 33 3

].[

3 33 3

]→

[1 13 3

]→

[1 10 0

]

{v−1 = −v−2 ,

v−2 free.

Al solutions to the equation above are then given by

v− =

[−v−2v−2

]=

[−11

]v−2 ⇒ v− =

[−11

],

The second eigenvalue eigenvector pair: λ− = −2, v− =

[−11

].C

Page 192: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, v+ =

[11

], λ− = −2.

Solve (A + 2I )v− = 0, using Gauss operations on A + 2I =

[3 33 3

].[

3 33 3

]→

[1 13 3

]→

[1 10 0

]⇒

{v−1 = −v−2 ,

v−2 free.

Al solutions to the equation above are then given by

v− =

[−v−2v−2

]=

[−11

]v−2 ⇒ v− =

[−11

],

The second eigenvalue eigenvector pair: λ− = −2, v− =

[−11

].C

Page 193: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, v+ =

[11

], λ− = −2.

Solve (A + 2I )v− = 0, using Gauss operations on A + 2I =

[3 33 3

].[

3 33 3

]→

[1 13 3

]→

[1 10 0

]⇒

{v−1 = −v−2 ,

v−2 free.

Al solutions to the equation above are then given by

v− =

[−v−2v−2

]

=

[−11

]v−2 ⇒ v− =

[−11

],

The second eigenvalue eigenvector pair: λ− = −2, v− =

[−11

].C

Page 194: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, v+ =

[11

], λ− = −2.

Solve (A + 2I )v− = 0, using Gauss operations on A + 2I =

[3 33 3

].[

3 33 3

]→

[1 13 3

]→

[1 10 0

]⇒

{v−1 = −v−2 ,

v−2 free.

Al solutions to the equation above are then given by

v− =

[−v−2v−2

]=

[−11

]v−2

⇒ v− =

[−11

],

The second eigenvalue eigenvector pair: λ− = −2, v− =

[−11

].C

Page 195: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, v+ =

[11

], λ− = −2.

Solve (A + 2I )v− = 0, using Gauss operations on A + 2I =

[3 33 3

].[

3 33 3

]→

[1 13 3

]→

[1 10 0

]⇒

{v−1 = −v−2 ,

v−2 free.

Al solutions to the equation above are then given by

v− =

[−v−2v−2

]=

[−11

]v−2 ⇒ v− =

[−11

],

The second eigenvalue eigenvector pair: λ− = −2, v− =

[−11

].C

Page 196: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Computing eigenvalues and eigenvectors.

Example

Find the eigenvalues λ and eigenvectors v of A =

[1 33 1

].

Solution: Recall: λ+ = 4, v+ =

[11

], λ− = −2.

Solve (A + 2I )v− = 0, using Gauss operations on A + 2I =

[3 33 3

].[

3 33 3

]→

[1 13 3

]→

[1 10 0

]⇒

{v−1 = −v−2 ,

v−2 free.

Al solutions to the equation above are then given by

v− =

[−v−2v−2

]=

[−11

]v−2 ⇒ v− =

[−11

],

The second eigenvalue eigenvector pair: λ− = −2, v− =

[−11

].C

Page 197: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Linear Algebra and differential systems (Sect. 5.4, 5.5, 5.6)

I Eigenvalues, eigenvectors of a matrix (5.5).

I Computing eigenvalues and eigenvectors (5.5).

I Diagonalizable matrices (5.5).

I n × n linear differential systems (5.4).

I Constant coefficients homogenoues systems (5.6).

I Examples: 2× 2 linear systems (5.6).

Page 198: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Definition

An n × n matrix D is called diagonal iff D =

d11 · · · 0...

. . ....

0 · · · dnn

.

DefinitionAn n × n matrix A is called diagonalizable iff there exists aninvertible matrix P and a diagonal matrix D such that

A = PDP−1.

Remark:

I Systems of linear differential equations are simple to solve inthe case that the coefficient matrix A is diagonalizable.

I In such case, it is simple to decouple the differential equations.

I One solves the decoupled equations, and then transforms backto the original unknowns.

Page 199: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Definition

An n × n matrix D is called diagonal iff D =

d11 · · · 0...

. . ....

0 · · · dnn

.

DefinitionAn n × n matrix A is called diagonalizable iff there exists aninvertible matrix P and a diagonal matrix D such that

A = PDP−1.

Remark:

I Systems of linear differential equations are simple to solve inthe case that the coefficient matrix A is diagonalizable.

I In such case, it is simple to decouple the differential equations.

I One solves the decoupled equations, and then transforms backto the original unknowns.

Page 200: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Definition

An n × n matrix D is called diagonal iff D =

d11 · · · 0...

. . ....

0 · · · dnn

.

DefinitionAn n × n matrix A is called diagonalizable iff there exists aninvertible matrix P and a diagonal matrix D such that

A = PDP−1.

Remark:

I Systems of linear differential equations are simple to solve inthe case that the coefficient matrix A is diagonalizable.

I In such case, it is simple to decouple the differential equations.

I One solves the decoupled equations, and then transforms backto the original unknowns.

Page 201: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Definition

An n × n matrix D is called diagonal iff D =

d11 · · · 0...

. . ....

0 · · · dnn

.

DefinitionAn n × n matrix A is called diagonalizable iff there exists aninvertible matrix P and a diagonal matrix D such that

A = PDP−1.

Remark:

I Systems of linear differential equations are simple to solve inthe case that the coefficient matrix A is diagonalizable.

I In such case, it is simple to decouple the differential equations.

I One solves the decoupled equations, and then transforms backto the original unknowns.

Page 202: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Definition

An n × n matrix D is called diagonal iff D =

d11 · · · 0...

. . ....

0 · · · dnn

.

DefinitionAn n × n matrix A is called diagonalizable iff there exists aninvertible matrix P and a diagonal matrix D such that

A = PDP−1.

Remark:

I Systems of linear differential equations are simple to solve inthe case that the coefficient matrix A is diagonalizable.

I In such case, it is simple to decouple the differential equations.

I One solves the decoupled equations, and then transforms backto the original unknowns.

Page 203: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Theorem (Diagonalizability and eigenvectors)

An n × n matrix A is diagonalizable iff matrix A has a linearlyindependent set of n eigenvectors. Furthermore,

A = PDP−1, P = [v1, · · · , vn], D =

λ1 · · · 0...

. . ....

0 · · · λn

,

where λi , vi , for i = 1, · · · , n, are eigenvalue-eigenvector pairs of A.

Remark: It is not simple to know whether an n× n matrix A has alinearly independent set of n eigenvectors. One simple case is givenin the following result.

Theorem (n different eigenvalues)

If an n × n matrix A has n different eigenvalues, then A isdiagonalizable.

Page 204: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Theorem (Diagonalizability and eigenvectors)

An n × n matrix A is diagonalizable iff matrix A has a linearlyindependent set of n eigenvectors. Furthermore,

A = PDP−1, P = [v1, · · · , vn], D =

λ1 · · · 0...

. . ....

0 · · · λn

,

where λi , vi , for i = 1, · · · , n, are eigenvalue-eigenvector pairs of A.

Remark: It is not simple to know whether an n× n matrix A has alinearly independent set of n eigenvectors.

One simple case is givenin the following result.

Theorem (n different eigenvalues)

If an n × n matrix A has n different eigenvalues, then A isdiagonalizable.

Page 205: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Theorem (Diagonalizability and eigenvectors)

An n × n matrix A is diagonalizable iff matrix A has a linearlyindependent set of n eigenvectors. Furthermore,

A = PDP−1, P = [v1, · · · , vn], D =

λ1 · · · 0...

. . ....

0 · · · λn

,

where λi , vi , for i = 1, · · · , n, are eigenvalue-eigenvector pairs of A.

Remark: It is not simple to know whether an n× n matrix A has alinearly independent set of n eigenvectors. One simple case is givenin the following result.

Theorem (n different eigenvalues)

If an n × n matrix A has n different eigenvalues, then A isdiagonalizable.

Page 206: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Theorem (Diagonalizability and eigenvectors)

An n × n matrix A is diagonalizable iff matrix A has a linearlyindependent set of n eigenvectors. Furthermore,

A = PDP−1, P = [v1, · · · , vn], D =

λ1 · · · 0...

. . ....

0 · · · λn

,

where λi , vi , for i = 1, · · · , n, are eigenvalue-eigenvector pairs of A.

Remark: It is not simple to know whether an n× n matrix A has alinearly independent set of n eigenvectors. One simple case is givenin the following result.

Theorem (n different eigenvalues)

If an n × n matrix A has n different eigenvalues, then A isdiagonalizable.

Page 207: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Example

Show that A =

[1 33 1

]is diagonalizable.

Solution: We known that the eigenvalue eigenvector pairs are

λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

].

Introduce P and D as follows,

P =

[1 −11 1

]⇒ P−1 =

1

2

[1 1−1 1

], D =

[4 00 −2

].

Then

PDP−1 =

[1 −11 1

] [4 00 −2

]1

2

[1 1−1 1

].

Page 208: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Example

Show that A =

[1 33 1

]is diagonalizable.

Solution: We known that the eigenvalue eigenvector pairs are

λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

].

Introduce P and D as follows,

P =

[1 −11 1

]⇒ P−1 =

1

2

[1 1−1 1

], D =

[4 00 −2

].

Then

PDP−1 =

[1 −11 1

] [4 00 −2

]1

2

[1 1−1 1

].

Page 209: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Example

Show that A =

[1 33 1

]is diagonalizable.

Solution: We known that the eigenvalue eigenvector pairs are

λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

].

Introduce P and D as follows,

P =

[1 −11 1

]⇒ P−1 =

1

2

[1 1−1 1

], D =

[4 00 −2

].

Then

PDP−1 =

[1 −11 1

] [4 00 −2

]1

2

[1 1−1 1

].

Page 210: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Example

Show that A =

[1 33 1

]is diagonalizable.

Solution: We known that the eigenvalue eigenvector pairs are

λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

].

Introduce P and D as follows,

P =

[1 −11 1

]

⇒ P−1 =1

2

[1 1−1 1

], D =

[4 00 −2

].

Then

PDP−1 =

[1 −11 1

] [4 00 −2

]1

2

[1 1−1 1

].

Page 211: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Example

Show that A =

[1 33 1

]is diagonalizable.

Solution: We known that the eigenvalue eigenvector pairs are

λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

].

Introduce P and D as follows,

P =

[1 −11 1

]⇒ P−1 =

1

2

[1 1−1 1

],

D =

[4 00 −2

].

Then

PDP−1 =

[1 −11 1

] [4 00 −2

]1

2

[1 1−1 1

].

Page 212: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Example

Show that A =

[1 33 1

]is diagonalizable.

Solution: We known that the eigenvalue eigenvector pairs are

λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

].

Introduce P and D as follows,

P =

[1 −11 1

]⇒ P−1 =

1

2

[1 1−1 1

], D =

[4 00 −2

].

Then

PDP−1 =

[1 −11 1

] [4 00 −2

]1

2

[1 1−1 1

].

Page 213: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Example

Show that A =

[1 33 1

]is diagonalizable.

Solution: We known that the eigenvalue eigenvector pairs are

λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

].

Introduce P and D as follows,

P =

[1 −11 1

]⇒ P−1 =

1

2

[1 1−1 1

], D =

[4 00 −2

].

Then

PDP−1

=

[1 −11 1

] [4 00 −2

]1

2

[1 1−1 1

].

Page 214: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Example

Show that A =

[1 33 1

]is diagonalizable.

Solution: We known that the eigenvalue eigenvector pairs are

λ1 = 4, v1 =

[11

]and λ2 = −2, v2 =

[−11

].

Introduce P and D as follows,

P =

[1 −11 1

]⇒ P−1 =

1

2

[1 1−1 1

], D =

[4 00 −2

].

Then

PDP−1 =

[1 −11 1

] [4 00 −2

]1

2

[1 1−1 1

].

Page 215: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Example

Show that A =

[1 33 1

]is diagonalizable.

Solution: Recall:

PDP−1 =

[1 −11 1

] [4 00 −2

]1

2

[1 1−1 1

].

PDP−1 =

[4 24 −2

]1

2

[1 1−1 1

]=

[2 12 −1

] [1 1−1 1

]We conclude,

PDP−1 =

[1 33 1

]= A,

that is, A is diagonalizable. C

Page 216: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Example

Show that A =

[1 33 1

]is diagonalizable.

Solution: Recall:

PDP−1 =

[1 −11 1

] [4 00 −2

]1

2

[1 1−1 1

].

PDP−1 =

[4 24 −2

]1

2

[1 1−1 1

]

=

[2 12 −1

] [1 1−1 1

]We conclude,

PDP−1 =

[1 33 1

]= A,

that is, A is diagonalizable. C

Page 217: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Example

Show that A =

[1 33 1

]is diagonalizable.

Solution: Recall:

PDP−1 =

[1 −11 1

] [4 00 −2

]1

2

[1 1−1 1

].

PDP−1 =

[4 24 −2

]1

2

[1 1−1 1

]=

[2 12 −1

] [1 1−1 1

]

We conclude,

PDP−1 =

[1 33 1

]= A,

that is, A is diagonalizable. C

Page 218: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Example

Show that A =

[1 33 1

]is diagonalizable.

Solution: Recall:

PDP−1 =

[1 −11 1

] [4 00 −2

]1

2

[1 1−1 1

].

PDP−1 =

[4 24 −2

]1

2

[1 1−1 1

]=

[2 12 −1

] [1 1−1 1

]We conclude,

PDP−1 =

[1 33 1

]

= A,

that is, A is diagonalizable. C

Page 219: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Example

Show that A =

[1 33 1

]is diagonalizable.

Solution: Recall:

PDP−1 =

[1 −11 1

] [4 00 −2

]1

2

[1 1−1 1

].

PDP−1 =

[4 24 −2

]1

2

[1 1−1 1

]=

[2 12 −1

] [1 1−1 1

]We conclude,

PDP−1 =

[1 33 1

]= A,

that is, A is diagonalizable. C

Page 220: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Diagonalizable matrices.

Example

Show that A =

[1 33 1

]is diagonalizable.

Solution: Recall:

PDP−1 =

[1 −11 1

] [4 00 −2

]1

2

[1 1−1 1

].

PDP−1 =

[4 24 −2

]1

2

[1 1−1 1

]=

[2 12 −1

] [1 1−1 1

]We conclude,

PDP−1 =

[1 33 1

]= A,

that is, A is diagonalizable. C

Page 221: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Linear Algebra and differential systems (Sect. 5.4, 5.5, 5.6)

I Eigenvalues, eigenvectors of a matrix (5.5).

I Computing eigenvalues and eigenvectors (5.5).

I Diagonalizable matrices (5.5).

I n × n linear differential systems (5.4).

I Constant coefficients homogenoues systems (5.6).

I Examples: 2× 2 linear systems (5.6).

Page 222: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n linear differential systems (5.4).

DefinitionAn n × n linear differential system is a the following: Given ann× n matrix-valued function A, and an n-vector-valued function b,find an n-vector-valued function x solution of

x′(t) = A(t) x(t) + b(t).

The system above is called homogeneous iff holds b = 0.

Recall:

A(t) =

a11(t) · · · a1n(t)...

...an1(t) · · · ann(t)

, b(t) =

b1(t)...

bn(t)

, x(t) =

x1(t)...

xn(t)

.

x′(t) = A(t) x(t) + b(t) ⇔

x ′1 = a11(t) x1 + · · ·+ a1n(t) xn + b1(t)

...

x ′n = an1(t) x1 + · · ·+ ann(t) xn + bn(t).

Page 223: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n linear differential systems (5.4).

DefinitionAn n × n linear differential system is a the following: Given ann× n matrix-valued function A, and an n-vector-valued function b,find an n-vector-valued function x solution of

x′(t) = A(t) x(t) + b(t).

The system above is called homogeneous iff holds b = 0.

Recall:

A(t) =

a11(t) · · · a1n(t)...

...an1(t) · · · ann(t)

,

b(t) =

b1(t)...

bn(t)

, x(t) =

x1(t)...

xn(t)

.

x′(t) = A(t) x(t) + b(t) ⇔

x ′1 = a11(t) x1 + · · ·+ a1n(t) xn + b1(t)

...

x ′n = an1(t) x1 + · · ·+ ann(t) xn + bn(t).

Page 224: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n linear differential systems (5.4).

DefinitionAn n × n linear differential system is a the following: Given ann× n matrix-valued function A, and an n-vector-valued function b,find an n-vector-valued function x solution of

x′(t) = A(t) x(t) + b(t).

The system above is called homogeneous iff holds b = 0.

Recall:

A(t) =

a11(t) · · · a1n(t)...

...an1(t) · · · ann(t)

, b(t) =

b1(t)...

bn(t)

,

x(t) =

x1(t)...

xn(t)

.

x′(t) = A(t) x(t) + b(t) ⇔

x ′1 = a11(t) x1 + · · ·+ a1n(t) xn + b1(t)

...

x ′n = an1(t) x1 + · · ·+ ann(t) xn + bn(t).

Page 225: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n linear differential systems (5.4).

DefinitionAn n × n linear differential system is a the following: Given ann× n matrix-valued function A, and an n-vector-valued function b,find an n-vector-valued function x solution of

x′(t) = A(t) x(t) + b(t).

The system above is called homogeneous iff holds b = 0.

Recall:

A(t) =

a11(t) · · · a1n(t)...

...an1(t) · · · ann(t)

, b(t) =

b1(t)...

bn(t)

, x(t) =

x1(t)...

xn(t)

.

x′(t) = A(t) x(t) + b(t) ⇔

x ′1 = a11(t) x1 + · · ·+ a1n(t) xn + b1(t)

...

x ′n = an1(t) x1 + · · ·+ ann(t) xn + bn(t).

Page 226: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n linear differential systems (5.4).

DefinitionAn n × n linear differential system is a the following: Given ann× n matrix-valued function A, and an n-vector-valued function b,find an n-vector-valued function x solution of

x′(t) = A(t) x(t) + b(t).

The system above is called homogeneous iff holds b = 0.

Recall:

A(t) =

a11(t) · · · a1n(t)...

...an1(t) · · · ann(t)

, b(t) =

b1(t)...

bn(t)

, x(t) =

x1(t)...

xn(t)

.

x′(t) = A(t) x(t) + b(t)

x ′1 = a11(t) x1 + · · ·+ a1n(t) xn + b1(t)

...

x ′n = an1(t) x1 + · · ·+ ann(t) xn + bn(t).

Page 227: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n linear differential systems (5.4).

DefinitionAn n × n linear differential system is a the following: Given ann× n matrix-valued function A, and an n-vector-valued function b,find an n-vector-valued function x solution of

x′(t) = A(t) x(t) + b(t).

The system above is called homogeneous iff holds b = 0.

Recall:

A(t) =

a11(t) · · · a1n(t)...

...an1(t) · · · ann(t)

, b(t) =

b1(t)...

bn(t)

, x(t) =

x1(t)...

xn(t)

.

x′(t) = A(t) x(t) + b(t) ⇔

x ′1 = a11(t) x1 + · · ·+ a1n(t) xn + b1(t)

...

x ′n = an1(t) x1 + · · ·+ ann(t) xn + bn(t).

Page 228: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n linear differential systems (5.4).

Example

Find the explicit expression for the linear system x′ = Ax + b in thecase that

A =

[1 33 1

], b(t) =

[et

2e3t

], x =

[x1

x2

].

Solution: The 2× 2 linear system is given by[x ′1x ′2

]=

[1 33 1

] [x1

x2

]+

[et

2e3t

].

That is,x ′1(t) = x1(t) + 3x2(t) + et ,

x ′2(t) = 3x1(t) + x2(t) + 2e3t .

C

Page 229: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n linear differential systems (5.4).

Example

Find the explicit expression for the linear system x′ = Ax + b in thecase that

A =

[1 33 1

], b(t) =

[et

2e3t

], x =

[x1

x2

].

Solution: The 2× 2 linear system is given by[x ′1x ′2

]=

[1 33 1

] [x1

x2

]+

[et

2e3t

].

That is,x ′1(t) = x1(t) + 3x2(t) + et ,

x ′2(t) = 3x1(t) + x2(t) + 2e3t .

C

Page 230: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n linear differential systems (5.4).

Example

Find the explicit expression for the linear system x′ = Ax + b in thecase that

A =

[1 33 1

], b(t) =

[et

2e3t

], x =

[x1

x2

].

Solution: The 2× 2 linear system is given by[x ′1x ′2

]=

[1 33 1

] [x1

x2

]+

[et

2e3t

].

That is,x ′1(t) = x1(t) + 3x2(t) + et ,

x ′2(t) = 3x1(t) + x2(t) + 2e3t .

C

Page 231: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n linear differential systems (5.4).

Remark: Derivatives of vector-valued functions are computedcomponent-wise.

x′(t) =

x1(t)...

xn(t)

=

x ′1(t)...

x ′n(t)

.

Example

Compute x′ for x(t) =

e2t

sin(t)cos(t)

.

Solution:

x′(t)

e2t

sin(t)cos(t)

=

2e2t

cos(t)− sin(t)

.

C

Page 232: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n linear differential systems (5.4).

Remark: Derivatives of vector-valued functions are computedcomponent-wise.

x′(t) =

x1(t)...

xn(t)

=

x ′1(t)...

x ′n(t)

.

Example

Compute x′ for x(t) =

e2t

sin(t)cos(t)

.

Solution:

x′(t)

e2t

sin(t)cos(t)

=

2e2t

cos(t)− sin(t)

.

C

Page 233: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n linear differential systems (5.4).

Remark: Derivatives of vector-valued functions are computedcomponent-wise.

x′(t) =

x1(t)...

xn(t)

=

x ′1(t)...

x ′n(t)

.

Example

Compute x′ for x(t) =

e2t

sin(t)cos(t)

.

Solution:

x′(t)

e2t

sin(t)cos(t)

=

2e2t

cos(t)− sin(t)

.

C

Page 234: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n linear differential systems (5.4).

Remark: Derivatives of vector-valued functions are computedcomponent-wise.

x′(t) =

x1(t)...

xn(t)

=

x ′1(t)...

x ′n(t)

.

Example

Compute x′ for x(t) =

e2t

sin(t)cos(t)

.

Solution:

x′(t)

e2t

sin(t)cos(t)

=

2e2t

cos(t)− sin(t)

.

C

Page 235: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n linear differential systems (5.4).

Remark: Derivatives of vector-valued functions are computedcomponent-wise.

x′(t) =

x1(t)...

xn(t)

=

x ′1(t)...

x ′n(t)

.

Example

Compute x′ for x(t) =

e2t

sin(t)cos(t)

.

Solution:

x′(t)

e2t

sin(t)cos(t)

=

2e2t

cos(t)− sin(t)

.

C

Page 236: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

n × n linear differential systems (5.4).

Remark: Derivatives of vector-valued functions are computedcomponent-wise.

x′(t) =

x1(t)...

xn(t)

=

x ′1(t)...

x ′n(t)

.

Example

Compute x′ for x(t) =

e2t

sin(t)cos(t)

.

Solution:

x′(t)

e2t

sin(t)cos(t)

=

2e2t

cos(t)− sin(t)

.

C

Page 237: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Linear Algebra and differential systems (Sect. 5.4, 5.5, 5.6)

I Eigenvalues, eigenvectors of a matrix (5.5).

I Computing eigenvalues and eigenvectors (5.5).

I Diagonalizable matrices (5.5).

I n × n linear differential systems (5.4).

I Constant coefficients homogenoues systems (5.6).

I Examples: 2× 2 linear systems (5.6).

Page 238: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Summary:

I Given an n × n matrix A(t), n-vector b(t), find x(t) solution

x′(t) = A(t) x(t) + b(t).

I The system is homogeneous iff b = 0, that is,

x′(t) = A(t) x(t).

I The system has constant coefficients iff matrix A does notdepend on t, that is,

x′(t) = A x(t) + b(t).

I We study homogeneous, constant coefficient systems, that is,

x′(t) = A x(t).

Page 239: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Summary:

I Given an n × n matrix A(t), n-vector b(t), find x(t) solution

x′(t) = A(t) x(t) + b(t).

I The system is homogeneous iff b = 0, that is,

x′(t) = A(t) x(t).

I The system has constant coefficients iff matrix A does notdepend on t, that is,

x′(t) = A x(t) + b(t).

I We study homogeneous, constant coefficient systems, that is,

x′(t) = A x(t).

Page 240: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Summary:

I Given an n × n matrix A(t), n-vector b(t), find x(t) solution

x′(t) = A(t) x(t) + b(t).

I The system is homogeneous iff b = 0, that is,

x′(t) = A(t) x(t).

I The system has constant coefficients iff matrix A does notdepend on t, that is,

x′(t) = A x(t) + b(t).

I We study homogeneous, constant coefficient systems, that is,

x′(t) = A x(t).

Page 241: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Summary:

I Given an n × n matrix A(t), n-vector b(t), find x(t) solution

x′(t) = A(t) x(t) + b(t).

I The system is homogeneous iff b = 0, that is,

x′(t) = A(t) x(t).

I The system has constant coefficients iff matrix A does notdepend on t, that is,

x′(t) = A x(t) + b(t).

I We study homogeneous, constant coefficient systems, that is,

x′(t) = A x(t).

Page 242: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).Theorem (Diagonalizable matrix)

If n × n matrix A is diagonalizable, with a linearly independenteigenvectors set {v1, · · · , vn} and corresponding eigenvalues{λ1, · · · , λn}, then the general solution x to the homogeneous,constant coefficients, linear system

x′(t) = A x(t)

is given by the expression below, where c1, · · · , cn ∈ R,

x(t) = c1v1 eλ1t + · · ·+ cnvn eλnt .

Remark:

I The differential system for the variable x is coupled, that is, Ais not diagonal.

I We transform the system into a system for a variable y suchthat the system for y is decoupled, that is, y′(t) = D y(t),where D is a diagonal matrix.

I We solve for y(t) and we transform back to x(t).

Page 243: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).Theorem (Diagonalizable matrix)

If n × n matrix A is diagonalizable, with a linearly independenteigenvectors set {v1, · · · , vn} and corresponding eigenvalues{λ1, · · · , λn}, then the general solution x to the homogeneous,constant coefficients, linear system

x′(t) = A x(t)

is given by the expression below, where c1, · · · , cn ∈ R,

x(t) = c1v1 eλ1t + · · ·+ cnvn eλnt .

Remark:

I The differential system for the variable x is coupled,

that is, Ais not diagonal.

I We transform the system into a system for a variable y suchthat the system for y is decoupled, that is, y′(t) = D y(t),where D is a diagonal matrix.

I We solve for y(t) and we transform back to x(t).

Page 244: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).Theorem (Diagonalizable matrix)

If n × n matrix A is diagonalizable, with a linearly independenteigenvectors set {v1, · · · , vn} and corresponding eigenvalues{λ1, · · · , λn}, then the general solution x to the homogeneous,constant coefficients, linear system

x′(t) = A x(t)

is given by the expression below, where c1, · · · , cn ∈ R,

x(t) = c1v1 eλ1t + · · ·+ cnvn eλnt .

Remark:

I The differential system for the variable x is coupled, that is, Ais not diagonal.

I We transform the system into a system for a variable y suchthat the system for y is decoupled, that is, y′(t) = D y(t),where D is a diagonal matrix.

I We solve for y(t) and we transform back to x(t).

Page 245: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).Theorem (Diagonalizable matrix)

If n × n matrix A is diagonalizable, with a linearly independenteigenvectors set {v1, · · · , vn} and corresponding eigenvalues{λ1, · · · , λn}, then the general solution x to the homogeneous,constant coefficients, linear system

x′(t) = A x(t)

is given by the expression below, where c1, · · · , cn ∈ R,

x(t) = c1v1 eλ1t + · · ·+ cnvn eλnt .

Remark:

I The differential system for the variable x is coupled, that is, Ais not diagonal.

I We transform the system into a system for a variable y suchthat the system for y is decoupled,

that is, y′(t) = D y(t),where D is a diagonal matrix.

I We solve for y(t) and we transform back to x(t).

Page 246: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).Theorem (Diagonalizable matrix)

If n × n matrix A is diagonalizable, with a linearly independenteigenvectors set {v1, · · · , vn} and corresponding eigenvalues{λ1, · · · , λn}, then the general solution x to the homogeneous,constant coefficients, linear system

x′(t) = A x(t)

is given by the expression below, where c1, · · · , cn ∈ R,

x(t) = c1v1 eλ1t + · · ·+ cnvn eλnt .

Remark:

I The differential system for the variable x is coupled, that is, Ais not diagonal.

I We transform the system into a system for a variable y suchthat the system for y is decoupled, that is, y′(t) = D y(t),

where D is a diagonal matrix.

I We solve for y(t) and we transform back to x(t).

Page 247: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).Theorem (Diagonalizable matrix)

If n × n matrix A is diagonalizable, with a linearly independenteigenvectors set {v1, · · · , vn} and corresponding eigenvalues{λ1, · · · , λn}, then the general solution x to the homogeneous,constant coefficients, linear system

x′(t) = A x(t)

is given by the expression below, where c1, · · · , cn ∈ R,

x(t) = c1v1 eλ1t + · · ·+ cnvn eλnt .

Remark:

I The differential system for the variable x is coupled, that is, Ais not diagonal.

I We transform the system into a system for a variable y suchthat the system for y is decoupled, that is, y′(t) = D y(t),where D is a diagonal matrix.

I We solve for y(t) and we transform back to x(t).

Page 248: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).Theorem (Diagonalizable matrix)

If n × n matrix A is diagonalizable, with a linearly independenteigenvectors set {v1, · · · , vn} and corresponding eigenvalues{λ1, · · · , λn}, then the general solution x to the homogeneous,constant coefficients, linear system

x′(t) = A x(t)

is given by the expression below, where c1, · · · , cn ∈ R,

x(t) = c1v1 eλ1t + · · ·+ cnvn eλnt .

Remark:

I The differential system for the variable x is coupled, that is, Ais not diagonal.

I We transform the system into a system for a variable y suchthat the system for y is decoupled, that is, y′(t) = D y(t),where D is a diagonal matrix.

I We solve for y(t) and we transform back to x(t).

Page 249: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Linear Algebra and differential systems (Sect. 5.4, 5.5, 5.6)

I Eigenvalues, eigenvectors of a matrix (5.5).

I Computing eigenvalues and eigenvectors (5.5).

I Diagonalizable matrices (5.5).

I n × n linear differential systems (5.4).

I Constant coefficients homogenoues systems (5.6).

I Examples: 2× 2 linear systems (5.6).

Page 250: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Find the general solution to x′ = Ax, with A =

[1 33 1

].

Solution: Find eigenvalues and eigenvectors of A. We found that:

λ1 = 4, v(1) =

[11

], and λ2 = −2, v(2) =

[−11

].

Fundamental solutions are

x(1) =

[11

]e4t , x(2) =

[−11

]e−2t .

The general solution is x(t) = c1 x(1)(t) + c2 x(2)(t), that is,

x(t) = c1

[11

]e4t + c2

[−11

]e−2t , c1, c2 ∈ R. C

Page 251: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Find the general solution to x′ = Ax, with A =

[1 33 1

].

Solution: Find eigenvalues and eigenvectors of A.

We found that:

λ1 = 4, v(1) =

[11

], and λ2 = −2, v(2) =

[−11

].

Fundamental solutions are

x(1) =

[11

]e4t , x(2) =

[−11

]e−2t .

The general solution is x(t) = c1 x(1)(t) + c2 x(2)(t), that is,

x(t) = c1

[11

]e4t + c2

[−11

]e−2t , c1, c2 ∈ R. C

Page 252: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Find the general solution to x′ = Ax, with A =

[1 33 1

].

Solution: Find eigenvalues and eigenvectors of A. We found that:

λ1 = 4, v(1) =

[11

],

and λ2 = −2, v(2) =

[−11

].

Fundamental solutions are

x(1) =

[11

]e4t , x(2) =

[−11

]e−2t .

The general solution is x(t) = c1 x(1)(t) + c2 x(2)(t), that is,

x(t) = c1

[11

]e4t + c2

[−11

]e−2t , c1, c2 ∈ R. C

Page 253: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Find the general solution to x′ = Ax, with A =

[1 33 1

].

Solution: Find eigenvalues and eigenvectors of A. We found that:

λ1 = 4, v(1) =

[11

], and λ2 = −2, v(2) =

[−11

].

Fundamental solutions are

x(1) =

[11

]e4t , x(2) =

[−11

]e−2t .

The general solution is x(t) = c1 x(1)(t) + c2 x(2)(t), that is,

x(t) = c1

[11

]e4t + c2

[−11

]e−2t , c1, c2 ∈ R. C

Page 254: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Find the general solution to x′ = Ax, with A =

[1 33 1

].

Solution: Find eigenvalues and eigenvectors of A. We found that:

λ1 = 4, v(1) =

[11

], and λ2 = −2, v(2) =

[−11

].

Fundamental solutions are

x(1) =

[11

]e4t ,

x(2) =

[−11

]e−2t .

The general solution is x(t) = c1 x(1)(t) + c2 x(2)(t), that is,

x(t) = c1

[11

]e4t + c2

[−11

]e−2t , c1, c2 ∈ R. C

Page 255: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Find the general solution to x′ = Ax, with A =

[1 33 1

].

Solution: Find eigenvalues and eigenvectors of A. We found that:

λ1 = 4, v(1) =

[11

], and λ2 = −2, v(2) =

[−11

].

Fundamental solutions are

x(1) =

[11

]e4t , x(2) =

[−11

]e−2t .

The general solution is x(t) = c1 x(1)(t) + c2 x(2)(t), that is,

x(t) = c1

[11

]e4t + c2

[−11

]e−2t , c1, c2 ∈ R. C

Page 256: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Find the general solution to x′ = Ax, with A =

[1 33 1

].

Solution: Find eigenvalues and eigenvectors of A. We found that:

λ1 = 4, v(1) =

[11

], and λ2 = −2, v(2) =

[−11

].

Fundamental solutions are

x(1) =

[11

]e4t , x(2) =

[−11

]e−2t .

The general solution is x(t) = c1 x(1)(t) + c2 x(2)(t),

that is,

x(t) = c1

[11

]e4t + c2

[−11

]e−2t , c1, c2 ∈ R. C

Page 257: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Find the general solution to x′ = Ax, with A =

[1 33 1

].

Solution: Find eigenvalues and eigenvectors of A. We found that:

λ1 = 4, v(1) =

[11

], and λ2 = −2, v(2) =

[−11

].

Fundamental solutions are

x(1) =

[11

]e4t , x(2) =

[−11

]e−2t .

The general solution is x(t) = c1 x(1)(t) + c2 x(2)(t), that is,

x(t) = c1

[11

]e4t + c2

[−11

]e−2t , c1, c2 ∈ R. C

Page 258: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(1)′ and then we compare it with Ax(1),

x(1)′(t) =

[e4t

e4t

]′=

[4e4t

4e4t

]= 4

[11

]e4t ⇒ x(1)′ = 4x(1).

Ax(1) =

[1 33 1

] [11

]e4t =

[44

]e4t = 4

[11

]e4t ⇒ Ax(1) = 4x(1).

We conclude that x(1)′ = Ax(1).

Page 259: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(1)′

and then we compare it with Ax(1),

x(1)′(t) =

[e4t

e4t

]′=

[4e4t

4e4t

]= 4

[11

]e4t ⇒ x(1)′ = 4x(1).

Ax(1) =

[1 33 1

] [11

]e4t =

[44

]e4t = 4

[11

]e4t ⇒ Ax(1) = 4x(1).

We conclude that x(1)′ = Ax(1).

Page 260: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(1)′ and then we compare it with Ax(1),

x(1)′(t) =

[e4t

e4t

]′=

[4e4t

4e4t

]= 4

[11

]e4t ⇒ x(1)′ = 4x(1).

Ax(1) =

[1 33 1

] [11

]e4t =

[44

]e4t = 4

[11

]e4t ⇒ Ax(1) = 4x(1).

We conclude that x(1)′ = Ax(1).

Page 261: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(1)′ and then we compare it with Ax(1),

x(1)′(t) =

[e4t

e4t

]′

=

[4e4t

4e4t

]= 4

[11

]e4t ⇒ x(1)′ = 4x(1).

Ax(1) =

[1 33 1

] [11

]e4t =

[44

]e4t = 4

[11

]e4t ⇒ Ax(1) = 4x(1).

We conclude that x(1)′ = Ax(1).

Page 262: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(1)′ and then we compare it with Ax(1),

x(1)′(t) =

[e4t

e4t

]′=

[4e4t

4e4t

]

= 4

[11

]e4t ⇒ x(1)′ = 4x(1).

Ax(1) =

[1 33 1

] [11

]e4t =

[44

]e4t = 4

[11

]e4t ⇒ Ax(1) = 4x(1).

We conclude that x(1)′ = Ax(1).

Page 263: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(1)′ and then we compare it with Ax(1),

x(1)′(t) =

[e4t

e4t

]′=

[4e4t

4e4t

]= 4

[11

]e4t

⇒ x(1)′ = 4x(1).

Ax(1) =

[1 33 1

] [11

]e4t =

[44

]e4t = 4

[11

]e4t ⇒ Ax(1) = 4x(1).

We conclude that x(1)′ = Ax(1).

Page 264: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(1)′ and then we compare it with Ax(1),

x(1)′(t) =

[e4t

e4t

]′=

[4e4t

4e4t

]= 4

[11

]e4t ⇒ x(1)′ = 4x(1).

Ax(1) =

[1 33 1

] [11

]e4t =

[44

]e4t = 4

[11

]e4t ⇒ Ax(1) = 4x(1).

We conclude that x(1)′ = Ax(1).

Page 265: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(1)′ and then we compare it with Ax(1),

x(1)′(t) =

[e4t

e4t

]′=

[4e4t

4e4t

]= 4

[11

]e4t ⇒ x(1)′ = 4x(1).

Ax(1)

=

[1 33 1

] [11

]e4t =

[44

]e4t = 4

[11

]e4t ⇒ Ax(1) = 4x(1).

We conclude that x(1)′ = Ax(1).

Page 266: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(1)′ and then we compare it with Ax(1),

x(1)′(t) =

[e4t

e4t

]′=

[4e4t

4e4t

]= 4

[11

]e4t ⇒ x(1)′ = 4x(1).

Ax(1) =

[1 33 1

] [11

]e4t

=

[44

]e4t = 4

[11

]e4t ⇒ Ax(1) = 4x(1).

We conclude that x(1)′ = Ax(1).

Page 267: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(1)′ and then we compare it with Ax(1),

x(1)′(t) =

[e4t

e4t

]′=

[4e4t

4e4t

]= 4

[11

]e4t ⇒ x(1)′ = 4x(1).

Ax(1) =

[1 33 1

] [11

]e4t =

[44

]e4t

= 4

[11

]e4t ⇒ Ax(1) = 4x(1).

We conclude that x(1)′ = Ax(1).

Page 268: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(1)′ and then we compare it with Ax(1),

x(1)′(t) =

[e4t

e4t

]′=

[4e4t

4e4t

]= 4

[11

]e4t ⇒ x(1)′ = 4x(1).

Ax(1) =

[1 33 1

] [11

]e4t =

[44

]e4t = 4

[11

]e4t

⇒ Ax(1) = 4x(1).

We conclude that x(1)′ = Ax(1).

Page 269: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(1)′ and then we compare it with Ax(1),

x(1)′(t) =

[e4t

e4t

]′=

[4e4t

4e4t

]= 4

[11

]e4t ⇒ x(1)′ = 4x(1).

Ax(1) =

[1 33 1

] [11

]e4t =

[44

]e4t = 4

[11

]e4t ⇒ Ax(1) = 4x(1).

We conclude that x(1)′ = Ax(1).

Page 270: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(1)′ and then we compare it with Ax(1),

x(1)′(t) =

[e4t

e4t

]′=

[4e4t

4e4t

]= 4

[11

]e4t ⇒ x(1)′ = 4x(1).

Ax(1) =

[1 33 1

] [11

]e4t =

[44

]e4t = 4

[11

]e4t ⇒ Ax(1) = 4x(1).

We conclude that x(1)′ = Ax(1).

Page 271: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(2)′ and then we compare it with Ax(2),

x(2)′ =

[−e−2t

e−2t

]′=

[2e−2t

−2e−2t

]= −2

[−11

]e−2t ⇒ x(2)′ = −2x(2).

Ax(2) =

[1 33 1

] [−11

]e−2t =

[2−2

]e−2t = −2

[−11

]e−2t ,

So, Ax(2) = −2x(2). Hence, x(2)′ = Ax(2). C

Page 272: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(2)′

and then we compare it with Ax(2),

x(2)′ =

[−e−2t

e−2t

]′=

[2e−2t

−2e−2t

]= −2

[−11

]e−2t ⇒ x(2)′ = −2x(2).

Ax(2) =

[1 33 1

] [−11

]e−2t =

[2−2

]e−2t = −2

[−11

]e−2t ,

So, Ax(2) = −2x(2). Hence, x(2)′ = Ax(2). C

Page 273: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(2)′ and then we compare it with Ax(2),

x(2)′ =

[−e−2t

e−2t

]′=

[2e−2t

−2e−2t

]= −2

[−11

]e−2t ⇒ x(2)′ = −2x(2).

Ax(2) =

[1 33 1

] [−11

]e−2t =

[2−2

]e−2t = −2

[−11

]e−2t ,

So, Ax(2) = −2x(2). Hence, x(2)′ = Ax(2). C

Page 274: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(2)′ and then we compare it with Ax(2),

x(2)′ =

[−e−2t

e−2t

]′

=

[2e−2t

−2e−2t

]= −2

[−11

]e−2t ⇒ x(2)′ = −2x(2).

Ax(2) =

[1 33 1

] [−11

]e−2t =

[2−2

]e−2t = −2

[−11

]e−2t ,

So, Ax(2) = −2x(2). Hence, x(2)′ = Ax(2). C

Page 275: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(2)′ and then we compare it with Ax(2),

x(2)′ =

[−e−2t

e−2t

]′=

[2e−2t

−2e−2t

]

= −2

[−11

]e−2t ⇒ x(2)′ = −2x(2).

Ax(2) =

[1 33 1

] [−11

]e−2t =

[2−2

]e−2t = −2

[−11

]e−2t ,

So, Ax(2) = −2x(2). Hence, x(2)′ = Ax(2). C

Page 276: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(2)′ and then we compare it with Ax(2),

x(2)′ =

[−e−2t

e−2t

]′=

[2e−2t

−2e−2t

]= −2

[−11

]e−2t

⇒ x(2)′ = −2x(2).

Ax(2) =

[1 33 1

] [−11

]e−2t =

[2−2

]e−2t = −2

[−11

]e−2t ,

So, Ax(2) = −2x(2). Hence, x(2)′ = Ax(2). C

Page 277: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(2)′ and then we compare it with Ax(2),

x(2)′ =

[−e−2t

e−2t

]′=

[2e−2t

−2e−2t

]= −2

[−11

]e−2t ⇒ x(2)′ = −2x(2).

Ax(2) =

[1 33 1

] [−11

]e−2t =

[2−2

]e−2t = −2

[−11

]e−2t ,

So, Ax(2) = −2x(2). Hence, x(2)′ = Ax(2). C

Page 278: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(2)′ and then we compare it with Ax(2),

x(2)′ =

[−e−2t

e−2t

]′=

[2e−2t

−2e−2t

]= −2

[−11

]e−2t ⇒ x(2)′ = −2x(2).

Ax(2)

=

[1 33 1

] [−11

]e−2t =

[2−2

]e−2t = −2

[−11

]e−2t ,

So, Ax(2) = −2x(2). Hence, x(2)′ = Ax(2). C

Page 279: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(2)′ and then we compare it with Ax(2),

x(2)′ =

[−e−2t

e−2t

]′=

[2e−2t

−2e−2t

]= −2

[−11

]e−2t ⇒ x(2)′ = −2x(2).

Ax(2) =

[1 33 1

] [−11

]e−2t

=

[2−2

]e−2t = −2

[−11

]e−2t ,

So, Ax(2) = −2x(2). Hence, x(2)′ = Ax(2). C

Page 280: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(2)′ and then we compare it with Ax(2),

x(2)′ =

[−e−2t

e−2t

]′=

[2e−2t

−2e−2t

]= −2

[−11

]e−2t ⇒ x(2)′ = −2x(2).

Ax(2) =

[1 33 1

] [−11

]e−2t =

[2−2

]e−2t

= −2

[−11

]e−2t ,

So, Ax(2) = −2x(2). Hence, x(2)′ = Ax(2). C

Page 281: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(2)′ and then we compare it with Ax(2),

x(2)′ =

[−e−2t

e−2t

]′=

[2e−2t

−2e−2t

]= −2

[−11

]e−2t ⇒ x(2)′ = −2x(2).

Ax(2) =

[1 33 1

] [−11

]e−2t =

[2−2

]e−2t = −2

[−11

]e−2t ,

So, Ax(2) = −2x(2). Hence, x(2)′ = Ax(2). C

Page 282: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(2)′ and then we compare it with Ax(2),

x(2)′ =

[−e−2t

e−2t

]′=

[2e−2t

−2e−2t

]= −2

[−11

]e−2t ⇒ x(2)′ = −2x(2).

Ax(2) =

[1 33 1

] [−11

]e−2t =

[2−2

]e−2t = −2

[−11

]e−2t ,

So, Ax(2) = −2x(2).

Hence, x(2)′ = Ax(2). C

Page 283: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Verify that x(1) =

[11

]e4t , and x(2) =

[−11

]e−2t are solutions to

x′ = Ax, with A =

[1 33 1

].

Solution: We compute x(2)′ and then we compare it with Ax(2),

x(2)′ =

[−e−2t

e−2t

]′=

[2e−2t

−2e−2t

]= −2

[−11

]e−2t ⇒ x(2)′ = −2x(2).

Ax(2) =

[1 33 1

] [−11

]e−2t =

[2−2

]e−2t = −2

[−11

]e−2t ,

So, Ax(2) = −2x(2). Hence, x(2)′ = Ax(2). C

Page 284: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Solve the IVP x′ = Ax, where x(0) =

[24

], and A =

[1 33 1

].

Solution: The general solution: x(t) = c1

[11

]e4t + c2

[−11

]e−2t .

The initial condition is,

x(0) =

[24

]= c1

[11

]+ c2

[−11

].

We need to solve the linear system[1 −11 1

] [c1

c2

]=

[24

]⇒

[c1

c2

]=

1

2

[1 1−1 1

] [24

].

Therefore,

[c1

c2

]=

[31

], hence x(t) = 3

[11

]e4t +

[−11

]e−2t . C

Page 285: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Solve the IVP x′ = Ax, where x(0) =

[24

], and A =

[1 33 1

].

Solution: The general solution: x(t) = c1

[11

]e4t + c2

[−11

]e−2t .

The initial condition is,

x(0) =

[24

]= c1

[11

]+ c2

[−11

].

We need to solve the linear system[1 −11 1

] [c1

c2

]=

[24

]⇒

[c1

c2

]=

1

2

[1 1−1 1

] [24

].

Therefore,

[c1

c2

]=

[31

], hence x(t) = 3

[11

]e4t +

[−11

]e−2t . C

Page 286: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Solve the IVP x′ = Ax, where x(0) =

[24

], and A =

[1 33 1

].

Solution: The general solution: x(t) = c1

[11

]e4t + c2

[−11

]e−2t .

The initial condition is,

x(0) =

[24

]

= c1

[11

]+ c2

[−11

].

We need to solve the linear system[1 −11 1

] [c1

c2

]=

[24

]⇒

[c1

c2

]=

1

2

[1 1−1 1

] [24

].

Therefore,

[c1

c2

]=

[31

], hence x(t) = 3

[11

]e4t +

[−11

]e−2t . C

Page 287: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Solve the IVP x′ = Ax, where x(0) =

[24

], and A =

[1 33 1

].

Solution: The general solution: x(t) = c1

[11

]e4t + c2

[−11

]e−2t .

The initial condition is,

x(0) =

[24

]= c1

[11

]+ c2

[−11

].

We need to solve the linear system[1 −11 1

] [c1

c2

]=

[24

]⇒

[c1

c2

]=

1

2

[1 1−1 1

] [24

].

Therefore,

[c1

c2

]=

[31

], hence x(t) = 3

[11

]e4t +

[−11

]e−2t . C

Page 288: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Solve the IVP x′ = Ax, where x(0) =

[24

], and A =

[1 33 1

].

Solution: The general solution: x(t) = c1

[11

]e4t + c2

[−11

]e−2t .

The initial condition is,

x(0) =

[24

]= c1

[11

]+ c2

[−11

].

We need to solve the linear system[1 −11 1

] [c1

c2

]=

[24

]

⇒[c1

c2

]=

1

2

[1 1−1 1

] [24

].

Therefore,

[c1

c2

]=

[31

], hence x(t) = 3

[11

]e4t +

[−11

]e−2t . C

Page 289: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Solve the IVP x′ = Ax, where x(0) =

[24

], and A =

[1 33 1

].

Solution: The general solution: x(t) = c1

[11

]e4t + c2

[−11

]e−2t .

The initial condition is,

x(0) =

[24

]= c1

[11

]+ c2

[−11

].

We need to solve the linear system[1 −11 1

] [c1

c2

]=

[24

]⇒

[c1

c2

]=

1

2

[1 1−1 1

] [24

].

Therefore,

[c1

c2

]=

[31

], hence x(t) = 3

[11

]e4t +

[−11

]e−2t . C

Page 290: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Solve the IVP x′ = Ax, where x(0) =

[24

], and A =

[1 33 1

].

Solution: The general solution: x(t) = c1

[11

]e4t + c2

[−11

]e−2t .

The initial condition is,

x(0) =

[24

]= c1

[11

]+ c2

[−11

].

We need to solve the linear system[1 −11 1

] [c1

c2

]=

[24

]⇒

[c1

c2

]=

1

2

[1 1−1 1

] [24

].

Therefore,

[c1

c2

]=

[31

],

hence x(t) = 3

[11

]e4t +

[−11

]e−2t . C

Page 291: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Examples: 2× 2 linear systems (5.6).

Example

Solve the IVP x′ = Ax, where x(0) =

[24

], and A =

[1 33 1

].

Solution: The general solution: x(t) = c1

[11

]e4t + c2

[−11

]e−2t .

The initial condition is,

x(0) =

[24

]= c1

[11

]+ c2

[−11

].

We need to solve the linear system[1 −11 1

] [c1

c2

]=

[24

]⇒

[c1

c2

]=

1

2

[1 1−1 1

] [24

].

Therefore,

[c1

c2

]=

[31

], hence x(t) = 3

[11

]e4t +

[−11

]e−2t . C

Page 292: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Since A is diagonalizable, we know that A = PDP−1,

with

P =[v1, · · · , vn

], D = diag

[λ1, · · · , λn

].

Equivalently, P−1AP = D. Multiply x′ = A x by P−1 on the left

P−1x′(t) = P−1A x(t) ⇔(P−1x

)′=

(P−1AP

) (P−1x

).

Introduce the new unknown y(t) = P−1x(t), then

y′(t) = D y(t) ⇔

y ′1(t) = λ1 y1(t),

...

y ′n(t) = λn yn(t),

⇒ y(t) =

c1 eλ1t

...cn eλnt

.

Page 293: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Since A is diagonalizable, we know that A = PDP−1, with

P =[v1, · · · , vn

], D = diag

[λ1, · · · , λn

].

Equivalently, P−1AP = D. Multiply x′ = A x by P−1 on the left

P−1x′(t) = P−1A x(t) ⇔(P−1x

)′=

(P−1AP

) (P−1x

).

Introduce the new unknown y(t) = P−1x(t), then

y′(t) = D y(t) ⇔

y ′1(t) = λ1 y1(t),

...

y ′n(t) = λn yn(t),

⇒ y(t) =

c1 eλ1t

...cn eλnt

.

Page 294: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Since A is diagonalizable, we know that A = PDP−1, with

P =[v1, · · · , vn

], D = diag

[λ1, · · · , λn

].

Equivalently, P−1AP = D.

Multiply x′ = A x by P−1 on the left

P−1x′(t) = P−1A x(t) ⇔(P−1x

)′=

(P−1AP

) (P−1x

).

Introduce the new unknown y(t) = P−1x(t), then

y′(t) = D y(t) ⇔

y ′1(t) = λ1 y1(t),

...

y ′n(t) = λn yn(t),

⇒ y(t) =

c1 eλ1t

...cn eλnt

.

Page 295: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Since A is diagonalizable, we know that A = PDP−1, with

P =[v1, · · · , vn

], D = diag

[λ1, · · · , λn

].

Equivalently, P−1AP = D. Multiply x′ = A x by P−1 on the left

P−1x′(t) = P−1A x(t)

⇔(P−1x

)′=

(P−1AP

) (P−1x

).

Introduce the new unknown y(t) = P−1x(t), then

y′(t) = D y(t) ⇔

y ′1(t) = λ1 y1(t),

...

y ′n(t) = λn yn(t),

⇒ y(t) =

c1 eλ1t

...cn eλnt

.

Page 296: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Since A is diagonalizable, we know that A = PDP−1, with

P =[v1, · · · , vn

], D = diag

[λ1, · · · , λn

].

Equivalently, P−1AP = D. Multiply x′ = A x by P−1 on the left

P−1x′(t) = P−1A x(t) ⇔(P−1x

)′=

(P−1AP

) (P−1x

).

Introduce the new unknown y(t) = P−1x(t), then

y′(t) = D y(t) ⇔

y ′1(t) = λ1 y1(t),

...

y ′n(t) = λn yn(t),

⇒ y(t) =

c1 eλ1t

...cn eλnt

.

Page 297: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Since A is diagonalizable, we know that A = PDP−1, with

P =[v1, · · · , vn

], D = diag

[λ1, · · · , λn

].

Equivalently, P−1AP = D. Multiply x′ = A x by P−1 on the left

P−1x′(t) = P−1A x(t) ⇔(P−1x

)′=

(P−1AP

) (P−1x

).

Introduce the new unknown y(t) = P−1x(t),

then

y′(t) = D y(t) ⇔

y ′1(t) = λ1 y1(t),

...

y ′n(t) = λn yn(t),

⇒ y(t) =

c1 eλ1t

...cn eλnt

.

Page 298: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Since A is diagonalizable, we know that A = PDP−1, with

P =[v1, · · · , vn

], D = diag

[λ1, · · · , λn

].

Equivalently, P−1AP = D. Multiply x′ = A x by P−1 on the left

P−1x′(t) = P−1A x(t) ⇔(P−1x

)′=

(P−1AP

) (P−1x

).

Introduce the new unknown y(t) = P−1x(t), then

y′(t) = D y(t)

y ′1(t) = λ1 y1(t),

...

y ′n(t) = λn yn(t),

⇒ y(t) =

c1 eλ1t

...cn eλnt

.

Page 299: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Since A is diagonalizable, we know that A = PDP−1, with

P =[v1, · · · , vn

], D = diag

[λ1, · · · , λn

].

Equivalently, P−1AP = D. Multiply x′ = A x by P−1 on the left

P−1x′(t) = P−1A x(t) ⇔(P−1x

)′=

(P−1AP

) (P−1x

).

Introduce the new unknown y(t) = P−1x(t), then

y′(t) = D y(t) ⇔

y ′1(t) = λ1 y1(t),

...

y ′n(t) = λn yn(t),

⇒ y(t) =

c1 eλ1t

...cn eλnt

.

Page 300: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Since A is diagonalizable, we know that A = PDP−1, with

P =[v1, · · · , vn

], D = diag

[λ1, · · · , λn

].

Equivalently, P−1AP = D. Multiply x′ = A x by P−1 on the left

P−1x′(t) = P−1A x(t) ⇔(P−1x

)′=

(P−1AP

) (P−1x

).

Introduce the new unknown y(t) = P−1x(t), then

y′(t) = D y(t) ⇔

y ′1(t) = λ1 y1(t),

...

y ′n(t) = λn yn(t),

⇒ y(t) =

c1 eλ1t

...cn eλnt

.

Page 301: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Recall: y(t) = P−1x(t), and y(t) =

c1 eλ1t

...cn eλnt

.

Transform back to x(t), that is,

x(t) = P y(t) =[v1, · · · , vn

] c1 eλ1t

...cn eλnt

We conclude: x(t) = c1v1 eλ1t + · · ·+ cnvn eλnt .

Remark:

I A vi = λivi .

I The eigenvalues and eigenvectors of A are crucial to solve thedifferential linear system x′(t) = A x(t).

Page 302: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Recall: y(t) = P−1x(t), and y(t) =

c1 eλ1t

...cn eλnt

.

Transform back to x(t),

that is,

x(t) = P y(t) =[v1, · · · , vn

] c1 eλ1t

...cn eλnt

We conclude: x(t) = c1v1 eλ1t + · · ·+ cnvn eλnt .

Remark:

I A vi = λivi .

I The eigenvalues and eigenvectors of A are crucial to solve thedifferential linear system x′(t) = A x(t).

Page 303: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Recall: y(t) = P−1x(t), and y(t) =

c1 eλ1t

...cn eλnt

.

Transform back to x(t), that is,

x(t) = P y(t)

=[v1, · · · , vn

] c1 eλ1t

...cn eλnt

We conclude: x(t) = c1v1 eλ1t + · · ·+ cnvn eλnt .

Remark:

I A vi = λivi .

I The eigenvalues and eigenvectors of A are crucial to solve thedifferential linear system x′(t) = A x(t).

Page 304: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Recall: y(t) = P−1x(t), and y(t) =

c1 eλ1t

...cn eλnt

.

Transform back to x(t), that is,

x(t) = P y(t) =[v1, · · · , vn

] c1 eλ1t

...cn eλnt

We conclude: x(t) = c1v1 eλ1t + · · ·+ cnvn eλnt .

Remark:

I A vi = λivi .

I The eigenvalues and eigenvectors of A are crucial to solve thedifferential linear system x′(t) = A x(t).

Page 305: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Recall: y(t) = P−1x(t), and y(t) =

c1 eλ1t

...cn eλnt

.

Transform back to x(t), that is,

x(t) = P y(t) =[v1, · · · , vn

] c1 eλ1t

...cn eλnt

We conclude: x(t) = c1v1 eλ1t + · · ·+ cnvn eλnt .

Remark:

I A vi = λivi .

I The eigenvalues and eigenvectors of A are crucial to solve thedifferential linear system x′(t) = A x(t).

Page 306: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Recall: y(t) = P−1x(t), and y(t) =

c1 eλ1t

...cn eλnt

.

Transform back to x(t), that is,

x(t) = P y(t) =[v1, · · · , vn

] c1 eλ1t

...cn eλnt

We conclude: x(t) = c1v1 eλ1t + · · ·+ cnvn eλnt .

Remark:

I A vi = λivi .

I The eigenvalues and eigenvectors of A are crucial to solve thedifferential linear system x′(t) = A x(t).

Page 307: Review of Linear Algebra (Sect. 5.2, 5.3)€¦ · Review of Linear Algebra (Sect. 5.2, 5.3) This Class: I n ×n systems of linear algebraic equations. I The matrix-vector product.

Constant coefficients homogenoues systems (5.6).

Proof: Recall: y(t) = P−1x(t), and y(t) =

c1 eλ1t

...cn eλnt

.

Transform back to x(t), that is,

x(t) = P y(t) =[v1, · · · , vn

] c1 eλ1t

...cn eλnt

We conclude: x(t) = c1v1 eλ1t + · · ·+ cnvn eλnt .

Remark:

I A vi = λivi .

I The eigenvalues and eigenvectors of A are crucial to solve thedifferential linear system x′(t) = A x(t).