Eigenvalue & Eigenvector Calculator

Compute eigenvalues and eigenvectors for 2×2 and 3×3 matrices with characteristic polynomial, diagonalization check, spectrum visualization, and detailed calculation steps.

Matrix A (2×2)
Characteristic Polynomial
λ² − 7.00λ + 10.00
det(A − λI) = 0
Trace
7.000000
Sum of diagonal = sum of eigenvalues
Determinant
10.000000
Product of eigenvalues
Symmetric
No
May have complex eigenvalues
Positive Definite
No
Not all eigenvalues positive or not symmetric
Diagonalizable
Yes ✓
n independent eigenvectors exist
λ1
5.000000
Real eigenvalue
λ2
2.000000
Real eigenvalue

Eigenvalue Spectrum

1
2

Eigenvalues & Eigenvectors

#Eigenvalue λEigenvector vType
15.000000[-1.0000, -1.0000]Real
22.000000[-1.0000, 2.0000]Real

Verification: Av = λv

EigenpairAvλvMatch
λ=5.000000[-5.0000, -5.0000][-5.0000, -5.0000]
λ=2.000000[-2.0000, 4.0000][-2.0000, 4.0000]

Eigenvalue Properties

PropertyFormulaThis Matrix
Sum of eigenvaluesλ₁ + λ₂ + ... = trace(A)7.00007.0000
Product of eigenvaluesλ₁ · λ₂ · ... = det(A)10.0000
SymmetricAᵀ = A → all λ realNo
Positive definiteSymmetric + all λ > 0No
Diagonalizablen independent eigenvectorsYes
Planning notes, formulas, and examples

About the Eigenvalue & Eigenvector Calculator

Eigenvalues and eigenvectors are among the most important concepts in linear algebra, with applications spanning physics, engineering, data science, quantum mechanics, and machine learning. An eigenvalue λ and its corresponding eigenvector v satisfy Av = λv, meaning the matrix A acts on v by simply scaling it.

This calculator finds all eigenvalues and eigenvectors for 2×2 and 3×3 real matrices. It computes the characteristic polynomial det(A − λI) = 0, solves for the eigenvalues (roots of this polynomial), and then finds the corresponding eigenvectors by solving (A − λI)v = 0 for each eigenvalue.

For 2×2 matrices, the characteristic polynomial is a quadratic with a closed-form solution. For 3×3 matrices, it becomes a cubic, and the calculator uses Cardano's formula or numerical methods to find the roots. Complex eigenvalues are reported when they arise (e.g., rotation matrices).

The tool also checks whether the matrix is diagonalizable (has n linearly independent eigenvectors), computes the trace (sum of eigenvalues) and determinant (product of eigenvalues) as verification, and displays a spectrum visualization showing eigenvalue locations on a number line. This makes it easy to assess stability (all eigenvalues with negative real part), oscillatory behavior (complex eigenvalues), and conditioning of the matrix.

When This Page Helps

Finding eigenvalues requires solving the characteristic polynomial — a quadratic for 2×2 and a cubic for 3×3 — then back-substituting each root into (A − λI)v = 0 to find eigenvectors. The cubic case is especially tricky, and complex eigenvalues demand careful handling. This calculator computes the characteristic polynomial, all eigenvalues (real or complex), the corresponding eigenvectors, and checks diagonalizability, with a spectrum visualization. It is indispensable for students studying spectral theory, engineers analyzing system stability, and data scientists performing PCA.

How to Use the Inputs

  1. Select the matrix size (2×2 or 3×3)
  2. Enter the matrix elements or choose a preset
  3. View the characteristic polynomial and eigenvalues
  4. Examine each eigenvector and verify Av = λv
  5. Check diagonalization status and the eigenvalue spectrum
  6. Study the relationship between trace, determinant, and eigenvalues
Formula used
det(A − λI) = 0 gives eigenvalues λ. For each λ, solve (A − λI)v = 0 for eigenvector v.

Example Calculation

Result: λ₁ = 5, v₁ = [1, 1]; λ₂ = 2, v₂ = [−1, 2]

Characteristic polynomial: λ² − 7λ + 10 = (λ−5)(λ−2) = 0. For λ=5: (A−5I)v=0 gives v=[1,1]. For λ=2: (A−2I)v=0 gives v=[−1,2].

Tips & Best Practices

  • The trace of A equals the sum of all eigenvalues
  • The determinant of A equals the product of all eigenvalues
  • Symmetric matrices always have real eigenvalues and orthogonal eigenvectors
  • A matrix is positive definite if and only if all eigenvalues are positive
  • Repeated eigenvalues may or may not yield enough independent eigenvectors for diagonalization

The Characteristic Polynomial

Eigenvalues are the roots of the **characteristic polynomial** det(A − λI) = 0. For a 2×2 matrix [[a,b],[c,d]], this is λ² − (a+d)λ + (ad−bc) = λ² − tr(A)λ + det(A). For 3×3 matrices, it becomes a cubic, solved via Cardano's formula or the trigonometric method. The coefficients encode fundamental matrix properties: the coefficient of λ^(n−1) is −tr(A), and the constant term is (−1)^n det(A). This polynomial bridge connects matrix algebra to root-finding problems.

Eigenvectors and Diagonalization

For each eigenvalue λ, the **eigenvector** is found by solving the homogeneous system (A − λI)v = 0. The set of all eigenvectors for a given λ forms the **eigenspace**, whose dimension is the geometric multiplicity. A matrix is **diagonalizable** if it has n linearly independent eigenvectors, in which case A = PDP⁻¹ where D is diagonal (eigenvalues) and P contains the eigenvectors as columns. Symmetric matrices are always diagonalizable with real eigenvalues and orthogonal eigenvectors.

Applications: Stability, PCA, and Quantum Mechanics

In **dynamical systems** (dx/dt = Ax), eigenvalues determine stability: negative real parts mean decay (stable), positive mean growth (unstable), and imaginary parts mean oscillation. In **data science**, PCA uses the eigenvectors of the covariance matrix as principal components and eigenvalues as variance explained. In **quantum mechanics**, observable quantities correspond to eigenvalues of Hermitian operators, and measurement collapses states to eigenvectors. Google's PageRank algorithm finds the dominant eigenvector of the web link matrix. Eigenanalysis is one of the most widely applied concepts in all of applied mathematics.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • An eigenvalue λ and eigenvector v satisfy Av = λv. The matrix A acts on v by simply scaling it by factor λ, without changing its direction (or reversing it if λ < 0).