Let . Using Lagrange multipliers with givesThe third equation fixes . The first two then reduce to and . If , their solution and the constraint giveAt , the second equation requires and makes the first inconsistent; at , it requires and gives the same inconsistency. Thus there is no constrained stationary point when . The constraint gradient never vanishes because its vertical component is one, so the multiplier condition has not excluded any regular constrained stationary points.
The gradient vanishes whenIf , the second equation gives or . If , it gives . These exhaust the possibilities. The stationary points and their values are
The Hessian matrix isAt the origin it is the identity, so the origin is a strict local minimum. At it is , so this point is a saddle point. At either remaining stationary point,which again gives a saddle point. All three saddle points have eigenvalues and ; there are no local maxima.
At each regular point, the gradientis normal to the level set and points towards increasing . The arrows in the contour plot above show this direction; their lengths have been normalized to keep the outer arrows legible. Near the origin they point outwards, as expected for a local minimum. Near , write ; the linear approximation is . Thus the arrows point away along the horizontal direction and towards the point along the vertical direction. The other two saddle points have the same behaviour after rotations through . All four stationary points have zero gradient, so no direction arrow is assigned at the points themselves.
For a closed circular cylinder, and the volume constraint is . Use a Lagrange multiplier:The stationary equations areFor , the second gives ; the first then gives . The constraint yieldsandTo verify a global minimum, eliminate to obtain . It tends to infinity at both ends of and has , so its unique stationary point is the global minimum.
A stationary point has zero gradient. The two partial derivatives giveSolving this system of linear equations gives
The Hessian matrix isIts eigenvalues have opposite signs, so the stationary point is a saddle point. More directly, putting and gives : it increases along and decreases along .
Put . The gradient components areA stationary point requires both components to vanish. If , then ; the second component subsequently forces , giving . If , either or, writing ,Only is nonnegative. Thus there are five stationary points, with valuesThe cases and exhaust the first partial derivative equation, so no other stationary points have been lost by division.
The Hessian matrix has entriesAt each stationary point the mixed entry vanishes, so the signs of the diagonal entries directly classify the local quadratic change:In particular the two local minima are also global minima: the squared term is nonnegative and , with equality in both bounds exactly at . The local maximum at the origin is not a global maximum, since grows without bound as . The opposite diagonal signs at the other two points establish their saddle point character.
The contour plot is symmetric under either or , because depends only on their squares. Denote the three critical heights by , and , where .
For , the level set consists of separate closed curves around the two minima. At the branches meet at the two saddle points. For , there is an inner closed curve surrounding the local maximum and an outer closed curve surrounding all five stationary points. At the inner curve shrinks to the origin; for only the outer closed curve remains. At each saddle point the critical level set crosses in the two directions determined byThe figure plots representative level sets, including the critical saddle height; its second panel adds the gradient directions requested below.
The gradient is orthogonal to each regular level set and points towards increasing . Near either minimum, the linear approximation is , so arrows point away from the point. Near the maximum at the origin it is , so arrows point inwards. Near either saddle point it is : arrows point towards the vertical axis horizontally and away from the saddle vertically.
On the horizontal axis the gradient is . Its arrows point left on , right on , left on , and right on . On the vertical axis it isConsequently its arrows point down on , up on , down on , and up on . These directions, and representative arrows near each stationary point, appear in the right-hand panel. The gradient itself is zero at all five stationary points.
Differentiate the two powers to locate the stationary point:For , this is negative before and positive afterwards, so the global minimum isThe curve crosses the horizontal axis at . Its limits are as and from below as , giving the vertical asymptote and horizontal asymptote . These features determine the required sketch.
The positive-domain graph starts with limiting value and limiting slope , then decreases towards the horizontal asymptote , with for large . In fact direct differentiation givesThe first inequality follows from for . Thus the graph is strictly decreasing and convex upward, with and no stationary points. The integral representation also shows its positivity.
These properties belong to the reusable exponential spherical mass factor.
For , the product rule and chain rule giveThe positive exponential factor makes increasing for and decreasing for . Its only interior stationary point is therefore a maximum at . Checking it together with both endpoints,ConsequentlyChecking the endpoints is necessary for extrema on a closed interval.
At a differentiable interior stationary point, all first-order changes of the scalar field vanish. In particular, the directional derivative along each coordinate axis vanishes, so and hence . Equivalently, the first-order differential vanishes for every displacement. A differentiable interior maximum or minimum must satisfy this condition; a stationary point need not be an extremum.
The standard nondegenerate local contour plot models are for a maximum, for a minimum, and for a saddle point of a scalar function. Near a maximum, nested contours have lower values farther from the centre; near a minimum they have higher values. Near a saddle, hyperbolas occur on opposite sides of the critical level, whose contour has two intersecting tangent directions. More general nondegenerate quadratic forms deform these circles into ellipses; degenerate stationary points can have more complicated contours.
Set . The quotient rule gives the partial derivativesSince , the first equation forces . The second then reduces to . Thus the only stationary points and their field values areNo division by a potentially vanishing factor of was used, so no stationary points have been discarded.
For a stationary point, the two factors from part (a) must vanish. If , the second equation gives ; if , the first gives . Thus the axis points are .
If both coordinates are nonzero, solve and , giving . These four points complete the list of nine stationary points.
For classification, the Hessian matrix isAt its eigenvalues are , and at the four unit-axis points they are . These five points are saddle points of a scalar function, all with value zero.
At and the eigenvalues are one and two, so both are strict local minima of value . At and they are minus one and minus two, so both are strict local maxima of value . This follows from the second-derivative test. These extrema are local: the polynomial is unbounded above and below on the full plane.
The zero level set is especially simple:The two axes and the unit circle divide the plane into regions where the signs alternate. Inside the circle, has the opposite sign to ; outside it has the same sign. Closed level curves surround the two interior local minima and two interior local maxima; the zero curves cross at the five saddle points of a scalar function. Farther out, the nonzero level curves are open within the displayed square.
Near each local minimum, the gradient points outward; near each local maximum, it points inward. The five remaining points have saddle directions, determined by their indefinite Hessian matrices.
On the -axis the exact gradient is , and on the -axis it is . Thus arrows are perpendicular to the axes and reverse direction at the origin and the unit-axis stationary points.
On the unit circle, substitute into the gradient to obtainIt is radial outward in quadrants I and III, radial inward in quadrants II and IV, and zero at the four axis intersections. These arrows, together with the nearby saddle and extremum patterns, are shown in the right panel of the contour figure. The gradient is normal to every regular level curve and points toward increasing values of .




