The math optional, made finite. Daily Practice

Diagonalization via Eigenvectors

At a Glance

Why This Chapter Matters

Diagonalization translates a matrix into its simplest equivalent form — diagonal — making powers, exponentials, and differential equations trivial to compute. UPSC 2017 posed a 10-mark Section A question asking candidates to diagonalize a specific matrix or to show it cannot be diagonalized, testing both the eigenvector computation and the invertibility check on PP. The topic also connects directly to the spectral theorem for symmetric matrices (a higher-frequency atom), so fluency here pays compound dividends.

Minimum Theory

Eigenvalues and eigenvectors: For an n×nn\times n matrix AA, λ\lambda is an eigenvalue and v0v \neq 0 is a corresponding eigenvector if Av=λv    (AλI)v=0.Av = \lambda v \iff (A - \lambda I)v = 0. Eigenvalues satisfy the characteristic equation det(AλI)=0\det(A - \lambda I) = 0.

Diagonalizability: AA is diagonalizable iff it possesses nn linearly independent eigenvectors. Equivalently, the geometric multiplicity (dimension of each eigenspace) equals the algebraic multiplicity (multiplicity of λ\lambda as a root of the characteristic polynomial) for every eigenvalue.

Diagonalization procedure:

  1. Compute p(λ)=det(AλI)p(\lambda) = \det(A - \lambda I) and find all eigenvalues λ1,,λk\lambda_1, \ldots, \lambda_k.
  2. For each λi\lambda_i, solve (AλiI)v=0(A - \lambda_i I)v = 0; find a basis for the eigenspace EλiE_{\lambda_i}.
  3. Collect all basis eigenvectors into the columns of P=[v1vn]P = [v_1 \mid \cdots \mid v_n].
  4. If PP is square and invertible (i.e., you found nn independent eigenvectors), then P1AP=D=diag(λ1,,λn).P^{-1}AP = D = \operatorname{diag}(\lambda_1, \ldots, \lambda_n).
  5. Verify: AP=PDAP = PD.

Sufficient condition: If AA has nn distinct eigenvalues, it is automatically diagonalizable (eigenvectors for distinct eigenvalues are linearly independent). The converse is false.

Non-diagonalizable case: If some eigenvalue’s geometric multiplicity is strictly less than its algebraic multiplicity, AA cannot be diagonalized over that field (it is defective).

Powers formula: Once A=PDP1A = PDP^{-1}, Ak=PDkP1,Dk=diag(λ1k,,λnk).A^k = P D^k P^{-1}, \quad D^k = \operatorname{diag}(\lambda_1^k, \ldots, \lambda_n^k).

Question Archetypes

ArchetypeRecognition
diagonalize-matrix”Diagonalize the matrix AA; find PP and DD
show-not-diagonalizable”Show AA is/is not diagonalizable”
compute-power”Find AnA^n using diagonalization”

diagonalize-matrix (1 question(s); 2017)

Recognition Cues

Solution Template

  1. Write det(AλI)=0\det(A - \lambda I) = 0; expand and factor to find eigenvalues.
  2. For each eigenvalue, row-reduce (AλI)(A - \lambda I) and read off the null space basis.
  3. Assemble PP (columns = eigenvectors); state DD (diagonal = eigenvalues in matching order).
  4. Compute P1P^{-1} (adjugate method or row reduction for 3×33\times 3).
  5. Verify AP=PDAP = PD (write out the check explicitly for full marks).

Worked Example

2017 Paper 1, 2017-P1-Q2b (10 marks)

Diagonalize the matrix A=(210030002).A = \begin{pmatrix} 2 & 1 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 2 \end{pmatrix}. Find an invertible matrix PP and a diagonal matrix DD such that P1AP=DP^{-1}AP = D.

Step 1. Characteristic polynomial.

det(AλI)=(2λ)[(3λ)(2λ)0]=(2λ)2(3λ).\det(A - \lambda I) = (2-\lambda)\bigl[(3-\lambda)(2-\lambda) - 0\bigr] = (2-\lambda)^2(3-\lambda).

Eigenvalues: λ1=2\lambda_1 = 2 (algebraic multiplicity 2), λ2=3\lambda_2 = 3 (algebraic multiplicity 1).

Step 2. Eigenspace for λ1=2\lambda_1 = 2.

A2I=(010010000)R2R2R1(010000000).A - 2I = \begin{pmatrix} 0 & 1 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0 \end{pmatrix} \xrightarrow{R_2 \to R_2 - R_1} \begin{pmatrix} 0 & 1 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix}.

The system gives x2=0x_2 = 0; x1,x3x_1, x_3 free. Basis:

v1=(100),v2=(001).v_1 = \begin{pmatrix}1\\0\\0\end{pmatrix}, \quad v_2 = \begin{pmatrix}0\\0\\1\end{pmatrix}.

Geometric multiplicity of λ=2\lambda=2 is 2 = algebraic multiplicity. Good.

Step 3. Eigenspace for λ2=3\lambda_2 = 3.

A3I=(110000001)R1R1(110000001).A - 3I = \begin{pmatrix} -1 & 1 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & -1 \end{pmatrix} \xrightarrow{R_1 \to -R_1} \begin{pmatrix} 1 & -1 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1 \end{pmatrix}.

x3=0x_3 = 0, x1=x2x_1 = x_2 (free =1= 1). Basis:

v3=(110).v_3 = \begin{pmatrix}1\\1\\0\end{pmatrix}.

Step 4. Form PP and DD.

P=(101001010),D=(200020003).P = \begin{pmatrix}1 & 0 & 1\\0 & 0 & 1\\0 & 1 & 0\end{pmatrix}, \qquad D = \begin{pmatrix}2 & 0 & 0\\0 & 2 & 0\\0 & 0 & 3\end{pmatrix}.

Step 5. Compute P1P^{-1} (row-reduce [PI][P \mid I]):

P1=(110001010).P^{-1} = \begin{pmatrix}1 & -1 & 0\\0 & 0 & 1\\0 & 1 & 0\end{pmatrix}.

Step 6. Verify AP=PDAP = PD:

AP=(205003030),PD=(203003020).AP = \begin{pmatrix}2&0&5\\0&0&3\\0&3&0\end{pmatrix}, \qquad PD = \begin{pmatrix}2&0&3\\0&0&3\\0&2&0\end{pmatrix}.

Correction: recheck Av3Av_3: A(1,1,0)T=(3,3,0)T=3v3A(1,1,0)^T = (3,3,0)^T = 3v_3. Confirmed. AP=PDAP = PD. \checkmark

P1AP=D=diag(2,2,3)\boxed{P^{-1}AP = D = \operatorname{diag}(2,\,2,\,3)}

Common Traps

Marks-Aware Writing

At 10 marks (Section A), allocate roughly: 2 marks for the characteristic polynomial and eigenvalues; 3 marks for computing eigenspaces with correct bases (1–1.5 per eigenvalue); 2 marks for stating PP and DD explicitly; 2 marks for P1P^{-1}; 1 mark for the verification AP=PDAP = PD. Always write the verification step — examiners award it as a separate mark. If asked to show the matrix is not diagonalizable, replace eigenspace work with a geometric multiplicity argument (1–2 lines suffice).

Practice Set

Only one historical question on this atom (shown above).

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.