Reading guide · Proof index

Continuous functions

Jiří Lebl, Basic Analysis I–II, version 6.3. Free author edition of this section. Selection and attribution · Notation.

L7.5.2: Metric continuity and preservation of sequence limits

Proof.

Suppose ff is continuous at c.c\text{.} Let {xn}n=1∞\{ x_n \}_{n=1}^\infty be a sequence in XX converging to c.c\text{.} Given ϵ>0,\epsilon > 0\text{,} there is a δ>0\delta > 0 such that dX(x,c)<δd_X(x,c) < \delta implies dY(f(x),f(c))<ϵ.d_Y\bigl(f(x),f(c)\bigr) < \epsilon\text{.} So take MM such that for all n≥M,n \geq M\text{,} we have dX(xn,c)<δ,d_X(x_n,c) < \delta\text{,} and then dY(f(xn),f(c))<ϵ.d_Y\bigl(f(x_n),f(c)\bigr) < \epsilon\text{.} Hence, {f(xn)}n=1∞\bigl\{ f(x_n) \bigr\}_{n=1}^\infty converges to f(c).f(c)\text{.}
On the other hand, suppose ff is not continuous at c.c\text{.} Then there exists an ϵ>0\epsilon > 0 such that for every n∈Nn \in \N there exists an xn∈X,x_n \in X\text{,} with dX(xn,c)<1 ⁣/ ⁣nd_X(x_n,c) < \nicefrac{1}{n} such that dY(f(xn),f(c))≥ϵ.d_Y\bigl(f(x_n),f(c)\bigr) \geq \epsilon\text{.} Then {xn}n=1∞\{ x_n \}_{n=1}^\infty converges to c,c\text{,} but {f(xn)}n=1∞\bigl\{ f(x_n) \bigr\}_{n=1}^\infty does not converge to f(c).f(c)\text{.}

L7.5.5: Continuous image of a compact set is compact

Proof.

A sequence in f(K)f(K) can be written as {f(xn)}n=1∞,\bigl\{ f(x_n) \bigr\}_{n=1}^\infty\text{,} where {xn}n=1∞\{ x_n \}_{n=1}^\infty is a sequence in K.K\text{.} The set KK is compact and therefore there is a subsequence {xnj}j=1∞\{ x_{n_j} \}_{j=1}^\infty that converges to some x∈K.x \in K\text{.} By continuity,
lim⁡j→∞f(xnj)=f(x)∈f(K).\begin{equation*} \lim_{j\to\infty} f(x_{n_j}) = f(x) \in f(K) . \end{equation*}
So every sequence in f(K)f(K) has a subsequence convergent to a point in f(K),f(K)\text{,} and f(K)f(K) is compact by Theorem 7.4.11.

L7.5.6: Continuous real functions on nonempty compact spaces attain both extrema

Proof.

As XX is compact and ff is continuous, f(X)⊂Rf(X) \subset \R is compact. Hence, f(X)f(X) is closed and bounded. In particular, sup⁡f(X)∈f(X)\sup f(X) \in f(X) and inf⁡f(X)∈f(X),\inf f(X) \in f(X)\text{,} because both the sup and the inf can be achieved by sequences in f(X)f(X) and f(X)f(X) is closed. Therefore, there is some x∈Xx \in X such that f(x)=sup⁡f(X)f(x) = \sup f(X) and some y∈Xy \in X such that f(y)=inf⁡f(X).f(y) = \inf f(X)\text{.}

L7.5.11: Continuous maps on compact spaces are uniformly continuous

Proof.

Let ϵ>0\epsilon > 0 be given. For each c∈X,c \in X\text{,} pick δc>0\delta_c > 0 such that dY(f(x),f(c))<ϵ ⁣/ ⁣2d_Y\bigl(f(x),f(c)\bigr) < \nicefrac{\epsilon}{2} whenever x∈B(c,δc).x \in B(c,\delta_c)\text{.} The balls B(c,δc)B(c,\delta_c) cover X,X\text{,} and the space XX is compact. Apply the Lebesgue covering lemma to obtain a δ>0\delta > 0 such that for every x∈X,x \in X\text{,} there is a c∈Xc \in X for which B(x,δ)⊂B(c,δc).B(x,\delta) \subset B(c,\delta_c)\text{.}
Suppose p,q∈Xp, q \in X where dX(p,q)<δ.d_X(p,q) < \delta\text{.} Find a c∈Xc \in X such that B(p,δ)⊂B(c,δc).B(p,\delta) \subset B(c,\delta_c)\text{.} Then q∈B(c,δc).q \in B(c,\delta_c)\text{.} By the triangle inequality and the definition of δc,\delta_c\text{,}
dY(f(p),f(q))≤dY(f(p),f(c))+dY(f(c),f(q))<ϵ ⁣/ ⁣2+ϵ ⁣/ ⁣2=ϵ.\begin{equation*} d_Y\bigl(f(p),f(q)\bigr) \leq d_Y\bigl(f(p),f(c)\bigr) + d_Y\bigl(f(c),f(q)\bigr) < \nicefrac{\epsilon}{2}+ \nicefrac{\epsilon}{2} = \epsilon . \qedhere \end{equation*}

L7.5.12: Continuity of a compact integral in one parameter.

Proof.

Fix y∈[c,d]y \in [c,d] and let ϵ>0\epsilon > 0 be given. As ff is continuous on [a,b]×[c,d],[a,b] \times [c,d]\text{,} which is compact, ff is uniformly continuous. In particular, there exists a δ>0\delta > 0 such that whenever z∈[c,d]z \in [c,d] and ∣z−y∣<δ,\sabs{z-y} < \delta\text{,} we have ∣f(x,z)−f(x,y)∣<ϵb−a\babs{f(x,z)-f(x,y)} < \frac{\epsilon}{b-a} for all x∈[a,b].x \in [a,b]\text{.} So suppose ∣z−y∣<δ.\sabs{z-y} < \delta\text{.} Then
∣g(z)−g(y)∣=∣∫abf(x,z) dx−∫abf(x,y) dx∣=∣∫ab(f(x,z)−f(x,y)) dx∣≤(b−a)ϵb−a=ϵ.\begin{gathered} \babs{ g(z)- g(y) } = \abs{ \int_a^b f(x,z) \,dx - \int_a^b f(x,y) \,dx } \\ = \abs{ \int_a^b \bigl( f(x,z) - f(x,y) \bigr) \,dx } \leq (b-a) \frac{\epsilon}{b-a} = \epsilon . \qedhere \end{gathered}