Introduction to Eigenvectors & Eigenvalues
Eigenvalues and eigenvectors are foundational concepts in linear algebra, especially relevant in areas like machine learning, data compression, and system dynamics. They allow you to understand how a matrix stretches or rotates vectors.
What Are Eigenvectors and Eigenvalues?
An eigenvector is a non-zero vector that only gets scaled (not rotated) when a matrix is applied to it.
The scalar is called the eigenvalue.
Where:
- A is a square matrix;
- λ is the eigenvalue (a scalar);
- v is the eigenvector (non-zero vector).
Example Matrix and Setup
Suppose:
A=[4213]We want to find values of λ and vectors v such that:
Av=λvCharacteristic Equation
To find λ, solve the characteristic equation:
det(A−λI)=0Substitute:
det[4−λ213−λ]=0Compute determinant:
(4−λ)(3−λ)−2=0Solve:
λ2−7λ+10=0λ=5,λ=2Find Eigenvectors
Now solve for each λ.
For λ=5:
Subtract:
(A−5I)v=0 [−121−2]v=0Solve:
v1=v2So:
v=[11]For λ=2:
Subtract:
(A−2I)v=0 [2211]v=0Solve:
v1=−21v2So:
v=[−12]Confirm the Eigenpair
Once you have an eigenvalue λ and an eigenvector v, verify that:
Av=λvExample:
A[11]=[55]=5[11]Eigenvectors are not unique.
If v is an eigenvector, then so is any scalar multiple cv for c=0.
Example:
[22]is also an eigenvector for λ=5.
Diagonalization (Advanced)
If a matrix A has n linearly independent eigenvectors, then it can be diagonalized:
A=PDP−1Where:
- P is the matrix of eigenvectors as columns;
- D is a diagonal matrix of eigenvalues;
- P−1 is the inverse of P.
You can confirm diagonalization by checking A=PDP−1.
This is useful for computing powers of A:
Example
Let:
A=[3012]Find eigenvalues:
det(A−λI)=0Solve:
λ=3,λ=2Find eigenvectors:
For λ=3:
v=[10]For λ=2:
v=[−11]Construct P,D and P−1:
P=[10−11],D=[3002],P−1=[1011]Compute:
PDP−1=[3012]=AConfirmed.
Why this matters:
To compute powers of A, like Ak. Since D is diagonal:
Ak=PDkP−1This makes calculating matrix powers much faster.
Important Notes
- Eigenvalues and eigenvectors are directions that remain unchanged under transformation;
- λ stretches v;
- λ=1 keeps v unchanged in magnitude.
-
Which equation finds eigenvalues?
a) Av=v
b) Av=0
c) A=PDP−1
d) det(A−λI)=0 ✅ -
In the result v=[−12], the eigenvector is:
a) [1,1]
b) [2,2]
c) [0,1]
d) [−1,2] ✅
1. What does λ represent?
2. What is required for v to be an eigenvector?
3. What is the characteristic equation used for?
4. If λ=3 is an eigenvalue of A, what do you subtract?
5. Which matrix has eigenvalues 2 and 3?
Kiitos palautteestasi!
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Awesome!
Completion rate improved to 1.89
Introduction to Eigenvectors & Eigenvalues
Pyyhkäise näyttääksesi valikon
Eigenvalues and eigenvectors are foundational concepts in linear algebra, especially relevant in areas like machine learning, data compression, and system dynamics. They allow you to understand how a matrix stretches or rotates vectors.
What Are Eigenvectors and Eigenvalues?
An eigenvector is a non-zero vector that only gets scaled (not rotated) when a matrix is applied to it.
The scalar is called the eigenvalue.
Where:
- A is a square matrix;
- λ is the eigenvalue (a scalar);
- v is the eigenvector (non-zero vector).
Example Matrix and Setup
Suppose:
A=[4213]We want to find values of λ and vectors v such that:
Av=λvCharacteristic Equation
To find λ, solve the characteristic equation:
det(A−λI)=0Substitute:
det[4−λ213−λ]=0Compute determinant:
(4−λ)(3−λ)−2=0Solve:
λ2−7λ+10=0λ=5,λ=2Find Eigenvectors
Now solve for each λ.
For λ=5:
Subtract:
(A−5I)v=0 [−121−2]v=0Solve:
v1=v2So:
v=[11]For λ=2:
Subtract:
(A−2I)v=0 [2211]v=0Solve:
v1=−21v2So:
v=[−12]Confirm the Eigenpair
Once you have an eigenvalue λ and an eigenvector v, verify that:
Av=λvExample:
A[11]=[55]=5[11]Eigenvectors are not unique.
If v is an eigenvector, then so is any scalar multiple cv for c=0.
Example:
[22]is also an eigenvector for λ=5.
Diagonalization (Advanced)
If a matrix A has n linearly independent eigenvectors, then it can be diagonalized:
A=PDP−1Where:
- P is the matrix of eigenvectors as columns;
- D is a diagonal matrix of eigenvalues;
- P−1 is the inverse of P.
You can confirm diagonalization by checking A=PDP−1.
This is useful for computing powers of A:
Example
Let:
A=[3012]Find eigenvalues:
det(A−λI)=0Solve:
λ=3,λ=2Find eigenvectors:
For λ=3:
v=[10]For λ=2:
v=[−11]Construct P,D and P−1:
P=[10−11],D=[3002],P−1=[1011]Compute:
PDP−1=[3012]=AConfirmed.
Why this matters:
To compute powers of A, like Ak. Since D is diagonal:
Ak=PDkP−1This makes calculating matrix powers much faster.
Important Notes
- Eigenvalues and eigenvectors are directions that remain unchanged under transformation;
- λ stretches v;
- λ=1 keeps v unchanged in magnitude.
-
Which equation finds eigenvalues?
a) Av=v
b) Av=0
c) A=PDP−1
d) det(A−λI)=0 ✅ -
In the result v=[−12], the eigenvector is:
a) [1,1]
b) [2,2]
c) [0,1]
d) [−1,2] ✅
1. What does λ represent?
2. What is required for v to be an eigenvector?
3. What is the characteristic equation used for?
4. If λ=3 is an eigenvalue of A, what do you subtract?
5. Which matrix has eigenvalues 2 and 3?
Kiitos palautteestasi!