What Are Eigenvalues?
Eigenvalues are special scalars associated with a square matrix that reveal fundamental properties about the linear transformation the matrix represents. When a matrix A acts on a non-zero vector v and the result is simply a scalar multiple of v — that is, Av = λv — then λ is called an eigenvalue and v is the corresponding eigenvector. The word "eigen" comes from the German word meaning "own" or "characteristic," reflecting the fact that eigenvalues are intrinsic properties of a matrix.
Eigenvalues appear throughout mathematics, physics, engineering, and data science. In structural engineering, they determine the natural frequencies at which a structure vibrates. In quantum mechanics, they represent the possible measurement outcomes of an observable. In principal component analysis (PCA), eigenvalues indicate how much variance each component captures. Understanding eigenvalues is therefore not just an abstract mathematical exercise but a practical skill with wide-ranging applications.
The Characteristic Polynomial
To find the eigenvalues of a matrix A, you solve the characteristic equation: det(A - λI) = 0, where I is the identity matrix and λ is the unknown eigenvalue. The expression det(A - λI) produces a polynomial in λ called the characteristic polynomial. For a 2×2 matrix, this is a quadratic equation; for a 3×3 matrix, a cubic; and so on. The roots of this polynomial are the eigenvalues.
For a 2×2 matrix [[a, b], [c, d]], the characteristic polynomial simplifies to λ² - (a+d)λ + (ad-bc) = 0. The sum (a+d) is the trace of the matrix, and (ad-bc) is its determinant. These two quantities — trace and determinant — completely determine the eigenvalues of any 2×2 matrix through the quadratic formula: λ = (trace ± √(trace² - 4·det)) / 2.
Finding Eigenvalues of a 2×2 Matrix
Consider the matrix A = [[4, 2], [1, 3]]. The trace is 4 + 3 = 7 and the determinant is 4·3 - 2·1 = 10. The characteristic equation becomes λ² - 7λ + 10 = 0. Factoring gives (λ - 5)(λ - 2) = 0, so the eigenvalues are λ₁ = 5 and λ₂ = 2. You can verify: the trace equals 5 + 2 = 7, and the determinant equals 5 × 2 = 10, confirming our answer.
When the discriminant (trace² - 4·det) is negative, the eigenvalues are complex conjugate pairs. For example, a rotation matrix [[0, -1], [1, 0]] has trace 0 and determinant 1, giving λ² + 1 = 0, so λ = ±i. Complex eigenvalues indicate that the transformation involves rotation rather than pure stretching or compression.
Eigenvalues of 3×3 Matrices
For 3×3 matrices, the characteristic polynomial is a cubic equation: -λ³ + (trace)λ² - (sum of 2×2 cofactors)λ + det = 0. Solving cubic equations analytically requires either factoring, the rational root theorem, or Cardano's formula. Our calculator handles all three cases automatically: three real roots, one real root with a complex conjugate pair, or a repeated root.
The sum of all eigenvalues always equals the trace of the matrix, and the product of all eigenvalues always equals the determinant. These invariant relationships provide a quick sanity check on computed eigenvalues and connect the algebraic properties (eigenvalues) to the geometric properties (trace, determinant) of the matrix.
Applications of Eigenvalues
Stability analysis: In dynamical systems, eigenvalues determine whether a system is stable. If all eigenvalues of the system matrix have negative real parts, the system returns to equilibrium after a perturbation. If any eigenvalue has a positive real part, the system is unstable and small disturbances grow exponentially.
Principal Component Analysis: In statistics and machine learning, PCA uses eigenvalues of the covariance matrix to identify the directions of maximum variance in a dataset. The eigenvalues quantify how much variance each principal component explains, guiding decisions about dimensionality reduction.
Google PageRank: The original Google search algorithm used the dominant eigenvalue and eigenvector of the web link matrix to rank web pages by importance. Pages pointed to by many other important pages receive higher PageRank scores.
Vibration analysis: In mechanical and structural engineering, eigenvalues of the mass-stiffness matrix correspond to the squares of natural frequencies. Engineers use these to ensure structures do not resonate at frequencies that could cause catastrophic failure.
Eigenvalues of Special Matrices
Diagonal matrices have eigenvalues equal to their diagonal entries. Triangular matrices (upper or lower) also have eigenvalues equal to their diagonal entries. Symmetric matrices always have real eigenvalues, a property that is extremely useful in applications. Orthogonal matrices have eigenvalues with absolute value 1, reflecting the fact that they preserve lengths.
The identity matrix has all eigenvalues equal to 1. The zero matrix has all eigenvalues equal to 0. A matrix is singular (non-invertible) if and only if at least one eigenvalue is zero, which is equivalent to saying its determinant is zero.