We want to know the shape of f near a critical point (a,b). Taylor expand to second order. Since fx=fy=0 there, the linear terms vanish and the quadratic part controls everything. Let u=x−a, v=y−b:
f(a+u,b+v)≈f(a,b)+21(fxxu2+2fxyuv+fyyv2)
The shape depends entirely on the quadratic formQ(u,v)=fxxu2+2fxyuv+fyyv2. We ask: is Q always positive (bowl), always negative (dome), or both signs (saddle)?
Step — complete the square. Assume fxx=0:
Q=fxx(u2+fxx2fxyuv)+fyyv2
Why this step? Pulling fxx out lets us complete the square in u, turning a messy cross-term into something we can sign-analyse.
Q=fxx(u+fxxfxyv)2+(fyy−fxxfxy2)v2
Why this step? The squared bracket is ≥0 always. So the sign behaviour now hinges on the two coefficients.
Multiply the second coefficient out:
fyy−fxxfxy2=fxxfxxfyy−fxy2=fxxD
So:
Q=fxx(u+fxxfxyv)2+fxxDv2
Now read off the cases:
If D>0 and fxx>0: both coefficients fxx and D/fxx are positive → Q>0 always → minimum.
If D>0 and fxx<0: both coefficients negative → Q<0 always → maximum. (Note D>0 forces fxx and fyy to have the same sign, so checking fxx alone suffices.)
If D<0: fxx and D/fxx have opposite signs → Q can be made positive (pick v=0) or negative (kill the bracket) → saddle.
If D=0: one coefficient vanishes, quadratic info is flat along a direction → inconclusive.
Imagine you're standing on a hill where the ground is perfectly flat under your feet (no slope in any direction). Are you at the bottom of a valley, the top of a hill, or on a mountain pass? Look at how the ground curves. If it curves up in every direction, you're in a valley (minimum). If it curves down everywhere, you're on a peak (maximum). If it curves up one way but down another — like sitting on a horse's saddle — you're at a pass. The "Hessian determinant" is just a number we compute from the curving that tells us which of these three it is, like a magic detector.
Dekho, jab humein kisi function f(x,y) ka maximum ya minimum nikalna hota hai, sabse pehle hum critical point dhoondhte hain — yani jahan fx=0 aur fy=0 ho (surface ki tangent flat ho jaye). Lekin yeh critical point teen cheez ho sakta hai: ek katora (minimum), ek pahaad ki choti (maximum), ya ek ghode ki saddle (na max na min). In teeno mein farak kaise karein? Yahin Hessian determinant kaam aata hai.
Hessian determinant hai D=fxxfyy−(fxy)2. Rule simple hai: agar D>0 aur fxx>0 to minimum; D>0 aur fxx<0 to maximum; D<0 to saddle; aur D=0 to test fail — khud check karna padega. Yeh sab kahan se aaya? Taylor expansion se. Critical point pe linear term zero ho jaate hain, to bachta hai sirf quadratic term, aur usko "complete the square" karke dekhte hain ki woh hamesha positive hai (bowl), hamesha negative hai (dome), ya dono signs leta hai (saddle).
Sabse common galti yeh hoti hai ki students (fxy)2 wala term bhool jaate hain ya D=0 ko "no extremum" samajh lete hain. Yaad rakho — D=0 ka matlab "pata nahi", "nahi hai" nahi. Aur intuition ke liye: D actually Hessian ke do eigenvalues ka product hai, jo do directions mein curvature batate hain. Same sign curvature = bowl/dome, opposite sign = saddle. Bas itna samajh lo, baaki sab plug-and-chug hai.