4.5.31 · D3Linear Algebra (Full)

Worked examples — Diagonalization — conditions, procedure

1,936 words9 min readBack to topic

You have seen the procedure. Now we drill it against every kind of matrix the topic can hand you — not just the friendly ones. The goal: after this page, no exam matrix should surprise you, because you will have seen its type already.

Before we start, one reminder of the vocabulary we will use non-stop (all built in the parent note and in Eigenvalues and Eigenvectors):


The scenario matrix

Every diagonalization problem falls into exactly one of these cells. We will hit all of them.

# Cell class What is special Diagonalizable?
A distinct real eigenvalues easiest case, free win ✅ always
B Repeated eigenvalue, enough arrows despite repeat
C Repeated eigenvalue, (defective) too few arrows
D Complex eigenvalues (real matrix) rotation hidden inside ✅ over , ❌ over
E Zero eigenvalue (singular ) , a squashed direction depends ( vs )
F Symmetric matrix Spectral Theorem guarantee ✅ always, orthogonally
G Real-world / word problem population / [[Matrix Powers and Exponentials ]]
H Exam twist: given , reconstruct run the machine backwards

Legend for signs we cover: eigenvalues that are positive, negative, zero, and complex () all appear below, and both symmetric and non-symmetric matrices.


Example A — distinct real eigenvalues (positive & negative)

Forecast: the two entries off the diagonal are equal, so this matrix is symmetric. Guess: two real eigenvalues, and (spoiler) perpendicular eigenvectors.

  1. Characteristic equation. So . Why this step? Eigenvalues are the that make singular; the roots of this polynomial are exactly those values. Notice one is positive, one negative — a valid, common case.

  2. Eigenvector for . , row . Take . Why this step? We need the direction that is only stretched. The null space of is that direction.

  3. Eigenvector for . . Take . Why this step? Same reasoning for the second eigenvalue. Check: — perpendicular, as forecast (symmetric matrices always give this, cell F).

  4. Assemble (order must match!):

Verify: (invertible ✓). Check column 1: ✓; column 2: ✓.

Figure — Diagonalization — conditions, procedure

Look at the picture: the red and mint arrows are the eigenvector directions. The red one grows ; the mint one flips (that's the negative eigenvalue) and stays the same length. Nothing else in the plane keeps its direction.


Example B — repeated eigenvalue, still diagonalizable ()

Forecast: appears twice. Repeated danger. But this is diagonal already, so surely it survives. Guess: yes, with .

  1. Eigenvalues. Being diagonal, they sit on the diagonal: (twice), . So . Why this step? For a diagonal (or triangular) matrix, , so roots = diagonal entries. No work needed.

  2. Geometric multiplicity of . . The null space is all vectors with third component — that's a 2-dimensional plane. So . Why this step? We must check . Here , so the repeat is "healthy."

  3. Eigenvectors. For : . For : . Why this step? Three independent arrows for a matrix they span the space diagonalizable.

  4. Assemble. , . (It was already diagonal.)

Verify: ✓. This is exactly the parent note's lesson — a repeated eigenvalue is fine when it hands you enough arrows.


Example C — defective: repeated eigenvalue with

Forecast: upper-triangular with a repeated and a nonzero corner — smells like a shear. Guess: only one eigenvector, so defective.

  1. Eigenvalues. Triangular twice, . Why this step? Triangular matrices read eigenvalues off the diagonal instantly.

  2. Eigenvectors. . Solve: second component , free. Only one arrow , so . Why this step? We count independent solutions of . Only one trouble.

  3. Compare. . There are not two independent arrows, so no invertible can exist. Why this step? needs independent columns; we have . Diagonalization is impossible — this matrix belongs in Jordan Normal Form territory instead.

Verify: confirmed. Sanity: a shear pushes points sideways; only the horizontal axis stays put, so geometrically there is genuinely one fixed direction — matches .


Example D — complex eigenvalues (a rotation)

Forecast: rotation turns every real direction, so there is no real eigenvector. Guess: eigenvalues are complex; diagonalizable only over .

  1. Characteristic equation. . Why this step? Where a real matrix has no real root, complex roots appear in a conjugate pair. Here , the number whose square is .

  2. Eigenvector for . . Row 2: . Take . Why this step? The eigenvector lives in now. That's allowed — we just can't draw it as a real arrow.

  3. Eigenvector for . Conjugate everything: . Why this step? For a real matrix, the eigenvector of is the conjugate of the eigenvector of — free.

  4. Assemble over .

Verify: ✓ (since ). Over : no real eigenvector exists, so not diagonalizable over — the parent note's second "steel-man" mistake made concrete.

Figure — Diagonalization — conditions, procedure

Example E — zero eigenvalue (singular matrix)

Forecast: this flattens the plane onto the -axis. A flattened direction gets multiplied by . Guess: eigenvalues and , both real, diagonalizable.

  1. Eigenvalues. Diagonal . Why this step? is a perfectly legal eigenvalue; it means is singular () and has a nonzero null space.

  2. Eigenvector for . . . Why this step? The -axis is untouched (kept at full length), so its eigenvalue is .

  3. Eigenvector for . . . Why this step? The -direction is crushed to zero — that IS the eigenvector for , and it's exactly .

  4. Assemble. . Two independent arrows diagonalizable.

Verify: , sum ✓. A zero eigenvalue does not block diagonalization; it only means one axis is squashed flat.


Example F — symmetric matrix (Spectral Theorem, orthogonal )

Forecast: symmetric Spectral Theorem promises real eigenvalues and perpendicular eigenvectors we can turn into a rotation matrix.

  1. Eigenvalues. . So — both real, as guaranteed. Why this step? Symmetric matrices never produce complex eigenvalues; this is why cell F is always ✅.

  2. Eigenvectors. : . : . Dot product ✓ perpendicular. Why this step? We want an orthonormal basis; distinct-eigenvalue eigenvectors of a symmetric matrix are automatically orthogonal.

  3. Normalize (divide each by its length ) to get an orthogonal : Why this step? With unit, perpendicular columns, , so — no messy inverse needed.

Verify: (check: rows are unit and orthogonal) ✓, and (an orthogonal matrix, ) ✓.


Example G — word problem: population model &

Forecast: column sums always forces an eigenvalue (steady state). Guess: the other eigenvalue is between and , so its contribution dies out under repeated powers.

  1. Eigenvalues. . So . Why this step? confirms a steady state; is the "transient" that shrinks.

  2. Steady-state eigenvector (). . So ; as fractions of the population, . Why this step? This is the distribution the town converges to, regardless of the start.

  3. Transient eigenvector (). , so . Why this step? Under , this direction is multiplied by , so it vanishes — the town forgets its initial imbalance.

  4. Long run. and . So every start funnels to the split, i.e. city, suburb.

Verify: column sums of are ✓, so must be an eigenvalue. Eigenvector fractions ✓. Units: people/people (a fraction) — dimensionless ✓.


Example H — exam twist: rebuild from and

Forecast: running diagonalization backwards — you already have the eigen-data, just multiply out. This is where Similar Matrices and Change of Basis meet.

  1. Compute . For : with , giving . Why this step? needs the inverse; the inverse formula (swap diagonal, negate off-diagonal, divide by det) does it fast.

  2. Multiply . (scale column 1 by , column 2 by ). Why this step? Multiplying by a diagonal matrix on the right just scales columns — cheap.

  3. Multiply by . . Why this step? This finishes , giving the original transformation back in standard coordinates.

Verify: . Check trace: (sum of eigenvalues) ✓. Check determinant: (product of eigenvalues) ✓. Symmetric, as forced by orthogonal-ish columns of .


Recall Which cell, which verdict?

Distinct real eigenvalues — diagonalizable? ::: Yes, always (Cell A). Repeated eigenvalue with — diagonalizable? ::: Yes (Cell B). Repeated eigenvalue with (defective) — diagonalizable? ::: No (Cell C). Real rotation with eigenvalues — diagonalizable over ? ::: No; only over (Cell D). A zero eigenvalue () — does it block diagonalization? ::: No; it just marks a squashed direction (Cell E). Symmetric matrix — diagonalizable? ::: Always, and orthogonally, by the Spectral Theorem (Cell F). Quickest sanity checks on a final ? ::: Trace and .

Back to the parent topic.