Multivariable calculus
Critical Points of x^2 + y^2 - 4x + 6y
The only critical point of f(x,y) = x^2 + y^2 - 4x + 6y is (2, -3). There the discriminant is D = f_xx f_yy - f_xy^2 = (2)(2) - 0 = 4, which is positive, and f_xx = 2 is also positive, so the point is a local minimum. The value there is f(2, -3) = -13, and it is the global minimum too.
- local minimumdiscriminant D = 4
Setting both partials to zero
A critical point is a place where every first partial is zero at once, so start by writing them both down. Each one here is linear, and neither contains the other variable, so the two equations do not interact.
Setting gives , and setting gives . Those are the only solutions each equation has, so is the only critical point, and the value there is .
The second derivative test at (2, -3)
Differentiate a second time. Because is a quadratic, all three second partials are constants, so the discriminant is the same number at every point in the plane.
A positive says the point is an extremum rather than a saddle, and then the sign of decides which. Here , so the surface curves upward in the direction and is a local minimum.
The mistake students make
The common slip is to compute and then guess between maximum and minimum, or to look at the sign of instead of the sign of . The value is negative and the point is still a minimum: the height of the surface has nothing to do with the classification.
You can confirm the answer without the test at all by completing the square, which is worth doing once so you trust the machinery.
Both squares are zero only at and positive everywhere else, so across the whole plane.
Frequently asked questions
Is (2, -3) a global minimum as well as a local one?
Yes. Completing the square gives , so everywhere, with equality only at . The second derivative test on its own only ever certifies local behaviour, so the algebra is what upgrades the claim.
Why is the discriminant the same at every point here?
Because is a quadratic polynomial. Differentiating twice kills every and , leaving , and as constants, so no matter where you evaluate it. For a cubic or higher, varies from point to point and has to be recomputed at each one.