Tutorials › Linear Algebra › Recovering Scale And Angle From Trace And Determinant

Complex Eigenvalues and Complex Scalars · Tutorial 560 of 1000

Recovering Scale And Angle From Trace And Determinant

Learn how trace and determinant determine the scale and angle of a real 2×2 matrix’s nonreal eigenvalue pair.

Intermediate 10 min read

What You'll Learn

  • Compute the characteristic polynomial of a real 2×2 matrix from its trace and determinant.
  • Identify exactly when its eigenvalues are nonreal.
  • Recover the eigenvalue modulus as the square root of the determinant.
  • Find the principal argument of the eigenvalue in the upper half-plane.
  • Distinguish what trace and determinant determine from what they do not.

What Trace and Determinant Reveal

For a real \(2\times2\) matrix with nonreal eigenvalues, the eigenvalues form a conjugate pair. The trace and determinant are enough to recover that pair’s size and direction in the complex plane: the determinant gives the square of the modulus, and the trace fixes the angle. This gives a way to find the scale and angle parameters without first finding an eigenvector or putting the matrix into a particular form.

Let \(\mathbf{A}=\begin{bmatrix}a&b\\c&d\end{bmatrix}\) be a real \(2\times2\) matrix. Its trace is \(\operatorname{tr}\mathbf{A}=a+d\), and its determinant is \(\det\mathbf{A}=ad-bc\). The characteristic polynomial, using the convention \(p_{\mathbf{A}}(\lambda)=\det(\mathbf{A}-\lambda\mathbf{I}_2)\), is

$$ p_{\mathbf{A}}(\lambda) =(a-\lambda)(d-\lambda)-bc =\lambda^2-(\operatorname{tr}\mathbf{A})\lambda+\det\mathbf{A}. $$

Write \(\tau=\operatorname{tr}\mathbf{A}\) and \(\delta=\det\mathbf{A}\). The eigenvalues are the roots of \(p_{\mathbf{A}}\). When they are nonreal, designate by \(\lambda_+\) the one with positive imaginary part, and let \(\lambda_-\) be its conjugate. We use the principal argument in \((-\pi,\pi]\), so the upper-half-plane eigenvalue has argument between \(0\) and \(\pi\).

Theorem: A real \(2\times2\) matrix \(\mathbf{A}\) has nonreal eigenvalues if and only if \(\tau^2-4\delta<0\). In that case, $$ \lambda_{\pm}=\frac{\tau}{2}\pm\frac{i}{2}\sqrt{4\delta-\tau^2}, $$ and \(\delta>0\).

Proof. The characteristic polynomial is \(\lambda^2-\tau\lambda+\delta\), whose discriminant is \(\tau^2-4\delta\). The quadratic formula gives roots \(\frac{\tau}{2}\pm\frac{1}{2}\sqrt{\tau^2-4\delta}\). If the discriminant is nonnegative, both roots are real. If it is negative, then \(4\delta-\tau^2>0\), and the square root of \(\tau^2-4\delta\) is \(i\sqrt{4\delta-\tau^2}\); the roots are nonreal and have the displayed form. This proves both directions of the criterion. Finally, \(4\delta>\tau^2\ge 0\), so \(\delta>0\). \(\square\)

Recovering the Modulus and Argument

The modulus of a complex number \(x+iy\) is \(\sqrt{x^2+y^2}\). For the eigenvalue \(\lambda_+\) in the theorem, its real and imaginary parts are \(\tau/2\) and \(\sqrt{4\delta-\tau^2}/2\). Squaring and adding gives \(\delta\), so its modulus is \(\sqrt{\delta}\). To recover its argument, divide each part by that modulus: the resulting cosine is determined by the trace, while the positive sine identifies the upper-half-plane choice.

Theorem (Trace-and-determinant recovery): Suppose \(\mathbf{A}\in\mathbb{R}^{2\times2}\) has nonreal eigenvalues, and set \(\tau=\operatorname{tr}\mathbf{A}\), \(\delta=\det\mathbf{A}\). The eigenvalue \(\lambda_+\) with positive imaginary part has modulus $$ r=\sqrt{\delta} $$ and principal argument $$ \theta=\arccos\left(\frac{\tau}{2\sqrt{\delta}}\right),\qquad 0<\theta<\pi. $$ The other eigenvalue has the same modulus and principal argument \(-\theta\).

Proof. By the preceding theorem, \(\delta>0\) and \(\lambda_+=\frac{\tau}{2}+\frac{i}{2}\sqrt{4\delta-\tau^2}\). Therefore $$ |\lambda_+|^2=\left(\frac{\tau}{2}\right)^2+ \left(\frac{\sqrt{4\delta-\tau^2}}{2}\right)^2 =\frac{\tau^2+4\delta-\tau^2}{4} =\delta. $$ Since a modulus is nonnegative and \(\delta>0\), \(|\lambda_+|=\sqrt{\delta}\). The real part divided by the modulus is \(\tau/(2\sqrt{\delta})\). The number lies strictly between \(-1\) and \(1\), because \(\tau^2<4\delta\). Thus its inverse cosine is a unique angle \(\theta\in(0,\pi)\). The imaginary part of \(\lambda_+\) is positive, so its sine is positive; hence its principal argument is this \(\theta\), rather than \(-\theta\). The roots are conjugates, so \(\lambda_-=\overline{\lambda_+}\) has the same modulus and argument \(-\theta\). \(\square\)

In practical terms, first check the strict inequality \(\tau^2<4\delta\). Only when it holds do the formulas for a nonreal pair apply. Then compute \(r=\sqrt{\delta}\) and \(\theta=\arccos(\tau/(2r))\). The positive-imaginary-part eigenvalue is \(r(\cos\theta+i\sin\theta)\); its conjugate is \(r(\cos\theta-i\sin\theta)\). This is a description of the eigenvalues, not a claim that trace and determinant determine the matrix itself.

Worked Recoveries

Worked Example: A Pair with Angle \(\pi/3\)

Find the modulus and arguments of the eigenvalues of \(\mathbf{A}=\begin{bmatrix}0&-4\\1&2\end{bmatrix}\).

First compute the trace and determinant:

$$ \tau=0+2=2,\qquad \delta=(0)(2)-(-4)(1)=4. $$

The discriminant is \(\tau^2-4\delta=4-16=-12<0\), so the eigenvalues are nonreal. Their modulus is \(r=\sqrt{4}=2\), and the upper eigenvalue’s angle satisfies \(\cos\theta=2/(2\cdot2)=1/2\). Since the upper eigenvalue has positive imaginary part, \(\theta=\pi/3\). The eigenvalues are therefore \(2(\cos(\pi/3)\pm i\sin(\pi/3))=1\pm i\sqrt{3}\).

Check: The characteristic polynomial is \(\lambda^2-2\lambda+4\). For \(\lambda=1+i\sqrt{3}\), \(\lambda^2=-2+2i\sqrt{3}\), so \(\lambda^2-2\lambda+4=(-2+2i\sqrt{3})-(2+2i\sqrt{3})+4=0\). The conjugate is also a root because the polynomial has real coefficients.

Worked Example: A Pair on the Imaginary Axis

Recover the modulus and arguments for \(\mathbf{B}=\begin{bmatrix}0&-5\\1&0\end{bmatrix}\).

Here \(\tau=0+0=0\), and \(\delta=(0)(0)-(-5)(1)=5\). The discriminant is \(0^2-4(5)=-20<0\). Thus \(r=\sqrt{5}\), and \(\cos\theta=0/(2\sqrt{5})=0\). The upper-half-plane angle is \(\theta=\pi/2\), giving eigenvalues \(i\sqrt{5}\) and \(-i\sqrt{5}\).

Check: The characteristic polynomial is \(\lambda^2+5\). Substitution gives \((i\sqrt{5})^2+5=-5+5=0\), and likewise \((-i\sqrt{5})^2+5=0\). Each eigenvalue has modulus \(\sqrt{5}\), as recovered.

Worked Example: An Angle in the Second Quadrant

Find the modulus and principal arguments for \(\mathbf{C}=\begin{bmatrix}-1&-4\\1&-1\end{bmatrix}\).

The trace is \(\tau=-1+(-1)=-2\), and the determinant is \(\delta=(-1)(-1)-(-4)(1)=1+4=5\). The discriminant is \(4-20=-16<0\). The modulus is \(\sqrt{5}\), and \(\cos\theta=-2/(2\sqrt{5})=-1/\sqrt{5}\). The upper eigenvalue has positive imaginary part, so its angle lies in the second quadrant: \(\theta=\arccos(-1/\sqrt{5})\), equivalently \(\pi-\arctan(2)\). The eigenvalues are \(-1+2i\) and \(-1-2i\).

Check: The characteristic polynomial is \(\lambda^2+2\lambda+5\). For \(\lambda=-1+2i\), \(\lambda^2=-3-4i\), and \[ (-3-4i)+2(-1+2i)+5=(-3-4i)+(-2+4i)+5=0. \] The conjugate also gives zero. The modulus check is \(\sqrt{(-1)^2+2^2}=\sqrt{5}\).

Worked Example: An Angle Not Usually Given as a Special Fraction of \(\pi\)

For \(\mathbf{D}=\begin{bmatrix}0&-4\\1&3\end{bmatrix}\), find the modulus and angle, leaving the angle in inverse-cosine form.

The trace is \(\tau=3\), and the determinant is \(\delta=(0)(3)-(-4)(1)=4\). The discriminant is \(9-16=-7<0\), so \(r=2\) and \(\cos\theta=3/(2\cdot2)=3/4\). The upper eigenvalue’s principal argument is \(\theta=\arccos(3/4)\), which lies in \((0,\pi/2)\). The eigenvalues are \((3+i\sqrt{7})/2\) and \((3-i\sqrt{7})/2\).

Check: The characteristic polynomial is \(\lambda^2-3\lambda+4\). For \(\lambda=(3+i\sqrt{7})/2\), its square is \((1+3i\sqrt{7})/2\), and \[ \lambda^2-3\lambda+4 =\frac{1+3i\sqrt{7}}{2} -\frac{9+3i\sqrt{7}}{2}+4 =0. \] Its modulus is \(\sqrt{(3/2)^2+(\sqrt{7}/2)^2}=\sqrt{16/4}=2\), consistent with the formula.

What the Data Do—and Do Not—Determine

Trace and determinant determine the characteristic polynomial, and therefore the eigenvalues including their multiplicities. In the nonreal case, the trace fixes the real part of each root, and the determinant fixes the product of the conjugate roots. Together these specify the eigenvalue pair. They do not specify eigenvectors, or all the entries of the matrix. Different matrices can have the same trace and determinant and hence the same eigenvalues.

For instance, consider \(\mathbf{E}=\begin{bmatrix}2&-9\\1&-2\end{bmatrix}\) and \(\mathbf{F}=\begin{bmatrix}0&-5\\1&0\end{bmatrix}\). They are different matrices. For \(\mathbf{E}\), the trace is \(2+(-2)=0\), and the determinant is \((2)(-2)-(-9)(1)=-4+9=5\). For \(\mathbf{F}\), the trace is \(0\), and the determinant is \(0-(-5)(1)=5\). Both therefore have characteristic polynomial \(\lambda^2+5\), and both have eigenvalues \(i\sqrt{5}\) and \(-i\sqrt{5}\). The recovered modulus and arguments agree, but the matrices themselves do not.

The condition \(\tau^2<4\delta\) is essential. If it fails, the inverse-cosine expression need not describe a nonreal pair. For example, when \(\tau^2=4\delta\), the discriminant is zero and the root is real and repeated; when \(\tau^2>4\delta\), both roots are real. In the nonreal case, \(\delta\) must be positive, so a zero or negative determinant also rules out nonreal eigenvalues for a real \(2\times2\) matrix.

Common Pitfalls

Using the determinant itself as the modulus. For \(\mathbf{B}=\begin{bmatrix}0&-5\\1&0\end{bmatrix}\), a tempting but incorrect calculation is \(r=\delta=5\). The eigenvalues are \(\pm i\sqrt{5}\), whose modulus is \(\sqrt{5}\), not \(5\). The correct relation is \(r^2=\delta\), so \(r=\sqrt{\delta}\). This also follows directly from multiplying the conjugate eigenvalues: \(\lambda_+\lambda_-=|\lambda_+|^2=\delta\).

Ignoring which argument is being reported. The trace determines \(\cos\theta\), which alone cannot distinguish \(\theta\) from \(-\theta\). The convention here is to take the eigenvalue with positive imaginary part and its argument \(\theta\in(0,\pi)\); its conjugate has principal argument \(-\theta\). The sign is fixed by identifying the eigenvalue, not by the cosine formula alone.

Assuming the recovered values identify every matrix entry. The matrices \(\mathbf{E}\) and \(\mathbf{F}\) above have the same trace, determinant, and eigenvalues, yet different entries. The formulas recover the scale and angle of the eigenvalue pair, not the full matrix or its eigenvectors.

Check Your Understanding

For each calculation, check both the nonreal-eigenvalue condition and the resulting eigenvalues.

  1. A real \(2\times2\) matrix has trace \(4\) and determinant \(8\). Determine whether its eigenvalues are nonreal. If so, find their modulus and principal arguments.
  2. A real \(2\times2\) matrix has trace \(-4\) and determinant \(8\). Find the upper eigenvalue’s modulus and argument, and state the other eigenvalue.
  3. For trace \(1\) and determinant \(1\), compute the discriminant and the modulus of the eigenvalue pair.
  4. Explain why the upper-half-plane eigenvalue’s angle is in the second quadrant when the trace is negative.
  5. Give one reason trace and determinant do not determine the entries of a real \(2\times2\) matrix.

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