MATH 133 Linear Algebra and Geometry • McGill University, Montreal

Revision sheet: diagonalization and its applications (MATH 133)

This sheet is not a summary of the diagonalization chapter: you already have Nicholson and your lecture notes. It answers one question only, what makes students lose marks on diagonalization and its applications in MATH 133 at McGill University, and which precise gesture avoids each loss.

Everything below is done by hand, as the final requires: characteristic polynomials that factor, ranks read off a row reduction whose operations are named, and a check AP=PDAP = PD that costs two or three matrix-vector products. Orthogonal diagonalization, complex eigenvalues and the Jordan form are not in this course and do not appear here.

The thread of the chapter

Diagonalizable is a COUNTING question: are there nn independent eigenvectors or not? A repeated eigenvalue is not a verdict, the dimension of its eigenspace is, and it costs one rank of A−λIA - \lambda I. Once PP is built, powers, long-run behaviour, Markov chains and recurrences are all read in the eigenvector axes, where AA only stretches.

This chapter is part of MATH 133, Linear Algebra and Geometry (McGill)

The essentials

Diagonalizable means: enough independent eigenvectors

  • • AA (n×nn \times n) is diagonalizable when P−1AP=DP^{-1}AP = D for some invertible PP and diagonal DD; equivalently A=PDP−1A = PDP^{-1}, with PP on the LEFT.
  • • Criterion: AA is diagonalizable if and only if it has nn linearly independent eigenvectors. They are the COLUMNS of PP, and the ii-th diagonal entry of DD is the eigenvalue of the ii-th column.
  • • Algebraic multiplicity of λ\lambda: its multiplicity as a root of det⁡(A−λI)\det(A - \lambda I). Geometric multiplicity: dim⁡Eλ=n−rank(A−λI)\dim E_\lambda = n - \text{rank}(A - \lambda I). Always 1≤dim⁡Eλ≤1 \le \dim E_\lambda \le algebraic multiplicity.
  • • Diagonalizable if and only if dim⁡Eλ\dim E_\lambda equals the algebraic multiplicity for EVERY eigenvalue. A simple eigenvalue always passes, so only the repeated ones need the test.
  • • nn distinct eigenvalues: diagonalizable, nothing else to check. The converse is false: 2I2I has one eigenvalue and is already diagonal.
2I: every directionuMueigen-lineM: one line only
Same polynomial (λ−2)2(\lambda - 2)^2 : for 2I2I every direction is an eigenvector; for M=(2102)M = \begin{pmatrix} 2 & 1 \\ 0 & 2 \end{pmatrix} only the horizontal line is, so no PP exists.

The polynomial gives the eigenvalues; it never gives the verdict. Two matrices with the same polynomial can land on opposite sides, and the only thing that separates them is the rank of A−λIA - \lambda I at the repeated eigenvalue.

What diagonalization buys, once PP is built

  • • Powers: An=PDnP−1A^n = PD^nP^{-1}, and ONLY DD is raised entry by entry: Dn=diag(λ1n,…,λnn)D^n = \text{diag}(\lambda_1^n, \dots, \lambda_n^n).
  • • Dynamical system vk+1=Avkv_{k+1} = Av_k: write v0=c1u1+⋯+cnunv_0 = c_1u_1 + \dots + c_nu_n in eigenvectors, then vk=c1λ1ku1+⋯+cnλnkunv_k = c_1\lambda_1^ku_1 + \dots + c_n\lambda_n^ku_n. The coefficients cic_i are P−1v0P^{-1}v_0.
  • • Long run: the eigenvalue of largest absolute value sets the growth factor, and its eigenvector sets the eventual PROPORTIONS, provided its coefficient c1c_1 is not zero.
  • • Markov chain: the columns of TT add up to 11, so 11 is an eigenvalue; the steady state is its eigenvector scaled to the total.
  • • Recurrence xk+2=axk+1+bxkx_{k+2} = ax_{k+1} + bx_k: set Vk=(xk,xk+1)V_k = (x_k, x_{k+1}), so Vk+1=(01ba)VkV_{k+1} = \begin{pmatrix} 0 & 1 \\ b & a \end{pmatrix}V_k, and diagonalize.
  • • Similar matrices B=P−1APB = P^{-1}AP share determinant, trace, rank, characteristic polynomial and eigenvalues. Sharing all of them does NOT prove similarity.

Every application is the same move: rewrite the starting vector in the eigenvector axes, let each coordinate be multiplied by its own eigenvalue, then come back.

The rules in table form

Each row reads from left to right: the assumptions, then the result. A red cell is not an answer, it is the finding that the form settles nothing and the instruction to rewrite it. Every case is followed by a worked example.

Similarity: what survives a change of basis, and what does not

Read this grid to DISPROVE similarity: one quantity that differs settles the question. A red case is never an answer, it is an order to go through a diagonal matrix instead.

QuantityFor B=P−1APB = P^{-1}APShared?
det⁡\det det⁡B=det⁡A\det B = \det A yes

Example: (1232)\begin{pmatrix} 1 & 2 \\ 3 & 2 \end{pmatrix} and diag(4,−1)\text{diag}(4, -1): both determinants equal −4-4.

trace tr B=tr A\text{tr}\,B = \text{tr}\,A yes

Example: 1+2=3=4+(−1)1 + 2 = 3 = 4 + (-1) for the same pair.

rank(A−λI)\text{rank}(A - \lambda I) P−1(A−λI)PP^{-1}(A - \lambda I)P yes

Example: rank(M−2I)=1\text{rank}(M - 2I) = 1 but rank(2I−2I)=0\text{rank}(2I - 2I) = 0: M=(2102)M = \begin{pmatrix} 2 & 1 \\ 0 & 2 \end{pmatrix} and 2I2I are not similar.

eigenvectors uu for BB gives PuPu for AA moved not shared

Example: B=D=diag(4,−1)B = D = \text{diag}(4, -1) has eigenvector (1,0)(1, 0); A=(1232)A = \begin{pmatrix} 1 & 2 \\ 3 & 2 \end{pmatrix} has P(1,0)=(2,3)P(1,0) = (2, 3) instead.

Same form, other result: Same eigenvalue 44 for both matrices, two different eigenvectors: A(1,0)=(1,3)A(1,0) = (1, 3) is not a multiple of (1,0)(1, 0).

What to do: Transport them: an eigenvector uu of B=P−1APB = P^{-1}AP gives the eigenvector PuPu of AA.

same polynomial so similar? no rule that does not exist

Example: M=(2102)M = \begin{pmatrix} 2 & 1 \\ 0 & 2 \end{pmatrix} and 2I2I both give (λ−2)2(\lambda - 2)^2, but P−1(2I)P=2IP^{-1}(2I)P = 2I for every PP, never MM.

What to do: To PROVE similarity, show both matrices are similar to the same diagonal DD, eigenvalues in the same order.

The last two rows are the whole exam question: invariants can only say no.

The mistakes that cost marks

These are the errors I correct most often in session. Each one costs marks on a paper, even when the reasoning behind it is right.

1. Declaring a double eigenvalue defective without computing a rank

the whole question, often 4 or 5 marks

What not to write

“λ=3\lambda = 3 is a double root of (3−λ)2(1−λ)(3-\lambda)^2(1-\lambda), so AA is not diagonalizable.”

What to write

“λ=3\lambda = 3 is a double root; A−3IA - 3I reduces to one non-zero row, so dim⁡E3=3−1=2\dim E_3 = 3 - 1 = 2, equal to the algebraic multiplicity, and AA IS diagonalizable.”

Why: A repeated root is where the count CAN fail, not where it does. The matrices (300121−112)\begin{pmatrix} 3 & 0 & 0 \\ 1 & 2 & 1 \\ -1 & 1 & 2 \end{pmatrix} and (300121112)\begin{pmatrix} 3 & 0 & 0 \\ 1 & 2 & 1 \\ 1 & 1 & 2 \end{pmatrix} share that polynomial and differ by one sign: ranks 11 and 22 for A−3IA - 3I, opposite verdicts.

2. Taking one eigenvector per eigenvalue, whatever its multiplicity

3 marks: a $3 \times 2$ matrix has no inverse

What not to write

“One eigenvector for λ=3\lambda = 3 and one for λ=1\lambda = 1, so P=(10110−1)P = \begin{pmatrix} 1 & 0 \\ 1 & 1 \\ 0 & -1 \end{pmatrix}.”

What to write

“dim⁡E3=2\dim E_3 = 2, so λ=3\lambda = 3 contributes TWO columns: P=(1−1010101−1)P = \begin{pmatrix} 1 & -1 & 0 \\ 1 & 0 & 1 \\ 0 & 1 & -1 \end{pmatrix} and D=diag(3,3,1)D = \text{diag}(3, 3, 1).”

Why: PP must be square and invertible, so it needs nn columns. A double eigenvalue that passes the rank test hands you a basis of TWO vectors, and both go into PP, next to two copies of the eigenvalue in DD.

3. Listing the eigenvalues in D in a different order from the columns of P

2 marks, although every number on the line is right

What not to write

“P=(12−13)P = \begin{pmatrix} 1 & 2 \\ -1 & 3 \end{pmatrix} and D=diag(4,−1)D = \text{diag}(4, -1).”

What to write

“The first column (1,−1)(1, -1) belongs to −1-1, so P=(12−13)P = \begin{pmatrix} 1 & 2 \\ -1 & 3 \end{pmatrix} goes with D=diag(−1,4)D = \text{diag}(-1, 4).”

Why: AP=PDAP = PD multiplies the ii-th column of PP by the ii-th entry of DD. For (1232)\begin{pmatrix} 1 & 2 \\ 3 & 2 \end{pmatrix}, swap one list and you must swap the other, or AP≠PDAP \neq PD.

4. Putting the eigenvectors in the rows of P

the whole construction, and $P^{-1}AP$ comes out non-diagonal

What not to write

“The eigenvectors are (2,3)(2, 3) and (1,−1)(1, -1), so P=(231−1)P = \begin{pmatrix} 2 & 3 \\ 1 & -1 \end{pmatrix}.”

What to write

“The eigenvectors are the COLUMNS: P=(213−1)P = \begin{pmatrix} 2 & 1 \\ 3 & -1 \end{pmatrix}.”

Why: The product APAP applies AA to the columns of PP and never reads its rows. With the rows version, P−1AP=15(2822−12−13)P^{-1}AP = \frac{1}{5}\begin{pmatrix} 28 & 22 \\ -12 & -13 \end{pmatrix}, which is the check that should have raised the alarm.

5. Writing A as the inverse of P times D times P

every entry of $A^n$, typically 3 marks

What not to write

“From P−1AP=DP^{-1}AP = D I get A=P−1DPA = P^{-1}DP, so An=P−1DnPA^n = P^{-1}D^nP.”

What to write

“Multiplying by PP on the left and by P−1P^{-1} on the right: A=PDP−1A = PDP^{-1} and An=PDnP−1A^n = PD^nP^{-1}.”

Why: With P=(1101)P = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} and D=diag(1,2)D = \text{diag}(1, 2), PDP−1=(1102)PDP^{-1} = \begin{pmatrix} 1 & 1 \\ 0 & 2 \end{pmatrix} but P−1DP=(1−102)P^{-1}DP = \begin{pmatrix} 1 & -1 \\ 0 & 2 \end{pmatrix}. The check at n=1n = 1 catches it at once: the formula must give back AA.

6. Raising the entries of A to the power n

the whole power question

What not to write

“A=(4−211)A = \begin{pmatrix} 4 & -2 \\ 1 & 1 \end{pmatrix}, so A2=(16411)A^2 = \begin{pmatrix} 16 & 4 \\ 1 & 1 \end{pmatrix}.”

What to write

“A2=AA=(14−105−1)A^2 = AA = \begin{pmatrix} 14 & -10 \\ 5 & -1 \end{pmatrix}; only the DIAGONAL matrix DD is raised entry by entry.”

Why: Entry-by-entry powers are correct for a diagonal matrix and for nothing else, which is precisely why we go through DD. The formula An=PDnP−1A^n = PD^nP^{-1} gives (46−3819−11)\begin{pmatrix} 46 & -38 \\ 19 & -11 \end{pmatrix} at n=3n = 3, and direct multiplication agrees.

7. Quoting the eigenvector as the steady state of a Markov chain

2 marks, and an answer that loses $495$ bikes

What not to write

“The eigenvector for λ=1\lambda = 1 is (3,2)(3, 2), so in the long run there are 33 bikes at Hilltop and 22 at Riverside.”

What to write

“The eigenvector (3,2)(3, 2) scaled to the 500500 bikes gives the steady state (300,200)(300, 200), that is 6060 and 4040 per cent.”

Why: An eigenvector is only a direction; the steady state is the point of that line that has the right TOTAL, because a Markov matrix conserves it. Divide by the sum of the entries, then multiply by the total.

8. Reading a stable ratio as a stable population

the interpretation mark, usually 2 marks

What not to write

“The ratio of the two classes tends to 2:12 : 1, so the population stabilises.”

What to write

“The PROPORTIONS settle along the dominant eigenvector; the SIZES are multiplied by λ1=0.8\lambda_1 = 0.8 each step, so the population dies out in the ratio 2:12 : 1.”

24681012141624681012x₀x₁x₂ratio 2 : 1first classsecond class
Points xk=8(0.8)k(2,1)+2(0.4)k(−1,1)x_k = 8(0.8)^k(2, 1) + 2(0.4)^k(-1, 1): they line up on the dashed line of ratio 2:12 : 1 while heading to the origin. Stable ratio, vanishing population.

Why: Two different limits are hiding in one sentence. The direction of vkv_k always tends to the dominant eigenvector; its length follows ∣λ1∣k|\lambda_1|^k, and only λ1=1\lambda_1 = 1 gives a population that stabilises.

Which method to choose

Is AA diagonalizable? Decide on the form

Look at the eigenvalues first, then spend a rank test only on the repeated ones

  • If the matrix is triangular → its eigenvalues are the diagonal entries, no determinant to expand

    Example: (2a102b00−1)\begin{pmatrix} 2 & a & 1 \\ 0 & 2 & b \\ 0 & 0 & -1 \end{pmatrix} has 2,2,−12, 2, -1

  • If nn distinct eigenvalues → diagonalizable, stop: distinct eigenvalues give independent eigenvectors

    Example: λ2−3λ−4=(λ−4)(λ+1)\lambda^2 - 3\lambda - 4 = (\lambda - 4)(\lambda + 1): yes

  • If an eigenvalue λ\lambda repeated mm times → row reduce A−λIA - \lambda I; it passes exactly when n−rank=mn - \text{rank} = m

    Example: n=3n = 3, m=2m = 2: rank 11 passes, rank 22 fails

  • If a 2×22 \times 2 with a double eigenvalue λ\lambda → diagonalizable only if A=λIA = \lambda I already

    Example: (2102)\begin{pmatrix} 2 & 1 \\ 0 & 2 \end{pmatrix}: no; (2002)\begin{pmatrix} 2 & 0 \\ 0 & 2 \end{pmatrix}: yes

  • If the characteristic polynomial has no real root → no real eigenvector, so no real PP; say so and stop, complex eigenvalues are not in MATH 133

    Example: a rotation by 90∘90^{\circ}: λ2+1\lambda^2 + 1, no real root

Notice what never decides: the size of the entries, the look of the matrix, or the fact that a root is repeated. A triangular parameter can matter or not depending on WHERE it sits: in (2a102b00−1)\begin{pmatrix} 2 & a & 1 \\ 0 & 2 & b \\ 0 & 0 & -1 \end{pmatrix}, only a=0a = 0 counts.

Long-run behaviour of vk+1=Avkv_{k+1} = Av_k

Order the eigenvalues by absolute value and read the largest one, λ1\lambda_1

1234567851015202530354045λ₁ = 1.2λ₁ = 1λ₁ = 0.8step ksize of the system
The same starting size under three dominant eigenvalues: 1.21.2 explodes, 11 stays level, 0.80.8 dies out. The step from one regime to the next is where λ1\lambda_1 crosses 11.
  • If ∣λ1∣>1|\lambda_1| > 1 → the system grows by the factor λ1\lambda_1 per step, in the proportions of u1u_1

    Example: λ1=1.5\lambda_1 = 1.5, u1=(2,1)u_1 = (2, 1): +50+50 per cent a year, two juveniles per adult

  • If λ1=1\lambda_1 = 1, all the others smaller in absolute value → convergence to c1u1c_1u_1, a steady state

    Example: Markov chain with λ=1,0.5\lambda = 1, 0.5: (300,200)(300, 200)

  • If ∣λ1∣<1|\lambda_1| < 1 → everything tends to 00, in the proportions of u1u_1

    Example: λ=0.9\lambda = 0.9 and 0.70.7: extinction at 1010 per cent a year

  • If v0v_0 has no component along u1u_1, that is c1=0c_1 = 0 → the next eigenvalue takes over

    Example: diag(2,0.5)\text{diag}(2, 0.5) with v0=(0,1)v_0 = (0, 1): vk→0v_k \to 0

The eigenvalue decides the SIZE, the eigenvector decides the SHAPE. An answer that gives one without the other has answered half the question.

How the answer is expected to be written

A marker ticks steps. Here they are in order, with the concluding sentence expected word for word.

Diagonalize a matrix: the answer a marker can grade

When to use it: “Diagonalize AA”, “find an invertible PP and a diagonal DD”, or “is AA diagonalizable?”

  1. 1 Write det⁡(A−λI)\det(A - \lambda I), say along which row or column you expand and why (the one with the most zeros), and FACTOR it: list the eigenvalues with their algebraic multiplicities.
  2. 2 For each eigenvalue, row reduce A−λIA - \lambda I naming every operation (R3→R3+R1R_3 \to R_3 + R_1), then write its rank and dim⁡Eλ=n−rank\dim E_\lambda = n - \text{rank}, with a basis of EλE_\lambda.
  3. 3 Compare each dim⁡Eλ\dim E_\lambda with the algebraic multiplicity. If one falls short, stop and write the verdict with the eigenvalue that fails.
  4. 4 Build PP from the basis vectors AS COLUMNS and DD with the eigenvalues in the same order, a repeated eigenvalue appearing as many times as it has columns.
  5. 5 Check AP=PDAP = PD column by column and state det⁡P≠0\det P \neq 0.

Concluding sentence

“The eigenvalues are 33, of algebraic multiplicity 22, and 11. Since dim⁡E3=2\dim E_3 = 2 and dim⁡E1=1\dim E_1 = 1, AA has 33 linearly independent eigenvectors, so it is diagonalizable, with P=(10110001−1)P = \begin{pmatrix} 1 & 0 & 1 \\ 1 & 0 & 0 \\ 0 & 1 & -1 \end{pmatrix} and D=diag(3,3,1)D = \text{diag}(3, 3, 1), so that P−1AP=DP^{-1}AP = D.”

The trap: Writing the verdict before the rank of A−λIA - \lambda I has been computed for the repeated eigenvalue.

Marking: Typically 2 marks for the factored polynomial, 3 for the eigenspaces with their dimensions, 1 for the verdict with its reason, 2 for PP and DD in matching order and 2 for the check. A correct PP with no reasoning is worth about a quarter of the question.

Check before you hand in

Five minutes of checking recover more marks than one more problem started in a hurry.

The typical problem, taken apart

A 3×33 \times 3 with a double eigenvalue, from polynomial to check

Decide whether A=(1200302−23)A = \begin{pmatrix} 1 & 2 & 0 \\ 0 & 3 & 0 \\ 2 & -2 & 3 \end{pmatrix} is diagonalizable. If it is, give an invertible PP and a diagonal DD with P−1AP=DP^{-1}AP = D.

Step 1

Expand along ROW 2, which holds two zeros: det⁡(A−λI)=(3−λ)det⁡(1−λ023−λ)=(3−λ)2(1−λ)\det(A - \lambda I) = (3 - \lambda)\det\begin{pmatrix} 1-\lambda & 0 \\ 2 & 3-\lambda \end{pmatrix} = (3 - \lambda)^2(1 - \lambda). Eigenvalues: 33 with algebraic multiplicity 22, and 11.

Why

The choice of row is worth saying: it turns a 3×33 \times 3 expansion into one 2×22 \times 2 that is already triangular. The polynomial comes out factored, which is the only form in which multiplicities can be read.

Step 2

A−3I=(−2200002−20)A - 3I = \begin{pmatrix} -2 & 2 & 0 \\ 0 & 0 & 0 \\ 2 & -2 & 0 \end{pmatrix}; R3→R3+R1R_3 \to R_3 + R_1 gives a second zero row, so the rank is 11 and dim⁡E3=3−1=2\dim E_3 = 3 - 1 = 2. The equation x=yx = y leaves yy and zz free: E3=span{(1,1,0),(0,0,1)}E_3 = \text{span}\{(1, 1, 0), (0, 0, 1)\}.

Why

This is the step that decides. The double root keeps a plane of eigenvectors, so the verdict is yes, and it is a rank that says so, not the polynomial.

Step 3

A−I=(0200202−22)A - I = \begin{pmatrix} 0 & 2 & 0 \\ 0 & 2 & 0 \\ 2 & -2 & 2 \end{pmatrix}; R2→R2−R1R_2 \to R_2 - R_1 kills row 22, so y=0y = 0 and 2x−2y+2z=02x - 2y + 2z = 0 gives x=−zx = -z: E1=span{(1,0,−1)}E_1 = \text{span}\{(1, 0, -1)\}.

Why

A simple eigenvalue can never fail, so this step is not a test: it only fills the last column of PP.

Step 4

P=(10110001−1)P = \begin{pmatrix} 1 & 0 & 1 \\ 1 & 0 & 0 \\ 0 & 1 & -1 \end{pmatrix} and D=diag(3,3,1)D = \text{diag}(3, 3, 1), the two columns of E3E_3 first because the two 33 come first in DD.

Why

Columns, not rows, and the same order in both lists: two independent marks on a typical grid, lost by students who had every number right.

Step 5

Check: A(1,1,0)=(3,3,0)A(1, 1, 0) = (3, 3, 0), A(0,0,1)=(0,0,3)A(0, 0, 1) = (0, 0, 3), A(1,0,−1)=(1,0,−1)A(1, 0, -1) = (1, 0, -1), so AP=PDAP = PD; and det⁡P=1\det P = 1, expanding along column 22, whose only non-zero entry is the 11 in row 33. Trace: 1+3+3=7=3+3+11 + 3 + 3 = 7 = 3 + 3 + 1.

Why

Three products and one determinant replace computing P−1P^{-1}. The trace check costs nothing and confirms the eigenvalues independently of the eigenvectors.

The conclusion, written out

“AA is diagonalizable: dim⁡E3=2\dim E_3 = 2 equals the algebraic multiplicity of 33, and P−1AP=DP^{-1}AP = D with P=(10110001−1)P = \begin{pmatrix} 1 & 0 & 1 \\ 1 & 0 & 0 \\ 0 & 1 & -1 \end{pmatrix} and D=diag(3,3,1)D = \text{diag}(3, 3, 1).”

The classic mistake on this problem: Stopping at step 1 with “double root, so not diagonalizable”, or keeping only (1,1,0)(1, 1, 0) for λ=3\lambda = 3: both lose the question. The mirror slip is D=diag(1,3,3)D = \text{diag}(1, 3, 3) with this PP, for which AP≠PDAP \neq PD.

Learn by heart

  • • Diagonalizable   ⟺  \iff nn independent eigenvectors   ⟺  \iff dim⁡Eλ=\dim E_\lambda = algebraic multiplicity for EVERY eigenvalue.
  • • dim⁡Eλ=n−rank(A−λI)\dim E_\lambda = n - \text{rank}(A - \lambda I), and 1≤dim⁡Eλ≤1 \le \dim E_\lambda \le algebraic multiplicity.
  • • nn distinct eigenvalues: diagonalizable. A repeated eigenvalue: compute ONE rank before any verdict.
  • • P−1AP=D  ⟺  A=PDP−1P^{-1}AP = D \iff A = PDP^{-1}: eigenvectors in the COLUMNS of PP, eigenvalues in DD in the SAME order.
  • • An=PDnP−1A^n = PD^nP^{-1}, and only DD is raised entry by entry.
  • • vk=c1λ1ku1+⋯+cnλnkunv_k = c_1\lambda_1^ku_1 + \dots + c_n\lambda_n^ku_n: the dominant λ1\lambda_1 sets the size, u1u_1 sets the proportions.
  • • Similar matrices share det⁡\det, trace, rank, polynomial and eigenvalues; sharing them proves NOTHING.

Frequently asked questions

How do I know if a matrix is diagonalizable without finding P?

Factor the characteristic polynomial. If the eigenvalues are all distinct, the matrix is diagonalizable and you can stop. For each repeated eigenvalue, row reduce A minus lambda I and count the free variables: that number is the dimension of the eigenspace. The matrix is diagonalizable exactly when every such dimension equals the number of times the eigenvalue is repeated.

Does a repeated eigenvalue mean the matrix is not diagonalizable?

No. A repeated eigenvalue is only the place where diagonalization can fail. The identity matrix has a single repeated eigenvalue and is already diagonal. What decides is the dimension of the eigenspace of that eigenvalue: if it equals the multiplicity of the root, the matrix is diagonalizable; if it is smaller, it is not.

In which order do I put the eigenvalues in D?

In the same order as the eigenvectors in the columns of P. The first diagonal entry of D is the eigenvalue of the first column of P, and so on. Any order is allowed, but the two lists must move together: swapping two columns of P without swapping the matching entries of D gives a wrong answer even when every number in it is correct.

Why does diagonalization make powers of a matrix easy?

Because A equals P times D times the inverse of P, and in a product of such factors every inverse of P cancels the P next to it. What remains is P times D to the n times the inverse of P, and a diagonal matrix is raised to a power entry by entry. Geometrically, each eigenvector axis is simply stretched by its eigenvalue, n times over.

How do I find the steady state of a two-state Markov chain?

Write the transition matrix with columns adding up to one, so that one is an eigenvalue. Find an eigenvector for the eigenvalue one, then scale it so that its entries add up to the total, or to one for proportions. The other eigenvalue is smaller than one in size, so its part of the solution dies out and every starting point with the same total ends at that steady state.

Practise it

Corrected exercises: Diagonalization and its applications, MATH 133 at McGill

A method is proved on a paper, not on a sheet. The set for the same chapter takes each of these traps into a problem, with the solution written out step by step.

  • 10 corrected exercises
  • 100 points
  • 150 minutes
Do the exercises
Previous sheet Eigenvalues and eigenvectors

See also

Looking for a MATH 133 tutor in Montreal?

Get in touch for a first session. Diagonalization is where the whole course comes together: a determinant, a row reduction and a rank, then one change of axes that makes everything else easy.

Site by Studio Squalli