Eigenvalue Calculator
Compute eigenvalues and eigenvectors of any 2x2 or 3x3 matrix. Shows the characteristic polynomial.
What Are Eigenvalues and Eigenvectors?
An eigenvalue is a scalar that, when a matrix is multiplied by a specific vector, the result is simply that vector scaled by the eigenvalue. If A times v = lambda times v, then v is an eigenvector of matrix A and lambda is the corresponding eigenvalue. The word "eigen" comes from German meaning "own" or "characteristic." Eigenvalues reveal the fundamental behavior of a linear transformation: they tell you the directions along which the transformation acts by pure stretching or compression, without rotation. Enter your matrix in the calculator above to find all eigenvalues and eigenvectors instantly.
How to Find Eigenvalues?
Eigenvalues are found by solving the characteristic equation: det(A - lambda I) = 0, where I is the identity matrix and lambda is the unknown eigenvalue. For a 2x2 matrix [[a,b],[c,d]], this produces a quadratic: lambda² - (a+d)lambda + (ad-bc) = 0. The solutions are the eigenvalues. For [[4,1],[2,3]]: the characteristic equation is lambda² - 7lambda + 10 = 0, factoring to (lambda-5)(lambda-2) = 0, giving eigenvalues 5 and 2. For larger matrices, the characteristic equation is a higher-degree polynomial that may require numerical methods to solve.
How to Find Eigenvectors?
Once you know an eigenvalue lambda, find its eigenvector by solving (A - lambda I)v = 0. For the matrix [[4,1],[2,3]] with eigenvalue 5: (A - 5I) = [[-1,1],[2,-2]]. Solving [[-1,1],[2,-2]][v1,v2] = [0,0] gives -v1 + v2 = 0, so v1 = v2. Any vector of the form [t, t] is an eigenvector, typically normalized as [1, 1]. For eigenvalue 2: (A - 2I) = [[2,1],[2,1]], giving 2v1 + v2 = 0, so the eigenvector is [1, -2]. Each eigenvalue has at least one eigenvector, and the set of eigenvectors defines the principal directions of the transformation.
Properties of Eigenvalues
Several useful properties simplify calculations and provide insight. The sum of all eigenvalues equals the trace of the matrix (sum of diagonal elements). The product of all eigenvalues equals the determinant. A matrix is singular (non-invertible) if and only if it has a zero eigenvalue. Real symmetric matrices always have real eigenvalues and orthogonal eigenvectors. If a matrix has n distinct eigenvalues, it is diagonalizable, meaning it can be written as PDP⁻¹ where D is a diagonal matrix of eigenvalues and P contains the eigenvectors as columns.
Where Are Eigenvalues Used?
Google's original PageRank algorithm computed the dominant eigenvector of the web's link matrix to rank pages. Principal component analysis (PCA) in data science uses eigenvalues of the covariance matrix to identify the most important patterns in high-dimensional data. In structural engineering, eigenvalues of the stiffness matrix determine natural vibration frequencies of buildings, bridges, and aircraft. Quantum mechanics represents physical observables as matrices whose eigenvalues are the possible measurement outcomes. Facial recognition systems use eigenfaces (eigenvectors of face image matrices) for identification. Control systems use eigenvalues to determine whether a system is stable (all eigenvalues have negative real parts) or unstable.
Diagonalization and Matrix Powers
If a matrix A can be diagonalized as A = PDP⁻¹, then computing matrix powers becomes trivial: A^n = PD^nP⁻¹. Raising a diagonal matrix to a power simply raises each diagonal element to that power. This makes computing A^100 or A^1000 fast and exact, which is critical for modeling systems that evolve over many time steps. Markov chains, population models, and recursive sequences all benefit from diagonalization. Without eigenvalue decomposition, computing high matrix powers would require multiplying the matrix by itself repeatedly, accumulating numerical errors and consuming far more computation time.
Complex Eigenvalues
When the characteristic equation has no real roots, eigenvalues come in complex conjugate pairs (a + bi and a - bi). Complex eigenvalues indicate that the transformation includes rotation. The real part determines scaling (growing or shrinking), while the imaginary part determines rotation speed. In differential equations, complex eigenvalues produce oscillating solutions (think springs, circuits, and pendulums). In stability analysis, complex eigenvalues with negative real parts indicate stable oscillation (damped vibration), while positive real parts indicate unstable oscillation (growing amplitude). The calculator above handles complex eigenvalues and displays them in standard a + bi form. Understanding complex eigenvalues is essential for analyzing systems that oscillate, vibrate, or rotate, from guitar strings to electrical circuits to planetary orbits.
Frequently asked questions
What is an eigenvalue?
How do I find eigenvalues?
What does an eigenvalue of 0 mean?
What are complex eigenvalues?
Where are eigenvalues used?
What is diagonalization?
Rate This Calculator
Your feedback helps us improve our tools