Multivariable calculus
Critical Points of sin(x) e^(-y^2)
Every critical point of f(x,y) = sin(x) e^(-y^2) has y = 0 with x an odd multiple of pi/2. At (pi/2, 0) the second partials are f_xx = -1, f_yy = -2 and f_xy = 0, so D = 2 and the point is a local maximum of value 1. At (-pi/2, 0), D = 2 with f_xx = 1, a local minimum of value -1.
- local maximumdiscriminant D = 2
- local minimumdiscriminant D = 2
These are not necessarily all of them; the page says which it covers.
One equation eliminates the other's easy branch
The two partials look very different, because sits inside a sine and inside a Gaussian.
The exponential is never zero, so the first equation reduces to , meaning . That is the key step, because it settles the second equation as well.
The second equation factors as or . But forces , so the branch is already ruled out. Only survives.
So every critical point sits on the -axis at an odd multiple of . There are infinitely many, spaced apart, and they alternate between maxima and minima.
A sine ridge damped by a Gaussian
The second partials keep the same split: the derivative only touches the sine, the derivative only touches the Gaussian.
At any critical point , so the exponential equals 1 and . That leaves and , whose product is , since there. The discriminant is the same positive number at every critical point, so decides every classification on its own.
At , , so and the point is a local maximum with . At , , so and it is a local minimum with . Adding to returns the same behaviour, so maxima appear at and minima at .
Geometrically, the sine wave along the -axis is a ridge, and the factor pulls every cross-section toward zero as you move away from that axis. The damping is what makes the crest of the sine a genuine local maximum in both directions rather than a flat ridge line.
The mistake students make
The frequent error is losing the factor of from the chain rule and writing . That expression is zero only when , which contradicts , so a student who makes this slip concludes the surface has no critical points at all. That conclusion is self-refuting: is smooth on the whole plane and actually attains the value 1, and a function that attains a maximum at an interior point must have a vanishing gradient there. Reaching no critical points is a signal to recheck the chain rule.
The opposite error is solving by picking and pairing it with from the other equation. No angle has both a zero sine and a zero cosine, since . Checking that identity is the fastest way to kill an impossible branch.
- Solve first, since the exponential factor makes it the cleaner equation.
- Record what that forces: , never 0.
- Feed that into the second equation, where it leaves as the only option.
- Classify using , which alternates in sign as steps by .
Frequently asked questions
Why can this page not list every critical point?
Because has period in : the sine repeats and the Gaussian does not involve at all. Every point is critical, which is an infinite set. The two listed are representatives, one of each behaviour, and every other critical point is a translate of one of them with the same discriminant of 2.
What happens at (3pi/2, 0)?
That is shifted by , so it is a local minimum with the same numbers: gives , , and , with . The pattern along the -axis alternates maximum, minimum, maximum every units, and the discriminant is 2 at every one of them.