4.5.38 · D4 · HinglishLinear Algebra (Full)

ExercisesSymmetric matrices — spectral theorem (real eigenvalues, orthogonal eigenvectors)

2,436 words11 min read↑ Read in English

4.5.38 · D4 · Maths › Linear Algebra (Full) › Symmetric matrices — spectral theorem (real eigenvalues, ort

Reminders ek jagah, taaki koi bhi symbol tumhe achanak na mile:

  • Ek matrix symmetric hoti hai agar ho — isko apne main diagonal ke across flip karo (top-left se bottom-right tak) toh kuch nahi badalta. Neche mirror wali picture dekho.
  • ("A transpose") ka matlab hai "rows aur columns swap karo": row , column wali entry row , column par chali jaati hai.
  • ka eigenvector ek non-zero arrow hai jise sirf stretch karta hai, ghumata nahi: . Stretch factor ("lambda") eigenvalue hai. Dekho Eigenvalues and Eigenvectors.
  • Do arrows orthogonal (perpendicular) hote hain jab unka dot product zero ho: .
  • orthogonal hota hai jab uske columns perpendicular unit arrows hon, jisse aur isliye force hota hai. Dekho Orthogonal Matrices.

Neche wali figure — abhi padho, ye poori jagah repeat hoti hai. Left panel dikhata hai ki "symmetric" kaisi lagti hai: dashed mirror line ke dono taraf amber pair force equal hoti hai, aur yahi condition hai jo Exercise 1.1 test karta hai. Right panel woh payoff dikhata hai jo Exercise 3.1 mein prove hota hai: do eigen-axes ek clean par milte hain aur sirf unke saath stretch karta hai (cyan se, amber se) — koi twisting nahi. Ye picture dimag mein rakho; L2, L3 aur L5 sab iske andar hi hain.

Figure — Symmetric matrices — spectral theorem (real eigenvalues, orthogonal eigenvectors)

Level 1 — Recognition

Exercise 1.1

In mein se kaun si matrices symmetric hain?

Recall Solution

Hum kya karte hain: har matrix ko uske apne transpose se compare karo — diagonal ke across mirror karo (bilkul upar wali figure mein dashed line ki tarah).

  • : off-diagonal entries hain (row 1) aur (transpose ki row 1) — match karte hain. Symmetric ✓.
  • : entry hai lekin entry hai. Mirror karne se sign flip ho jaata hai, toh . Not symmetric (ye antisymmetric hai).
  • : har mirror pair check karo: , , . Sab match karte hain. Symmetric ✓.

Answer: aur symmetric hain; nahi hai.

Exercise 1.2

ke liye, verify karo ki ek eigenvector hai aur uski eigenvalue nikalo.

Recall Solution

Hum kya karte hain: multiply karo aur dekho ki output, input arrow ka scalar multiple hai ya nahi. Output same direction mein point karta hai jaise , bas lamba. Toh ek eigenvector hai eigenvalue ke saath.


Level 2 — Application

Exercise 2.1

ko fully orthogonally diagonalize karo: , nikalo jisme ho.

Recall Solution

Step 1 — eigenvalues. Kyun: eigenvalues stretch factors hain; dekho kahan kisi arrow ko zero par collapse karta hai, yaani kahan . Toh aur — dono real (jaisa Spectral Theorem promise karta hai).

Step 2 — eigenvectors. solve karo.

  • : .
  • : .

Step 3 — orthogonality check. ✓ (distinct eigenvalues ⇒ perpendicular — opening figure ka right panel, inhi exact axes ke saath).

Step 4 — normalize (length se divide karo taaki columns unit arrows hon, jisse orthogonal bane): Phir . Dekho Diagonalization.

Exercise 2.2

Exercise 2.1 ke data ko use karke, ko spectral sum ke roop mein likho aur confirm karo ki ye reproduce karta hai.

Recall Solution

Hum kya karte hain: har eigen-axis par ek rank-1 projector hai; se scale karo aur add karo. , ke saath:


Level 3 — Analysis

Exercise 3.1

Scratch se dikhao ki agar symmetric hai aur eigenvectors hain alag eigenvalues ke saath, toh hota hai. (Koi numbers nahi — ek proof.)

Recall Solution

Idea: single number ko do alag tareekon se compute karo aur compare karo. Ye classic "ek quantity ko do tareekon se evaluate karo" trick hai.

Way 1 — ko par act karne do:

Way 2 — symmetry use karke ko par slide karo. Kyunki aur :

Compare: . Kyunki hai toh pehla factor non-zero hai, isliye , yaani . ∎ (Yahan bas dot product hai jo matrix product ki tarah likha gaya hai.)

Exercise 3.2

Matrix not symmetric hai. Iske eigenvectors hain ( ke liye) aur ( ke liye). Kya ye orthogonal hain? Ye kya reveal karta hai?

Recall Solution

Check: . Not orthogonal. Ye kya reveal karta hai: eigenvectors ki orthogonality symmetry ka gift hai, koi universal law nahi. Exercise 3.1 ka proof "Way 2" mein use karta tha; us hypothesis ko hata do aur dono ways agree nahi karte, toh kuch bhi force nahi karta. Ek non-symmetric matrix phir bhi diagonalize ho sakti hai (), lekin .


Level 4 — Synthesis

Exercise 4.1

Ek symmetric matrix repeated eigenvalue ke saath: . Saare eigenvalues nikalo; phir, repeated eigenvalue ko carefully treat karte hue, ek full orthonormal eigenbasis produce karo, repeated eigenspace ke andar Gram–Schmidt run karte hue jab jo raw basis tum pick karo wo pehle se perpendicular na ho.

Recall Solution

Step 1 — eigenvalues. diagonal hai, toh iske eigenvalues uske diagonal entries hain: ek baar, aur multiplicity 2 ke saath. Ye exactly repeated-eigenvalue case hai.

Step 2 — simple eigenvalue . solve karne par force hota hai, jisse eigenvector milta hai — already unit length.

Step 3 — repeated eigenvalue (interesting case). solve karo: Eigenspace poora plane hai — ek 2-dimensional space (symmetric matrices kabhi defective nahi hoti, toh eigenspace ki full dimension hoti hai). Maan lo humne jo do raw basis vectors pick kiye wo pehle se orthogonal nahi hain, jaise Gram–Schmidt eigenspace ke andar isko fix karta hai (Gram-Schmidt Process): mein se ke along uski shadow subtract karo: phir normalize karo (already unit hai): . Ab ✓.

Step 4 — full orthonormal eigenbasis assemble karo. vector ko do orthonormalized vectors ke saath combine karo: Moral: ek distinct eigenvalue tumhe apna eigen-axis free mein deta hai; ek repeated eigenvalue tumhe ek poora plane deta hai, aur uske andar tumhe Gram–Schmidt se haath se orthonormal basis banani padti hai.

Exercise 4.2

Maan lo symmetric hai spectral decomposition ke saath. Prove karo ki , aur isko use karke state karo.

Recall Solution

Key fact: orthonormal hain, toh agar ho aur otherwise. se square karo: Beech ka collapse ho jaata hai (yahi orthogonality kaam karti hai). Kyunki diagonal hai entries ke saath: General power: . Eigen-axes frozen hain; sirf stretch factors power par raise hote hain.


Level 5 — Mastery

Exercise 5.1

ke liye (Exercise 2.1 se, eigenvalues ), quadratic form ek curve trace karta hai jab set kiya jaaye. Eigen-axes use karke, shape identify karo, uski axis directions, aur uski semi-axis lengths.

Recall Solution

Eigen-coordinates mein rotate karo. rakho ke saath Exercise 2.1 se. Toh Cross term vanish ho gaya — exactly yahi eigen-axes tumhe dete hain. Dekho Quadratic Forms. set karo: , yaani . Ye ek ellipse hai (neche wali figure mein draw ki gayi hai).

  • ke along semi-axis ki length hai.
  • ke along semi-axis ki length hai.

Original –coordinates mein axis directions: ellipse ka short axis ke along point karta hai ( line), aur uska long axis ke along ( line). Ye exactly eigen-axes hain — ellipse par tilted hai, – aur –axes ke aligned nahi.

Isko padhna: bada eigenvalue ⇒ steeper form ⇒ shorter semi-axis, toh short axis deta hai aur long axis deta hai. Dono eigenvalues positive hain ⇒ curve ek ellipse mein close hoti hai ⇒ positive definite hai.

Figure — Symmetric matrices — spectral theorem (real eigenvalues, orthogonal eigenvectors)

Exercise 5.2

Maan lo . Iske singular values wo numbers hain jo SVD mein appear karte hain. Explain karo kyun, is ke liye, singular values ke barabar hain, aur unhe numerically do.

Recall Solution

Eigenvalues (parent Example 1): . Singular values hain. Symmetric ke liye, , jiske eigenvalues hain. Toh singular values . Yahan , , toh singular values hain. Subtlety: ye , yaani absolute values ke barabar hain. Agar koi eigenvalue negative hoti, toh uska singular value uska magnitude hota — sign SVD ke orthogonal factors mein absorb ho jaata hai.

Exercise 5.3

Maan lo symmetric ke eigenvalues (eigenvector ) aur (eigenvector ) hain. ko uske spectral sum se reconstruct karo.

Recall Solution

Check: trace ✓, ✓. Negative eigenvalue ko indefinite banati hai — quadratic form ek hyperbola hogi, ellipse nahi.


Flashcards

Real symmetric matrix ke liye, distinct eigenvalues ke eigenvectors orthogonal kyun hone chahiye?
ko do tareekon se compute karne par milta hai; distinct force karta hai .
Symmetric matrix ke singular values uske eigenvalues ke terms mein kya hote hain?
Absolute values .
Symmetric ke liye, kya hai?
— same axes, powered stretches.