Euler Hall — free maths guides

Write a symmetric matrix as a sum of eigenvalue times rank-one projection

Expand S = Q Lambda Q transpose into a sum of lambdai qi qi transpose. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.

The decomposition

Each pieceqiqiT\mathbf q_i\mathbf q_i^{\mathrm T} is a rank-one projection: apply it to a vector and you get that vector's component alongqi\mathbf q_i. So the formula says SS is a sum of directions, each weighted by its eigenvalue" — a decomposition of the map, not just of the numbers.

Each projection has three properties worth knowing: it is symmetric, it is idempotent P2=PP^2=P), and its trace is11.

Why the pieces are projections, and why they are orthogonal to each other

Takeq\mathbf q of unit length andP=qqTP=\mathbf q\mathbf q^{\mathrm T}.

Symmetric:PT=(qqT)T=qqT=PP^{\mathrm T}=(\mathbf q\mathbf q^{\mathrm T})^{\mathrm T}=\mathbf q\mathbf q^{\mathrm T}=P.

Idempotent:

using∥q∥=1\|\mathbf q\|=1 — this is where the normalisation is used.

Rank one: every column is a multiple ofq\mathbf q, andq≠0\mathbf q\ne\mathbf 0.

Trace one:tr⁡(qqT)=qTq=1\operatorname{tr}(\mathbf q\mathbf q^{\mathrm T})=\mathbf q^{\mathrm T}\mathbf q=1.

Different pieces are orthogonal: ifqi⊥qj\mathbf q_i\perp\mathbf q_j then

So each piece kills the directions belonging to the others, which is exactly what makes the sum behave like "keep theqi\mathbf q_i component and scale it byλi\lambda_i".

Worked example: two pieces

S=[2112]S=\begin{bmatrix}2&1\\1&2\end{bmatrix},λ=3,1\lambda=3,1 withq1=12(11)\mathbf q_1=\frac{1}{\sqrt2}\binom11 andq2=12(1−1)\mathbf q_2=\frac{1}{\sqrt2}\binom1{-1}.

Build the projections.

Weight and add.

Run the checks. Traces:12(3+3)+12(1+1)=3+1=4=tr⁡S\frac12(3+3)+\frac12(1+1)=3+1=4=\operatorname{tr}S ✓. Determinants:3⋅1=3=det⁡S3\cdot1=3=\det S ✓. Idempotence of the first piece:

What the pieces do. Applying the first to(20)\binom{2}{0} gives(11)\binom11: the component alongq1\mathbf q_1 is kept and the perpendicular component discarded. Then the weight33 scales it. That is the whole content of "eigenvalue times projection".

By the end you can
  • Expand S = Q Lambda Q transpose into a sum of lambda_i q_i q_i transpose
  • Verify each piece is a rank-one projection: symmetric, idempotent, trace 1
  • Check a decomposition by adding the pieces, not by trace or determinant alone
Test yourself

S=[5222]S=\begin{bmatrix}5&2\\2&2\end{bmatrix} hasλ=6\lambda=6 withq1=15(21)\mathbf q_1=\frac{1}{\sqrt5}\binom21 andλ=1\lambda=1 withq2=15(1−2)\mathbf q_2=\frac{1}{\sqrt5}\binom{1}{-2}. Write the rank-one sum.

Answer

Checks: traces6⋅55+1⋅55=6+1=7=tr⁡S\frac{6\cdot5}{5}+\frac{1\cdot5}{5}=6+1=7=\operatorname{tr}S ✓; determinants6⋅1=6=det⁡S=10−46\cdot1=6=\det S=10-4 ✓.

Work out where to start — free, no accountAnswer six real questions — free, no account