Tutorials › Linear Algebra › Characteristic Polynomials And Their Roots

Eigenvalues and Eigenvectors · Tutorial 484 of 1000

Characteristic Polynomials And Their Roots

Learn how the characteristic polynomial encodes eigenvalues and why its roots are exactly the scalars that make \(\lambda\mathbf I-\mathbf A\) singular.

Intermediate 10 min read

What You'll Learn

  • Define the polynomial \(\det(\lambda\mathbf I-\mathbf A)\) and distinguish it from the course notation \(p_{\mathbf A}(\lambda)\).
  • Prove that a root of the characteristic polynomial is an eigenvalue, and prove the converse.
  • Explain how the scalar field determines whether a complex root counts as an eigenvalue.
  • Compute characteristic polynomials and verify eigenpairs by direct multiplication.
  • Avoid sign errors when using the two determinant expressions.

From Eigenvalues to a Polynomial

An eigenvalue is a scalar \(\lambda\) for which a matrix acts on some nonzero vector by multiplication by \(\lambda\). Finding such a scalar directly means asking whether \(\mathbf{A}\mathbf{x}=\lambda\mathbf{x}\) has a nonzero solution. Rearranging gives \((\lambda\mathbf{I}-\mathbf{A})\mathbf{x}=\mathbf{0}\). The determinant turns this question into a polynomial equation in \(\lambda\): the values that make that determinant zero are precisely the values for which the homogeneous system has a nonzero solution.

Let \(n\geq 1\), let \(\mathbb{F}\) be \(\mathbb{R}\) or \(\mathbb{C}\), and let \(\mathbf{A}\in\mathbb{F}^{n\times n}\). Here \(\mathbf{I}\) denotes the \(n\times n\) identity matrix. An eigenvalue of \(\mathbf{A}\) over \(\mathbb{F}\) is a scalar \(\lambda\in\mathbb{F}\) for which there is a vector \(\mathbf{x}\in\mathbb{F}^n\), \(\mathbf{x}\ne\mathbf{0}\), satisfying \(\mathbf{A}\mathbf{x}=\lambda\mathbf{x}\).

Definition: Write \(\chi_{\mathbf{A}}(\lambda)=\det(\lambda\mathbf{I}-\mathbf{A})\). This is the characteristic polynomial in the \(\lambda\mathbf{I}-\mathbf{A}\) convention. A scalar \(\lambda\in\mathbb{F}\) is a root of this polynomial if \(\chi_{\mathbf{A}}(\lambda)=0\). In the course notation, \(p_{\mathbf{A}}(\lambda)=\det(\mathbf{A}-\lambda\mathbf{I})\); the two polynomials differ by the factor \((-1)^n\) and therefore have the same roots.

The notation distinguishes two determinant expressions rather than two different tests for eigenvalues. In fact, \(\mathbf{A}-\lambda\mathbf{I}=-(\lambda\mathbf{I}-\mathbf{A})\), and multiplying all \(n\) rows by \(-1\) multiplies the determinant by \((-1)^n\). Thus \(p_{\mathbf{A}}(\lambda)=(-1)^n\chi_{\mathbf{A}}(\lambda)\). This relation lets us use the requested \(\lambda\mathbf{I}-\mathbf{A}\) expression while retaining the course notation for \(p_{\mathbf{A}}\).

Why the Determinant Is a Polynomial

Each entry of \(\lambda\mathbf{I}-\mathbf{A}\) is either \(\lambda-a_{ii}\) on the diagonal or a constant off the diagonal. The determinant is a sum of products of entries, so it is a polynomial in \(\lambda\). More precisely, the determinant expansion over permutations is

$$ \chi_{\mathbf{A}}(\lambda) = \sum_{\pi\in S_n}\operatorname{sgn}(\pi) \prod_{i=1}^{n}(\lambda\delta_{i,\pi(i)}-a_{i,\pi(i)}), $$

where \(S_n\) is the set of permutations of \(\{1,\ldots,n\}\), \(\operatorname{sgn}(\pi)\) is the sign of a permutation, and \(\delta_{ij}=1\) when \(i=j\) and \(0\) otherwise. The identity permutation contributes \(\prod_{i=1}^{n}(\lambda-a_{ii})\), whose highest-degree term is \(\lambda^n\). Every nonidentity permutation moves at least one index; for a moved index, its factor is an off-diagonal constant. Its product therefore has degree at most \(n-1\). This proves the following degree statement.

Proposition: For \(\mathbf{A}\in\mathbb{F}^{n\times n}\), \(\chi_{\mathbf{A}}(\lambda)=\det(\lambda\mathbf{I}-\mathbf{A})\) is a monic polynomial of degree \(n\).

Proof. In the determinant expansion, the identity-permutation term has leading term \(\lambda^n\) with coefficient \(1\). Every other permutation moves at least one index, so at least one factor in its product is constant rather than containing \(\lambda\). Such a product has degree at most \(n-1\), and cannot alter the coefficient of \(\lambda^n\). Hence the determinant is a degree-\(n\) polynomial with leading coefficient \(1\). \(\square\)

This proposition says that the determinant expression is a polynomial of a known degree; it does not say that the polynomial has \(n\) distinct roots in the chosen field. A polynomial may repeat a root, and a real polynomial may have roots that are not real. The field matters when deciding which roots are eigenvalues: the eigenvector must have entries in that same field.

The Root–Eigenvalue Theorem

Theorem: Let \(\mathbf{A}\in\mathbb{F}^{n\times n}\), where \(\mathbb{F}=\mathbb{R}\) or \(\mathbb{C}\). A scalar \(\lambda\in\mathbb{F}\) is a root of \(\chi_{\mathbf{A}}(\lambda)=\det(\lambda\mathbf{I}-\mathbf{A})\) if and only if \(\lambda\) is an eigenvalue of \(\mathbf{A}\) over \(\mathbb{F}\).

Proof. Fix \(\lambda\in\mathbb{F}\) and set \(\mathbf{B}=\lambda\mathbf{I}-\mathbf{A}\). By the determinant criterion for a square matrix, \(\det\mathbf{B}=0\) if and only if \(\mathbf{B}\) is singular. By the Invertible Matrix Theorem, a square matrix is singular if and only if its homogeneous equation has a nonzero solution. Therefore, \(\chi_{\mathbf{A}}(\lambda)=0\) if and only if there is an \(\mathbf{x}\ne\mathbf{0}\) such that \((\lambda\mathbf{I}-\mathbf{A})\mathbf{x}=\mathbf{0}\). Expanding the left side gives \(\lambda\mathbf{x}-\mathbf{A}\mathbf{x}=\mathbf{0}\), which is equivalent to \(\mathbf{A}\mathbf{x}=\lambda\mathbf{x}\). This last equation, with \(\mathbf{x}\ne\mathbf{0}\), is exactly the definition that \(\lambda\) is an eigenvalue. Each equivalence is reversible, proving both directions. \(\square\)

The key condition is singularity, not merely a determinant calculation. A zero determinant means the columns of \(\lambda\mathbf{I}-\mathbf{A}\) are linearly dependent, so some nonzero coefficient vector \(\mathbf{x}\) satisfies \((\lambda\mathbf{I}-\mathbf{A})\mathbf{x}=\mathbf{0}\). That vector is an eigenvector. Conversely, an eigenvector supplies such a nonzero solution and forces the matrix to be singular. The theorem is exact over the stated field: if \(\lambda\) is not in \(\mathbb{F}\), it is not an eigenvalue over \(\mathbb{F}\), even if it is a root after extending the field.

Worked Examples

Worked Example: Two Real Roots

Let \(\mathbf{A}=\begin{bmatrix}2&1\\0&3\end{bmatrix}\). Find \(\chi_{\mathbf{A}}\), determine its roots, and verify the eigenvalues by exhibiting eigenvectors.

Subtracting \(\mathbf{A}\) from \(\lambda\mathbf{I}\) gives

$$ \lambda\mathbf{I}-\mathbf{A} = \begin{bmatrix}\lambda-2&-1\\0&\lambda-3\end{bmatrix}. $$

Using the \(2\times2\) determinant formula,

$$ \chi_{\mathbf{A}}(\lambda) =(\lambda-2)(\lambda-3)-(-1)(0) =(\lambda-2)(\lambda-3). $$

The roots are \(\lambda=2\) and \(\lambda=3\). For \(\lambda=2\), take \(\mathbf{x}=\begin{bmatrix}1\\0\end{bmatrix}\). Direct multiplication gives \(\mathbf{A}\mathbf{x}=\begin{bmatrix}2\\0\end{bmatrix}=2\mathbf{x}\). For \(\lambda=3\), take \(\mathbf{x}=\begin{bmatrix}1\\1\end{bmatrix}\). Then \(\mathbf{A}\mathbf{x}=\begin{bmatrix}3\\3\end{bmatrix}=3\mathbf{x}\). Both roots are verified as eigenvalues.

Worked Example: Roots That Require Complex Scalars

Let \(\mathbf{A}=\begin{bmatrix}0&-1\\1&0\end{bmatrix}\). Determine its roots over \(\mathbb{R}\) and \(\mathbb{C}\), and check the complex eigenpairs.

The matrix in the determinant is

$$ \lambda\mathbf{I}-\mathbf{A} = \begin{bmatrix}\lambda&1\\-1&\lambda\end{bmatrix}, \qquad \chi_{\mathbf{A}}(\lambda) =\lambda\cdot\lambda-1\cdot(-1) =\lambda^2+1. $$

Over \(\mathbb{R}\), the equation \(\lambda^2+1=0\) has no roots, so the matrix has no real eigenvalues. Over \(\mathbb{C}\), its roots are \(i\) and \(-i\). For \(i\), choose \(\mathbf{x}=\begin{bmatrix}1\\-i\end{bmatrix}\). Then

$$ \mathbf{A}\mathbf{x} = \begin{bmatrix}i\\1\end{bmatrix} = i\begin{bmatrix}1\\-i\end{bmatrix} =i\mathbf{x}. $$

For \(-i\), choose \(\mathbf{y}=\begin{bmatrix}1\\i\end{bmatrix}\). Then

$$ \mathbf{A}\mathbf{y} = \begin{bmatrix}-i\\1\end{bmatrix} = (-i)\begin{bmatrix}1\\i\end{bmatrix} =(-i)\mathbf{y}. $$

Both vectors are nonzero, and the multiplication checks both complex eigenvalues.

Worked Example: Factoring and Checking Both Roots

For \(\mathbf{A}=\begin{bmatrix}0&1\\-2&3\end{bmatrix}\), compute the characteristic polynomial and verify the eigenvalues found from its roots.

First,

$$ \lambda\mathbf{I}-\mathbf{A} = \begin{bmatrix}\lambda&-1\\2&\lambda-3\end{bmatrix}. $$

Its determinant is

$$ \chi_{\mathbf{A}}(\lambda) =\lambda(\lambda-3)-(-1)(2) =\lambda^2-3\lambda+2 =(\lambda-1)(\lambda-2). $$

The roots are \(1\) and \(2\). For \(\lambda=1\), use \(\mathbf{x}=\begin{bmatrix}1\\1\end{bmatrix}\):

$$ \mathbf{A}\mathbf{x} = \begin{bmatrix}1\\1\end{bmatrix} =1\mathbf{x}. $$

For \(\lambda=2\), use \(\mathbf{y}=\begin{bmatrix}1\\2\end{bmatrix}\):

$$ \mathbf{A}\mathbf{y} = \begin{bmatrix}2\\4\end{bmatrix} =2\mathbf{y}. $$

These nonzero vectors verify each root directly against the eigenvalue equation.

Common Sign and Field Pitfalls

Do not confuse a change in sign convention with a change in the roots. For example, take \(\mathbf{A}=2\mathbf{I}_3\). A mistaken calculation might write \(\det(\mathbf{A}-\lambda\mathbf{I})=(\lambda-2)^3\), silently changing the signs inside the determinant. The corrected calculations are

$$ \det(\lambda\mathbf{I}-\mathbf{A})=(\lambda-2)^3, \qquad \det(\mathbf{A}-\lambda\mathbf{I})=(2-\lambda)^3=-(\lambda-2)^3. $$

The polynomials are not equal, but their roots are both \(2\). The correction matters because the sign of the polynomial is part of the polynomial itself, even when the eigenvalue test gives the same answer.

Also specify the field. For the rotation matrix above, saying “there are no eigenvalues” without qualification is incomplete: there are no real eigenvalues, but there are two complex eigenvalues. The theorem compares roots and eigenvalues over the same field. If the matrix is real and the question concerns complex roots, regard its entries as complex and solve the eigenvector equation in \(\mathbb{C}^n\).

The characteristic polynomial is useful because it packages the singularity test into one scalar equation. Instead of solving \((\lambda\mathbf{I}-\mathbf{A})\mathbf{x}=\mathbf{0}\) separately for every possible \(\lambda\), one first finds the roots of a polynomial and then, for each root, solves the corresponding homogeneous system to find eigenvectors. The theorem proves that this approach finds exactly the eigenvalues—no more and no fewer. The polynomial’s roots alone do not provide the eigenvectors; those come from the null space of \(\lambda\mathbf{I}-\mathbf{A}\).

Check Your Understanding

For each question, state the scalar field when it affects the answer, and use the eigenvalue equation to check any claimed eigenpair.

  1. For \(\mathbf{A}=\begin{bmatrix}1&2\\0&4\end{bmatrix}\), compute \(\chi_{\mathbf{A}}(\lambda)\) and identify its roots.
  2. Explain why \(\det(\lambda\mathbf{I}-\mathbf{A})=0\) guarantees a nonzero eigenvector for that \(\lambda\).
  3. For \(\mathbf{A}=\begin{bmatrix}0&-1\\1&0\end{bmatrix}\), are there real eigenvalues? Are there complex eigenvalues?
  4. For an \(n\times n\) matrix, what is the degree and leading coefficient of \(\chi_{\mathbf{A}}(\lambda)\)?
  5. How are \(\det(\lambda\mathbf{I}-\mathbf{A})\) and \(\det(\mathbf{A}-\lambda\mathbf{I})\) related, and why do they have the same roots?

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon