Eigenvalues and Eigenvectors Calculator
📥 Export options
Exporting...
Interactive tool to compute eigenvalues and eigenvectors of any square matrix, along with detailed explanations adapted from linear algebra theory.
What are Eigenvalues & Eigenvectors?
For a square matrix \(A\) of size \(n \times n\), a scalar \(\lambda\) is called an eigenvalue, and a non-zero vector \(v\) is called an eigenvector associated with \(\lambda\) if:
This implies that the vector \(v\) does not change direction under the linear transformation represented by \(A\); it is only scaled by \(\lambda\).
Characteristic Polynomial & How to Find Eigenvalues
Eigenvalues are found by solving the characteristic equation. The equation is derived from:
Here, \(I\) is the identity matrix of size \(n \times n\). Expanding the determinant gives a polynomial in \(\lambda\) of degree \(n\). The roots of this polynomial are the eigenvalues of \(A\).
Important Properties
- The trace of \(A\) (sum of its diagonal elements) equals the sum of its eigenvalues.
- The determinant of \(A\) (product of diagonal elements if diagonalizable) equals the product of its eigenvalues.
- If \(A\) is symmetric (or Hermitian), all eigenvalues are real and eigenvectors for distinct eigenvalues are orthogonal.
- The matrix \(A\) is invertible if and only if none of its eigenvalues are zero.
Diagonalization & Eigenspaces
If \(A\) has \(n\) linearly independent eigenvectors \(v_1, \ldots, v_n\), we can form a matrix \(P\) whose columns are these eigenvectors, and a diagonal matrix \(\Lambda\) whose entries are the corresponding eigenvalues. Then:
The eigenspace associated with an eigenvalue \(\lambda\) is the null space of \(A - \lambda I\). Its geometric multiplicity is the dimension of that space.
Example: 2×2 Matrix
Consider the matrix:
Compute the characteristic polynomial:
Solve \(\lambda^2 - 4\lambda + 3 = 0\):
Hence:
Then for each \(\lambda\), solve \((A - \lambda I)v = 0\) to find the eigenvectors: