MathIsimple
Linear Algebra

Online Eigenvalue Calculator

Compute eigenvalues of square matrices with step-by-step explanations.

100% Free2×2, 3×3, largerWith Steps
Matrix Configuration
Set the matrix size (square matrices only for eigenvalues)
3×3
Matrix Input
Enter matrix elements (decimals and fractions allowed)
The Characteristic Polynomial Approach
How eigenvalues are derived analytically from the characteristic equation

For a 2×2 matrix

Setting det(AλI)=0\det(A - \lambda I) = 0 expands to a quadratic:

det(AλI)=(aλ)(dλ)bc=0\det(A - \lambda I) = (a-\lambda)(d-\lambda) - bc = 0λ2(a+d)λ+(adbc)=0\lambda^2 - (a+d)\lambda + (ad - bc) = 0

Solved with the quadratic formula. The discriminant Δ=(a+d)24(adbc)\Delta = (a+d)^2 - 4(ad-bc) determines whether eigenvalues are real (Δ0\Delta \geq 0) or complex (Δ<0\Delta < 0).

For a 3×3 matrix

The characteristic polynomial is a degree-3 (cubic) equation:

λ3+tr(A)λ212[(trA)2tr(A2)]λ+det(A)=0-\lambda^3 + \text{tr}(A)\,\lambda^2 - \frac{1}{2}\left[(\text{tr}\,A)^2 - \text{tr}(A^2)\right]\lambda + \det(A) = 0

This calculator solves it using Cardano's method (depressed cubic). Three cases arise: one real root (positive discriminant), a repeated real root (zero discriminant), or three distinct real roots (negative discriminant — the casus irreducibilis requiring trigonometric solution).

For n > 3 matrices

No closed-form formula exists (Abel–Ruffini theorem). This calculator uses the QR algorithm: iteratively decomposing A=QRA = QR and updating ARQA \leftarrow RQ until the matrix converges to (quasi-)triangular form, reading eigenvalues from the diagonal.

Real-World Applications
Where eigenvalues appear across science and engineering

Principal Component Analysis (PCA)

Eigenvalues of the covariance matrix rank the importance of each principal component. The largest eigenvalue corresponds to the direction of greatest variance in the data.

Google PageRank

PageRank is the dominant eigenvector of the web's link-transition matrix, corresponding to eigenvalue 1. The power method iteratively finds this eigenvector.

Quantum Mechanics

Observable quantities (energy, momentum, spin) are eigenvalues of Hermitian operators. Schrödinger's equation Hψ=EψH\psi = E\psi is an eigenvalue problem where E is the energy eigenvalue.

Structural Engineering

Natural frequencies of vibration of a structure are square roots of eigenvalues of M1KM^{-1}K (mass-stiffness system). Engineers must ensure these don't match external forcing frequencies to avoid resonance.

Matrix Types and Their Eigenvalue Properties
Quick reference for common matrix classes
Matrix TypeDefinitionEigenvalue Property
SymmetricA=ATA = A^TAll eigenvalues are real
OrthogonalATA=IA^T A = Iλ=1|\lambda| = 1 (on unit circle)
Positive DefinitexTAx>0x^T A x > 0All eigenvalues λ>0\lambda > 0
Skew-SymmetricA=ATA = -A^TPurely imaginary or zero
DiagonalOff-diagonal entries = 0Eigenvalues are the diagonal entries
IdempotentA2=AA^2 = AEach eigenvalue is 0 or 1
NilpotentAk=0A^k = 0All eigenvalues are 0
Example Matrices
Click on any example to load it into the calculator
2×2 Basic Example
Simple 2×2 matrix with real eigenvalues
[2, 1]
[1, 3]
3×3 Example
3×3 matrix with mixed eigenvalues
[1, 2, 3]
[3, 2, 1]
[2, 1, 3]
Identity Matrix
3×3 identity matrix (eigenvalues = 1)
[1, 0, 0]
[0, 1, 0]
[0, 0, 1]
Symmetric Matrix
Symmetric matrix with real eigenvalues
[4, 1, 2]
[1, 3, 0]
[2, 0, 5]

Frequently Asked Questions

Eigenvalues are special scalars λ that satisfy the equation Av = λv for a matrix A and non-zero vector v (called an eigenvector). They reveal intrinsic properties of linear transformations, showing how the matrix scales vectors along certain directions. Eigenvalues are fundamental in physics (vibrational modes, quantum mechanics), engineering (stability analysis), and data science (PCA, machine learning).
Ask AI ✨
Eigenvalue Calculator - Compute Matrix Eigenvalues Step-by-Step | MathIsimple