Put and . The gradient has components and , so a stationary point requires . In the closed square, and , and the compatible possibilities are precisely the four corners and .
The Hessian matrix is
Its eigenvectors and have eigenvalues and . The second-derivative test gives the following classification:
Point || || Hessian eigenvalues || Classification | | | Minima | | | Maxima | | | Saddle point of a scalar function
The corner classifications also hold for the smooth extension beyond the square, and hence for the restricted region. The global bounds show that the stated minima and maxima are global within it. The central point has opposite curvature along the two diagonal directions.
Figure 1.
Energy contours show two minima, two maxima and a central saddle
. The contour crosses at the saddle. Filled markers locate all five points where the gradient vanishes; color and labeled level curves show how the energy changes between them. Details.
Set . The gradient of never vanishes, so the Lagrange multiplier equations apply at a constrained stationary point. They are , , and . Eliminating gives
With , this becomes . The quadratic factor is , so the only real possibility is . Therefore
The level curve through this point is the ellipse , meeting the coordinate axes at and . Its tangent line at has slope , equal to the derivative of the constraint parabola there. The two curves are tangent.
Figure 1.
The smallest elliptical contour meeting the constraint is tangent at the minimum
. The highlighted contour is and the constraint is . Its four axis intercepts and the unique contact point are marked. Details.
The parabola touches this ellipse from outside; every other point on the constraint lies on a larger contour. An exact check of this geometric argument is
with equality only at . Thus the point is the unique constrained global minimum.
Inside the triangle, both and are nonzero. Thus reduces to and , whose unique solution is . At that point
The Hessian matrix has positive eigenvalues and , so this is a strict local minimum. It is also the minimum on the closed triangle: on the boundary, inside, and there is no other interior stationary point. Therefore
The gradient is . Its second component vanishes only if or . The latter gives the impossible first-component equation . With , the first component gives or . The Hessian matrix is
At it has eigenvalues , giving a saddle point. At its eigenvalues are , giving a strict local minimum, of value . These are all real stationary points. The minimum is local: for example as .
The denominator is positive away from the origin. The partial derivatives are
They both vanish exactly on
These are lines of stationary points, with values and , respectively.
Put and . The gradient components are and . If either or vanishes, both must vanish. Otherwise both squared coordinates must be one. Therefore the five stationary points in the original coordinates are
As printed, the function is undefined at the origin. For , its gradient is
The scalar prefactor is positive, and , so this gradient never vanishes. Thus there are no stationary points on the stated domain. Its infimum is three, approached as , but that value is not attained there.
If the intended definition includes the natural extension , that extension has a unique strict global minimum at the origin, with value three. Indeed, off zero, and proves differentiability at zero with zero gradient. More strongly, subtracting three gives the radial Gaussian flat function: every derivative of that difference vanishes at the origin. The vanishing Hessian matrix does not turn this minimum into an inflection point. These are two different domain interpretations; the extension must be stated rather than silently inserted.
Write , where . Because this hyperbolic function has strictly positive derivative , stationary points under an increasing outer function have the same positions and types for and . For ,
The first equation requires or . If , the second gives . If , it gives . These are all the nonzero stationary points. At the origin, , so its gradient is ; the origin is not stationary.
At the Hessian matrix of is , and at it is . At and its Hessian matrices are respectively and . Therefore
The extrema are local: is unbounded above and below on the full plane.
For the level curve geometry, a level is . In particular, the zero level curve is the union of the entire axis and the circle , crossing at the two saddle points. Inside the circle, above the axis and below it; outside, these signs reverse. Levels between and zero have closed loops around the upper minimum as well as unbounded lower-half-plane components. Reflection across the axis reverses the sign and gives the loops about the lower maximum. At the two extremal heights, the corresponding closed loop shrinks to its extremum. These features determine the sketch.
The first partial derivatives factor as
Both vanish at the origin, verifying that it is a stationary point. Since , every stationary point has ; the first equation then gives . Thus one requested additional point is ; the other is .
Differentiating the hyperbolic cosine with the chain rule gives . For real , , so the only zero of the derivative is , namely . Thus
Since , this stationary point is the global minimum.
Since , a level can occur only for . Taking its natural logarithm gives . Thus produces rectangular hyperbolas in the first and third quadrants, produces them in the second and fourth quadrants, and consists of both coordinate axes.
The gradient vanishes only at , where . The Hessian matrix there is , with negative determinant. Equivalently, while for nonzero small . Hence the only stationary point is a saddle point at on the graph; its location in the contour plane is the origin.
Figure 1.
Contours of the exponential of xy, showing the unique saddle at the origin
. Details.
The quotient rule simplifies the derivative to
Its zeros are and , both in the domain. Substitution gives the two stationary points
The first is a local maximum and the second a local minimum, since the numerator of changes sign from positive to negative at and from negative to positive at . The denominator of the original rational function vanishes at
The numerator is nonzero at both values, so these discontinuities are poles, not removable holes.
The product rule gives the two partial derivatives
They both vanish at the origin. The exponential function is never zero, so any further stationary point must satisfy or , and or . Having both coordinates nonzero would require both opposite differences to be , which is impossible. If , the nonzero choices are ; if , they are . Hence the full list is
Minimize the squared distance , which has the same minimizers as the distance. The Lagrange multiplier equations for the constraint are
The constraint gradient cannot vanish on this branch, since its second component is . Eliminate to obtain . Put ; then , so . But the constraint says , requiring and selecting . It follows that
To prove a global minimum on the whole branch, substitute into :
The arithmetic-geometric mean inequality proves this bound, with equality only when , namely . Thus the stationary point is the unique closest point on the required branch. Numerically it is approximately and its distance is in coordinate units.
The derivative is . Thus a stationary point occurs either at or where . Since on the specified open interval, the only allowed cosine zeros are and . The five stationary abscissae are
Their ordinates are , , and , respectively. For completeness, shows that the inner pair are local minima and the outer pair are local maxima; is also a local maximum because .
The gradient factors as
If a coordinate is zero, the solutions are , and . With both coordinates nonzero, subtracting the two bracket equations gives , hence . These give four more stationary points.
The Hessian matrix has equal diagonal entries and off-diagonal entry . At the origin its eigenvalues are , and at the four nonzero axis points they are , so all five are saddles. At the two same-sign interior points the eigenvalues are , while at the opposite-sign points they are . Therefore
The extrema are not global, since the quartic takes arbitrarily large positive and negative values along suitable rays.
For the contour sketch, the zero level is exactly the two axes together with the unit circle. Inside the circle, is negative in the first and third quadrants and positive in the other two; outside, those signs reverse. Small negative levels contain closed loops around the two minima as well as unbounded branches in the second and fourth quadrants. Small positive levels similarly contain two loops around the maxima and unbounded branches in the first and third quadrants. The closed loops shrink to the extrema at levels , and disappear beyond those levels. This is the unit-scale quartic surface with axes and a circle as its zero set.
Figure 1.
The quartic's nine stationary points and its zero set of axes and a unit circle
. Details.
The gradient equations factor as
For they give . Otherwise , which gives and the matching . Thus there are exactly four stationary points.
The Hessian matrix is
At it is , and at it is . At and its determinant is . The second-derivative test therefore yields
The extrema are local: along the cubic is unbounded both above and below.
The partial derivatives give and . If either coordinate is zero, both vanish. Otherwise substitution gives , so the real stationary points are , and .
The Hessian matrix is
At the origin its eigenvalues are and , so it is a saddle at level zero. At either of the other points its eigenvalues are and , so both are strict minima at level . In fact,
with equality only at those two points. Hence
For levels , two separate closed contours surround the two minima. At the contours form two lobes, in the first and third quadrants, meeting at the origin. Their limiting tangent directions there are the coordinate axes because the leading term is . On the diagonal the outer zero-level points are . Positive levels form one closed outer contour enclosing both wells; there are no contours below . The graph is symmetric under exchanging and under reversing both signs, but not under a quarter-turn. These features are the case of the quartic double well with bilinear coupling.
Figure 1.
The quartic function's two minima, saddle, and transition from two contour loops to one
. Details.