Multivariable calculus
Critical Points of sin(x) sin(y)
The critical points of f(x,y) = sin(x) sin(y) fall into two families. Where x and y are both integer multiples of pi, D = -1 and the point is a saddle, as at the origin. Where both are odd multiples of pi/2, D = 1: (pi/2, pi/2) is a local max of value 1 and (pi/2, -pi/2) is a local min of value -1.
- saddle pointdiscriminant D = -1
- local maximumdiscriminant D = 1
- local minimumdiscriminant D = 1
These are not necessarily all of them; the page says which it covers.
Setting both partials to zero at once
A critical point needs and to vanish at the same point. Differentiate one variable at a time, holding the other fixed, and each derivative comes out as a single product.
A product is zero when a factor is zero, so each equation splits in two. The first forces or . The second forces or . That is four combinations to test, and two of them die immediately: and are never zero at the same , and the same goes for and .
The two surviving combinations are the entire critical set.
- and , so and for integers and .
- and , so and .
Both families are infinite grids, which is why the points listed on this page are one representative of each behaviour rather than a finished catalogue.
One discriminant for each grid
Because is a function of alone times a function of alone, the second partials are short.
On the grid where , both diagonal entries vanish and , so at every one of those points. A negative discriminant is a saddle and no further work is needed.
On the grid where the mixed partial is zero and . At that value is , giving with : a local maximum, and there. At the product flips sign, so and the point is a local minimum with .
Those two values are also the global extremes. Since and , the product never leaves , and both bounds are attained.
The mistake students make
The usual wrong turn is treating the two equations one at a time instead of together. A student reads , writes , then reads , writes , sees a contradiction and concludes there are no critical points. The contradiction is manufactured: the two equations can be satisfied by different factors, and enumerating the four cases is what keeps that straight.
- Factor both equations before substituting anything.
- List all four pairings of one factor from each equation.
- Discard the pairings that ask a sine and a cosine of the same variable to vanish together.
- Solve what is left, and remember that each solution repeats with period .
The second slip is calling the origin a minimum because and looks positive nearby. Check the sign in two directions: but . Both signs occur arbitrarily close to the origin, which is exactly what is telling you. Near the surface behaves like .
Frequently asked questions
Why is the second derivative test never inconclusive on this surface?
Because only ever takes the values and at a critical point. On the grid, and , giving . On the grid, and , giving . Since is never zero there, the test always decides.
Are the local maxima also global maxima?
Yes. Both factors are bounded by 1 in absolute value, so everywhere, and reaches that ceiling. The same argument makes every local minimum a global minimum with value . A bounded periodic surface like this one has no distinction between local and global at its extreme values.