# Maximum theorem

The maximum theorem provides conditions for the continuity of an optimized function and the set of its maximizers with respect to its parameters. The statement was first proven by Claude Berge in 1959. The theorem is primarily used in mathematical economics and optimal control.

## Statement of theorem

Maximum Theorem. Let $X$ and $\Theta$ be topological spaces, $f:X\times \Theta \to \mathbb {R}$ be a continuous function on the product $X\times \Theta$, and $C:\Theta \rightrightarrows X$ be a compact-valued correspondence such that $C(\theta )\neq \emptyset$ for all $\theta \in \Theta$. Define the marginal function (or value function) $f^{*}:\Theta \to \mathbb {R}$ by
    $f^{*}(\theta )=\sup\{f(x,\theta ):x\in C(\theta )\}$
and the set of maximizers $C^{*}:\Theta \rightrightarrows X$ by
    $C^{*}(\theta )=\mathrm {arg} \max\{f(x,\theta ):x\in C(\theta )\}=\{x\in C(\theta ):f(x,\theta )=f^{*}(\theta )\}$.
If $C$ is continuous (i.e. both upper and lower hemicontinuous) at $\theta$, then the value function $f^{*}$ is continuous, and the set of maximizers $C^{*}$ is upper-hemicontinuous with nonempty and compact values. As a consequence, the $\sup$ may be replaced by $\max$.

## Variants

The maximum theorem can be used for minimization by considering the function $-f$ instead.

## Interpretation

The theorem is typically interpreted as providing conditions for a parametric optimization problem to have continuous solutions with regard to the parameter. In this case, $\Theta$ is the parameter space, $f(x,\theta )$ is the function to be maximized, and $C(\theta )$ gives the constraint set that $f$ is maximized over. Then, $f^{*}(\theta )$ is the maximized value of the function and $C^{*}$ is the set of points that maximize $f$.
The result is that if the elements of an optimization problem are sufficiently continuous, then some, but not all, of that continuity is preserved in the solutions.

## Proof

Throughout this proof we will use the term neighborhood to refer to an open set containing a particular point. We preface with a preliminary lemma, which is a general fact in the calculus of correspondences. Recall that a correspondence is closed if its graph is closed.
Lemma. If $A,B:\Theta \rightrightarrows X$ are correspondences, $A$ is upper hemicontinuous and compact-valued, and $B$ is closed, then $A\cap B:\Theta \rightrightarrows X$ defined by $(A\cap B)(\theta )=A(\theta )\cap B(\theta )$ is upper hemicontinuous.
The continuity of $f^{*}$ in the maximum theorem is the result of combining two independent theorems together.
Theorem 1. If $f$ is upper semicontinuous and $C$ is upper hemicontinuous, nonempty and compact-valued, then $f^{*}$ is upper semicontinuous.
Theorem 2. If $f$ is lower semicontinuous and $C$ is lower hemicontinuous, then $f^{*}$ is lower semicontinuous.
Under the hypotheses of the Maximum theorem, $f^{*}$ is continuous. It remains to verify that $C^{*}$ is an upper hemicontinuous correspondence with compact values. Let $\theta \in \Theta$. To see that $C^{*}(\theta )$ is nonempty, observe that the function $f_{\theta }:C(\theta )\to \mathbb {R}$ by $f_{\theta }(x)=f(x,\theta )$ is continuous on the compact set $C(\theta )$. The Extreme Value theorem implies that $C^{*}(\theta )$ is nonempty. In addition, since $f_{\theta }$ is continuous, it follows that $C^{*}(\theta )$ a closed subset of the compact set $C(\theta )$, which implies $C^{*}(\theta )$ is compact. Finally, let $D:\Theta \rightrightarrows X$ be defined by D(θ)={x∈X:f(x, θ)=f$^∗$(θ)}{\textstyle D(\theta )=\{x\in X:f(x, \theta )=f^{*}(\theta )\}}. Since $f$ is a continuous function, $D$ is a closed correspondence. Moreover, since $C^{*}(\theta )=C(\theta )\cap D(\theta )$, the preliminary Lemma implies that $C^{*}$ is upper hemicontinuous. $\square$

## Variants and generalizations

A natural generalization from the above results gives sufficient local conditions for $f^{*}$ to be continuous and $C^{*}$ to be nonempty, compact-valued, and upper semi-continuous.
If in addition to the conditions above, $f$ is quasiconcave in $x$ for each $\theta$ and $C$ is convex-valued, then $C^{*}$ is also convex-valued. If $f$ is strictly quasiconcave in $x$ for each $\theta$ and $C$ is convex-valued, then $C^{*}$ is single-valued, and thus is a continuous function rather than a correspondence.
If $f$ is concave in $X\times \Theta$ and $C$ has a convex graph, then $f^{*}$ is concave and $C^{*}$ is convex-valued. Similarly to above, if $f$ is strictly concave, then $C^{*}$ is a continuous function.
It is also possible to generalize Berge's theorem to non-compact correspondences if the objective function is K-inf-compact.

## Examples

Consider a utility maximization problem where a consumer makes a choice from their budget set. Translating from the notation above to the standard consumer theory notation,
* $X=\mathbb {R} _{+}^{l}$ is the space of all bundles of $l$ commodities,
* $\Theta =\mathbb {R} _{++}^{l}\times \mathbb {R} _{++}$ represents the price vector of the commodities $p$ and the consumer's wealth $w$,
* $f(x,\theta )=u(x)$ is the consumer's utility function, and
* $C(\theta )=B(p,w)=\{x\,|\,px\leq w\}$ is the consumer's budget set.
Then,
* $f^{*}(\theta )=v(p,w)$ is the indirect utility function and
* $C^{*}(\theta )=x(p,w)$ is the Marshallian demand.
Proofs in general equilibrium theory often apply the Brouwer or Kakutani fixed-point theorems to the consumer's demand, which require compactness and continuity, and the maximum theorem provides the sufficient conditions to do so.