Tutorials › Topology (Undergraduate) › The Bounded Tietze Extension Theorem

Urysohn's Lemma and the Tietze Extension Theorem · Tutorial 349 of 799

The Bounded Tietze Extension Theorem

Learn when bounded continuous functions extend from a closed subset of a normal space, why the extension can preserve a prescribed interval, and what can fail without closedness.

Advanced 12 min read

What You'll Learn

  • State the bounded Tietze extension theorem with its closedness, normality, and boundedness hypotheses.
  • Explain why the extension can be required to take values in the same closed interval as the original function.
  • Prove the theorem using successive approximations and a uniformly convergent series.
  • Construct and verify explicit extensions on the real line.
  • Identify how failure of closedness can prevent a continuous extension.

Extending Bounded Continuous Functions

A continuous function defined on a closed subset need not be given by a simple formula on the whole space. The bounded Tietze extension theorem guarantees that, in a normal space, it can nevertheless be extended continuously. Its range conclusion is particularly useful: if the original function takes values in a closed interval, the extension can be chosen to stay in that same interval.

Throughout, a space \(X\) is normal if every pair of disjoint closed subsets of \(X\) has disjoint open neighborhoods. A subset \(A\subseteq X\) has the subspace topology. A function \(f:A\to\mathbb{R}\) is bounded if there is a real number \(M\ge 0\) such that \(|f(a)|\le M\) for every \(a\in A\). An extension of \(f\) is a function \(F:X\to\mathbb{R}\) satisfying \(F|_A=f\).

Theorem (Bounded Tietze Extension Theorem): Let \(X\) be a normal space, let \(A\) be a closed subset of \(X\), and let \(a\le b\) be real numbers. If \(f:A\to[a,b]\) is continuous, then there is a continuous function \(F:X\to[a,b]\) such that \(F|_A=f\). In particular, every bounded continuous function \(f:A\to\mathbb{R}\) has a continuous extension to \(X\) whose values remain within any closed interval \([a,b]\) containing \(f(A)\).

The theorem includes degenerate cases. If \(A=\varnothing\), the constant function \(F(x)=a\) works when \(X\ne\varnothing\); if \(X=\varnothing\), the unique empty function works. If \(a=b\), then \(f\) is constant on \(A\), and that same constant on \(X\) is an extension. For the main proof, we can therefore assume \(A\ne\varnothing\) and \(a<b\).

Proof by Successive Approximation

We use the Urysohn lemma in its standard form: if \(X\) is normal and \(C,D\subseteq X\) are disjoint closed sets, there is a continuous \(u:X\to[0,1]\) with \(u=0\) on \(C\) and \(u=1\) on \(D\). The earlier material on Urysohn's lemma establishes this result. We first prove the approximation step that converts it into an extension.

Lemma (One approximation step): Suppose \(A\) is closed in a normal space \(X\), and \(h:A\to[-r,r]\) is continuous, where \(r>0\). There is a continuous \(g:X\to[-r/3,r/3]\) such that \(|h-g|_A\le 2r/3\).

Proof. Define \(C=\{x\in A:h(x)\le-r/3\}\) and \(D=\{x\in A:h(x)\ge r/3\}\). These sets are closed in \(A\), because \(h\) is continuous and the corresponding intervals are closed in \(\mathbb{R}\). Since \(A\) is closed in \(X\), closed subsets of \(A\) are closed in \(X\). Also \(C\cap D=\varnothing\), since no real number is both at most \(-r/3\) and at least \(r/3\). Apply the Urysohn lemma to obtain \(u:X\to[0,1]\), with \(u=0\) on \(C\) and \(u=1\) on \(D\), and set \(g=(r/3)(2u-1)\). Then \(g\) is continuous and has values in \([-r/3,r/3]\).

For \(x\in C\), \(g(x)=-r/3\), so \(h(x)\in[-r,-r/3]\) gives \(|h(x)-g(x)|\le 2r/3\). For \(x\in D\), \(g(x)=r/3\), so \(h(x)\in[r/3,r]\) also gives \(|h(x)-g(x)|\le 2r/3\). If \(x\in A\setminus(C\cup D)\), then \(-r/3<h(x)<r/3\), while \(g(x)\in[-r/3,r/3]\); the distance between these two numbers is at most \(2r/3\). These cases cover \(A\), proving the bound. \(\square\)

To prove the theorem, first consider a continuous \(h:A\to[-1,1]\). The lemma gives a continuous \(g_1:X\to[-1/3,1/3]\) whose restriction approximates \(h\) with error at most \(2/3\). The residual \(h-g_1|_A\) is therefore a continuous function on \(A\) bounded in absolute value by \(2/3\). Apply the lemma again to this residual, and continue. More precisely, at stage \(n\), the residual \(h_{n-1}\) is bounded in absolute value by \(r_{n-1}=(2/3)^{n-1}\). The lemma gives \(g_n:X\to[-r_{n-1}/3,r_{n-1}/3]\), and we set \(h_n=h_{n-1}-g_n|_A\). Then \(|h_n|\le r_n=(2/3)^n\) on \(A\).

Proof of the theorem. Suppose first that \(f:A\to[-1,1]\) is continuous. Construct the functions \(g_n\) by the preceding procedure, starting with \(h_0=f\). The series \(F=\sum_{n=1}^{\infty}g_n\) converges uniformly on \(X\): for every \(N\ge0\), the absolute value of its tail after term \(N\) is bounded at every \(x\in X\) by \(\sum_{n=N+1}^{\infty}(2/3)^{n-1}/3=(2/3)^N\), which tends to zero as \(N\) tends to infinity. Each partial sum is continuous, so its uniform limit \(F\) is continuous. For completeness, at any \(x\in X\) and any \(\varepsilon>0\), choose a partial sum \(S\) with \(|F-S|<\varepsilon/3\) everywhere. Continuity of \(S\) gives a neighborhood of \(x\) on which \(|S(y)-S(x)|<\varepsilon/3\). The triangle inequality then gives \(|F(y)-F(x)|<\varepsilon\) on that neighborhood.

For every \(x\in X\), the bounds on \(g_n\) give \(|F(x)|\le\sum_{n=1}^{\infty}(2/3)^{n-1}/3=1\), so \(F:X\to[-1,1]\). On \(A\), the first \(N\) terms sum to \(f-h_N\), by the definition of each residual. Since \(|h_N|\le(2/3)^N\), these partial sums converge to \(f\) on \(A\). Thus \(F|_A=f\).

Now let \(a<b\) and \(f:A\to[a,b]\). Put \(c=(a+b)/2\) and \(r=(b-a)/2\), and define \(h=(f-c)/r\). Then \(h:A\to[-1,1]\) is continuous. The result just proved gives a continuous \(H:X\to[-1,1]\) extending \(h\). Set \(F=c+rH\). It extends \(f\), and \(H(x)\in[-1,1]\) implies \(F(x)\in[c-r,c+r]=[a,b]\) for every \(x\in X\). This proves the theorem, including its range conclusion. \(\square\)

Checking the Hypotheses in Examples

Worked Example: Prescribing Values at Two Points

Take \(X=\mathbb{R}\) with its standard topology, \(A=\{0,2\}\), and prescribe \(f(0)=-1\), \(f(2)=1\). The set \(A\) is closed, and \(\mathbb{R}\) is normal. Define \(F(x)=-1\) for \(x\le0\), \(F(x)=x-1\) for \(0\le x\le2\), and \(F(x)=1\) for \(x\ge2\).

On the middle interval, \(x-1\) ranges from \(-1\) to \(1\), and the outside pieces are the endpoint values. At the joins, the middle formula gives \(F(0)=0-1=-1\) and \(F(2)=2-1=1\), agreeing with the adjacent constant pieces. Thus \(F\) is continuous, takes values in \([-1,1]\), and restricts to \(f\) on \(A\).

Check: \(F(1)=1-1=0\), which lies in \([-1,1]\); \(F(-3)=-1\) and \(F(4)=1\). Substituting the two points of \(A\) gives \(F(0)=-1=f(0)\) and \(F(2)=1=f(2)\).

Worked Example: Extending a Function from a Closed Interval

Let \(A=[-1,1]\subseteq\mathbb{R}\) and \(f(x)=x^2\) on \(A\). This continuous function has range \([0,1]\). Define \(F:\mathbb{R}\to[0,1]\) by \(F(x)=1\) for \(x\le-1\), \(F(x)=x^2\) for \(-1\le x\le1\), and \(F(x)=1\) for \(x\ge1\).

The formulas agree at both joins: \((-1)^2=1\) and \(1^2=1\), so \(F\) is continuous. If \(x\in[-1,1]\), then \(0\le x^2\le1\); outside that interval, \(F(x)=1\). Hence \(F\) has the required range and agrees with \(f\) on \(A\).

Check: At \(x=-1/2\), \(F(x)=(-1/2)^2=1/4\), the original value. At \(x=2\), \(F(x)=1\), still in \([0,1]\). The endpoint values are preserved: \(F(-1)=1=f(-1)\) and \(F(1)=1=f(1)\).

Worked Example: Alternating Values on the Integers

Let \(A=\mathbb{Z}\subseteq\mathbb{R}\), with the subspace topology, and let \(f(n)=(-1)^n/2\) for each integer \(n\). The integers form a closed subset of the normal space \(\mathbb{R}\), and \(f\) takes values in \([-1/2,1/2]\). For each integer \(n\) and each \(x\in[n,n+1]\), set \(F(x)=(n+1-x)f(n)+(x-n)f(n+1)\).

The coefficients are nonnegative on \([n,n+1]\), and their sum is \((n+1-x)+(x-n)=1\). Thus \(F(x)\) is a weighted average of \(f(n)\) and \(f(n+1)\), so it remains in \([-1/2,1/2]\). At an integer endpoint, the formula gives \(F(n)=f(n)\). The formulas on adjacent intervals therefore agree at each integer. Each piece is affine and continuous, and every point has a neighborhood meeting at most two adjacent pieces; this proves continuity on all of \(\mathbb{R}\).

Check: On \([2,3]\), \(f(2)=1/2\) and \(f(3)=-1/2\), so \(F(x)=(3-x)/2-(x-2)/2=5/2-x\). In particular \(F(2)=1/2\), \(F(3)=5/2-3=-1/2\), and \(F(5/2)=0\). These values agree with the endpoint data and stay in the prescribed interval.

What the Hypotheses Do—and a Common Pitfall

The closedness of \(A\) is essential to the general guarantee. It ensures that the closed level sets used in the approximation proof are closed in \(X\), so the Urysohn lemma applies. Without closedness, even a bounded continuous function on \(A\) can fail to extend. For example, take \(A=(0,1)\subseteq\mathbb{R}\) and \(f(x)=\sin(1/x)\). This is bounded and continuous on \(A\), but it has no continuous extension to \(\mathbb{R}\). Indeed, the sequences \(x_n=1/(\pi/2+2\pi n)\) and \(y_n=1/(3\pi/2+2\pi n)\), for \(n\in\mathbb{N}\), lie in \((0,1)\) for all sufficiently large \(n\), and both tend to \(0\). Yet \(f(x_n)=1\) and \(f(y_n)=-1\). Continuity of an extension at \(0\) would force both sequences of values to tend to the same value there, a contradiction.

Common pitfall. Do not weaken the range conclusion to “the extension stays strictly between the endpoints.” The theorem guarantees values in the closed interval \([a,b]\), not in \((a,b)\). In the first example, the prescribed value \(f(0)=-1\) forces any extension to take the endpoint value \(-1\). More generally, an extension cannot have range inside \((a,b)\) when \(f\) takes the value \(a\) or \(b\) at a point of \(A\).

Normality is the separation property used in the proof: it provides the Urysohn functions that control the successive approximations. Boundedness supplies a finite interval in which to begin, while closedness allows the relevant level sets to be separated in \(X\). The theorem is therefore an extension result with explicit requirements, not a claim that every continuous function on every subset can be extended.

Check Your Understanding

For each question, identify the hypotheses being used and verify any proposed range or endpoint claim.

  1. State the bounded Tietze extension theorem, including the range conclusion.
  2. Why are the sets \(C=\{x\in A:h(x)\le-r/3\}\) and \(D=\{x\in A:h(x)\ge r/3\}\) closed in \(X\) in the approximation step?
  3. For \(A=\{0,2\}\) and \(f(0)=-1,\ f(2)=1\), verify that the piecewise extension in the first example is continuous at both joins.
  4. Why does \(\sin(1/x)\) on \((0,1)\) rule out a continuous extension to \(\mathbb{R}\)?
  5. If \(f:A\to[a,b]\) takes the value \(a\), can an extension whose range is contained in \((a,b)\) restrict to \(f\)? Explain.