2x2 Matrix Eigenvalue Calculator
Find both eigenvalues of any 2×2 matrix using the characteristic equation. Essential for stability analysis, principal component analysis, and differential equations.
About this calculator
Eigenvalues λ satisfy the characteristic equation det(A − λI) = 0. For a 2×2 matrix [[a, b], [c, d]], expanding the determinant gives the quadratic λ² − (a+d)λ + (ad − bc) = 0. Using the quadratic formula, the two eigenvalues are λ = [(a+d) ± √((a+d)² − 4(ad−bc))] / 2. The term (a+d) is the trace and (ad−bc) is the determinant of the matrix. When the discriminant (a+d)² − 4(ad−bc) is positive, there are two distinct real eigenvalues; when it is zero, a repeated eigenvalue; when negative, complex conjugate eigenvalues. Eigenvalues reveal whether a system grows, shrinks, or oscillates — making them central to physics, engineering, and data science.
How to use
Take the matrix A = [[5, 2], [1, 4]]. Here a=5, b=2, c=1, d=4. Trace = 5+4 = 9, det = 5·4 − 2·1 = 18. Discriminant = 9² − 4·18 = 81 − 72 = 9. √9 = 3. λ₁ = (9 + 3)/2 = 6, λ₂ = (9 − 3)/2 = 3. Enter these values into the calculator to confirm: eigenvalues are 6 and 3. Both are positive, so this matrix represents a stable stretching transformation with no oscillation.
Frequently asked questions
What do eigenvalues tell you about a matrix transformation?
Eigenvalues describe how a matrix scales space along special directions called eigenvectors. A large positive eigenvalue means strong stretching; a value between 0 and 1 means compression; a negative eigenvalue means the direction is flipped as well as scaled. In dynamical systems, eigenvalues of the Jacobian matrix determine whether an equilibrium is stable (negative real parts) or unstable (positive real parts). In PCA (principal component analysis), larger eigenvalues correspond to directions of greater variance in the data.
When are eigenvalues complex for a 2×2 matrix?
Eigenvalues become complex when the discriminant (trace)² − 4·det is negative. This occurs when the matrix has a strong rotational component, such as a rotation matrix or a system with oscillatory behavior. Complex eigenvalues always appear in conjugate pairs (λ = α ± βi) for real matrices. In the context of differential equations, complex eigenvalues with negative real part α indicate damped oscillations, while positive α indicates growing oscillations.
How do you find eigenvectors once you have the eigenvalues?
Once you have an eigenvalue λ, substitute it into (A − λI)v = 0 and solve for the vector v. For a 2×2 matrix this reduces to a single equation (since the system is linearly dependent). For example, if A = [[5,2],[1,4]] and λ=6, then (A−6I) = [[-1,2],[1,-2]], giving −v₁ + 2v₂ = 0, so v = [2,1] (or any scalar multiple). The eigenvector points in the direction that the matrix merely stretches or flips without rotating. Each distinct eigenvalue has at least one corresponding eigenvector.