1.1.13 · HinglishLinear Algebra Essentials

Eigenvalues and eigenvectors

1,479 words7 min readRead in English

1.1.13 · AI-ML › Linear Algebra Essentials


HUM POOCH KYA RAHE HAIN?

  • Nonzero kyun? trivially satisfy karta hai kisi bhi ke liye, toh yeh kuch bhi nahi batata. Isliye hum ise forbid karte hain.
  • ML mein kyun matter karta hai? PCA, covariance structure, PageRank, gradient descent ki stability, spectral clustering — sab "special directions dhundho" wale problems hain.

INHE DHUNDHTE KAISE HAIN? (Scratch se Derivation)

Hume chahiye with . Rearrange karo:

Ab key logical step. ek homogeneous system hai.

  • Agar invertible hota, toh ek hi solution hota . Lekin humne ban kiya hai.
  • Toh nonzero ke exist hone ke liye, singular (non-invertible) hona chahiye.
  • Ek matrix singular hota hai uska determinant zero hota hai.

Phir har ke liye, mein wapas plug karo aur null-space vectors solve karo.


Worked Example 1 — ek clean

Step 1: banao. Kyun? Humne derive kiya ki eigenvalues is matrix ko singular banate hain.

Step 2: determinant = 0. Kyun? Singular . Toh .

Step 3: ka eigenvector. Kyun? Direction dhundhne ke liye mein substitute karo. Eigenvector (koi bhi scale).

Step 4: ka eigenvector. Eigenvector .

Check:


Worked Example 2 — ek triangular shortcut

Step 1: . Zero term kyun? Lower-left hai, toh cross product vanish ho jaata hai.

Step 2: Roots hain — exactly diagonal entries.


Do invariants jo mistakes jaldi pakad lete hain

Kyun (sketch): Characteristic polynomial . coefficient match karne se sum = trace milta hai; constant term () se milta hai.

Example 1 check: trace ✓, ✓.


Pehle Forecast, Phir Verify


Common Mistakes (Steel-manned)


Flashcards

Woh defining equation kya hai jo ek eigenvector ko satisfy karni chahiye?
with .
singular kyun hona chahiye?
Taaki ka ek nonzero solution ho; ek invertible matrix force kar deta.
Eigenvalues kaunsi equation se milte hain?
Characteristic equation .
Eigenvalues ka sum kiske barabar hota hai?
ke trace ke.
Eigenvalues ka product kiske barabar hota hai?
ke determinant ke.
Ek triangular matrix ke eigenvalues kya hote hain?
Uske diagonal entries.
Kya eigenvectors unique hote hain?
Nahi — koi bhi nonzero scalar multiple kaam karta hai; yeh ek direction/subspace define karte hain.
Ek 90° rotation matrix ke eigenvalues kya hote hain?
(complex — koi real eigenvector nahi).
Symmetric matrices ke eigenvectors mein kya special property hoti hai?
Woh real aur mutually orthogonal hote hain.
PCA mein, covariance matrix ke top eigenvectors kya represent karte hain?
Maximum variance ki directions (principal components).

Recall Feynman: ek 12-saal ke bachche ko explain karo

Socho tum jelly ke ek bade blob ko push kar rahe ho. Kisi bhi random direction mein push karo aur yeh wobble karke rotate ho jaayegi. Lekin kuch special push-directions hote hain jahan jelly seedha andar ya seedha bahar squish hoti hai — koi twisting nahi. Woh magic push-directions eigenvectors hain, aur "kitna squish/stretch hota hai" woh eigenvalue hai. Agar eigenvalue 2 hai, toh woh direction double ho jaati hai; agar hai, toh half ho jaati hai; agar negative hai, toh doosri taraf flip ho jaati hai.


Connections

Concept Map

special vectors

only scaled by

must be nonzero

rearrange with I

nonzero v needs singular

singular iff

degree-n polynomial

roots give

plug back solve null space

used in

used in

Matrix A rotates and stretches

Eigenvector v

Eigenvalue lambda

Av = lambda v

A - lambda I times v = 0

A - lambda I is singular

det A - lambda I = 0

Characteristic polynomial

PCA and covariance

PageRank and spectral clustering