Global minimum Created 2026-09-24 Updated 2026-10-14
A real-valued function attains a global minimum at when
The point is a global minimizer; is the minimum value. A global maximum reverses the inequality throughout the same domain of a function. Unlike a local minimum or local maximum, a global minimum or global maximum compares every permitted input, however distant. The domain of a function is part of the claim.
For on , completing the square gives
with equality exactly at . This proves that is the global minimum and that the two global minimizers are and . Neither is a strict global minimizer, because the other attains the same value; both are strict local minima. There is no global maximum on , whereas on the global maximum is , attained at zero.
Finding critical points supplies candidates rather than a global certificate. The squared expression above is beautiful because one inequality compares infinitely many inputs at once. A global minimum is always a local minimum under the relative-neighbourhood convention; the converse fails. For example, has a strict local minimum at , but as , so it has no global minimum on the real line.
Existence also matters: on has infimum zero and supremum one but attains neither a global minimum nor a global maximum. By the extreme value theorem, a continuous function on a nonempty closed interval attains both. To find those values, compare all interior critical numbers, including points where the derivative does not exist, and both endpoints. Checking only stationary points can miss a corner or an endpoint. [ref]
Local minimum Created 2026-09-24 Updated 2026-10-14
A real-valued function , with , has a local minimum at if some satisfies
Equality is allowed; a strict local minimum excludes equality at every other sufficiently nearby point. The comparison uses a neighbourhood relative to the domain of a function. On an open set, this is an ordinary small ball around . At an endpoint, only points belonging to the domain of a function are tested. Some elementary texts reserve "local" for interior points; here endpoints are allowed under the relative convention, but the zero-gradient condition still requires an interior point.
For , each of and is a strict local minimum, although both attain the same global minimum. For , zero is a strict local minimum despite the missing derivative. Thus the definition compares values and does not require differentiability.
A local minimum describes a valley that cannot be improved by a sufficiently small move; mathematical optimization also asks whether a better value lies farther away. At a smooth interior local minimum, the gradient is zero. If the function is twice continuously differentiable nearby, its Hessian matrix is positive semidefinite: restrict to a line through the point and its second derivative is nonnegative. The converse fails for a degenerate Hessian matrix, as at zero shows.
An equilibrium point has and . Since , the linearized displacement satisfies
Thus gives a stable equilibrium, while gives an unstable equilibrium point. More generally, a strict local minimum of is sufficient for stability by the conserved first integral in b. When , the second-derivative test alone is inconclusive, and the local shape of must be examined.
For the specified ellipse, put . Direct differentiation gives
Consequently, with and ,
Two equilibria always occur at . Any further equilibria must satisfy
To decide exactly when this is possible, view the equation as with . Its derivative is positive on , and it takes endpoint values and . Since implies , the complete list is:
  • If , there are four distinct equilibria modulo : , , and . For the additional positive angle lies in ; at the additional pair is ; for it lies in .
  • If , the additional pair merges with , leaving two distinct equilibria, and .
  • If , there are only the two equilibria and . In particular, does not introduce a missing case: the undivided bracket is then the positive constant , so there is no extra root.
These are positions of the bead at rest relative to the rotating hoop. No stability classification of the particular ellipse is needed.
The Taylor series of the logarithm gives
The first nonzero term is therefore . It is positive on either side of the origin, so the stationary point is a strict local minimum. In fact , with equality only at zero, making it the global minimum as well.