Eigenvalue & Eigenvector Calculator
Solve eigenvalues and eigenvectors for 2×2 and 3×3 square matrices with explicit characteristic polynomials, roots, and null space basis vectors.
How Eigenvalues and Eigenvectors Work
In linear algebra, when a matrix \(A\) acts on a vector \(\mathbf{v}\), it typically changes both the vector's direction and length. However, for certain special vectors called eigenvectors, the direction remains invariant; the vector is only scaled by a scalar factor \(\lambda\) known as the eigenvalue:
\(A \mathbf{v} = \lambda \mathbf{v} \iff (A - \lambda I)\mathbf{v} = \mathbf{0}\)
Non-trivial solutions \(\mathbf{v} \ne \mathbf{0}\) exist if and only if the characteristic equation holds: \(\det(A - \lambda I) = 0\).The 2×2 Characteristic Equation
For a second-order matrix \(A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}\), the characteristic polynomial simplifies directly to:
\(\lambda^2 - \text{tr}(A)\lambda + \det(A) = 0\)
Where \(\text{tr}(A) = a + d\) is the matrix trace (sum of diagonal entries) and \(\det(A) = ad - bc\) is the determinant.
Solved Examples with Complete Mathematical Steps
Find the eigenvalues and eigenvectors of matrix \(A\):
\(A = \begin{bmatrix} 4 & 1 \\ 2 & 3 \end{bmatrix}\)
Step 1: Compute Trace & Determinant:
- \(\text{tr}(A) = 4 + 3 = 7\)
- \(\det(A) = (4)(3) - (1)(2) = 12 - 2 = 10\)
Step 2: Solve Characteristic Equation:
\(\lambda^2 - 7\lambda + 10 = 0 \implies (\lambda - 5)(\lambda - 2) = 0\)
Thus the eigenvalues are \(\lambda_1 = 5\) and \(\lambda_2 = 2\).
Step 3: Solve for Eigenvector \(\mathbf{v}_1\) (\(\lambda_1 = 5\)):
\((A - 5I)\mathbf{v} = \begin{bmatrix} -1 & 1 \\ 2 & -2 \end{bmatrix}\begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \implies -x + y = 0 \implies y = x\)
Choosing \(x = 1\) gives \(\mathbf{v}_1 = \begin{bmatrix} 1 \\ 1 \end{bmatrix}\).
Step 4: Solve for Eigenvector \(\mathbf{v}_2\) (\(\lambda_2 = 2\)):
\((A - 2I)\mathbf{v} = \begin{bmatrix} 2 & 1 \\ 2 & 1 \end{bmatrix}\begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \implies 2x + y = 0 \implies y = -2x\)
Choosing \(x = 1\) gives \(\mathbf{v}_2 = \begin{bmatrix} 1 \\ -2 \end{bmatrix}\).
Find eigenvalues for upper triangular matrix \(M\):
\(M = \begin{bmatrix} 2 & 0 & 0 \\ 1 & 3 & 0 \\ 0 & 1 & 4 \end{bmatrix}\)
Property: The determinant of \((M - \lambda I)\) for any triangular matrix is simply the product of its diagonal terms:
\(\det(M - \lambda I) = (2 - \lambda)(3 - \lambda)(4 - \lambda) = 0\)
Result: The eigenvalues are simply the diagonal entries themselves: \(\lambda_1 = 2, \lambda_2 = 3, \lambda_3 = 4\).
Understand the Determinant Connection
See how the characteristic equation relies on the determinant of \((A - \lambda I)\) equaling zero.
Read our student tutorial: What is a Determinant in Linear Algebra? →