Eigenvector and Eigenvalue
Eigenvector and Eigenvalue
Advanced
They have many uses!
Eigenvector
The Mathematics Of It
For a square matrix A, an Eigenvector and Eigenvalue make this equation true (if we can find
them):
Av = λ v
Matrix Eigenvalue
Eigenvector
We will see how to find them soon, but first let us see one in action:
an eigenvector is:
1
4
with a matching eigenvalue of 6
Av gives us:
−6 3 1 −6×1+3×4 6
= =
4 5 4 4×1+5×4 24
λv gives us :
1 6
6 =
4 24
Notice how we multiply a matrix by a vector and get the same result as when we multiply a
scalar (just a number) by that vector.
Av = λv
Av = λIv
Av − λIv = 0
| A − λI | = 0
Start with | A − λI | = 0
| −6 3
4 5
−λ
1 0
0 1
| =0
Which is:
−6−λ 3
=0
4 5−λ
Calculating that determinant gets:
(−6−λ)(5−λ) − 3×4 = 0
λ2 + λ − 42 = 0
λ = −7 or 6
Start with:
Av = λv
−6x + 3y = 6x
4x + 5y = 6y
−12x + 3y = 0
4x − 1y = 0
Either equation reveals that y = 4x, so the eigenvector is any non-zero multiple of
this:
1
4
And we get the solution shown at the top of the page:
−6 3 1 −6×1+3×4 6
= =
4 5 4 4×1+5×4 24
... and also ...
1 6
6 =
4 24
So Av = λv
Now it is your turn to find the eigenvector for the other eigenvalue of −7
Why?
What is the purpose of these?
One of the cool things is we can use matrices to do transformations in space, which is used
a lot in computer graphics.
In that case the eigenvector is "the direction that doesn't change direction" !
1 means no change,
Why "Eigen"
First calculate A − λI
2 0 0 1 0 0 2−λ 0 0
0 4 5 − λ 0 1 0 = 0 4−λ 5
0 4 3 0 0 1 0 4 3−λ
Now the determinant should equal zero:
2−λ 0 0
0 4−λ 5 =0
0 4 3−λ
Which is:
This ends up being a cubic equation, but just looking at it here we see one of the roots is
2 (because of 2−λ), and the part inside the square brackets is Quadratic, with roots of
−1 and 8.
2x = −x
4y + 5z = −y
4y + 3z = −z
3x = 0
5y + 5z = 0
4y + 4z = 0
0
1
−1
TEST Av:
2 0 0 0 0 0
0 4 5 1 = 4−5 = −1
0 4 3 −1 4−3 1
And λv:
0 0
−1 1 = −1
−1 1
So Av = λv, yay!
(You can try your hand at the eigenvalues of 2 and 8)