4.5.31 · D2Linear Algebra (Full)

Visual walkthrough — Diagonalization — conditions, procedure

2,061 words9 min readBack to topic

Before any symbol appears, let's agree on what the picture is.


Step 0 — What is a matrix, really?

Take a whole grid of arrows and feed every one through . Most arrows come out pointing a different way than they went in — they got turned. That turning is what makes (apply the machine 100 times) so painful: every application re-tangles everything.

Figure — Diagonalization — conditions, procedure

In the figure, the grey arrows are the inputs. The orange arrows are what did to them. Notice the two special arrows drawn thick: they came out pointing the exact same way they went in — only their length changed. Hold onto those. Everything below is the hunt for them.


Step 1 — The dream: a machine that only stretches

WHY we want it. Feed the arrow to :

  • ::: the horizontal part , simply scaled by — no mention of .
  • ::: the vertical part , simply scaled by — no mention of .

PICTURE. A grid drawn along the axes stays a grid — cells only grow/shrink, never tilt. Applying it 100 times just raises each factor to the 100th power. That is the whole appeal.

Figure — Diagonalization — conditions, procedure

Look at the teal (horizontal) and plum (vertical) directions: each simply scales. A diagonal machine is boring — and boring is exactly what we want to compute with.


Step 2 — Most matrices are NOT boring — so we change our graph paper

This is the idea of a Change of Basis: the transformation is fixed, but the numbers we write for it depend on which axes we chose. Choose the axes cleverly and the numbers become diagonal.

Figure — Diagonalization — conditions, procedure

Left panel: standard graph paper (grey), where visibly skews the grid. Right panel: graph paper drawn along the two special arrows (teal & plum). In the right frame the same machine merely stretches along each new axis. Same machine, smarter paper.


Step 3 — Name the pieces: build and

WHY columns? A matrix whose columns are your chosen axes is exactly the machine that translates "coordinates in the new paper" into "coordinates in the standard paper". Feed it the new-paper vector and out comes — the first new axis, expressed in old coordinates. That is what is for.

Figure — Diagonalization — conditions, procedure

The figure shows as two arrows placed as columns and as a table of stretch numbers sitting on the diagonal. We have named the pieces — now we prove the naming is forced.


Step 4 — Derive the eigenvalue equation (the heart)

Start from the goal and multiply both sides on the right by (so the messy cancels):

  • ::: run the machine on each column (arrow) of .
  • ::: scale each column of by the matching diagonal number of .
  • ::: the inverse cancelled, which is why we multiplied by and not something else.

Now read this column by column. The -th column of the left side is . The -th column of the right side is (because just scales column by ). Equating them:

WHY this is the punchline. We never decided to use eigenvectors. We only asked "can look diagonal in some paper?" and algebra spat back: the paper's axes must be the arrows doesn't turn. See Eigenvalues and Eigenvectors.

Figure — Diagonalization — conditions, procedure

The figure shows one column arrow (teal): input and output lie on the same line — output is just times longer. A grey non-eigenvector is drawn beside it; its output swings off to a new direction. Only the on-line arrows survive as columns of .


Step 5 — Why must be invertible → the " independent arrows" condition

WHY. If two special arrows lay on the same line (or one were a blend of the others), would squash space flat — it would crush some directions to zero, and you can never un-crush that. No un-crushing = no = no diagonalization.

So the full condition is:

Figure — Diagonalization — conditions, procedure

Left: two independent arrows span the plane — is honest, invertible, we win. Right: two arrows on the same line — the "grid" they make is a degenerate sliver, , no inverse, we lose.


Step 6 — The degenerate case: the shear that runs out of arrows

Take the shear . Its only eigenvalue is (from ). Solving forces the second coordinate to be , so every eigenvector lies on the horizontal line — there is only one independent special direction, not two.

  • Algebraic multiplicity ::: the eigenvalue is a double root of the characteristic equation (see Characteristic Polynomial).
  • Geometric multiplicity ::: but only one independent eigenvector actually exists.
  • ::: not enough arrows → cannot fill the plane → not diagonalizable (this is a defective matrix; its true simplest form lives in Jordan Normal Form).
Figure — Diagonalization — conditions, procedure

The shear pushes the top of the square right while pinning the bottom. Every arrow except the horizontal one gets tilted. There is no second un-turned direction to serve as a second axis — the recipe stalls at "collect arrows".


Step 7 — All the cases on one map

A fourth, sneaky case: a real matrix with no real eigenvectors at all, like the rotation — it turns every real arrow, so no real special direction exists. It is diagonalizable, but only if we allow complex numbers (). Real matrix, complex answer.

yes

no

yes

no

Start: n by n matrix A

Solve characteristic equation

n distinct eigenvalues?

Diagonalizable

g equals a for every lambda?

Not diagonalizable defective

Build P from arrows

Build D from stretches same order

A equals P D P inverse

The ordering warning from the parent is exactly the arrow-and-stretch pairing: column of must be the arrow whose stretch sits at . Scramble them and silently fails. See also Similar Matrices (why keeps the eigenvalues) and Matrix Powers and Exponentials (the payoff: ). For symmetric matrices the arrows are even guaranteed perpendicular — the Spectral Theorem.


The one-picture summary

Figure — Diagonalization — conditions, procedure

One frame compresses the whole derivation: the twisting machine (grey skewed grid) becomes the pure-stretch machine (teal/plum axis grid) precisely because we redrew the paper along the arrows never turns. carries you between the two papers; is what the machine looks like once you're standing on eigenvector axes.

Recall Feynman: the whole walk in plain words

We wanted a machine so simple that repeating it a hundred times is easy — a machine that only stretches each axis and never twists. Real machines twist, so we can't change the machine. Instead we change our graph paper: we look for the few special arrows the machine never turns, only lengthens. We line our new axes up with those arrows. On that paper the machine finally looks like pure stretching — a diagonal table . The book of "which arrow is which axis" is the matrix ; its inverse translates back. Squeezing the equation proved the arrows have to be eigenvectors — we had no other choice. The catch: sometimes there aren't enough un-turned arrows to fill the whole space (a shear only has one). Then the new paper can't be built, and we call the machine "not diagonalizable."