CalculatorForEver
MATH / CALCULATOR

Eigenvalue Calculator

Calculate eigenvalue with worked steps, clear input conventions and a result table.

For A = [[a,b],[c,d]], trace T = a+d and determinant D = ad−bc. Solve λ²−Tλ+D = 0. The real eigenvalues are (T±√(T²−4D))/2 when the discriminant is nonnegative.

Your numbers

BROWSER-LOCAL INPUTS

Your inputs stay in this browser. No account needed.

RESULT

Your result

Enter your values and select Calculate.

Check the units and assumptions before using this result.

METHOD

How the eigenvalue calculator works

How to use this calculator

Enter the values in the stated format. Calculate and review the method, exact distinctions and any numerical limits before using the result.

What the result means

An eigenvalue is a scale factor associated with a nonzero vector whose direction is preserved by a matrix transformation, allowing a reversal for a negative factor. For a two-by-two matrix, the eigenvalues solve a quadratic built from its trace and determinant. This calculator reports real eigenvalues when the discriminant permits them and identifies cases without real eigenvalues. It does not calculate eigenvectors, handle larger matrices or promise that a repeated eigenvalue supplies two independent directions.

The formula

λ = (trace ± sqrt(trace² − 4det))/2

A worked example

A diagonal matrix with 2 and 3 on its diagonal has eigenvalues 2 and 3.

Assumptions & methodology

Use consistent units and inspect the displayed working. Numerical results are rounded for display; unsupported or unstable inputs are rejected. Results are rounded for display; intermediate calculations retain precision. This tool is informational and does not replace institutional or professional guidance.

References

MIT OpenCourseWare: eigenvalues and the characteristic equation

WORK THROUGH THE DETAILS

Using your eigenvalue result

Check a scale direction for the example

For eigenvalue 5 of [[4,1],[2,3]], vector (1,1) gives A(1,1) = (5,5), which equals 5(1,1). For eigenvalue 2, vector (1,−2) gives A(1,−2) = (2,−4), equal to 2(1,−2). These examples illustrate what an eigenvalue means, but the tool’s output is the scale factor rather than a complete eigenvector basis. A zero vector would satisfy any scale equation, so eigenvectors are required to be nonzero.

Interpret a repeated root without assuming diagonalizability

The matrix [[3,1],[0,3]] has trace 6, determinant 9 and discriminant zero, giving repeated eigenvalue 3. That repeated value does not guarantee two independent eigenvectors. In contrast, 3 times the identity also has repeated eigenvalue 3 and every nonzero vector is an eigenvector. The scalar root list alone cannot distinguish all geometric properties of these two transformations. Keep multiplicity separate from the dimension of an eigenspace.

Recognize the real-output boundary

A quarter-turn matrix [[0,−1],[1,0]] has trace zero and determinant 1, so its discriminant is −4. It has no real eigenvalues; over the complex numbers the eigenvalues are i and −i. The real-only result does not mean the matrix is singular: its determinant is nonzero and it has an inverse. Very close repeated roots can be sensitive to rounded input. Use the original entries and avoid interpreting a tiny displayed discriminant as proof of an exact algebraic identity.

Relate eigenvalues to an inverse without computing directions

When a matrix is invertible, the eigenvalues of its inverse are reciprocals of its eigenvalues. A diagonal matrix with entries 2 and 5 has eigenvalues 2 and 5; its inverse has diagonal entries 0.5 and 0.2. A zero eigenvalue cannot be inverted, matching the zero-determinant condition. This relationship can check a pair of two-by-two results without supplying an eigenvector basis. It does not imply that taking reciprocals of arbitrary matrix entries forms an inverse. Use the Inverse Matrix Calculator for the actual entry computation and retain the original matrix order. For a diagonal matrix, multiplying each diagonal entry by a common scalar also multiplies both eigenvalues by that scalar. This gives a small independent check on a repeated calculation with rescaled entries.

INTERPRETATION

Understanding eigenvalue results

Build the characteristic quadratic

For A = [[4,1],[2,3]], the trace is 7 and determinant is 12−2 = 10. The characteristic equation is λ²−7λ+10 = 0, which factors as (λ−5)(λ−2) = 0. The eigenvalues are 5 and 2. Their sum, 7, matches the trace, and their product, 10, matches the determinant. These checks use the original matrix entries and help catch a wrong sign in the characteristic equation.

Separate eigenvalues from matrix entries

The diagonal entries 4 and 3 in the example are not its eigenvalues. Off-diagonal entries affect the determinant and the resulting roots. A triangular matrix is a useful exception: [[4,2],[0,3]] has eigenvalues 4 and 3 because its characteristic determinant factors along the diagonal. Do not extend that shortcut to an arbitrary matrix. This interface takes the entries in the displayed row order and performs the trace-determinant calculation for that matrix.

RELATED GUIDES

Related questions and worked examples

Read a worked explanation before trying another calculation.

QUESTIONS

Eigenvalue questions

Can an eigenvalue be zero?+

Yes. A zero eigenvalue means the matrix maps a nonzero vector to zero. For a square matrix, that also implies a zero determinant and no inverse.

Does this calculator return eigenvectors?+

No. It calculates the real eigenvalues of a two-by-two numeric matrix. Finding an eigenspace or complex eigenvectors is a separate task.