Hahn–Banach theorem

The Hahn–Banach theorem is a central tool in functional analysis. It allows the extension of bounded linear functionals defined on a vector subspace of some vector space to the whole space, and it also shows that there are "enough" continuous linear functionals defined on every normed vector space to make the study of the dual space "interesting". Another version of the Hahn–Banach theorem is known as the Hahn–Banach separation theorem or the hyperplane separation theorem, and has numerous uses in convex geometry.

History
The theorem is named for the mathematicians Hans Hahn and Stefan Banach, who proved it independently in the late 1920s. The special case of the theorem for the space $$C[a, b]$$ of continuous functions on an interval was proved earlier (in 1912) by Eduard Helly, and a more general extension theorem, the M. Riesz extension theorem, from which the Hahn–Banach theorem can be derived, was proved in 1923 by Marcel Riesz.

The first Hahn–Banach theorem was proved by Eduard Helly in 1912 who showed that certain linear functionals defined on a subspace of a certain type of normed space ($$\Complex^{\N}$$) had an extension of the same norm. Helly did this through the technique of first proving that a one-dimensional extension exists (where the linear functional has its domain extended by one dimension) and then using induction. In 1927, Hahn defined general Banach spaces and used Helly's technique to prove a norm-preserving version of Hahn–Banach theorem for Banach spaces (where a bounded linear functional on a subspace has a bounded linear extension of the same norm to the whole space). In 1929, Banach, who was unaware of Hahn's result, generalized it by replacing the norm-preserving version with the dominated extension version that uses sublinear functions. Whereas Helly's proof used mathematical induction, Hahn and Banach both used transfinite induction.

The Hahn–Banach theorem arose from attempts to solve infinite systems of linear equations. This is needed to solve problems such as the moment problem, whereby given all the potential moments of a function one must determine if a function having these moments exists, and, if so, find it in terms of those moments. Another such problem is the Fourier cosine series problem, whereby given all the potential Fourier cosine coefficients one must determine if a function having those coefficients exists, and, again, find it if so.

Riesz and Helly solved the problem for certain classes of spaces (such as $L^p([0, 1])$ and $C([a, b])$) where they discovered that the existence of a solution was equivalent to the existence and continuity of certain linear functionals. In effect, they needed to solve the following problem:


 * () Given a collection $$\left(f_i\right)_{i \in I}$$ of bounded linear functionals on a normed space $$X$$ and a collection of scalars $$\left(c_i\right)_{i \in I},$$ determine if there is an $$x \in X$$ such that $$f_i(x) = c_i$$ for all $$i \in I.$$

If $$X$$ happens to be a reflexive space then to solve the vector problem, it suffices to solve the following dual problem:


 * (The functional problem) Given a collection $$\left(x_i\right)_{i \in I}$$ of vectors in a normed space $$X$$ and a collection of scalars $$\left(c_i\right)_{i \in I},$$ determine if there is a bounded linear functional $$f$$ on $$X$$ such that $$f\left(x_i\right) = c_i$$ for all $$i \in I.$$

Riesz went on to define $L^p([0, 1])$ space ($$1 < p < \infty$$) in 1910 and the $$\ell^p$$ spaces in 1913. While investigating these spaces he proved a special case of the Hahn–Banach theorem. Helly also proved a special case of the Hahn–Banach theorem in 1912. In 1910, Riesz solved the functional problem for some specific spaces and in 1912, Helly solved it for a more general class of spaces. It wasn't until 1932 that Banach, in one of the first important applications of the Hahn–Banach theorem, solved the general functional problem. The following theorem states the general functional problem and characterizes its solution.

$$

The Hahn–Banach theorem can be deduced from the above theorem. If $$X$$ is reflexive then this theorem solves the vector problem.

Hahn–Banach theorem
A real-valued function $$f : M \to \R$$ defined on a subset $$M$$ of $$X$$ is said to be a function $$p : X \to \R$$ if $$f(m) \leq p(m)$$ for every $$m \in M.$$ Hence the reason why the following version of the Hahn–Banach theorem is called.

The theorem remains true if the requirements on $$p$$ are relaxed to require only that $$p$$ be a convex function: $$p(t x + (1 - t) y) \leq t p(x) + (1 - t) p(y) \qquad \text{ for all } 0 < t < 1 \text{ and } x, y \in X.$$ A function $$p : X \to \R$$ is convex and satisfies $$p(0) \leq 0$$ if and only if $$p(a x + b y) \leq a p(x) + b p(y)$$ for all vectors $$x, y \in X$$ and all non-negative real $$a, b \geq 0$$ such that $$a + b \leq 1.$$ Every sublinear function is a convex function. On the other hand, if $$p : X \to \R$$ is convex with $$p(0) \geq 0,$$ then the function defined by $$p_0(x) \;\stackrel{\scriptscriptstyle\text{def}}{=}\; \inf_{t > 0} \frac{p(tx)}{t}$$ is positively homogeneous (because for all $$x$$ and $$r>0$$ one has $$p_0(rx)=\inf_{t > 0} \frac{p(trx)}{t} ) =r\inf_{t > 0} \frac{p(trx)}{tr} = r\inf_{\tau > 0} \frac{p(\tau x)}{\tau}=rp_0(x)$$), hence, being convex, it is sublinear. It is also bounded above by $$p_0 \leq p,$$ and satisfies $$F \leq p_0$$ for every linear functional $$F \leq p.$$ So the extension of the Hahn–Banach theorem to convex functionals does not have a much larger content than the classical one stated for sublinear functionals.

If $$F : X \to \R$$ is linear then $$F \leq p$$ if and only if $$-p(-x) \leq F(x) \leq p(x) \quad \text{ for all } x \in X,$$ which is the (equivalent) conclusion that some authors write instead of $$F \leq p.$$ It follows that if $$p : X \to \R$$ is also, meaning that $$p(-x) = p(x)$$ holds for all $$x \in X,$$ then $$F \leq p$$ if and only $$|F| \leq p.$$ Every norm is a seminorm and both are symmetric balanced sublinear functions. A sublinear function is a seminorm if and only if it is a balanced function. On a real vector space (although not on a complex vector space), a sublinear function is a seminorm if and only if it is symmetric. The identity function $$\R \to \R$$ on $$X := \R$$ is an example of a sublinear function that is not a seminorm.

For complex or real vector spaces
The dominated extension theorem for real linear functionals implies the following alternative statement of the Hahn–Banach theorem that can be applied to linear functionals on real or complex vector spaces.

The theorem remains true if the requirements on $$p$$ are relaxed to require only that for all $$x, y \in X$$ and all scalars $$a$$ and $$b$$ satisfying $$|a| + |b| \leq 1,$$ $$p(a x + b y) \leq |a| p(x) + |b| p(y).$$ This condition holds if and only if $$p$$ is a convex and balanced function satisfying $$p(0) \leq 0,$$ or equivalently, if and only if it is convex, satisfies $$p(0) \leq 0,$$ and $$p(u x) \leq p(x)$$ for all $$x \in X$$ and all unit length scalars $$u.$$

A complex-valued functional $$F$$ is said to be if $$|F(x)| \leq p(x)$$ for all $$x$$ in the domain of $$F.$$ With this terminology, the above statements of the Hahn–Banach theorem can be restated more succinctly:


 * Hahn–Banach dominated extension theorem: If $$p : X \to \R$$ is a seminorm defined on a real or complex vector space $$X,$$ then every dominated linear functional defined on a vector subspace of $$X$$ has a dominated linear extension to all of $$X.$$ In the case where $$X$$ is a real vector space and $$p : X \to \R$$ is merely a convex or sublinear function, this conclusion will remain true if both instances of "dominated" (meaning $$|F| \leq p$$) are weakened to instead mean "dominated " (meaning $$F \leq p$$).

Proof

The following observations allow the Hahn–Banach theorem for real vector spaces to be applied to (complex-valued) linear functionals on complex vector spaces.

Every linear functional $$F : X \to \Complex$$ on a complex vector space is completely determined by its real part $$\; \operatorname{Re} F : X \to \R \;$$ through the formula $$F(x) \;=\; \operatorname{Re} F(x) - i \operatorname{Re} F(i x) \qquad \text{ for all } x \in X$$ and moreover, if $$\|\cdot\|$$ is a norm on $$X$$ then their dual norms are equal: $$\|F\| = \|\operatorname{Re} F\|.$$ In particular, a linear functional on $$X$$ extends another one defined on $$M \subseteq X$$ if and only if their real parts are equal on $$M$$ (in other words, a linear functional $$F$$ extends $$f$$ if and only if $$\operatorname{Re} F$$ extends $$\operatorname{Re} f$$). The real part of a linear functional on $$X$$ is always a (meaning that it is linear when $$X$$ is considered as a real vector space) and if $$R : X \to \R$$ is a real-linear functional on a complex vector space then $$x \mapsto R(x) - i R(i x)$$ defines the unique linear functional on $$X$$ whose real part is $$R.$$

If $$F$$ is a linear functional on a (complex or real) vector space $$X$$ and if $$p : X \to \R$$ is a seminorm then $$|F| \,\leq\, p \quad \text{ if and only if } \quad \operatorname{Re} F \,\leq\, p.$$ Stated in simpler language, a linear functional is dominated by a seminorm $$p$$ if and only if its real part is dominated above by $$p.$$

$$

The proof above shows that when $$p$$ is a seminorm then there is a one-to-one correspondence between dominated linear extensions of $$f : M \to \Complex$$ and dominated real-linear extensions of $$\operatorname{Re} f : M \to \R;$$ the proof even gives a formula for explicitly constructing a linear extension of $$f$$ from any given real-linear extension of its real part.

Continuity

A linear functional $$F$$ on a topological vector space is continuous if and only if this is true of its real part $$\operatorname{Re} F;$$ if the domain is a normed space then $$\|F\| = \|\operatorname{Re} F\|$$ (where one side is infinite if and only if the other side is infinite). Assume $$X$$ is a topological vector space and $$p : X \to \R$$ is sublinear function. If $$p$$ is a continuous sublinear function that dominates a linear functional $$F$$ then $$F$$ is necessarily continuous. Moreover, a linear functional $$F$$ is continuous if and only if its absolute value $$|F|$$ (which is a seminorm that dominates $$F$$) is continuous. In particular, a linear functional is continuous if and only if it is dominated by some continuous sublinear function.

Proof
The Hahn–Banach theorem for real vector spaces ultimately follows from Helly's initial result for the special case where the linear functional is extended from $$M$$ to a larger vector space in which $$M$$ has codimension $$1.$$

$$

This lemma remains true if $$p : X \to \R$$ is merely a convex function instead of a sublinear function.

Assume that $$p$$ is convex, which means that $$p(t y + (1 - t) z) \leq t p(y) + (1 - t) p(z)$$ for all $$0 \leq t \leq 1$$ and $$y, z \in X.$$ Let $$M,$$ $$f : M \to \R,$$ and $$x \in X \setminus M$$ be as in the lemma's statement. Given any $$m, n \in M$$ and any positive real $$r, s > 0,$$ the positive real numbers $$t := \tfrac{s}{r + s}$$ and $$\tfrac{r}{r + s} = 1 - t$$ sum to $$1$$ so that the convexity of $$p$$ on $$X$$ guarantees $$\begin{alignat}{9} p\left(\tfrac{s}{r + s} m + \tfrac{r}{r + s} n\right) ~&=~ p\big(\tfrac{s}{r + s} (m - r x) &&+ \tfrac{r}{r + s} (n + s x)\big) && \\ &\leq~ \tfrac{s}{r + s} \; p(m - r x) &&+ \tfrac{r}{r + s} \; p(n + s x) && \\ \end{alignat}$$ and hence $$\begin{alignat}{9} s f(m) + r f(n) ~&=~ (r + s) \; f\left(\tfrac{s}{r + s} m + \tfrac{r}{r + s} n\right)  && \qquad \text{ by linearity of } f \\ &\leq~ (r + s) \; p\left(\tfrac{s}{r + s} m + \tfrac{r}{r + s} n\right) && \qquad f \leq p \text{ on } M \\ &\leq~ s p(m - r x) + r p(n + s x) \\ \end{alignat}$$ thus proving that $$- s p(m - r x) + s f(m) ~\leq~ r p(n + s x) - r f(n),$$ which after multiplying both sides by $$\tfrac{1}{rs}$$ becomes $$\tfrac{1}{r} [- p(m - r x) + f(m)] ~\leq~ \tfrac{1}{s} [p(n + s x) - f(n)].$$ This implies that the values defined by $$a = \sup_{\stackrel{m \in M}{r > 0}} \tfrac{1}{r} [- p(m - r x) + f(m)] \qquad \text{ and } \qquad c = \inf_{\stackrel{n \in M}{s > 0}} \tfrac{1}{s} [p(n + s x) - f(n)]$$ are real numbers that satisfy $$a \leq c.$$ As in the above proof of the one–dimensional dominated extension theorem above, for any real $$b \in \R$$ define $$F_b : M \oplus \R x \to \R$$ by $$F_b(m + r x) = f(m) + r b.$$ It can be verified that if $$a \leq b \leq c$$ then $$F_b \leq p$$ where $$r b \leq p(m + r x) - f(m)$$ follows from $$b \leq c$$ when $$r > 0$$ (respectively, follows from $$a \leq b$$ when $$r < 0$$). $$\blacksquare$$

The lemma above is the key step in deducing the dominated extension theorem from Zorn's lemma.

$$

When $$M$$ has countable codimension, then using induction and the lemma completes the proof of the Hahn–Banach theorem. The standard proof of the general case uses Zorn's lemma although the strictly weaker ultrafilter lemma (which is equivalent to the compactness theorem and to the Boolean prime ideal theorem) may be used instead. Hahn–Banach can also be proved using Tychonoff's theorem for compact Hausdorff spaces (which is also equivalent to the ultrafilter lemma)

The Mizar project has completely formalized and automatically checked the proof of the Hahn–Banach theorem in the HAHNBAN file.

Continuous extension theorem
The Hahn–Banach theorem can be used to guarantee the existence of continuous linear extensions of continuous linear functionals.

In category-theoretic terms, the underlying field of the vector space is an injective object in the category of locally convex vector spaces.

On a normed (or seminormed) space, a linear extension $$F$$ of a bounded linear functional $$f$$ is said to be if it has the same dual norm as the original functional: $$\|F\| = \|f\|.$$ Because of this terminology, the second part of the above theorem is sometimes referred to as the "norm-preserving" version of the Hahn–Banach theorem. Explicitly:

Proof of the continuous extension theorem
The following observations allow the continuous extension theorem to be deduced from the Hahn–Banach theorem.

The absolute value of a linear functional is always a seminorm. A linear functional $$F$$ on a topological vector space $$X$$ is continuous if and only if its absolute value $$|F|$$ is continuous, which happens if and only if there exists a continuous seminorm $$p$$ on $$X$$ such that $$|F| \leq p$$ on the domain of $$F.$$ If $$X$$ is a locally convex space then this statement remains true when the linear functional $$F$$ is defined on a vector subspace of $$X.$$

$$

Proof for normed spaces

A linear functional $$f$$ on a normed space is continuous if and only if it is bounded, which means that its dual norm $$\|f\| = \sup \{|f(m)| : \|m\| \leq 1, m \in \operatorname{domain} f\}$$ is finite, in which case $$|f(m)| \leq \|f\| \|m\|$$ holds for every point $$m$$ in its domain. Moreover, if $$c \geq 0$$ is such that $$|f(m)| \leq c \|m\|$$ for all $$m$$ in the functional's domain, then necessarily $$\|f\| \leq c.$$ If $$F$$ is a linear extension of a linear functional $$f$$ then their dual norms always satisfy $$\|f\| \leq \|F\|$$

so that equality $$\|f\| = \|F\|$$ is equivalent to $$\|F\| \leq \|f\|,$$ which holds if and only if $$|F(x)| \leq \|f\| \|x\|$$ for every point $$x$$ in the extension's domain. This can be restated in terms of the function $$\|f\| \, \|\cdot\| : X \to \Reals$$ defined by $$x \mapsto \|f\| \, \|x\|,$$ which is always a seminorm:


 * A linear extension of a bounded linear functional $$f$$ is norm-preserving if and only if the extension is dominated by the seminorm $$\|f\| \, \|\cdot\|.$$

Applying the Hahn–Banach theorem to $$f$$ with this seminorm $$\|f\| \, \|\cdot\|$$ thus produces a dominated linear extension whose norm is (necessarily) equal to that of $$f,$$ which proves the theorem:

$$

Non-locally convex spaces
The continuous extension theorem might fail if the topological vector space (TVS) $$X$$ is not locally convex. For example, for $$0 < p < 1,$$ the Lebesgue space $$L^p([0, 1])$$ is a complete metrizable TVS (an F-space) that is locally convex (in fact, its only convex open subsets are itself $$L^p([0, 1])$$ and the empty set) and the only continuous linear functional on $$L^p([0, 1])$$ is the constant $$0$$ function. Since $$L^p([0, 1])$$ is Hausdorff, every finite-dimensional vector subspace $$M \subseteq L^p([0, 1])$$ is linearly homeomorphic to Euclidean space $$\Reals^{\dim M}$$ or $$\Complex^{\dim M}$$ (by F. Riesz's theorem) and so every non-zero linear functional $$f$$ on $$M$$ is continuous but none has a continuous linear extension to all of $$L^p([0, 1]).$$ However, it is possible for a TVS $$X$$ to not be locally convex but nevertheless have enough continuous linear functionals that its continuous dual space $$X^*$$ separates points; for such a TVS, a continuous linear functional defined on a vector subspace have a continuous linear extension to the whole space.

If the TVS $$X$$ is not locally convex then there might not exist any continuous seminorm $$p : X \to \R$$ (not just on $$M$$) that dominates $$f,$$ in which case the Hahn–Banach theorem can not be applied as it was in the above proof of the continuous extension theorem. However, the proof's argument can be generalized to give a characterization of when a continuous linear functional has a continuous linear extension: If $$X$$ is any TVS (not necessarily locally convex), then a continuous linear functional $$f$$ defined on a vector subspace $$M$$ has a continuous linear extension $$F$$ to all of $$X$$ if and only if there exists some continuous seminorm $$p$$ on $$X$$ that dominates $$f.$$ Specifically, if given a continuous linear extension $$F$$ then $$p := |F|$$ is a continuous seminorm on $$X$$ that dominates $$f;$$ and conversely, if given a continuous seminorm $$p : X \to \Reals$$ on $$X$$ that dominates $$f$$ then any dominated linear extension of $$f$$ to $$X$$ (the existence of which is guaranteed by the Hahn–Banach theorem) will be a continuous linear extension.

Geometric Hahn–Banach (the Hahn–Banach separation theorems)
The key element of the Hahn–Banach theorem is fundamentally a result about the separation of two convex sets: $$\{-p(- x - n) - f(n) : n \in M\},$$ and $$\{p(m + x) - f(m) : m \in M\}.$$ This sort of argument appears widely in convex geometry, optimization theory, and economics. Lemmas to this end derived from the original Hahn–Banach theorem are known as the Hahn–Banach separation theorems. They are generalizations of the hyperplane separation theorem, which states that two disjoint nonempty convex subsets of a finite-dimensional space $$\R^n$$ can be separated by some, which is a fiber (level set) of the form $$f^{-1}(s) = \{x : f(x) = s\}$$ where $$f \neq 0$$ is a non-zero linear functional and $$s$$ is a scalar.

When the convex sets have additional properties, such as being open or compact for example, then the conclusion can be substantially strengthened:

Then following important corollary is known as the Geometric Hahn–Banach theorem or Mazur's theorem (also known as Ascoli–Mazur theorem ). It follows from the first bullet above and the convexity of $$M.$$

Mazur's theorem clarifies that vector subspaces (even those that are not closed) can be characterized by linear functionals.

Supporting hyperplanes
Since points are trivially convex, geometric Hahn–Banach implies that functionals can detect the boundary of a set. In particular, let $$X$$ be a real topological vector space and $$A \subseteq X$$ be convex with $$\operatorname{Int} A \neq \varnothing.$$ If $$a_0 \in A \setminus \operatorname{Int} A$$ then there is a functional that is vanishing at $$a_0,$$ but supported on the interior of $$A.$$

Call a normed space $$X$$ smooth if at each point $$x$$ in its unit ball there exists a unique closed hyperplane to the unit ball at $$x.$$ Köthe showed in 1983 that a normed space is smooth at a point $$x$$ if and only if the norm is Gateaux differentiable at that point.

Balanced or disked neighborhoods
Let $$U$$ be a convex balanced neighborhood of the origin in a locally convex topological vector space $$X$$ and suppose $$x \in X$$ is not an element of $$U.$$ Then there exists a continuous linear functional $$f$$ on $$X$$ such that $$\sup |f(U)| \leq |f(x)|.$$

Applications
The Hahn–Banach theorem is the first sign of an important philosophy in functional analysis: to understand a space, one should understand its continuous functionals.

For example, linear subspaces are characterized by functionals: if $X$ is a normed vector space with linear subspace $M$ (not necessarily closed) and if $$z$$ is an element of $X$ not in the closure of $M$, then there exists a continuous linear map $$f : X \to \mathbf{K}$$ with $$f(m) = 0$$ for all $$m \in M,$$ $$f(z) = 1,$$ and $$\|f\| = \operatorname{dist}(z, M)^{-1}.$$ (To see this, note that $$\operatorname{dist}(\cdot, M)$$ is a sublinear function.)  Moreover, if $$z$$ is an element of $X$, then there exists a continuous linear map $$f : X \to \mathbf{K}$$ such that $$f(z) = \|z\|$$ and $$\|f\| \leq 1.$$  This implies that the natural injection $$J$$ from a normed space $X$ into its double dual $$V^{**}$$ is isometric.

That last result also suggests that the Hahn–Banach theorem can often be used to locate a "nicer" topology in which to work. For example, many results in functional analysis assume that a space is Hausdorff or locally convex. However, suppose $X$ is a topological vector space, not necessarily Hausdorff or locally convex, but with a nonempty, proper, convex, open set $M$. Then geometric Hahn–Banach implies that there is a hyperplane separating $M$ from any other point. In particular, there must exist a nonzero functional on $X$ — that is, the continuous dual space $$X^*$$ is non-trivial. Considering $X$ with the weak topology induced by $$X^*,$$ then $X$ becomes locally convex; by the second bullet of geometric Hahn–Banach, the weak topology on this new space separates points. Thus $X$ with this weak topology becomes Hausdorff. This sometimes allows some results from locally convex topological vector spaces to be applied to non-Hausdorff and non-locally convex spaces.

Partial differential equations
The Hahn–Banach theorem is often useful when one wishes to apply the method of a priori estimates. Suppose that we wish to solve the linear differential equation $$P u = f$$ for $$u,$$ with $$f$$ given in some Banach space $X$. If we have control on the size of $$u$$ in terms of $$\|f\|_X$$ and we can think of $$u$$ as a bounded linear functional on some suitable space of test functions $$g,$$ then we can view $$f$$ as a linear functional by adjunction: $$(f, g) = (u, P^*g).$$ At first, this functional is only defined on the image of $$P,$$ but using the Hahn–Banach theorem, we can try to extend it to the entire codomain $X$. The resulting functional is often defined to be a weak solution to the equation.

Example from Fredholm theory
To illustrate an actual application of the Hahn–Banach theorem, we will now prove a result that follows almost entirely from the Hahn–Banach theorem.

$$

The above result may be used to show that every closed vector subspace of $$\R^{\N}$$ is complemented because any such space is either finite dimensional or else TVS–isomorphic to $$\R^{\N}.$$

Generalizations
General template

There are now many other versions of the Hahn–Banach theorem. The general template for the various versions of the Hahn–Banach theorem presented in this article is as follows:


 * $$p : X \to \R$$ is a sublinear function (possibly a seminorm) on a vector space $$X,$$ $$M$$ is a vector subspace of $$X$$ (possibly closed), and $$f$$ is a linear functional on $$M$$ satisfying $$|f| \leq p$$ on $$M$$ (and possibly some other conditions). One then concludes that there exists a linear extension $$F$$ of $$f$$ to $$X$$ such that $$|F| \leq p$$ on $$X$$ (possibly with additional properties).

For seminorms
$$

So for example, suppose that $$f$$ is a bounded linear functional defined on a vector subspace $$M$$ of a normed space $$X,$$ so its the operator norm $$\|f\|$$ is a non-negative real number. Then the linear functional's absolute value $$p := |f|$$ is a seminorm on $$M$$ and the map $$q : X \to \Reals$$ defined by $$q(x) = \|f\| \, \|x\|$$ is a seminorm on $$X$$ that satisfies $$p \leq q\big\vert_M$$ on $$M.$$ The Hahn–Banach theorem for seminorms guarantees the existence of a seminorm $$P : X \to \Reals$$ that is equal to $$|f|$$ on $$M$$ (since $$P\big\vert_M = p = |f|$$) and is bounded above by $$P(x) \leq \|f\| \, \|x\|$$ everywhere on $$X$$ (since $$P \leq q$$).

Maximal dominated linear extension
If $$S = \{s\}$$ is a singleton set (where $$s \in X$$ is some vector) and if $$F : X \to \R$$ is such a maximal dominated linear extension of $$f : M \to \R,$$ then $$F(s) = \inf_{m \in M} [f(s) + p(s - m)].$$

Invariant Hahn–Banach
A set $$\Gamma$$ of maps $$X \to X$$ is (with respect to function composition $$\,\circ\,$$) if $$F \circ G = G \circ F$$ for all $$F, G \in \Gamma.$$ Say that a function $$f$$ defined on a subset $$M$$ of $$X$$ is if $$L(M) \subseteq M$$ and $$f \circ L = f$$ on $$M$$ for every $$L \in \Gamma.$$

This theorem may be summarized:


 * Every $\Gamma$-invariant continuous linear functional defined on a vector subspace of a normed space $$X$$ has a $$\Gamma$$-invariant Hahn–Banach extension to all of $$X.$$

For nonlinear functions
The following theorem of Mazur–Orlicz (1953) is equivalent to the Hahn–Banach theorem.

The following theorem characterizes when scalar function on $$X$$ (not necessarily linear) has a continuous linear extension to all of $$X.$$

Converse
Let $X$ be a topological vector space. A vector subspace $M$ of $X$ has the extension property if any continuous linear functional on $M$ can be extended to a continuous linear functional on $X$, and we say that $X$ has the Hahn–Banach extension property (HBEP) if every vector subspace of $X$ has the extension property.

The Hahn–Banach theorem guarantees that every Hausdorff locally convex space has the HBEP. For complete metrizable topological vector spaces there is a converse, due to Kalton: every complete metrizable TVS with the Hahn–Banach extension property is locally convex. On the other hand, a vector space $X$ of uncountable dimension, endowed with the finest vector topology, then this is a topological vector spaces with the Hahn–Banach extension property that is neither locally convex nor metrizable.

A vector subspace $M$ of a TVS $X$ has the separation property if for every element of $X$ such that $$x \not\in M,$$ there exists a continuous linear functional $$f$$ on $X$ such that $$f(x) \neq 0$$ and $$f(m) = 0$$ for all $$m \in M.$$ Clearly, the continuous dual space of a TVS $X$ separates points on $X$ if and only if $$\{0\},$$ has the separation property. In 1992, Kakol proved that any infinite dimensional vector space $X$, there exist TVS-topologies on $X$ that do not have the HBEP despite having enough continuous linear functionals for the continuous dual space to separate points on $X$. However, if $X$ is a TVS then vector subspace of $X$ has the extension property if and only if  vector subspace of $X$ has the separation property.

Relation to axiom of choice and other theorems
The proof of the Hahn–Banach theorem for real vector spaces (HB) commonly uses Zorn's lemma, which in the axiomatic framework of Zermelo–Fraenkel set theory (ZF) is equivalent to the axiom of choice (AC). It was discovered by Łoś and Ryll-Nardzewski and independently by Luxemburg that HB can be proved using the ultrafilter lemma (UL), which is equivalent (under ZF) to the Boolean prime ideal theorem (BPI). BPI is strictly weaker than the axiom of choice and it was later shown that HB is strictly weaker than BPI.

The ultrafilter lemma is equivalent (under ZF) to the Banach–Alaoglu theorem, which is another foundational theorem in functional analysis. Although the Banach–Alaoglu theorem implies HB, it is not equivalent to it (said differently, the Banach–Alaoglu theorem is strictly stronger than HB). However, HB is equivalent to a certain weakened version of the Banach–Alaoglu theorem for normed spaces. The Hahn–Banach theorem is also equivalent to the following statement:


 * (∗): On every Boolean algebra $B$ there exists a "probability charge", that is: a non-constant finitely additive map from $$B$$ into $$[0, 1].$$

(BPI is equivalent to the statement that there are always non-constant probability charges which take only the values 0 and 1.)

In ZF, the Hahn–Banach theorem suffices to derive the existence of a non-Lebesgue measurable set. Moreover, the Hahn–Banach theorem implies the Banach–Tarski paradox.

For separable Banach spaces, D. K. Brown and S. G. Simpson proved that the Hahn–Banach theorem follows from WKL0, a weak subsystem of second-order arithmetic that takes a form of Kőnig's lemma restricted to binary trees as an axiom. In fact, they prove that under a weak set of assumptions, the two are equivalent, an example of reverse mathematics.