What this calculator does
Eigenvalues describe the directions in which a linear transformation stretches or shrinks a vector without rotating it. For a 2×2 matrix, they come from the characteristic equation λ² - trace·λ + determinant = 0, where the trace is the sum of the diagonal entries and the determinant is ad - bc. The discriminant decides the type: positive gives two distinct real eigenvalues, zero gives a repeated real eigenvalue, and negative gives a complex conjugate pair. This calculator finds the trace, determinant, discriminant, and eigenvalues, and reports the classification. It is a compact linear-algebra tool for checking homework, verifying a numerical result, or building intuition before working with larger matrices.
How to use it
- Enter the four entries a, b, c, and d of the matrix [[a, b], [c, d]].
- Read the trace and determinant first; they are the inputs to the characteristic equation.
- Check the discriminant to see whether the eigenvalues are real, repeated, or complex.
- Read the eigenvalues and the classification.
- Verify that the eigenvalues sum to the trace and multiply to the determinant.
- Use the real and imaginary parts if the pair is complex.
How it works
Example calculations
Example 1: Two distinct real eigenvalues
For [[4, 1], [2, 3]], the trace is 7 and the determinant is 10. The characteristic equation is λ² - 7λ + 10 = 0, which factors as (λ - 5)(λ - 2) = 0. The eigenvalues are 5 and 2. Their sum is 7 and their product is 10, matching the trace and determinant.
Example 2: A diagonal matrix
For [[2, 0], [0, 3]], the trace is 5 and the determinant is 6. The discriminant is 1, so the eigenvalues are (5 ± 1) / 2 = 3 and 2. A diagonal matrix's eigenvalues are simply its diagonal entries, which is a useful check.
Example 3: A complex conjugate pair
For [[1, 1], [-1, 1]], the trace is 2 and the determinant is 2. The discriminant is 4 - 8 = -4, so the eigenvalues are 1 ± i. The real part is 1 and the imaginary part is 1. The modulus of each complex eigenvalue is √2 ≈ 1.414.
What the result means
The classification tells you what kind of behaviour to expect: distinct real eigenvalues often mean independent stretching directions, a repeated eigenvalue can mean a single direction or a more complicated Jordan form, and a complex pair means a rotation combined with scaling. The trace and determinant are quick checks: the eigenvalues must add to the trace and multiply to the determinant. For a complex pair, the real part is the average of the diagonal entries and the imaginary part is half the square root of the negative discriminant. This calculator handles 2×2 matrices exactly from the entered values; larger matrices need a numerical eigenvalue routine.
Common mistakes
- Using the determinant as the constant term with the wrong sign.
- Forgetting that the characteristic equation is λ² - trace·λ + determinant.
- Taking the square root of a negative discriminant without switching to a complex pair.
- Confusing the trace with the sum of all four entries.
- Assuming a repeated eigenvalue always means the matrix is diagonalisable.
- Mixing the order of the entries in the matrix.
Assumptions and limits
- The matrix is 2×2 with real entries.
- The characteristic equation is solved exactly from the entered values.
- A zero discriminant is treated as a repeated real eigenvalue.
- A negative discriminant is reported as a complex conjugate pair.
- No eigenvectors or Jordan form are computed.
- Very large or very small values may lose precision in floating-point arithmetic.
Frequently asked questions
What is an eigenvalue?
An eigenvalue is a scalar λ for which the matrix times some nonzero vector equals λ times that vector. It describes a direction that the transformation scales without turning.
Why does the trace equal the sum of the eigenvalues?
For a 2×2 matrix, the characteristic polynomial is λ² - trace·λ + determinant. By Vieta's formulas, the sum of the roots is the coefficient of λ with the opposite sign, which is the trace.
What does a negative discriminant mean?
It means the eigenvalues are a complex conjugate pair. The matrix has a rotational component, and the real part gives the scaling while the imaginary part gives the rotation rate.
What if the discriminant is zero?
The matrix has a repeated real eigenvalue. It may or may not be diagonalisable, depending on the eigenvectors. This calculator reports the repeated value but does not compute the eigenvectors.
Can I use this for a 3×3 matrix?
No. The formulas here are specific to 2×2 matrices. A 3×3 matrix needs the cubic characteristic polynomial and a different solver, which is available in the separate 3×3 matrix calculator.
Are the eigenvalues always real?
No. A real 2×2 matrix can have real or complex eigenvalues. The discriminant decides: positive or zero gives real eigenvalues, negative gives a complex pair.
Sources
2026 update
How to use the professional output
This page is not just a formula box. The result is designed to be checked, compared, and taken away.
- Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
- A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
- Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.
The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.