Eigenvalues and eigenvectors
Most vectors change direction when a matrix acts on them. An eigenvector is only stretched (or flipped): Mv = λv. The stretch factor λ is its eigenvalue. Eigenvalues reveal the long-term behaviour of repeated processes, from population models to how search engines rank pages.
Key facts
- A non-zero vector v is an eigenvector of M with eigenvalue λ when Mv = λv.
- Eigenvalues solve the characteristic equation det(M − λI) = 0. For a 2 × 2 matrix this is λ² − (trace)λ + det = 0.
- The eigenvalues add up to the trace (the sum of the diagonal) and multiply to the determinant.
- For each λ, solve (M − λI)v = 0 to find its eigenvectors. Any non-zero multiple also works.
- A triangular matrix has its eigenvalues on the diagonal.
- If M = PDP⁻¹ with D diagonal, then Mⁿ = PDⁿP⁻¹. For a transition (Markov) matrix, the eigenvector with eigenvalue 1 is the long-run state.
Worked examples
Example 1
Find the eigenvalues of [[4, 1], [2, 3]].
- Find the trace and the determinant. trace = 4 + 3 = 7, det = 12 − 2 = 10
- Write the characteristic equation. λ² − 7λ + 10 = 0
- Factorise. (λ − 2)(λ − 5) = 0, λ = 2, λ = 5
Answer: λ = 2 and λ = 5
Example 2
Find an eigenvector for each eigenvalue of [[4, 1], [2, 3]].
- For λ = 5, solve [[−1, 1], [2, −2]](x, y) = 0. This gives y = x. v = (1, 1)
- For λ = 2, solve [[2, 1], [2, 1]](x, y) = 0. This gives y = −2x. v = (1, −2)
- Check the second one. M(1, −2) = (2, −4) = 2(1, −2)
Answer: (1, 1) for λ = 5, and (1, −2) for λ = 2
Example 3
Each month 10% of network A’s customers move to B, and 20% of B’s move to A. Find the long-run percentage using A.
- Write the transition matrix. Column 1 is from A and column 2 is from B. [[0.9, 0.2], [0.1, 0.8]]
- Solve (M − I)v = 0. −0.1x + 0.2y = 0, x = 2y
- The long-run split is 2 : 1, so A has 2/3 ≈ 66.7%
Answer: 2/3 ≈ 66.7%