Eigenvalues and eigenvectors
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?
singular kyun hona chahiye?
Eigenvalues kaunsi equation se milte hain?
Eigenvalues ka sum kiske barabar hota hai?
Eigenvalues ka product kiske barabar hota hai?
Ek triangular matrix ke eigenvalues kya hote hain?
Kya eigenvectors unique hote hain?
Ek 90° rotation matrix ke eigenvalues kya hote hain?
Symmetric matrices ke eigenvectors mein kya special property hoti hai?
PCA mein, covariance matrix ke top eigenvectors kya represent karte hain?
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
- Determinants — woh tool jo singularity detect karta hai ().
- Matrix as Linear Transformation — eigenvectors = woh directions jo rotate nahi hote.
- Diagonalization — eigenvectors ko ke columns ki tarah use karke.
- Principal Component Analysis (PCA) — covariance matrix ke eigenvectors.
- Symmetric Matrices and Spectral Theorem — real orthogonal eigenvectors.
- Trace and Determinant — invariants jo eigenvalues ke sum/product ke barabar hote hain.
- Null Space — eigenvectors ke null space mein rehte hain.