WHY symmetric? Koi bhi matrix B se x⊤Bx milta hai, lekin sirf symmetric part matter karta hai:
x⊤Bx=x⊤symmetric2B+B⊤x+x⊤antisymmetric2B−B⊤x.
Antisymmetric part ka contribution 0 hota hai (ek scalar apne transpose ke barabar hota hai, aur antisymmetric piece transpose hone par negative ho jata hai). Isliye hum hamesha A ko symmetric choose karte hain — yeh unique hota hai.
Yeh diagonal hai — pure squares, koi cross terms nahi! Ab sign padho:
WHY kaam karta hai:yi2≥0 hamesha. Agar har λi>0, to har term positive hai (jab tak sabhi yi=0 na hon, yaani x=0). Agar ek λ+ hai aur ek − hai, to y ko har eigenvector ke along choose karo aur dono signs milenge → indefinite.
What matrix does a quadratic form use, and what property must it have?
Q(x)=x⊤Ax with Asymmetric (A⊤=A).
How do you build A from a formula like ax2+bxy+cy2?
Diagonals a,c; off-diagonals each equal b/2.
Why does the antisymmetric part of a matrix not affect x⊤Bx?
A scalar equals its transpose; the antisymmetric part transposes to its negative, forcing it to be 0.
Eigenvalue test for positive definite?
All eigenvalues λi>0.
Eigenvalue test for indefinite?
Eigenvalues have mixed signs (at least one >0 and one <0).
After diagonalizing A=QΛQ⊤, what does Q(x) become?
∑iλiyi2 where y=Q⊤x.
Sylvester's criterion for PD?
All leading principal minors Dk>0.
Sylvester's criterion for ND?
Signs alternate: (−1)kDk>0, i.e. D1<0,D2>0,D3<0,….
What distinguishes PSD from PD?
PSD allows Q(x)=0 for some x=0 (a zero eigenvalue); PD is strictly >0.
Hessian PD at a critical point means what?
Local minimum (bowl shape).
Hessian indefinite means?
Saddle point.
Recall Feynman: 12-saal ke bache ko samjhao
Ek aisi machine socho jisme tum arrows daalo aur woh ek number deti hai. Ek positive-definite machine valley jaisi hoti hai: chahe kisi bhi direction mein qadam uthao bottom se, tum upar jaate ho — number hamesha positive hota hai. Ek negative-definite wali hilltop jaisi hoti hai: har qadam neeche jaata hai. Ek indefinite wali horse-saddle jaisi hoti hai: ek taraf jao to upar, doosri taraf jao to neeche. Yeh jaanne ke liye ki kaunsi hai, hum secretly apna sar ghuma lete hain (axes rotate karte hain) jab tak machine super simple na ban jaye — bas λ1(pehla)2+λ2(doosra)2+…. Phir sirf un λ numbers ke signs dekho: sab plus = valley, sab minus = hill, mixed = saddle. Easy!