Linear Algebra
Linear Algebra
Linear Algebra
M. van der Weiden
Week 5
4 oktober 2022
1 / 25
Linear Algebra
Recap
x1 + x2 = −1
x1 + 2x2 = 0
x1 + 3x2 = 1
Calculate the rank(A) and the rank(A : b) and conclude how many free
variables there are.
2 / 25
Linear Algebra
Answer recap
3 / 25
Linear Algebra
Subjects
Eigenvalues
Eigenvectors
4 / 25
Linear Algebra
Properties of eigenvalues
5 / 25
Linear Algebra
Eigenvalues
A~x = λI~x
A~x − λI~x = 0
(A − λI)~x = 0
~x = 0 is not allowed. This means that (A − λI) needs to have a solution and
therefore the matrix A needs to be invertible, no eigenvalue of zero.
6 / 25
Linear Algebra
Eigenvalues example 2 × 2
2 −1
Find the eigenvalues of A = .
−1 2
7 / 25
Linear Algebra
Eigenvalues example 2 × 2
2 −1
Find the eigenvalues of A = .
−1 2
2 −1 λ 0 2 − λ −1
A − λI = − =
−1 2 0 λ −1 2 − λ
2 − λ −1
det(A − λI) = det
=
−1 2 − λ
(2 − λ)2 − (−1)2 = λ2 − 4λ + 3 = (λ − 3)(λ − 1) = 0
9 / 25
Linear Algebra
Eigenvectors example 2 × 2
How to find the eigenvector that corresponds to the eigenvalue λ1 = 1?
(A − λ1 )~x = 0 needs to be solved. Lets first find A − λ1 for λ1 = 1:
2 − λ −1 2 − 1 −1 1 −1
= =
−1 2 − λ −1 2 − 1 −1 1
Then use the augmented matrix
1 −1 0 1 −1 0
−−−−→
−1 1 0 r2+r1 0 0 0
11 / 25
Linear Algebra
Eigenvalues example 3 × 3
4 −5 −10
How to calculate the eigenvalues of the matrix A = 2 3 −2 .
2 −6 −8
12 / 25
Linear Algebra
Eigenvalues example 3 × 3
4 −5 −10
How to calculate the eigenvalues of the matrix A = 2 3 −2 .
2 −6 −8
4 −5 −10 λ 0 0 4 − λ −5 −10
A − λI = 2 3 −2 − 0 λ 0 = 2 3−λ −2
2 −6 −8 0 0 λ 2 −6 −8 − λ
4 − λ −5 −10
det(A − λI) = 2
3−λ −2 =
2 −6 −8 − λ
3 − λ −2 −5 −10 −5 −10
(4 − λ)
− 2 + 2
−6 −8 − λ −6 −8 − λ 3 − λ −2
13 / 25
Linear Algebra
Eigenvalues example 3 × 3
14 / 25
Linear Algebra
Eigenvector example 3 × 3
15 / 25
Linear Algebra
Eigenvector example 3 × 3
Now make the augmented matrix and preform some row operations to
simplify the matrix.
16 / 25
Linear Algebra
Eigenvector example 3 × 3
3 −5 −10 0 1 1 −1 0
2 2 −2 0 −−−−−−−−−−−−−−→ 3 −5 −10 0 −−−−−−−−−−−−−→
r2/2 and switch with r1 r2−3∗r1 and r3−2∗r1
2 −6 −9 0 2 −6 −9 0
1 1 −1 0 1 1 −1 0
0 −8 −7 0 −−−−→ 0 −8 −7 0
r3−r2
0 −8 −7 0 0 0 0 0
There is a zero row this means that there is one free variable: (lets choose)
x3 = α and find the relationship between the 3 variables.
17 / 25
Linear Algebra
Eigenvector example 3 × 3
x1 + x2 − x3 = 0
−8x2 − 7x3 = 0
x3 = α
7
From the second equation it is found that x2 = − α, substituting this into
8
7 15
the first equation gives that x1 = α + 1α = α.
8 8
18 / 25
Linear Algebra
Eigenvector example 3 × 3
19 / 25
Linear Algebra
Exercise 2
20 / 25
Linear Algebra
21 / 25
Linear Algebra
Course schedule week 5
22 / 25
Linear Algebra
Answer exercise 1
23 / 25
Linear Algebra
Answers exercise 2
λ2 = 4
0 −5 −10 0 0 −1 −2 0
2 −1 −2 0 −−−−−−−−−→ 2 −1 −2 0
row operations
2 −6 −12 0 0 0 0 0
0
v~2 = γ −2
1
24 / 25
Linear Algebra
Answers exercise 2
λ3 = −6
2 −5 −10 0 0 1 0 0
2 3 −2 0 −−−−−−−−−→ 0 1 0 0
row operations
2 −6 −2 0 2 −6 −2 0
1
v~3 = β 0
1
25 / 25