What eigenvalues and eigenvectors are
Before you start: you need 3×3 determinants and how to solve a homogeneous system.
Multiplying a vector by a matrix usually turns it to point in a new direction. A few special vectors don't turn: the matrix only stretches them, shrinks them or flips them. Those are the eigenvectors, and the stretch factor is the eigenvalue.
For a square matrix \(A\), a number \(\lambda\) is an eigenvalue and a non-zero column vector \(X\) is a matching eigenvector if \[AX = \lambda X\]
Characteristic equation
\(AX = \lambda X\) means \((A - \lambda I)X = 0\). A non-zero solution exists only when \[|A - \lambda I| = 0\]
For a 2×2 matrix this is \(\lambda^2 - (\operatorname{tr}A)\lambda + |A| = 0\).
For a 3×3 matrix it is \(\lambda^3 - (\operatorname{tr}A)\lambda^2 + S_2\lambda - |A| = 0\), where \(S_2\) is the sum of the three 2×2 minors on the main diagonal.
Here \(\operatorname{tr}A\) is the trace, the sum of the diagonal entries. Using these forms saves you expanding \(|A - \lambda I|\) with \(\lambda\) everywhere, which is where most sign errors happen.
Eigenvectors are never unique: if \(X\) works, so does \(2X\) or \(-X\). Any non-zero multiple is a correct answer.
Finding them, step by step
- Write the characteristic equation using the trace, \(S_2\) and \(|A|\).
- Solve it. For a cubic, try small integers that divide \(|A|\) first, then factorise.
- For each eigenvalue, solve \((A - \lambda I)X = 0\). Two independent rows of \(A - \lambda I\) are enough. The rule of cross-multiplication on them gives \(x : y : z\) directly.
- Check one eigenvector by computing \(AX\) and comparing it with \(\lambda X\).
If an eigenvalue is repeated, \(A - \lambda I\) may have rank 1. Then there is only one equation, and you can choose two of the unknowns freely, giving two independent eigenvectors. If the rank is 2 you get only one. Examples 4 and 5 show both cases.
Properties that save time
- \(\lambda_1 + \lambda_2 + \dots + \lambda_n = \operatorname{tr}A\) and \(\lambda_1\lambda_2\cdots\lambda_n = |A|\).
- \(A\) is singular \(\iff\) 0 is an eigenvalue.
- \(A^{-1}\) has eigenvalues \(\dfrac{1}{\lambda_i}\); \(A^k\) has \(\lambda_i^k\); \(kA\) has \(k\lambda_i\); \(A - kI\) has \(\lambda_i - k\). The eigenvectors stay the same.
- \(\operatorname{adj}A\) has eigenvalues \(\dfrac{|A|}{\lambda_i}\).
- \(A\) and \(A^T\) have the same eigenvalues.
- A triangular (or diagonal) matrix has its diagonal entries as eigenvalues.
- A real symmetric matrix has only real eigenvalues, and eigenvectors for different eigenvalues are orthogonal.
The \(A^{-1}\) rule comes straight from the definition: multiply \(AX = \lambda X\) by \(A^{-1}\) to get \(X = \lambda A^{-1}X\), so \(A^{-1}X = \tfrac{1}{\lambda}X\). The others work the same way.
Solved examples
Example 1: A 2×2 matrix
EasyFind the eigenvalues and eigenvectors of \(A = \begin{bmatrix} 4 & 1 \\ 2 & 3 \end{bmatrix}\).
- \(\operatorname{tr}A = 7\), \(|A| = 12 - 2 = 10\). Characteristic equation: \(\lambda^2 - 7\lambda + 10 = 0\), so \(\lambda = 2, 5\).
- \(\lambda = 5\): \(A - 5I = \begin{bmatrix} -1 & 1 \\ 2 & -2 \end{bmatrix}\) gives \(-x + y = 0\). Take \(X_1 = (1, 1)^T\).
- \(\lambda = 2\): \(A - 2I = \begin{bmatrix} 2 & 1 \\ 2 & 1 \end{bmatrix}\) gives \(2x + y = 0\). Take \(X_2 = (1, -2)^T\).
- Check: \(A\begin{bmatrix} 1 \\ -2 \end{bmatrix} = \begin{bmatrix} 2 \\ -4 \end{bmatrix} = 2\begin{bmatrix} 1 \\ -2 \end{bmatrix}\). ✓
Answer\(\lambda = 5,\ X = (1, 1)^T\); \(\lambda = 2,\ X = (1, -2)^T\)
Example 2: A triangular matrix
EasyWrite down the eigenvalues of \(A = \begin{bmatrix} 2 & 3 & 1 \\ 0 & 5 & 4 \\ 0 & 0 & -1 \end{bmatrix}\).
- \(A - \lambda I\) is also upper triangular, so its determinant is the product of its diagonal: \((2 - \lambda)(5 - \lambda)(-1 - \lambda)\).
Answer\(\lambda = 2, 5, -1\)
Example 3: A 3×3 matrix, distinct eigenvalues
MediumFind the eigenvalues and eigenvectors of \[A = \begin{bmatrix} 1 & 0 & -1 \\ 1 & 2 & 1 \\ 2 & 2 & 3 \end{bmatrix}\]
- \(\operatorname{tr}A = 6\). \(S_2 = (6 - 2) + (3 + 2) + (2 - 0) = 11\). \(|A| = 1(6 - 2) - 0 - 1(2 - 4) = 6\).
- \(\lambda^3 - 6\lambda^2 + 11\lambda - 6 = 0\). \(\lambda = 1\) works, and the rest factorises: \((\lambda - 1)(\lambda - 2)(\lambda - 3) = 0\).
- \(\lambda = 1\): \(A - I\) gives \(-z = 0\) and \(x + y + z = 0\), so \(X_1 = (1, -1, 0)^T\).
- \(\lambda = 2\): \(A - 2I\) gives \(-x - z = 0\) and \(2x + 2y + z = 0\). With \(z = 2\): \(x = -2\), \(y = 1\). \(X_2 = (-2, 1, 2)^T\).
- \(\lambda = 3\): \(A - 3I\) gives \(-2x - z = 0\) and \(2x + 2y = 0\). With \(x = 1\): \(y = -1\), \(z = -2\). \(X_3 = (1, -1, -2)^T\).
Answer\(\lambda = 1, 2, 3\) with eigenvectors \((1, -1, 0)^T\), \((-2, 1, 2)^T\), \((1, -1, -2)^T\)
Example 4: A repeated eigenvalue with two eigenvectors
MediumFind the eigenvalues and eigenvectors of \[A = \begin{bmatrix} 2 & 2 & 1 \\ 1 & 3 & 1 \\ 1 & 2 & 2 \end{bmatrix}\]
- \(\operatorname{tr}A = 7\), \(S_2 = 4 + 3 + 4 = 11\), \(|A| = 5\). So \(\lambda^3 - 7\lambda^2 + 11\lambda - 5 = (\lambda - 1)^2(\lambda - 5) = 0\).
- \(\lambda = 5\): two rows of \(A - 5I\) are \((-3, 2, 1)\) and \((1, -2, 1)\). Cross-multiplying gives \(x : y : z = 4 : 4 : 4\), so \(X_1 = (1, 1, 1)^T\).
- \(\lambda = 1\): \(A - I = \begin{bmatrix} 1 & 2 & 1 \\ 1 & 2 & 1 \\ 1 & 2 & 1 \end{bmatrix}\) has rank 1. The single equation is \(x + 2y + z = 0\).
- Choose \(y = 1, z = 0\): \(X_2 = (-2, 1, 0)^T\). Choose \(y = 0, z = 1\): \(X_3 = (-1, 0, 1)^T\). These two are independent.
Answer\(\lambda = 5\): \((1, 1, 1)^T\). \(\lambda = 1\) (twice): \((-2, 1, 0)^T\) and \((-1, 0, 1)^T\).
Example 5: A repeated eigenvalue with only one eigenvector
Exam levelFind the eigenvalues and eigenvectors of \[A = \begin{bmatrix} 3 & 10 & 5 \\ -2 & -3 & -4 \\ 3 & 5 & 7 \end{bmatrix}\]
- \(\operatorname{tr}A = 7\). \(S_2 = (-21 + 20) + (21 - 15) + (-9 + 20) = 16\). \(|A| = 12\).
- \(\lambda^3 - 7\lambda^2 + 16\lambda - 12 = (\lambda - 2)^2(\lambda - 3) = 0\).
- \(\lambda = 2\): \(A - 2I = \begin{bmatrix} 1 & 10 & 5 \\ -2 & -5 & -4 \\ 3 & 5 & 5 \end{bmatrix}\) has rank 2. Cross-multiplying the first two rows: \(x : y : z = -15 : -6 : 15\), so \(X_1 = (5, 2, -5)^T\). There is no second independent one.
- \(\lambda = 3\): rows \((0, 10, 5)\) and \((-2, -6, -4)\) of \(A - 3I\) give \(x : y : z = -10 : -10 : 20\), so \(X_2 = (1, 1, -2)^T\).
Answer\(\lambda = 2\) (twice): only \((5, 2, -5)^T\). \(\lambda = 3\): \((1, 1, -2)^T\).
Example 6: Using the properties
MediumThe eigenvalues of \(A = \begin{bmatrix} 2 & 0 & 1 \\ 0 & 2 & 0 \\ 1 & 0 & 2 \end{bmatrix}\) are 1, 2, 3. Without further working, find \(|A|\) and the eigenvalues of \(A^{-1}\), \(A^2\), \(\operatorname{adj}A\) and \(A - 2I\).
- Check first: \(1 + 2 + 3 = 6 = \operatorname{tr}A\). ✓
- \(|A| = 1\cdot 2\cdot 3 = 6\).
- \(A^{-1}\): \(1, \tfrac{1}{2}, \tfrac{1}{3}\). \(A^2\): \(1, 4, 9\). \(\operatorname{adj}A\): \(\tfrac{6}{1}, \tfrac{6}{2}, \tfrac{6}{3} = 6, 3, 2\). \(A - 2I\): \(-1, 0, 1\).
Answer\(|A| = 6\); \(A^{-1}\): \(1, \tfrac{1}{2}, \tfrac{1}{3}\); \(A^2\): \(1, 4, 9\); \(\operatorname{adj}A\): \(6, 3, 2\); \(A - 2I\): \(-1, 0, 1\).
Example 7: A symmetric matrix
Exam levelFind the eigenvalues and eigenvectors of \[A = \begin{bmatrix} 8 & -6 & 2 \\ -6 & 7 & -4 \\ 2 & -4 & 3 \end{bmatrix}\]
- \(\operatorname{tr}A = 18\). \(S_2 = (21 - 16) + (24 - 4) + (56 - 36) = 45\). \(|A| = 0\).
- \(\lambda^3 - 18\lambda^2 + 45\lambda = \lambda(\lambda - 3)(\lambda - 15) = 0\), so \(\lambda = 0, 3, 15\).
- \(\lambda = 0\): rows \((8, -6, 2)\), \((-6, 7, -4)\) give \(x : y : z = 10 : 20 : 20\), so \((1, 2, 2)^T\).
- \(\lambda = 3\): rows \((5, -6, 2)\), \((-6, 4, -4)\) give \(x : y : z = 16 : 8 : -16\), so \((2, 1, -2)^T\).
- \(\lambda = 15\): rows \((-7, -6, 2)\), \((-6, -8, -4)\) give \(x : y : z = 40 : -40 : 20\), so \((2, -2, 1)^T\).
- As expected for a symmetric matrix, the three eigenvectors are orthogonal: for example \((1, 2, 2)\cdot(2, 1, -2) = 2 + 2 - 4 = 0\).
Answer\(\lambda = 0, 3, 15\) with eigenvectors \((1, 2, 2)^T\), \((2, 1, -2)^T\), \((2, -2, 1)^T\)
Before finding any eigenvectors, check that your eigenvalues add up to the trace and multiply to \(|A|\). If they don't, the characteristic equation is wrong, and every eigenvector after it would be wrong too.
Common mistakes
1. Subtracting \(\lambda\) from every entry
\(A - \lambda I\) subtracts \(\lambda\) from the diagonal only. For \(\begin{bmatrix} 4 & 1 \\ 2 & 3 \end{bmatrix}\) it is \(\begin{bmatrix} 4 - \lambda & 1 \\ 2 & 3 - \lambda \end{bmatrix}\), not \(\begin{bmatrix} 4 - \lambda & 1 - \lambda \\ 2 - \lambda & 3 - \lambda \end{bmatrix}\).
2. Giving the zero vector as an eigenvector
\(X = 0\) always satisfies \((A - \lambda I)X = 0\), so it tells you nothing. Eigenvectors must be non-zero. If you only get \(X = 0\), your \(\lambda\) is not an eigenvalue.
3. Assuming a repeated eigenvalue gives two eigenvectors
In Example 4 the double eigenvalue gives two independent eigenvectors, but in Example 5 it gives only one. Find the rank of \(A - \lambda I\) to know which: the number of independent eigenvectors is \(n - \rho(A - \lambda I)\).
Practice questions
Try each one on paper before you open the answer.
Q1Find the eigenvalues and eigenvectors of \(\begin{bmatrix} 1 & 4 \\ 2 & 3 \end{bmatrix}\).
\(\lambda^2 - 4\lambda - 5 = 0\), so \(\lambda = 5, -1\). \(\lambda = 5\): \((1, 1)^T\). \(\lambda = -1\): \((2, -1)^T\).
Q2Find the eigenvalues and eigenvectors of \(\begin{bmatrix} 5 & 4 \\ 1 & 2 \end{bmatrix}\).
\(\lambda^2 - 7\lambda + 6 = 0\), so \(\lambda = 6, 1\). \(\lambda = 6\): \((4, 1)^T\). \(\lambda = 1\): \((1, -1)^T\).
Q3Write down the eigenvalues of \(\begin{bmatrix} 3 & 0 & 0 \\ 5 & -2 & 0 \\ 1 & 4 & 7 \end{bmatrix}\).
Lower triangular, so the diagonal entries: \(3, -2, 7\).
Q4A 3×3 matrix \(A\) has eigenvalues 1, 2, 3. Find \(|A|\), \(\operatorname{tr}A\), and the eigenvalues of \(A^{-1}\) and \(A^2\).
\(|A| = 6\), \(\operatorname{tr}A = 6\). \(A^{-1}\): \(1, \tfrac{1}{2}, \tfrac{1}{3}\). \(A^2\): \(1, 4, 9\).
Q5Find the eigenvectors of \(\begin{bmatrix} 2 & 0 & 1 \\ 0 & 2 & 0 \\ 1 & 0 & 2 \end{bmatrix}\) (eigenvalues 1, 2, 3).
\(\lambda = 1\): \((1, 0, -1)^T\). \(\lambda = 2\): \((0, 1, 0)^T\). \(\lambda = 3\): \((1, 0, 1)^T\).
Q6Find the eigenvalues of \(\begin{bmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \\ 3 & 6 & 9 \end{bmatrix}\) and an eigenvector for the non-zero one.
\(\operatorname{tr}A = 14\), \(S_2 = 0\), \(|A| = 0\), so \(\lambda^3 - 14\lambda^2 = 0\): \(\lambda = 0, 0, 14\). For \(\lambda = 14\): \((1, 2, 3)^T\).
Bring it to a free demo class and work through it with Vipul Sir. Book on WhatsApp.
Frequently asked questions
What is the characteristic equation of a matrix?
\(|A - \lambda I| = 0\). Its roots are the eigenvalues. For a 3×3 matrix it expands to \(\lambda^3 - (\operatorname{tr}A)\lambda^2 + S_2\lambda - |A| = 0\).
Is the sum of eigenvalues equal to the trace?
Yes. The sum of the eigenvalues (counted with repetition) is the trace, and their product is the determinant.
Can a real matrix have complex eigenvalues?
Yes. \(\begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}\) rotates every vector by 90°, so no real vector keeps its direction. Its characteristic equation is \(\lambda^2 + 1 = 0\), giving \(\lambda = \pm i\). A real symmetric matrix never does this.
What are eigenvalues used for?
Natural frequencies of vibrating structures, the stability of control systems and principal stresses are all eigenvalues. In this course they lead straight to the Cayley–Hamilton theorem and diagonalisation.