Multivariable calculus
Critical Points of (x^2 + y^2) e^(-x)
f(x,y) = (x^2+y^2)e^(-x) has exactly two critical points. The origin is a local minimum with D = 4 and value 0. The point (2,0) is a saddle with D = -4/e^4, about -0.0733. Since e^(-x) is never zero, f_y = 2y e^(-x) forces y = 0, and then f_x = 0 reduces to x(2 - x) = 0.
- local minimumdiscriminant D = 4
- saddle pointdiscriminant D = -0.07326255555493671
Solve the easy equation first
Only the derivative needs the product rule, because is a constant as far as is concerned.
Start with the second equation, since it is the simpler of the two. The exponential is never zero, so forces and nothing else. That is worth doing before touching the first equation: substituting collapses it from two variables to one.
Exactly two critical points, and , and since every step was an equivalence rather than an approximation, the list is complete.
Now the second partials. Differentiating again in needs the product rule once more; the other two are quick.
A minimum you can prove twice, and a saddle you can see
At the origin, , and , so with a positive diagonal entry: a local minimum with . A second argument confirms it without any derivatives: and , so everywhere and equals 0 only at the origin. The local minimum is in fact the global minimum.
At , because , while and . The two diagonal entries have opposite signs, so their product is negative and : a saddle.
Opposite signs on the diagonal is the clearest saddle there is, because you can see both directions separately. Along the -axis, , which rises from 0, peaks at with value , then decays. So is a maximum along that line.
Along the vertical line , the same point is the bottom of an upward parabola. Highest point in one direction, lowest in another: that is a saddle, and the algebra and the picture agree.
The mistake students make
The minus sign in the exponent is where this problem is won or lost. Differentiating gives , so the product rule produces a subtraction, not an addition.
Miss it and you get , whose solutions with are and . The reported saddle then lands at , which is not a critical point at all: the true derivative there is , nowhere near zero. A sign slip does not merely shift the answer, it invents a point.
- Differentiate the exponential factor on its own and note the sign it carries.
- Assemble the product rule, then factor back out.
- Substitute your candidate point into the original partials and confirm both come out to zero.
The other habit worth building is choosing which equation to solve first. Attacking before using leaves a circle of candidate points and a much messier substitution. The equation with fewer terms usually carries more information, and here pins down completely in one line.
Frequently asked questions
Why is the discriminant so small at (2,0)?
Because the exponential factor appears in both diagonal second partials, so the discriminant carries . The size of carries no meaning on its own; only its sign enters the classification. A discriminant of is exactly as decisive as one of , and comparing magnitudes between different points or different surfaces tells you nothing about how strong a saddle is.
Does f have a global maximum?
No. Along the negative -axis, grows without bound as decreases, since blows up while also grows. The surface is unbounded above, which is consistent with having only one local minimum and one saddle and no local maximum anywhere. Note that the saddle at is the highest point along the -axis to its right, but it is nothing like a maximum of the surface, since increases in the direction there.