Compute the characteristic polynomial of a 2 by 2 matrix
Write det(A - lambda I) as lambda squared minus trace times lambda plus determinant. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
The trace is the sum of the diagonal entries; the determinant is. Write them as and. Then
For: and, so the polynomial is.
Compare the work. Expanding by hand:, one expansion, one chance to drop a sign. Using the form: read, read, write the quadratic. The form is faster and it cannot silently lose a sign, because both coefficients are built from numbers you wrote down directly.
Expand and collect:
Read the coefficients: the coefficient is, which is minus the trace, and the constant is, which is the determinant. Nothing was assumed about the matrix. So the identity holds for every, which is why it can be used instead of the expansion rather than as a check on it.
The same expansion explains the general rule: for an matrix the coefficient of is always and the constant term is always. The middle coefficients carry more information and have no such simple reading, which is exactly why the case is the one worth memorising.
(a matrix with no zero entries, so no structure to exploit).
and.
So. Discriminant: the eigenvalues are.
Now the same answer the slow way, to prove the form was not a trick: Same polynomial. The form would have given it in one line and with no chance of losing the.
- Write det(A - lambda I) as lambda squared minus trace times lambda plus determinant
- Read the trace and the determinant straight off the entries
- Use the two coefficients as checks on a hand expansion
. Write the characteristic polynomial with the form, find the eigenvalues, and confirm with the two checks.
Answers
and, so.
Factor:, eigenvalues and.
Checks: ✓ and ✓. Both pass, so the pair is certainly the spectrum — the only thing that could still be wrong is which eigenvector belongs to which, and that is a separate question.
(For reference: and, so the larger eigenvalue belongs to the vector with equal entries.)