eigenvalue calculator

Enter matrix entries below, then click Calculate Eigenvalues. This tool supports real-valued 2×2 and 3×3 matrices and returns real or complex eigenvalues.

What is an eigenvalue?

In linear algebra, an eigenvalue tells you how a matrix scales a special vector direction. If A is a matrix, an eigenvector v and eigenvalue λ satisfy:

A v = λ v

That means multiplying by A does not rotate that vector direction away from itself; it only stretches, shrinks, or flips it. Eigenvalues are central in systems of differential equations, machine learning, principal component analysis, control systems, graph analysis, and quantum mechanics.

How this eigenvalue calculator works

For a 2 × 2 matrix

For A = [[a, b], [c, d]], we solve the characteristic equation:

λ2 - (a + d)λ + (ad - bc) = 0

The two solutions are the eigenvalues. If the discriminant is negative, the results are a complex conjugate pair.

For a 3 × 3 matrix

We form the cubic characteristic polynomial:

λ3 - c1λ2 + c2λ - c3 = 0

where c1 = trace(A), c2 = 1/2[(trace(A))² − trace(A²)], and c3 = det(A). The calculator then solves this cubic using Cardano's method and reports all three eigenvalues (real or complex).

Why eigenvalues matter in practice

  • PCA (Principal Component Analysis): Largest eigenvalues identify directions of maximum variance.
  • Dynamical systems: Eigenvalues indicate stability (growth, decay, oscillation).
  • Markov chains: The dominant eigenvalue controls long-run behavior.
  • Vibrations and mechanics: Natural frequencies are derived from eigenvalue problems.
  • Network science: Spectral properties reveal connectivity and community structure.

Tips for accurate results

  • Use decimal values carefully; tiny rounding errors can create very small imaginary parts.
  • If you expect repeated eigenvalues, near-duplicate values may appear because of floating-point precision.
  • Check trace and determinant relationships as a quick sanity check.

Quick interpretation guide

Real positive eigenvalue

Growth/stretching along an eigenvector direction.

Real negative eigenvalue

Direction flip with scaling.

Complex eigenvalues

Rotation plus scaling behavior, common in oscillatory systems.

🔗 Related Calculators