# Tietze extension theorem

In topology, the Tietze extension theorem (also known as the Tietze–Urysohn–Brouwer extension theorem or Urysohn-Brouwer lemma) states that any real-valued, continuous function on a closed subset of a normal topological space can be extended to the entire space, preserving boundedness if necessary.

## Formal statement

If $X$ is a normal space and $f:A\to \mathbb {R}$ is a continuous map from a closed subset $A$ of $X$ into the real numbers $\mathbb {R}$ carrying the standard topology, then there exists a continuous extension of $f$ to $X;$ that is, there exists a map $F:X\to \mathbb {R}$ continuous on all of $X$ with $F(a)=f(a)$ for all $a\in A.$ Moreover, $F$ may be chosen such that $\sup\{|f(a)|:a\in A\}~=~\sup\{|F(x)|:x\in X\},$ that is, if $f$ is bounded then $F$ may be chosen to be bounded (with the same bound as $f$).

## Proof

The function $F$ is constructed iteratively. Firstly, we define ${\begin{aligned}c_{0}&=\sup\{|f(a)|:a\in A\}\\E_{0}&=\{a\in A:f(a)\geq c_{0}/3\}\\F_{0}&=\{a\in A:f(a)\leq -c_{0}/3\}.\end{aligned}}$ Observe that $E_{0}$ and $F_{0}$ are closed and disjoint subsets of $A$. By taking a linear combination of the function obtained from the proof of Urysohn's lemma, there exists a continuous function $g_{0}:X\to \mathbb {R}$ such that ${\begin{aligned}g_{0}&={\frac {c_{0}}{3}}{\text{ on }}E_{0}\\g_{0}&=-{\frac {c_{0}}{3}}{\text{ on }}F_{0}\end{aligned}}$ and furthermore $-{\frac {c_{0}}{3}}\leq g_{0}\leq {\frac {c_{0}}{3}}$ on $X$. In particular, it follows that ${\begin{aligned}|g_{0}|&\leq {\frac {c_{0}}{3}}\\|f-g_{0}|&\leq {\frac {2c_{0}}{3}}\end{aligned}}$ on $A$. We now use induction to construct a sequence of continuous functions $(g_{n})_{n=0}^{\infty }$ such that ${\begin{aligned}|g_{n}|&\leq {\frac {2^{n}c_{0}}{3^{n+1}}}\\|f-g_{0}-...-g_{n}|&\leq {\frac {2^{n+1}c_{0}}{3^{n+1}}}.\end{aligned}}$ We've shown that this holds for $n=0$ and assume that $g_{0},...,g_{n-1}$ have been constructed. Define $c_{n-1}=\sup\{|f(a)-g_{0}(a)-...-g_{n-1}(a)|:a\in A\}$ and repeat the above argument replacing $c_{0}$ with $c_{n-1}$ and replacing $f$ with $f-g_{0}-...-g_{n-1}$. Then we find that there exists a continuous function $g_{n}:X\to \mathbb {R}$ such that ${\begin{aligned}|g_{n}|&\leq {\frac {c_{n-1}}{3}}\\|f-g_{0}-...-g_{n}|&\leq {\frac {2c_{n-1}}{3}}.\end{aligned}}$ By the inductive hypothesis, $c_{n-1}\leq 2^{n}c_{0}/3^{n}$ hence we obtain the required identities and the induction is complete. Now, we define a continuous function $F_{n}:X\to \mathbb {R}$ as $F_{n}=g_{0}+...+g_{n}.$ Given $n\geq m$, ${\begin{aligned}|F_{n}-F_{m}|&=|g_{m+1}+...+g_{n}|\\&\leq \left(\left({\frac {2}{3}}\right)^{m+1}+...+\left({\frac {2}{3}}\right)^{n}\right){\frac {c_{0}}{3}}\\&\leq \left({\frac {2}{3}}\right)^{m+1}c_{0}.\end{aligned}}$ Therefore, the sequence $(F_{n})_{n=0}^{\infty }$ is Cauchy. Since the space of continuous functions on $X$ together with the sup norm is a complete metric space, it follows that there exists a continuous function $F:X\to \mathbb {R}$ such that $F_{n}$ converges uniformly to $F$. Since $|f-F_{n}|\leq {\frac {2^{n}c_{0}}{3^{n+1}}}$ on $A$, it follows that $F=f$ on $A$. Finally, we observe that $|F_{n}|\leq \sum _{n=0}^{\infty }|g_{n}|\leq c_{0}$ hence $F$ is bounded and has the same bound as $f$. $\square$

## History

L. E. J. Brouwer and Henri Lebesgue proved a special case of the theorem, when $X$ is a finite-dimensional real vector space. Heinrich Tietze extended it to all metric spaces, and Pavel Urysohn proved the theorem as stated here, for normal topological spaces.

## Equivalent statements

This theorem is equivalent to Urysohn's lemma (which is also equivalent to the normality of the space) and is widely applicable, since all metric spaces and all compact Hausdorff spaces are normal. It can be generalized by replacing $\mathbb {R}$ with $\mathbb {R} ^{J}$ for some indexing set $J,$ any retract of $\mathbb {R} ^{J},$ or any normal absolute retract whatsoever.

## Variations

If $X$ is a metric space, $A$ a non-empty subset of $X$ and $f:A\to \mathbb {R}$ is a Lipschitz continuous function with Lipschitz constant $K,$ then $f$ can be extended to a Lipschitz continuous function $F:X\to \mathbb {R}$ with same constant $K.$ This theorem is also valid for Hölder continuous functions, that is, if $f:A\to \mathbb {R}$ is Hölder continuous function with constant less than or equal to $1,$ then $f$ can be extended to a Hölder continuous function $F:X\to \mathbb {R}$ with the same constant.
Another variant (in fact, generalization) of Tietze's theorem is due to H.Tong and Z. Ercan: Let $A$ be a closed subset of a normal topological space $X.$ If $f:X\to \mathbb {R}$ is an upper semicontinuous function, $g:X\to \mathbb {R}$ a lower semicontinuous function, and $h:A\to \mathbb {R}$ a continuous function such that $f(x)\leq g(x)$ for each $x\in X$ and $f(a)\leq h(a)\leq g(a)$ for each $a\in A$, then there is a continuous extension $H:X\to \mathbb {R}$ of $h$ such that $f(x)\leq H(x)\leq g(x)$ for each $x\in X.$ This theorem is also valid with some additional hypothesis if $\mathbb {R}$ is replaced by a general locally solid Riesz space.
Dugundji (1951) extends the theorem as follows: If $X$ is a metric space, $Y$ is a locally convex topological vector space, $A$ is a closed subset of $X$ and $f:A\to Y$ is continuous, then it could be extended to a continuous function ${\tilde {f}}$ defined on all of $X$. Moreover, the extension could be chosen such that ${\tilde {f}}(X)\subseteq {\text{conv}}f(A)$