Mathematics calculator

Eigenvalue Calculator

Find both eigenvalues of a 2 × 2 matrix, including complex conjugate values when the characteristic discriminant is negative.

Calculator inputs

Enter your values

2 × 2 matrix
Calculated output

Result summary

Your result will appear here

Complete the required fields and select the calculate button.

What Is an Eigenvalue?

An eigenvalue λ is a number for which a square matrix A satisfies Av = λv for some nonzero vector v. It describes how the matrix acts along an associated eigenvector. For a real 2 × 2 matrix, the two eigenvalues can be real or a complex conjugate pair.

This eigenvalue calculator finds both values from four real matrix entries. It also reports trace, determinant, characteristic discriminant and value type. It does not compute eigenvectors, diagonalize the matrix or accept a 3 × 3 matrix.

How to Find Eigenvalues of a 2 × 2 Matrix

  1. Enter matrix [a, b; c, d] by row: a at top left, b at top right, c at bottom left and d at bottom right.
  2. Use a signed numeric value for every entry, including zeros. Each entry must lie between −10^12 and 10^12.
  3. Select Calculate. The solver forms the characteristic quadratic from trace and determinant.
  4. Read the featured pair, then compare Value type and Characteristic discriminant. Check the sum and product of the eigenvalues against trace and determinant.

Results display up to six decimal places with trailing zeros removed. The two labels identify a pair, not a ranking by size for complex numbers. For real roots, the implementation normally lists the minus-square-root solution first.

This is a direct numerical quadratic method. Near a repeated root or with very unbalanced entries, subtraction and rounding can lose accuracy. The type classifier uses a 10⁻¹² tolerance for a nonnegative discriminant; a negative discriminant takes the complex branch. A displayed discriminant of 0 may therefore still need interpretation.

Characteristic Equation and Eigenvalue Formula

Trace t = a + d; determinant δ = ad − bc

Characteristic equation: λ² − tλ + δ = 0

Discriminant D = t² − 4δ

Eigenvalues: λ₁,₂ = (t ± √D)/2

Checks: λ₁ + λ₂ = t; λ₁λ₂ = δ

The characteristic equation comes from det(A − λI) = 0. Subtract λ from each diagonal entry, expand the 2 × 2 determinant and collect terms. Its roots are the eigenvalues.

If D is positive, the values are distinct and real. If D is zero, one real value repeats. If D is negative, write the roots as t/2 ± i√(−D)/2. The entries can all be real while the eigenvalues are nonreal.

Reference: Georgia Tech: Eigenvalues and Eigenvectors. Definition Av = λv with a nonzero eigenvector. Input limits, display precision and numerical conventions follow this calculator’s implementation.

Matrix Entries, Trace and Eigenvalue Results

Four matrix entries
Real numbers placed in the stated row and column positions.
Eigenvalues
Featured pair solving the characteristic quadratic.
First and second eigenvalues
Separate components of the pair for easier inspection, not additional eigenvalues.
Trace t
a + d; also the sum of the two eigenvalues.
Determinant δ
ad − bc; also their product.
Characteristic discriminant
t² − 4δ, which controls the real or complex case.
Value type
Two real eigenvalues, Repeated real eigenvalue or Complex conjugate eigenvalues, subject to the implementation tolerance.

Eigenvalue Worked Example

Illustrative example. Find the eigenvalues of [5, 2; 2, 2]. Enter the four entries by row.

Trace is 7 and determinant is 10 − 4 = 6. The characteristic equation is λ² − 7λ + 6 = 0, and its discriminant is 49 − 24 = 25. The roots are 1 and 6.

Independently factor (λ − 1)(λ − 6). Their sum is 7 and product is 6. For a further manual check, A[1, −2]ᵀ = [1, −2]ᵀ and A[2, 1]ᵀ = 6[2, 1]ᵀ. The calculator does not supply those eigenvectors.

Calculation check. These illustrative values were checked independently against the formula and calculator response. Retain unrounded intermediate values when checking approximations.

Eigenvalue Worked Example
QuantityValue
Trace7
Determinant6
Discriminant25
First eigenvalue1
Second eigenvalue6
Sum and product7; 6

Distinct, Repeated and Complex Eigenvalues

The characteristic discriminant separates the main cases, but the eigenvalues alone do not reveal all eigenvector properties.

For the rotation matrix [0, −1; 1, 0], the characteristic equation is λ² + 1 = 0. Its roots are −i and i, even though the entries are real.

Distinct, Repeated and Complex Eigenvalues
MatrixDiscriminantEigenvalues
[5, 2; 2, 2]251 and 6
[3, 1; 0, 3]03 repeated
[0, −1; 1, 0]−4−i and i
[0, 0; 0, 0]00 repeated

How to Interpret Real and Complex Eigenvalues

For distinct real eigenvalues, each value has at least one real eigenvector. A negative eigenvalue reverses direction along that eigenvector; a positive one preserves its direction. Zero is an eigenvalue exactly when the matrix is singular in exact arithmetic.

A real matrix with a nonreal pair has no real eigenvector associated with those values. Complex values are valid solutions of the characteristic equation, rather than a failure of the calculation.

A repeated eigenvalue does not tell you how many independent eigenvectors exist. For example, [3, 1; 0, 3] and [3, 0; 0, 3] both have eigenvalue 3 twice, but they differ in their eigenvectors. This page cannot establish diagonalizability without that further analysis.

Common Eigenvalue Mistakes

  • Treating every matrix entry as an eigenvalue.
  • Forgetting that eigenvectors must be nonzero.
  • Assuming real entries force real eigenvalues.
  • Confusing the characteristic discriminant with the matrix determinant.
  • Assuming a repeated value proves two independent eigenvectors.
  • Using rounded pair values as a high-precision certification.

Frequently Asked Questions

How do I calculate eigenvalues of a 2 by 2 matrix?

Find trace t and determinant δ, then solve λ² − tλ + δ = 0. The two roots are the eigenvalues.

Can a real matrix have complex eigenvalues?

Yes. The real matrix [0, −1; 1, 0] has characteristic equation λ² + 1 = 0 and eigenvalues −i and i.

Does this tool calculate eigenvectors?

No. It reports eigenvalues and supporting matrix quantities. Finding a vector requires solving (A − λI)v = 0 separately.

How can I check the eigenvalue pair?

Their sum equals the trace and their product equals the determinant, counting multiplicity. Rounded displayed values can give small differences.

What does a repeated eigenvalue mean?

It is a repeated root of the characteristic equation. It does not alone establish how many independent eigenvectors exist or whether the matrix is diagonalizable.

Can an eigenvalue be zero?

Yes. In exact arithmetic, zero is an eigenvalue precisely when the matrix determinant is zero.

Are eigenvalues the same as diagonal entries?

For a triangular matrix they are the diagonal entries. For a general matrix, the off-diagonal entries also affect the characteristic equation.

How precise are the displayed eigenvalues?

They display up to six decimal places with trailing zeros removed. The numerical method and near-zero tolerance can obscure small values or closely spaced roots; verify sensitive cases independently.

Sources and References