Shuru karne se pehle, ek reference figure hai jo paanch shapes tumhare dimaag mein fix kar deta hai — har classification neeche basically yahi pooch rahi hai "inme se konsi surface hai?"
Yahan A pehle se diagonal hai, isliye Q=λ1x2+λ2y2+… aur diagonal entries hi eigenvalues hain. Bas signs padh lo.
Recall Solution L1.1
WHAT: matrix hai A=(5003), diagonal hai, isliye eigenvalues hain 5 aur 3.
WHY: ek diagonal matrix ke liye koi cross terms nahi hote, isliye diagonal numbers exactly λi hain ∑λiyi2 mein.
Dono >0 hain ⇒ har input positive output deta hai (jab tak x=0 na ho). Positive definite (blue bowl).
Recall Solution L1.2
A=(−200−7), eigenvalues −2,−7, dono <0. Har output x=0 ke liye negative hai. Negative definite (orange dome).
A=(0006), eigenvalues 0,6. Kabhi negative nahi, lekin Q(1,0)=0 jabki x=0. Positive semidefinite (PD nahi) — figure mein yeh green flat-bottomed trough hai. Zero eigenvalue hi asli baat hai: yeh flat direction x-axis hai.
Recall Solution L1.5
A=(−5000), eigenvalues −5,0. Kabhi positive nahi (dono eigenvalues ≤0 hain), lekin Q(0,1)=0 jabki x=0. Negative semidefinite (NSD) — gray flat-topped trough.
Yeh L1.4 ka mirror hai: saare eigenvalues ≤0 hain kam se kam ek zero ke saath. Surface ek downward trough hai jo poori y-axis ke along flat hai — x-direction mein dome, y-direction mein level.
Ab matrices mein cross terms hain. A ko sahi build karna pehla kaam hai.
Phir Sylvester's leading principal minors use karo (D1=A11, D2=detA) aur eigenvalues se cross-check karo.
Recall Solution L2.1
A build karo: diagonals 3,3; xy-coefficient 2 hai, aur (jaisa upar dikhaya) off-diagonal uska half hota hai kyunki cross term do baar count hota hai, isliye A12=A21=22=1. Toh A=(3113).
Sylvester (WHY yeh PD certify karta hai): upar wale pivot fact se, D1>0 aur D2>0 milkar matlab hai dono pivots d1=D1=3 aur d2=D2/D1=8/3 positive hain, isliye Q positive squares ka sum hai — PD ki definition yahi hai. Compute karo: D1=3>0; D2=9−1=8>0. Sab positive ⇒ PD.
Eigenvalues se cross-check:(3−λ)2−1=0⇒λ=2,4, dono >0. ✓
Recall Solution L2.2
A build karo: diagonals −4,−4; xy-coefficient 4 hai, halved (do baar count hota hai) ⇒ off-diagonal 24=2. Toh A=(−422−4).
ND ke liye Sylvester — WHY pattern D1<0,D2>0 hota hai:A ND hai exactly jab −A PD ho. PD maangta hai ki −A ke saare leading minors positive hon. Lekin ek k×k block ko −1 se scale karne par uska determinant (−1)k se multiply hota hai, isliye −A ka k-th minor (−1)kDk ke barabar hai. Har (−1)kDk>0 demand karne par milta hai D1<0 (k=1 se: −D1>0) aur D2>0 (k=2 se: D2>0) — yeh alternating pattern hai. Check karo: D1=−4<0 ✓; D2=16−4=12>0 ✓. ND.Eigenvalues:(−4−λ)2−4=0⇒−4−λ=±2⇒λ=−2,−6, dono <0. ✓
Recall Solution L2.3
A build karo: diagonals 1,1; xy-coefficient 6, halved ⇒ off-diagonal 3. Toh A=(1331). D1=1>0 lekin D2=1−9=−8<0.
PD nahi hai (iske liye D2>0 chahiye), aur D1<0 bhi fail hota hai ND pattern ke liye. Ek negative D2=detA=λ1λ2 ka matlab hai eigenvalues ke signs opposite hain. Indefinite.
Check: λ=4,−2. ✓
Recall Solution L2.4
A build karo: diagonals 2,2,2; sirf cross term 2xy hai, halved ⇒ A12=A21=1; koi xz ya yz nahi, isliye woh off-diagonals 0 hain. Toh A=210120002.
D1=2>0; D2=det(2112)=3>0; D3=detA.
WHY D3=2⋅D2 (last column ke along cofactor expansion): ek determinant ko kisi bhi row ya column ke along expand kiya ja sakta hai — tum us line par chalte ho, har entry ko uski row aur column delete karne ke baad bache chhote determinant (uske "minor") se multiply karte ho, aur checkerboard sign (−1)i+j lagate ho. Teesra column yahan (0,0,2)⊤ hai, isliye sirf ek term bachta hai yaani position (3,3) mein 2: sign (−1)3+3=+1, aur row 3 & column 3 delete karne par exactly top-left 2×2 block bachta hai jiska determinant D2 hai. Isliye D3=2⋅D2=2⋅3=6>0. Teeno >0 hain ⇒ PD.
Form ko uske origin (ek formula, ek Hessian, ek completed square) ke saath combine karo. Ek problem mein multiple tools.
Recall Solution L4.1
Step 1 — critical point check.fx=3x2−3=0⇒x=±1; fy=2y=0⇒y=0. Toh (1,0) critical hai. ✓
Step 2 — Hessian.fxx=6x, fyy=2, fxy=0. (1,0) par: H=(6002).
Step 3 — H classify karo. Eigenvalues 6,2>0 ⇒ PD ⇒ local minimum (blue bowl).
Bonus — doosra critical point (−1,0):H=(−6002), λ=−6,2 mixed ⇒ indefinite ⇒ saddle (red surface). Yeh poora Second Derivative Test hai.
Recall Solution L4.2
WHAT (x mein complete the square karo):x2+4xy+5y2=(x+2y)2−4y2+5y2=(x+2y)2+y2.WHY yeh PD prove karta hai: do squares ka sum ≥0 hota hai, aur 0 sirf tab hota hai jab x+2y=0aury=0, yaani x=y=0. Toh Q>0 sabhi x=0 ke liye ⇒ PD.
Implied eigenvalue signs: PD ⇒ dono eigenvalues >0 (indeed D1=1>0, D2=5−4=1>0, toh λ1λ2=1>0 aur λ1+λ2=6>0: dono positive hain).
Yeh completing-the-square factorisation exactly woh idea hai jo Cholesky Decomposition ke peechhe hai — PD precisely woh condition hai jo tumhe A=LL⊤ likhne deti hai.
Step 1 — diagonal par rotate karo.Spectral Theorem se, A=QΛQ⊤. y=Q⊤x set karo. Kyunki Q orthogonal hai toh length preserve hoti hai, isliye ∥y∥=∥x∥=1, matlab ∑yi2=1.
Step 2 — rewrite karo.Q(x)=∑iλiyi2. Yeh eigenvalues ka ek weighted average hai weights yi2≥0 ke saath jo 1 mein sum hote hain.
Step 3 — average bound karo. Koi bhi weighted average sabse chhote aur sabse bade ingredient ke beech hota hai:
λmin=λmin∑yi2≤∑λiyi2≤λmax∑yi2=λmax.Step 4 — definiteness follow karta hai. Agar λmin>0 toh Q(x)≥λmin>0 sabhi unit x ke liye (hence scaling se sabhi x=0 ke liye) ⇒ PD. Agar λmax<0 ⇒ ND. Agar λmin<0<λmax, bounds zero ke dono taraf hain aur eigenvector directions dono signs realize karte hain ⇒ indefinite. ■
Recall Solution L5.2
WHAT humein dikhana hai:x⊤Bx>0 sabhi x=0 ke liye.
Step 1 — B=C⊤AC substitute karo aur regroup karo:x⊤Bx=x⊤C⊤ACx=(Cx)⊤A(Cx).
Humne (Cx)⊤=x⊤C⊤ use kiya do outer factors ko ek vector mein fold karne ke liye.
Step 2 — inner vector name karo.w=Cx lo. Tab
x⊤Bx=w⊤Aw.Step 3 — WHY invertibility matter karti hai. Humne x=0 se start kiya. Kyunki C invertible hai, Cx=0 force karega x=C−10=0, jo contradiction hai. Isliye w=Cx=0.
Step 4 — A ki PD apply karo. Kyunki A PD hai aur w=0, hamein milta hai w⊤Aw>0. Isliye
x⊤Bx=w⊤Aw>0for all x=0.
Toh Bpositive definite hai. ■
Yahi reason hai ki variables ka change (jaisa Least Squares mein, jahan normal-equation matrix C⊤C hoti hai) ek form ko positive definite rakhta hai.
Recall Solution L5.3
Sylvester:D1=2>0. D2=det(2−1−12)=4−1=3>0. D3=detA: top row ke along expand karo =2(4−1)−(−1)(−2−0)=6−2=4>0. Sab >0 ⇒ PD.
Eigenvalues: is tridiagonal matrix ke liye woh 2−2cos4kπ hain k=1,2,3 ke liye, yaani 2−2,2,2+2 — sab positive hain. ✓ PD confirmed.