The only critical point in town test states that a univariate real function with a single critical point
that is a local maximum attains its global
maximum there (Wagon 1991, p. 87). The test breaks down for bivariate functions,
but does hold for bivariate polynomials of degree
. Such exceptions include
|
(1)
| |||
|
(2)
|
(Rosenholtz and Smylie 1985, Wagon 1991).
A related example concerning mixed partial derivatives is
|
(3)
|
This function has a saddle point at the origin, since its values have opposite
signs along and
.
Direct differentiation gives the unequal mixed partial
derivatives
and
.
Both mixed partial derivatives are discontinuous
at the origin.
For polynomials in three variables, the quartic
|
(4)
|
has a unique critical point at the origin, where it has a nondegenerate strict local minimum
(Aduén 2026). Its quadratic part is a positive
definite quadratic form, but
|
(5)
|
as , so this local
minimum is not global. To check uniqueness, put
. The equations for the gradient
are
|
(6)
| |||
|
(7)
| |||
|
(8)
|
At a critical point, would imply
and
,
a contradiction. Otherwise
implies
,
after which
gives
and
gives
.