WHY this exact condition? Because P must be invertible, and an n×n matrix is invertible ⟺ its columns are linearly independent. The columns are eigenvectors. So we need n independent eigenvectors. No spanning set ⇒ no invertible P⇒ no diagonalization.
Step 1 — characteristic equation.det(A−λI)=det(4−λ213−λ)=(4−λ)(3−λ)−2=λ2−7λ+10=(λ−5)(λ−2).Why this step? Eigenvalues are where A−λI becomes singular (has a nonzero null vector). λ1=5,λ2=2 — two distinct values, so already guaranteed diagonalizable.
Step 2 — eigenvectors.
For λ=5: A−5I=(−121−2). Row reduce: −x1+x2=0⇒x1=x2. Eigenvector p1=(11).
For λ=2: A−2I=(2211)⇒2x1+x2=0⇒x2=−2x1. Eigenvector p2=(1−2).
Why this step? Each eigenvector spans the null space of A−λI; it's the direction that only gets stretched.
Step 3–5 — assemble.P=(111−2),D=(5002).Why this step? Column 1 (λ=5 vector) pairs with D11=5; column 2 with D22=2 — same order.
Check:detP=−3=0, so P is invertible. ✓ And one can verify AP=PD.
Step 2:A−2I=(0010). Solve (0010)x=0⇒x2=0, x1 free. Only one independent eigenvector (10), so geometric multiplicity g=1.
Step 3:g(2)=1<a(2)=2. We have only 1 eigenvector for a 2×2 matrix → cannot build invertible P → NOT diagonalizable.
Why this matters: This is the prototype "defective" matrix. A shear has a single fixed direction; there's no second independent direction it merely stretches, so no diagonalizing basis exists.
det(A−λI)=(3−λ)2, so λ=3 with a=2. Now A−3I=0, whose null space is all of R2, so g=2. Since g=a, it's diagonalizable — indeed it's already diagonal. Lesson: repeated eigenvalues are fine as long as they supply enough independent eigenvectors.
Recall Feynman: explain to a 12-year-old
Imagine a stretchy rubber sheet with a picture on it. A matrix is a machine that pulls and twists the sheet. Most directions get twisted around — confusing. But some special arrows (eigenvectors) only get longer or shorter, never turned. "Diagonalizing" means redrawing your graph paper along those special arrows. In that new graph paper the machine just stretches each axis by a number (the eigenvalue) — no twisting at all. If you can find enough special arrows to fill the whole space, you win. If the machine only has too few special arrows (like a pure shear/skew), you can't, and we say it's "not diagonalizable."
Dekho, ek matrix A basically ek transformation hai — woh vectors ko stretch, rotate ya shear karta hai. Diagonalization ka pura idea yeh hai: kya aisi koi smart coordinate system (basis) mil sakti hai jismein yeh matrix sirf stretch kare, ghumaye-shear na kare? Agar haan, toh us basis mein matrix diagonal ban jata hai — aur diagonal matrix ke saath kaam karna bahut easy hota hai (powers, determinant sab element-wise ho jaate hain). Isi liye agar A=PDP−1 ho, toh A100=PD100P−1 — ek line ka kaam.
Ab P aur D kahan se aate hain? Yeh free choice nahi hai. Agar A=PDP−1 likho aur dono taraf P se multiply karo, toh milta hai AP=PD, aur column-by-column dekho toh Apj=λjpj — yeh toh seedha eigenvalue equation hai! Matlab P ke columns eigenvectors hone hi chahiye, aur D ke diagonal pe unke eigenvalues. Bas yahi hai.
Condition kya hai? n×n matrix diagonalizable tabhi hai jab uske paas n linearly independent eigenvectors hon (kyunki P invertible hona chahiye). Shortcut: agar saare n eigenvalues distinct hain, toh guaranteed diagonalizable. Lekin repeated eigenvalue ho toh check karo — geometric multiplicity (g, kitne independent eigenvectors) algebraic multiplicity (a) ke barabar honi chahiye. Jaise shear matrix (2012) mein a=2 par g=1, isliye woh "defective" hai aur diagonalize nahi hoti.
Procedure simple hai: (1) characteristic equation se eigenvalues nikalo, (2) har eigenvalue ke eigenvectors nikalo, (3) ginlo — n aaye toh aage badho, (4) P mein eigenvectors columns, (5) D mein same order ke eigenvalues. Sabse common galti: P aur D ka order match nahi karna — column ka eigenvector aur diagonal ka eigenvalue same pair ke hone chahiye!