Critical points and the second derivative test (two variables)
6 min read
Short answer
Find critical points by solving and . At each, compute . If and it is a local minimum; if and a local maximum; if a saddle; if the test is inconclusive.
Why the discriminant works
Near a critical point the function looks like a quadratic form built from , , . is the determinant of that matrix of second derivatives (the Hessian). Positive means curving the same way in every direction (bowl or dome, decided by the sign of ); negative means curving up in some directions and down in others, a saddle.
Steps
- Compute and ; solve the system .
- Compute , , .
- For each critical point, evaluate and apply the rule above.
For absolute extrema on a closed region, also check the boundary.
Worked example
Classify the critical points of .
and . From the first, ; substituting, , so or . Critical points: and .
Second derivatives: , , , so .
- At : , a saddle.
- At : and , a local minimum with .
Try it yourself
Find and classify the critical point of .
Show the answer
gives and gives . , , , so with : a local (and global) minimum at with value .
Keep going with practice
Optimization of multivariable functions is covered in Vidi's Multivariable & Vector Calculus course, with interactive surfaces.