Files never leave your device

2 × 2 eigenvalue calculator

Find real, repeated or complex eigenvalues from the characteristic polynomial. Your inputs stay on your device.

Set up your task

Ready. Processing stays in this browser.

How to use 2 × 2 eigenvalue calculator

Find real, repeated or complex eigenvalues from the characteristic polynomial. The pre-filled problem gives you a worked starting point. Compare the response with your own working before trying the self-check below.

  1. Check the example inputs: Two-by-two matrix.
  2. Change the inputs for your problem. Results update as you type, so finish entering the values before copying an answer.
  3. Use the working to check an intermediate value or assumption. Then change the example as suggested in the self-check and compare the result.

Supported inputs and limits

Enter a real two-by-two matrix. Give each row on its own line or separate rows with a semicolon.

How it works

An eigenvalue specifies how a linear transformation scales a vector along an invariant direction, when that vector is considered over the appropriate field. The two-by-two characteristic equation relates the eigenvalues to the trace and determinant. Its discriminant tells whether the roots are real, repeated or complex.

The computation shows the discriminant as a check. For distinct real roots it evaluates one root and obtains the other using their product, reducing cancellation for a small root next to a large one. A repeated root does not establish that there are two independent eigenvectors. That requires a separate rank calculation.

Example

Run the pre-filled example. Its first result is “Eigenvalues: 0 ± 1i”.

Two-by-two matrix
0 -1
1 0
Eigenvalues: 0 ± 1i
Trace: 0 · Determinant: 1
Discriminant: -4
Solve λ² − trace(A)λ + det(A) = 0.

Questions about 2 × 2 eigenvalue calculator

How can the result be checked?

The roots sum to the trace and multiply to the determinant, allowing for rounding in the displayed values.

Can a real matrix have imaginary eigenvalues?

Yes. A planar rotation can do so. In the pre-filled quarter-turn example the characteristic equation is λ² + 1 = 0.

Replace the input with diagonal rows 2 0 and 0 5.

The eigenvalues are 2 and 5. Their sum equals the trace, and their product equals the determinant.

Related tools

Year 3: Advanced and applied maths

Last updated