Maths WorkshopMaths problems with full solutions
Exercise 1448Topology › Topology of Mn(ℝ) › Applications and the case n = 2L3Added 10 Nov 2026

Real eigenvalues of a matrix

#M_2#eigenvalues#discriminant#complex coordinates#real spectrum

Statement

Let A∈M2(R)A\in M_2(\mathbb{R}) have coordinates (z,w)(z,w). Show that AA has real eigenvalues if and only if ∣w∣≥∣Im⁡z∣|w|\ge|\operatorname{Im}z|, and give the eigenvalues in that case.

Hint

The eigenvalues are the roots of t2−(tr⁡A)t+det⁡At^2-(\operatorname{tr}A)t+\det A. Compute the discriminant using tr⁡A=2Re⁡z\operatorname{tr}A=2\operatorname{Re}z and det⁡A=∣z∣2−∣w∣2\det A=|z|^2-|w|^2.

Show solutionHide solution

Solution

Idea. A real 2×22\times2 matrix has real eigenvalues iff its characteristic polynomial has nonnegative discriminant. In the (z,w)(z,w) coordinates, this discriminant is a difference of two squares.

Step 1: trace and determinant. tr⁡A=a+d=2Re⁡z\operatorname{tr}A=a+d=2\operatorname{Re}z and det⁡A=∣z∣2−∣w∣2\det A=|z|^2-|w|^2 (previous problems).

Step 2: discriminant. The characteristic polynomial t2−(tr⁡A)t+det⁡At^2-(\operatorname{tr}A)t+\det A has discriminant
Δ=(tr⁡A)2−4det⁡A=4(Re⁡z)2−4∣z∣2+4∣w∣2=4(∣w∣2−(Im⁡z)2),\Delta=(\operatorname{tr}A)^2-4\det A=4(\operatorname{Re}z)^2-4|z|^2+4|w|^2=4\bigl(|w|^2-(\operatorname{Im}z)^2\bigr),
since ∣z∣2=(Re⁡z)2+(Im⁡z)2|z|^2=(\operatorname{Re}z)^2+(\operatorname{Im}z)^2.

Step 3: conclusion. AA has real eigenvalues iff Δ≥0\Delta\ge0 iff ∣w∣≥∣Im⁡z∣|w|\ge|\operatorname{Im}z|. In that case the eigenvalues are
λ±=tr⁡A±Δ2=Re⁡z±∣w∣2−(Im⁡z)2.\lambda_\pm=\frac{\operatorname{tr}A\pm\sqrt\Delta}2=\operatorname{Re}z\pm\sqrt{|w|^2-(\operatorname{Im}z)^2}.
If ∣w∣<∣Im⁡z∣|w|<|\operatorname{Im}z| the eigenvalues are the non-real pair Re⁡z±i(Im⁡z)2−∣w∣2\operatorname{Re}z\pm i\sqrt{(\operatorname{Im}z)^2-|w|^2}.

Translation to entries. Im⁡z=c−b2\operatorname{Im}z=\frac{c-b}2 and ∣w∣2=(a−d)2+(b+c)24|w|^2=\frac{(a-d)^2+(b+c)^2}4, so
∣w∣2−(Im⁡z)2=(a−d)2+(b+c)2−(c−b)24=(a−d)2+4bc4,|w|^2-(\operatorname{Im}z)^2=\frac{(a-d)^2+(b+c)^2-(c-b)^2}4=\frac{(a-d)^2+4bc}4,
which is the familiar discriminant (a−d)2+4bc≥0(a-d)^2+4bc\ge0.

Check. Rotation R(θ)R(\theta): z=eiθz=e^{i\theta}, w=0w=0, so ∣w∣=0<∣sin⁡θ∣=∣Im⁡z∣|w|=0<|\sin\theta|=|\operatorname{Im}z| unless θ∈πZ\theta\in\pi\mathbb{Z}; real eigenvalues only for R(0)=IR(0)=I and R(π)=−IR(\pi)=-I. Reflection diag(1,−1)\mathrm{diag}(1,-1): z=0z=0, w=1w=1, eigenvalues 0±1=±10\pm\sqrt1=\pm1. Numerically, the formula Re⁡z±∣w∣2−(Im⁡z)2\operatorname{Re}z\pm\sqrt{|w|^2-(\operatorname{Im}z)^2} matches `numpy` eigenvalues for 200200 random matrices.

Remark. The set of matrices with a real eigenvalue is {∣w∣≥∣Im⁡z∣}\{|w|\ge|\operatorname{Im}z|\}: it is closed, with interior {∣w∣>∣Im⁡z∣}\{|w|>|\operatorname{Im}z|\} and boundary {∣w∣=∣Im⁡z∣}\{|w|=|\operatorname{Im}z|\} (matrices with a repeated real eigenvalue). This recovers the description of the interior in terms of tr⁡2>4det⁡\operatorname{tr}^2>4\det.

Lesson. When a discriminant condition appears, look for coordinates in which it factors or becomes a comparison of two moduli.