Interior Extremum
BasisPrerequisites
When you sketch the graph of a function and mark the “peaks” and “valleys”, you are locating its local extrema. Before you can prove any theorem about them — such as Fermat’s Lemma — you need precise definitions that distinguish local from global, interior from boundary, and strict from non-strict.
Local maximum and minimum
Let be defined on a set and let .
Definition. is a local maximum of if there exists such that
If the inequality is strict ( for ), is a strict local maximum.
A local minimum and strict local minimum are defined symmetrically by reversing the inequality. The term local extremum covers both cases.
Interior vs. boundary extrema
The definitions above apply equally to interior points and boundary points of . However, most theorems about extrema — including Fermat’s Lemma — require to be in the interior of , meaning there exists such that .
Why the distinction matters. At a boundary point, the function is only compared with values on one side. For example, on has a local minimum at and a local maximum at , even though at both endpoints. A stationarity condition like can only hold at interior points.
Local vs. global extrema
A global maximum (also called an absolute maximum) is a point where for all — not just nearby. Every global extremum is a local extremum, but not conversely.
Example. For on : every point where is both a local and a global maximum, while points where are both local and global minima. There is no other local extremum because oscillates to arbitrarily large values of in each direction.
Example. For on : is a local maximum with , and is a local minimum with . Neither is a global extremum since as .
Characterisation via local properties
A point is a local maximum of if and only if is non-positive in some neighbourhood of . This reformulation connects directly to the sign-analysis of the difference quotient used in Fermat’s Lemma.
Summary
- is a local maximum if for all near (within ); strict if the inequality is sharp for .
- Interior extrema lie in the open interior of the domain; boundary extrema do not.
- Every global extremum is a local extremum; the converse fails.
- Theorems that derive conditions from require the extremum to be interior and to be differentiable there.