Tutorials › Linear Algebra › Solving Two-By-Two Eigenpair Problems

Eigenvalues and Eigenvectors · Tutorial 498 of 1000

Solving Two-By-Two Eigenpair Problems

Factor a two-by-two characteristic polynomial, solve each null-space system, and verify the eigenpairs, including a matrix with complex eigenvalues.

Intermediate 10 min read

What You'll Learn

  • Use the characteristic polynomial to identify candidate eigenvalues.
  • Set up the null-space system associated with each eigenvalue.
  • Row reduce to find the eigenvectors for real eigenvalues.
  • Work with complex eigenvalues and eigenvectors when needed.
  • Verify each proposed eigenpair by direct matrix multiplication.
  • Avoid sign errors when evaluating a two-by-two determinant.

From Eigenvalues to Eigenpairs

For a two-by-two matrix, finding eigenpairs has two distinct stages. First, the characteristic polynomial gives the possible eigenvalues. Then, for each eigenvalue, a homogeneous system gives the eigenvectors. Keeping these stages separate matters: a root of the characteristic polynomial is a candidate eigenvalue, while the corresponding eigenvectors must be found by solving a new system.

Let \(\mathbf{A}\in\mathbb{R}^{2\times2}\). We may regard \(\mathbf{A}\) as acting on \(\mathbb{R}^2\) when working with real eigenvalues, or on \(\mathbb{C}^2\) when its characteristic polynomial has nonreal roots. An eigenpair is a scalar \(\lambda\) and a nonzero vector \(\mathbf{v}\) satisfying \(\mathbf{A}\mathbf{v}=\lambda\mathbf{v}\). For a real eigenvalue, the eigenvectors can be taken in \(\mathbb{R}^2\); for a nonreal eigenvalue of a real matrix, they are in \(\mathbb{C}^2\).

Definition: The characteristic polynomial of \(\mathbf{A}\) is \(p_{\mathbf{A}}(\lambda)=\det(\mathbf{A}-\lambda\mathbf{I}_2)\). The eigenspace for \(\lambda\) is \(E_{\lambda}=\operatorname{Nul}(\mathbf{A}-\lambda\mathbf{I}_2)\). Its nonzero vectors are precisely the eigenvectors for \(\lambda\).

The equation defining an eigenvector can be rearranged as \((\mathbf{A}-\lambda\mathbf{I}_2)\mathbf{v}=\mathbf{0}\). Thus, after finding a candidate \(\lambda\), row reduce \(\mathbf{A}-\lambda\mathbf{I}_2\) and solve its homogeneous system. The zero vector is always a solution of that system, but it is not an eigenvector; at least one nonzero solution is required.

Proposition: For any \(\lambda\) and any nonzero vector \(\mathbf{v}\), \((\lambda,\mathbf{v})\) is an eigenpair of \(\mathbf{A}\) if and only if \(\mathbf{v}\in E_{\lambda}\) and \(\mathbf{v}\ne\mathbf{0}\).

Proof. By definition, \((\lambda,\mathbf{v})\) is an eigenpair exactly when \(\mathbf{A}\mathbf{v}=\lambda\mathbf{v}\) and \(\mathbf{v}\ne\mathbf{0}\). Subtracting \(\lambda\mathbf{v}\) from both sides gives \((\mathbf{A}-\lambda\mathbf{I}_2)\mathbf{v}=\mathbf{0}\). This says precisely that \(\mathbf{v}\in\operatorname{Nul}(\mathbf{A}-\lambda\mathbf{I}_2)=E_{\lambda}\). Reversing the subtraction proves the converse. \(\square\)

Why the Characteristic Roots Give the Eigenvalues

The characteristic polynomial step is justified by the two-by-two determinant criterion: a two-by-two matrix has determinant zero exactly when its homogeneous system has a nonzero solution. Here is a direct verification of that criterion, so the connection between roots and eigenvalues is explicit.

Theorem: Let \(\mathbf{A}\in\mathbb{R}^{2\times2}\), and consider its action on \(\mathbb{C}^2\). A scalar \(\lambda\in\mathbb{C}\) is an eigenvalue of \(\mathbf{A}\) if and only if \(p_{\mathbf{A}}(\lambda)=0\).

Proof. Write \(\mathbf{B}=\mathbf{A}-\lambda\mathbf{I}_2=\begin{bmatrix}a&b\\c&d\end{bmatrix}\), with entries now regarded as complex numbers. If \(\mathbf{B}\mathbf{x}=\mathbf{0}\) for a nonzero \(\mathbf{x}=(x,y)^{\top}\), then \(ax+by=0\) and \(cx+dy=0\). If \(x\ne0\), multiply the first equation by \(d\), the second by \(b\), and subtract; the result is \((ad-bc)x=0\), so \(ad-bc=0\). If \(x=0\), then \(y\ne0\), and the equations give \(b=d=0\), again yielding \(ad-bc=0\). Conversely, suppose \(ad-bc=0\). If the first row is nonzero and \(a\ne0\), the determinant equation gives \(d=bc/a\), so the second row is \((c/a)\) times the first. The nonzero vector \((-b,a)^{\top}\) is annihilated by both rows. If the first row is nonzero with \(a=0\), then \(b\ne0\); the determinant equation gives \(c=0\), and \((1,0)^{\top}\) is a nonzero solution. If the first row is zero, then either the second row is nonzero and \((-d,c)^{\top}\) is a nonzero solution, or both rows are zero and \((1,0)^{\top}\) is a nonzero solution. Therefore \(\det\mathbf{B}=0\) exactly when \(\mathbf{B}\mathbf{x}=\mathbf{0}\) has a nonzero solution. Applying this to \(\mathbf{B}=\mathbf{A}-\lambda\mathbf{I}_2\), and using the definition of an eigenpair, proves the claim. \(\square\)

For a two-by-two matrix \(\mathbf{A}=\begin{bmatrix}a&b\\c&d\end{bmatrix}\), the determinant to factor is \(\det(\mathbf{A}-\lambda\mathbf{I}_2)=(a-\lambda)(d-\lambda)-bc\). The minus sign between the diagonal product and \(bc\) is part of the determinant formula. Once the roots are found, substitute each one into \(\mathbf{A}-\lambda\mathbf{I}_2\), solve the resulting homogeneous system, and exclude the zero vector.

Real Eigenvalues: Two Null-Space Calculations

Worked Example: Two Distinct Real Eigenvalues

Find the eigenvalues and eigenspaces of \(\mathbf{A}=\begin{bmatrix}4&1\\2&3\end{bmatrix}\), then verify one eigenvector for each eigenvalue.

First calculate and factor the characteristic polynomial:

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

The eigenvalues are \(5\) and \(2\). For \(\lambda=5\), solve \((\mathbf{A}-5\mathbf{I}_2)\mathbf{x}=\mathbf{0}\). Row reduction gives

$$ \begin{bmatrix}-1&1\\2&-2\end{bmatrix} \xrightarrow{R_2\to R_2+2R_1} \begin{bmatrix}-1&1\\0&0\end{bmatrix} \xrightarrow{R_1\to -R_1} \begin{bmatrix}1&-1\\0&0\end{bmatrix}. $$

The equation is \(x-y=0\), so \(x=y\) and \(E_5=\operatorname{span}\{(1,1)^{\top}\}\). Check the proposed eigenvector: \(\mathbf{A}(1,1)^{\top}=(5,5)^{\top}=5(1,1)^{\top}\).

For \(\lambda=2\), the system is \((\mathbf{A}-2\mathbf{I}_2)\mathbf{x}=\mathbf{0}\), and

$$ \begin{bmatrix}2&1\\2&1\end{bmatrix} \xrightarrow{R_2\to R_2-R_1} \begin{bmatrix}2&1\\0&0\end{bmatrix} \xrightarrow{R_1\to \frac12R_1} \begin{bmatrix}1&\frac12\\0&0\end{bmatrix}. $$

The equation \(x+\frac12y=0\) gives \(y=-2x\), so \(E_2=\operatorname{span}\{(1,-2)^{\top}\}\). The check is \(\mathbf{A}(1,-2)^{\top}=(2,-4)^{\top}=2(1,-2)^{\top}\). In each eigenspace, all scalar multiples of the displayed nonzero vector are solutions, and the zero vector is omitted from the eigenvectors.

Worked Example: A Zero Eigenvalue

Find the eigenpairs of \(\mathbf{A}=\begin{bmatrix}2&4\\1&2\end{bmatrix}\).

The characteristic polynomial is

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

Thus the eigenvalues are \(0\) and \(4\). For \(\lambda=0\), row reduce \(\mathbf{A}\):

$$ \begin{bmatrix}2&4\\1&2\end{bmatrix} \xrightarrow{R_1\to R_1-2R_2} \begin{bmatrix}0&0\\1&2\end{bmatrix} \xrightarrow{R_1\leftrightarrow R_2} \begin{bmatrix}1&2\\0&0\end{bmatrix}. $$

The equation \(x+2y=0\) gives \(E_0=\operatorname{span}\{(-2,1)^{\top}\}\). Direct multiplication verifies \(\mathbf{A}(-2,1)^{\top}=(0,0)^{\top}=0(-2,1)^{\top}\).

For \(\lambda=4\), row reduce \(\mathbf{A}-4\mathbf{I}_2\):

$$ \begin{bmatrix}-2&4\\1&-2\end{bmatrix} \xrightarrow{R_1\to R_1+2R_2} \begin{bmatrix}0&0\\1&-2\end{bmatrix} \xrightarrow{R_1\leftrightarrow R_2} \begin{bmatrix}1&-2\\0&0\end{bmatrix}. $$

The equation \(x-2y=0\) gives \(E_4=\operatorname{span}\{(2,1)^{\top}\}\). The check is \(\mathbf{A}(2,1)^{\top}=(8,4)^{\top}=4(2,1)^{\top}\). Both systems produce a nonzero vector, as required for an eigenvector.

When the Eigenvalues Are Complex

A real matrix need not have real eigenvalues. If its characteristic polynomial has nonreal roots, the eigenpair calculation can be carried out over \(\mathbb{C}\). The null-space procedure is unchanged: substitute each root and solve the resulting system, now allowing complex entries and components.

Worked Example: A Complex-Conjugate Pair

Find the eigenvalues and eigenvectors of \(\mathbf{A}=\begin{bmatrix}1&2\\-2&1\end{bmatrix}\), considered as a matrix acting on \(\mathbb{C}^2\).

The characteristic polynomial factors over \(\mathbb{C}\) as follows:

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

For \(\lambda=1+2i\), row reduce the matrix \(\mathbf{A}-\lambda\mathbf{I}_2\):

$$ \begin{bmatrix}-2i&2\\-2&-2i\end{bmatrix} \xrightarrow{R_2\to R_2+iR_1} \begin{bmatrix}-2i&2\\0&0\end{bmatrix} \xrightarrow{R_1\to \frac{i}{2}R_1} \begin{bmatrix}1&i\\0&0\end{bmatrix}. $$

The equation \(x+iy=0\) gives \(y=ix\), so \(E_{1+2i}=\operatorname{span}\{(1,i)^{\top}\}\). Check: \(\mathbf{A}(1,i)^{\top}=(1+2i,-2+i)^{\top}\), while \((1+2i)(1,i)^{\top}=(1+2i,-2+i)^{\top}\).

For \(\lambda=1-2i\), the corresponding reduction is

$$ \begin{bmatrix}2i&2\\-2&2i\end{bmatrix} \xrightarrow{R_2\to R_2-iR_1} \begin{bmatrix}2i&2\\0&0\end{bmatrix} \xrightarrow{R_1\to -\frac{i}{2}R_1} \begin{bmatrix}1&-i\\0&0\end{bmatrix}. $$

Here \(x-iy=0\), so \(y=-ix\) and \(E_{1-2i}=\operatorname{span}\{(1,-i)^{\top}\}\). The check is \(\mathbf{A}(1,-i)^{\top}=(1-2i,-2-i)^{\top}\), and \((1-2i)(1,-i)^{\top}=(1-2i,-2-i)^{\top}\). These eigenvectors are complex, so neither eigenvalue has a nonzero real eigenvector.

A Sign Error to Avoid

Common mistake: using a plus sign for the off-diagonal product. For \(\mathbf{B}=\begin{bmatrix}2&1\\1&2\end{bmatrix}\), an incorrect calculation is \(\det(\mathbf{B}-\lambda\mathbf{I}_2)=(2-\lambda)^2+1\). This uses the wrong sign: for \(\begin{bmatrix}a&b\\c&d\end{bmatrix}\), the determinant is \(ad-bc\), not \(ad+bc\). The corrected calculation is

$$ \det(\mathbf{B}-\lambda\mathbf{I}_2) =(2-\lambda)^2-(1)(1) =\lambda^2-4\lambda+3 =(\lambda-1)(\lambda-3). $$

So the eigenvalues are \(1\) and \(3\), not the nonreal roots suggested by the mistaken polynomial. For \(\lambda=1\), \(\mathbf{B}-\mathbf{I}_2=\begin{bmatrix}1&1\\1&1\end{bmatrix}\), whose null space is spanned by \((1,-1)^{\top}\); indeed \(\mathbf{B}(1,-1)^{\top}=(1,-1)^{\top}\). For \(\lambda=3\), \(\mathbf{B}-3\mathbf{I}_2=\begin{bmatrix}-1&1\\1&-1\end{bmatrix}\), whose null space is spanned by \((1,1)^{\top}\); indeed \(\mathbf{B}(1,1)^{\top}=(3,3)^{\top}=3(1,1)^{\top}\). Factoring the characteristic polynomial and checking the eigenvectors by multiplication catches errors from either stage.

A Reliable Calculation Pattern

For a two-by-two eigenpair problem, use the same sequence every time:

1
Form the characteristic polynomial.
Compute \(\det(\mathbf{A}-\lambda\mathbf{I}_2)\), using \(ad-bc\) for a two-by-two determinant.
2
Factor and record the roots.
Each root is a candidate eigenvalue; if the roots are nonreal, solve the systems over \(\mathbb{C}\).
3
Solve a null-space system for each root.
Substitute \(\lambda\) into \(\mathbf{A}-\lambda\mathbf{I}_2\), row reduce, and describe the solutions as a span.
4
Exclude zero and verify.
Choose a nonzero vector from each eigenspace and check \(\mathbf{A}\mathbf{v}=\lambda\mathbf{v}\) directly.

The characteristic polynomial determines which scalars to test, but it does not by itself give the eigenvectors. The null-space calculation supplies those vectors, and direct multiplication confirms that each proposed pair satisfies the defining equation. This separation is useful in any eigenpair computation: a correct eigenvalue with an incorrectly solved system is not yet a correct eigenpair.

Check Your Understanding

For each problem, show the characteristic polynomial and the null-space calculation, then verify a nonzero vector for every eigenvalue.

  1. Find the eigenpairs of \(\begin{bmatrix}3&2\\2&3\end{bmatrix}\).
  2. For \(\begin{bmatrix}1&-1\\1&1\end{bmatrix}\), find the eigenvalues over \(\mathbb{C}\) and an eigenvector for each.
  3. Explain why solving \((\mathbf{A}-\lambda\mathbf{I}_2)\mathbf{x}=\mathbf{0}\) alone does not make the zero vector an eigenvector.
  4. Identify the sign error in the proposed formula \(\det\begin{bmatrix}a&b\\c&d\end{bmatrix}=ad+bc\), and state the correct formula.
  5. For \(\mathbf{A}=\begin{bmatrix}2&4\\1&2\end{bmatrix}\), verify that \((-2,1)^{\top}\) is an eigenvector and state its eigenvalue.

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