Multivariable calculus
Critical Points of x^2 + xy + y^2 - 3y
The only critical point of f(x,y) = x^2 + xy + y^2 - 3y is (-1, 2). The cross term gives f_xy = 1, so the discriminant is D = (2)(2) - 1^2 = 3, which is positive, and f_xx = 2 is positive, so (-1, 2) is a local minimum. The value there is f(-1, 2) = -3.
- local minimumdiscriminant D = 3
Solving a linear system, not two separate equations
The term means each partial involves both variables, so the two equations have to be solved together rather than one at a time.
From you get . Substituting into gives , so and , hence . The system is linear with a nonzero coefficient determinant, so this is the only solution: , where .
Running the test with a nonzero mixed partial
Since and , the point is a local minimum. The cross term costs you of discriminant, which is not enough here to change the verdict, but it is exactly the quantity that decides these cases.
The mistake students make
The error is dropping , either by forgetting the cross term when differentiating or by using from habit. That shortcut gives here instead of , which happens to reach the same conclusion, so the mistake goes unnoticed and then ruins the next problem.
See how little it takes to flip the answer. Change the function to and the origin is its critical point, with , and .
Same pure second partials, opposite verdict: that one is a saddle. The cross term is doing all the work.
Frequently asked questions
Why does the cross term not stop this from being a minimum?
For you get , and , so the discriminant is exactly . The quadratic part therefore stays bowl shaped as long as . Here and , so there is room to spare and is a genuine local minimum.
Does this function have a maximum anywhere?
No. Along the line the function is , which grows without bound as increases, so has no global maximum. It also has no other critical point, so there is no local maximum either.