Tutorials › Linear Algebra › The Discriminant And Real Eigenvalues Of Two-By-Two Matrices

Eigenvalues and Eigenvectors · Tutorial 493 of 1000

The Discriminant And Real Eigenvalues Of Two-By-Two Matrices

Use the entries of a real two-by-two matrix to calculate its characteristic-polynomial discriminant and classify its real eigenvalues.

Intermediate 9 min read

What You'll Learn

  • Compute the characteristic polynomial of a real two-by-two matrix using the stated sign convention.
  • Calculate its discriminant directly from the matrix entries.
  • Prove how the sign of the discriminant determines the real-root cases.
  • Distinguish two distinct real eigenvalues from a repeated real eigenvalue.
  • Recognize what the discriminant does not determine about eigenspaces.
  • Catch a common sign error when expanding the determinant.

What the Discriminant Tells Us

A real two-by-two matrix can have two distinct real eigenvalues, one real eigenvalue that is repeated, or no real eigenvalues. The characteristic polynomial records the eigenvalues as its roots, so the quadratic discriminant provides a direct way to distinguish these possibilities. This is a classification of the eigenvalues themselves: it does not, by itself, tell us the dimensions of their eigenspaces.

Throughout, let \(\mathbf{A}\in\mathbb{R}^{2\times2}\). A real number \(\lambda\) is an eigenvalue of \(\mathbf{A}\) if there is a nonzero vector \(\mathbf{v}\in\mathbb{R}^2\) such that \(\mathbf{A}\mathbf{v}=\lambda\mathbf{v}\). Equivalently, \(\mathbf{A}-\lambda\mathbf{I}_2\) is singular, so its determinant is zero. We use the course convention \(p_{\mathbf{A}}(\lambda)=\det(\mathbf{A}-\lambda\mathbf{I}_2)\); in particular, the eigenvalues are the roots of this polynomial.

Definition: Write \(\mathbf{A}=\begin{bmatrix}a&b\\c&d\end{bmatrix}\), with real entries. If \(p_{\mathbf{A}}(\lambda)=\lambda^2+s\lambda+t\), its discriminant is \(\Delta=s^2-4t\). A root of multiplicity two is called a repeated root; for a characteristic polynomial, its multiplicity is its algebraic multiplicity.

To apply this definition, first compute the characteristic polynomial using the stated sign convention. Expanding the two-by-two determinant gives

$$ p_{\mathbf{A}}(\lambda) =\det\begin{bmatrix}a-\lambda&b\\c&d-\lambda\end{bmatrix} =(a-\lambda)(d-\lambda)-bc =\lambda^2-(a+d)\lambda+(ad-bc). $$

Thus the coefficient of \(\lambda\) is \(-(a+d)\), and the constant term is \(ad-bc\). Substitution into the quadratic discriminant formula gives \(\Delta=(a+d)^2-4(ad-bc)\). Each term in this calculation matters: in particular, the determinant expansion subtracts \(bc\).

The Entrywise Formula and Its Proof

Identity: For \(\mathbf{A}=\begin{bmatrix}a&b\\c&d\end{bmatrix}\in\mathbb{R}^{2\times2}\), the discriminant of \(p_{\mathbf{A}}\) is \(\Delta=(a-d)^2+4bc\).

Proof. From the characteristic polynomial just computed, the discriminant is \((a+d)^2-4(ad-bc)\). Expanding and collecting terms gives

$$ \begin{aligned} \Delta &=a^2+2ad+d^2-4ad+4bc\\ &=a^2-2ad+d^2+4bc\\ &=(a-d)^2+4bc. \end{aligned} $$

This proves the identity for every choice of real entries \(a,b,c,d\). \(\square\)

This entrywise form is useful because it makes the possible contributions to \(\Delta\) visible. The square \((a-d)^2\) is nonnegative, but \(4bc\) can be positive, zero, or negative. Therefore, the sign cannot be determined from the diagonal entries alone in every case: the product of the off-diagonal entries can change the result.

Classifying the Real Eigenvalues

Theorem (Discriminant classification): Let \(\mathbf{A}\in\mathbb{R}^{2\times2}\), and let \(\Delta\) be the discriminant of its characteristic polynomial. If \(\Delta>0\), then \(\mathbf{A}\) has two distinct real eigenvalues. If \(\Delta=0\), then it has one repeated real eigenvalue, of algebraic multiplicity two. If \(\Delta<0\), then it has no real eigenvalues.

Proof. Write \(p_{\mathbf{A}}(\lambda)=\lambda^2-(a+d)\lambda+(ad-bc)\). The quadratic formula gives its roots as

$$ \lambda=\frac{a+d\pm\sqrt{\Delta}}{2}. $$

If \(\Delta>0\), then \(\sqrt{\Delta}\) is a positive real number. The two choices of sign produce real numbers, and they are distinct because their difference is \(\sqrt{\Delta}\ne0\). Each root makes \(p_{\mathbf{A}}(\lambda)=\det(\mathbf{A}-\lambda\mathbf{I}_2)=0\), so each is a real eigenvalue.

If \(\Delta=0\), both choices give the same real number \(\lambda=(a+d)/2\). Completing the square, or substituting the zero discriminant into the polynomial, gives \(p_{\mathbf{A}}(\lambda)=(\lambda-(a+d)/2)^2\). Hence this real root has algebraic multiplicity two, and there is only one distinct real eigenvalue.

If \(\Delta<0\), the square root in the quadratic formula is not real. More explicitly, for real \(\lambda\), completing the square gives

$$ p_{\mathbf{A}}(\lambda) =\left(\lambda-\frac{a+d}{2}\right)^2-\frac{\Delta}{4}>0, $$

because the first term is nonnegative and \(-\Delta/4>0\). Thus the polynomial has no real root. Since real eigenvalues are exactly its real roots, \(\mathbf{A}\) has no real eigenvalues. These three cases exhaust the possibilities for the real number \(\Delta\). \(\square\)

The cases describe the roots counted as polynomial roots, not the number of linearly independent eigenvectors. In particular, a repeated real root has algebraic multiplicity two, but the discriminant calculation alone does not determine the dimension of its eigenspace. That requires examining the corresponding equation \((\mathbf{A}-\lambda\mathbf{I}_2)\mathbf{v}=\mathbf{0}\).

Worked Classifications

Worked Example: Two Distinct Real Eigenvalues

Classify the real eigenvalues of \(\mathbf{A}=\begin{bmatrix}1&1\\1&3\end{bmatrix}\).

Here \(a=1\), \(b=1\), \(c=1\), and \(d=3\). The entrywise formula gives

$$ \Delta=(1-3)^2+4(1)(1)=4+4=8>0. $$

Therefore the matrix has two distinct real eigenvalues. To find them, first compute the characteristic polynomial:

$$ \begin{aligned} p_{\mathbf{A}}(\lambda) &=\det\begin{bmatrix}1-\lambda&1\\1&3-\lambda\end{bmatrix}\\ &=(1-\lambda)(3-\lambda)-1\\ &=3-4\lambda+\lambda^2-1\\ &=\lambda^2-4\lambda+2. \end{aligned} $$

The quadratic formula gives \(\lambda=(4\pm\sqrt{16-8})/2=2\pm\sqrt{2}\). To check, let \(\lambda=2\pm\sqrt{2}\). Then \(\lambda^2-4\lambda+2=0\), since \(\lambda^2=4\lambda-2\). Also, directly, \(\det(\mathbf{A}-\lambda\mathbf{I}_2)=p_{\mathbf{A}}(\lambda)=0\). Thus both calculated values are eigenvalues, and they are distinct because \(\sqrt{2}\ne0\).

Worked Example: A Repeated Real Eigenvalue

Classify the real eigenvalues of \(\mathbf{B}=\begin{bmatrix}2&1\\-1&0\end{bmatrix}\).

The entries are \(a=2\), \(b=1\), \(c=-1\), and \(d=0\). Therefore

$$ \Delta=(2-0)^2+4(1)(-1)=4-4=0. $$

The classification theorem says there is one repeated real eigenvalue. Computing the polynomial shows its value:

$$ \begin{aligned} p_{\mathbf{B}}(\lambda) &=\det\begin{bmatrix}2-\lambda&1\\-1&-\lambda\end{bmatrix}\\ &=(2-\lambda)(-\lambda)-(1)(-1)\\ &=-2\lambda+\lambda^2+1\\ &=\lambda^2-2\lambda+1\\ &=(\lambda-1)^2. \end{aligned} $$

Thus the repeated root is \(\lambda=1\), with algebraic multiplicity two. Substitution checks the result: \(p_{\mathbf{B}}(1)=1-2+1=0\), and \(\det(\mathbf{B}-\mathbf{I}_2)=\det\begin{bmatrix}1&1\\-1&-1\end{bmatrix}=1(-1)-1(-1)=0\). This verifies that \(1\) is indeed an eigenvalue. The discriminant establishes the repetition of the root, but this computation has not determined the eigenspace dimension.

Worked Example: No Real Eigenvalues

Determine whether \(\mathbf{C}=\begin{bmatrix}0&-1\\1&0\end{bmatrix}\) has real eigenvalues.

Here \(a=d=0\), \(b=-1\), and \(c=1\). The discriminant is

$$ \Delta=(0-0)^2+4(-1)(1)=-4<0. $$

So \(\mathbf{C}\) has no real eigenvalues. The characteristic polynomial confirms the classification:

$$ \begin{aligned} p_{\mathbf{C}}(\lambda) &=\det\begin{bmatrix}-\lambda&-1\\1&-\lambda\end{bmatrix}\\ &=(-\lambda)(-\lambda)-(-1)(1)\\ &=\lambda^2+1. \end{aligned} $$

For every real \(\lambda\), \(\lambda^2\ge0\), so \(\lambda^2+1>0\); it cannot equal zero. Directly, \(\det(\mathbf{C}-\lambda\mathbf{I}_2)=\lambda^2+1\), which is never zero for real \(\lambda\). This checks that there is no real eigenvalue.

Reading the Sign from the Entries

The identity \(\Delta=(a-d)^2+4bc\) also gives a useful way to assess the cases before computing the full characteristic polynomial. If \(bc>0\), then \(4bc>0\), so \(\Delta>0\) and there are two distinct real eigenvalues. If \(bc=0\), then \(\Delta=(a-d)^2\): it is positive when \(a\ne d\), and zero when \(a=d\). If \(bc<0\), the positive square term competes with a negative term, so either sign or zero is possible.

For \(bc<0\), write \(4bc=-4|bc|\). Then \(\Delta=(a-d)^2-4|bc|\). It is positive when \((a-d)^2>4|bc|\), zero when \((a-d)^2=4|bc|\), and negative when \((a-d)^2<4|bc|\). This comparison is another way to apply the same discriminant test, not a separate test that bypasses the characteristic polynomial.

For example, in \(\mathbf{B}\), \(bc=-1\) and \((a-d)^2=4\), so the two contributions exactly cancel and \(\Delta=0\). In \(\mathbf{C}\), \(bc=-1\) but \((a-d)^2=0\), so the negative contribution remains and \(\Delta<0\). These checks show why a negative product \(bc\) does not automatically mean there are no real eigenvalues: the size of the diagonal difference matters as well.

Common Mistake: Losing the Determinant Sign

A frequent error is to use \(+bc\) instead of \(-bc\) when expanding \(\det\begin{bmatrix}x&b\\c&y\end{bmatrix}=xy-bc\). For the matrix \(\mathbf{C}\), that mistake would give the false polynomial \(\lambda^2-1\), leading to the incorrect conclusion that its eigenvalues are \(1\) and \(-1\).

The correction is to expand the determinant using the product of the main diagonal entries minus the product of the other diagonal entries:

$$ \det\begin{bmatrix}-\lambda&-1\\1&-\lambda\end{bmatrix} =(-\lambda)(-\lambda)-(-1)(1) =\lambda^2-(-1) =\lambda^2+1. $$

The corrected polynomial is positive for every real \(\lambda\), in agreement with \(\Delta=-4\). A reliable check is to substitute the proposed value into \(\det(\mathbf{A}-\lambda\mathbf{I}_2)\). The false candidates \(1\) and \(-1\) both give determinant \(2\), not zero, so neither is an eigenvalue.

What This Test Does—and Does Not—Answer

The discriminant test is useful when the immediate question is whether the eigenvalues of a real two-by-two matrix are real and whether they are distinct. It requires only the entries of the matrix and exact arithmetic. Once \(\Delta\) is known, the classification is complete:

DiscriminantReal-root conclusionAlgebraic multiplicity
\(\Delta>0\)Two distinct real eigenvaluesEach root has multiplicity one
\(\Delta=0\)One repeated real eigenvalueThe root has multiplicity two
\(\Delta<0\)No real eigenvaluesNo real root to assign a real algebraic multiplicity

The classification should not be stretched beyond what it proves. A zero discriminant says that the characteristic polynomial has a repeated real root; it does not establish how many independent eigenvectors correspond to that root. Nor does the sign alone provide the eigenvectors. Those questions require solving the eigenvalue equation for the relevant value of \(\lambda\). Keeping the root classification separate from the eigenspace calculation prevents a common logical leap from “repeated eigenvalue” to an unsupported claim about eigenvectors.

Check Your Understanding

For each question, use the characteristic-polynomial convention \(p_{\mathbf{A}}(\lambda)=\det(\mathbf{A}-\lambda\mathbf{I}_2)\), and check any claimed eigenvalue by substituting it into the determinant.

  1. For \(\mathbf{A}=\begin{bmatrix}3&1\\1&1\end{bmatrix}\), compute the discriminant and classify its real eigenvalues.
  2. For \(\mathbf{B}=\begin{bmatrix}1&2\\-2&-3\end{bmatrix}\), compute the characteristic polynomial and determine whether there is a repeated real eigenvalue.
  3. Explain why \(\Delta<0\) rules out every real eigenvalue, using the relationship between eigenvalues and roots of \(p_{\mathbf{A}}\).
  4. If \(bc<0\), state the comparison between \((a-d)^2\) and \(4|bc|\) that gives two distinct real eigenvalues.
  5. A calculation gives \(\Delta=0\). What does this establish, and what does it not establish about the eigenspace?

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