The Characteristic Equation
The algorithm for finding eigenvalues and eigenvectors.
In our last lesson, we developed a deep, intuitive understanding of what eigenvalues and eigenvectors are. We established that they are the key to unlocking the soul of a matrix. We concluded with the master formula, the characteristic equation, which is the key to finding them:
det(A−λI)=0 Today, we get our hands dirty. We will use this equation to build a step-by-step algorithm for finding the eigenvalues and eigenvectors of any square matrix.
The process is a two-act play:
- Act I: Find the Eigenvalues. We solve the characteristic equation for all possible values of `λ`.
- Act II: Find the Eigenvectors. For each eigenvalue `λ` we found, we plug it back into `(A - λI)v = 0` and find the basis for the null space to get the corresponding eigenvector(s) `v`.
The Matrix of the Day
Let's find the eigenvalues and eigenvectors of this matrix `A`:
A=[32−10] Act I: Find the Eigenvalues (λ)
Step 1: Set up the matrix `(A - λI)`.
This means we subtract `λ` from every diagonal entry of `A`.
A−λI=[32−10]−λ[1001]=[3−λ2−1−λ] Step 2: Calculate the determinant of `(A - λI)`.
This resulting polynomial in `λ` is called the **characteristic polynomial**.
det(A−λI)=(3−λ)(−λ)−(−1)(2)=−3λ+λ2+2=λ2−3λ+2 Step 3: Set the characteristic polynomial to zero and solve for `λ`.
λ2−3λ+2=0 This is a simple quadratic equation. We can factor it:
(λ−1)(λ−2)=0 The solutions are `λ₁ = 1` and `λ₂ = 2`. These are our eigenvalues!
Act II: Find the Eigenvectors (v)
We must do this for each eigenvalue separately.
Case 1: Finding the eigenvector for `λ₁ = 1`
Step 1: Plug `λ = 1` into the matrix `(A - λI)`.
(A−1I)=[3−12−10−1]=[22−1−1] Step 2: Solve the system `(A - I)v = 0` by finding the null space.
[22−1−1][xy]=[00] This translates to the equation `2x - y = 0`, which means `y = 2x`.
Step 3: Write the solution in vector form.
v=[x2x]=x[12] The basis vector for this null space, `v₁ = [1, 2]`, is our first eigenvector.
Case 2: Finding the eigenvector for `λ₂ = 2`
Step 1: Plug `λ = 2` into `(A - λI)`.
(A−2I)=[3−22−10−2]=[12−1−2] Step 2: Solve the system `(A - 2I)v = 0`.
[12−1−2][xy]=[00] This gives the equation `x - y = 0`, which means `x = y`.
Step 3: Write the solution in vector form.
v=[xx]=x[11] The basis vector for this null space, `v₂ = [1, 1]`, is our second eigenvector.