Characteristic Polynomial

Form a 2×2 characteristic polynomial from the matrix trace and determinant.

Compute trace and determinant

The trace is 4 + 3 = 7 and the determinant is 12 − 2 = 10. The characteristic polynomial is therefore lambda² − 7lambda + 10.

charpoly([[4, 1], [2, 3]], lambda)

Read a diagonal matrix

The diagonal entries sum to 5 and multiply to 6. Substitution into the same formula gives lambda² − 5lambda + 6.

charpoly([[2, 0], [0, 3]], lambda)

See a repeated-root form

Trace 2 and determinant 1 produce lambda² − 2lambda + 1. Its repeated root will have algebraic multiplicity 2.

charpoly([[1, 1], [0, 1]], lambda)

Practice

Practice: problems like this one, made and checked in your browser.

Recap

  • For a 2×2 matrix, use lambda² − tr(A)lambda + det(A).
  • Trace adds the diagonal entries; determinant uses the whole matrix.
  • The roots of this polynomial are the eigenvalues.