logo

The Composition of Continuous Functions in Metric Spaces Preserves Continuity 📂MetricSpace

The Composition of Continuous Functions in Metric Spaces Preserves Continuity

Theorem

Let there be three metric spaces (X,dX)(X,d_{X}), (Y,dY)(Y,d_{Y}), (Z,dZ)(Z,d_{Z}). Assume that EXE\subset X and there are two functions f:EYf:E\to Y, g:f(E)Zg:f(E) \to Z. Also, let h:EZh : E \to Z defined in EE be as follows.

h(x)=g(f(x))xE h(x) = g(f(x))\quad \forall x \in E

If ff is continuous at pEp\in E and gg is continuous at f(p)f(E)f(p)\in f(E), then hh is also continuous at pp. Here, hh is called the composition of ff and gg and is expressed as h=gfh=g\circ f.

Proof

Let any positive number ε>0\varepsilon>0 be given. Assuming that gg is continuous at f(p)f(p), for ε\varepsilon

yf(E)anddY(y,f(p))<δ    dZ(g(y),g(f(p)))<ε y\in f(E) \quad \text{and} \quad d_{Y}(y,f(p)) < \delta \implies d_{Z}(g(y),g(f(p))) <\varepsilon

there exists a positive number δ>0\delta >0. Then, assuming that ff is continuous at pp, for such δ\delta

xEanddX(x,p)<η    dY(f(x),f(p))<δ x \in E \quad \text{and} \quad d_{X}(x,p) <\eta \implies d_{Y}(f(x),f(p))<\delta

there exists a positive number η>0\eta>0. Therefore, for any positive number ε\varepsilon

xEanddX(x,p)<η    dz(h(x),h(p))=dz(g(f(x)),g(f(p)))<ε x\in E \quad \text{and} \quad d_{X}(x,p) <\eta \implies d_{z}(h(x),h(p))=d_{z}(g(f(x)),g(f(p)))< \varepsilon

there exists η>0\eta>0 such that hh is continuous at pp by the definition of continuity.