Navigation
Calculators Pricing Blog About Contact
Get Started
Get Started Login
🔢

Eigenvalue Calculator

Calculate eigenvalues of a 2x2 or 3x3 matrix instantly with step-by-step solutions.

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.

Frequently Asked Questions

An eigenvalue is a number that tells you how much a matrix stretches or compresses a vector along a particular direction. If multiplying a matrix by a vector simply scales that vector (without changing its direction), the scaling factor is the eigenvalue.
Yes, eigenvalues can be negative, zero, or complex numbers. Negative eigenvalues indicate the matrix reverses the direction of the eigenvector. Complex eigenvalues occur in conjugate pairs for real matrices and indicate a rotational component in the transformation.
An n×n matrix has exactly n eigenvalues when counted with multiplicity. A 2×2 matrix has 2 eigenvalues, a 3×3 matrix has 3, and so on. Some eigenvalues may be repeated (have algebraic multiplicity greater than 1).
The determinant of a matrix equals the product of all its eigenvalues. This means a matrix is singular (determinant = 0) if and only if at least one eigenvalue is zero. Similarly, the trace equals the sum of all eigenvalues.
The characteristic polynomial is the polynomial equation det(A - λI) = 0 whose roots are the eigenvalues. For a 2×2 matrix, it is a quadratic; for 3×3, a cubic. Solving this polynomial gives all eigenvalues of the matrix.
Eigenvalues are used in structural engineering (natural frequencies), Google PageRank (web page importance), machine learning (PCA for dimensionality reduction), quantum mechanics (energy levels), and control systems (stability analysis). They reveal fundamental properties of systems.

Embed this Calculator

Copy the code below and paste it into your website's HTML. Your visitors can use this calculator for free.

px × px
<iframe src="https://calculatorteam.com/embed/eigenvalue-calculator" width="100%" height="600" style="border:none;border-radius:12px;" loading="lazy" title="Eigenvalue Calculator"></iframe>

Report an Issue

Let us know what's wrong with this calculator. We'll review and fix it as soon as possible.