KYUN sirf critical points par? Ek smooth local extremum par, x-direction mein chalo: tum ek 1-D max/min par ho, isliye fx=0. y ke liye bhi same. Agar kisi bhi direction mein slope nonzero hoti, toh tum downhill (ya uphill) step le sakte, toh woh extremum nahi hota. Yeh Fermat's theorem ka generalised version hai.
Critical point (a,b) ke paas Taylor-expand karo. h,k small steps hain. Kyunki fx=fy=0:
f(a+h,b+k)−f(a,b)≈21(fxxh2+2fxyhk+fyyk2).
Yeh quadratic form sab kuch decide karta hai. Ise Hessian matrix ke saath likho:
H=(fxxfxyfxyfyy),Q(h,k)=21(hk)H(hk)⊤.
Kyun complete the square?Q ka sign sab directions ke liye ek saath dekhne ke liye. Assume karo fxx=0:
fxxh2+2fxyhk+fyyk2=fxx(h+fxxfxyk)2+(fyy−fxxfxy2)k2.
Recall Second derivative test ke chaar outcomes kya hain?
D>0,fxx>0: min. D>0,fxx<0: max. D<0: saddle. D=0: inconclusive.
Recall Extrema sirf wahan kyun ho sakte hain jahan
∇f=0 ho (smooth f ke liye)?
Agar koi bhi directional slope nonzero hoti toh tum downhill ya uphill step le sakte, jo max/min hone se contradict karta. Isliye sab partials vanish hone chahiye.
Recall
D=fxxfyy−fxy2 kahan se aata hai?
Yeh detH hai, woh coefficient jo 2nd-order Taylor expansion mein square complete karne ke baad bachta hai; iska sign decide karta hai ki quadratic form definite hai ya indefinite.
Recall Feynman: ek 12-saal ke bachche ko samjhao
Ek bumpy blanket socho. Flat spots special hain: ek bump ka top, ek dip ka bottom, ya ek horse-saddle shape jahan woh ek taraf upar aur doosri taraf neeche jaati hai. Decide karne ke liye, feel karo blanket kaise curve karti hai. Har jagah upar curve = bowl (lowest point). Har jagah neeche curve = hill (highest point). Ek taraf upar aur doosri taraf neeche curve = saddle. Ek single number D hamare liye yeh curve-checking karta hai, aur ek doosra number bowl ko hill se alag karta hai.
Definition of a critical point of f(x,y)
Woh point jahan ∇f=0 (yaani fx=fy=0) ho ya jahan koi partial exist na kare.
Formula for the discriminant D
D=fxxfyy−(fxy)2=detH.
D>0 and fxx>0 implies what?
Local minimum.
D>0 and fxx<0 implies what?
Local maximum.
D<0 implies what?
Saddle point (fxx ki parwah kiye bina).
D=0 implies what?
Test inconclusive hai; seedha inspect karo ya higher-order terms use karo.
Why does fxy matter for classification?
Yeh cross-curvature measure karta hai; bada ∣fxy∣D<0 kar sakta hai aur ek apparent min/max ko saddle mein badal sakta hai.
Classify (0,0) for f=x2−y2
Saddle, kyunki D=(2)(−2)−0=−4<0.
What test step comes BEFORE checking fxx?
D compute karna; sirf agar D>0 ho tab fxx padhna.
Where does D come from in the derivation?
Yeh woh surviving coefficient hai jo 2nd-order Taylor quadratic form mein square complete karne ke baad milta hai (Hessian determinant).