Chapter 07
Chapter 07
1. Continuous Functions
Definition 1.1. Let (X; ρ) and (Y ; η) be two metric spaces, f : X → Y a function
and x0 ∈ X.
• f is continuous at x0 if for all > 0 there exists δ > 0 such that, whenever x ∈ X
and ρ(x, x0 ) < δ then η(f (x), f (x0 )) < .
• f is continuous if f is continuous at all x0 ∈ X.
Remark 1.2. We may consider the ”more general” setting
f : D (⊆ X) → Y, x0 ∈ D,
with the following definition: f is continuous at x0 if for all > 0 there exists δ > 0
such that, whenever x ∈ D and ρ(x, x0 ) < δ, then η(f (x), f (x0 )) < .
But this is not more general than the definition provided before since it coincides
with the case when D is considered as a metric space with the metric ρ|D×D .
Fact 1.3. Let (X; ρ) and (Y ; η) be two metric spaces, f : X → Y a function, and
x0 ∈ X. TFAE:
(i) f is continuous at x0 .
(ii) For any > 0 there exists δ > 0 such that f (Bδ (x0 )) ⊆ B (f (x0 )).
(iii) For any U ∈ V(f (x0 )) there exists V ∈ V(x0 ) such that f (V ) ⊆ U .
(iv) For any open set U ⊆ Y such that f (x0 ) ∈ U there exists an open set V ⊆ X
such that x0 ∈ V and f (V ) ⊆ U .
Proof. Exercise.
The item (iv) from the previous statement shows that continuity is a purely topo-
logical concept and hence it enables us to obtain a general concept of continuity for
functions between topological spaces.
Definition 1.4. Let (X; T ) and (Y ; S) be topological spaces. Let f : X → Y be
a function and x0 ∈ X. Then, f is continuous at x0 if, for any U ∈ S such that
f (x0 ) ∈ U there exists V ∈ T such that x0 ∈ V and f (V ) ⊆ U .
In the following we consider two metric spaces (X; ρ) and (Y ; η), D ⊆ X a nonempty
set, and a function f : D → Y .
Fact 1.7. Let x0 ∈ D. Then:
(i) If x0 is isolated in D then f is continuous at x0 .
(ii) If x0 is an accumulation point for D then f is continuous at x0 if and only if
limx→x0 f (x) = f (x0 ).
Proof. Exercise.
Fact 1.8 (Sequential Characterization of Limits of Functions). Assume that x0 ∈ X
is an accumulation point for D and let and y0 ∈ Y . Then, the following assertions are
equivalent:
(i) limx→x0 f (x) = y0 .
(ii) For any sequence (xn )n≥1 , with xn ∈ D and xn 6= x0 for all n ∈ N and
limn→∞ xn = x0 , it follows that limn→∞ f (xn ) = y0 .
Proof. ”(i)⇒(ii)”. For any > 0 there exists δ > 0 such that, whenever x ∈
D \ {x0 } and ρ(x, x0 ) < δ then η(f (x), y0 ) < . Take (xn )n≥1 a sequence in D such
that xn 6= x0 for all n and limn→∞ xn = x0 . Then, there exists Nδ ∈ N such that,
for all n ∈ N, if n ≥ Nδ then ρ(xn , x0 ) < δ, hence η(f (xn ), y0 ) < . This means that
limn→∞ f (xn ) = y0 .
”(ii)⇐(i)” Assume that, for any sequence (xn )n≥1 with all elements in D \ {x0 } and
limn→∞ xn = x0 we have limn→∞ f (xn ) = y0 . By contradiction, let us assume that f (x)
does not converge to y0 as x approaches x0 . Then, there exists 0 > 0 such that, for
any δ > 0 there exists x ∈ D \ {x0 } with ρ(x, x0 ) < δ and η(f (x), y0 ) ≥ 0 . For any
n ∈ N, take δ = n1 > 0 hence, there exists xn ∈ D \ {x0 } with ρ(xn , x0 ) < δ = n1 and
ρ
η(f (xn ), y0 ) ≥ 0 . This means that xn −−−→ x0 but f (xn ) does not converge to y0 with
n→∞
respect to η.
Proof. Firstly, since x0 is an accumulation point for the domain of g◦f , the limit in
(1.1) makes sense. Then, in order to prove (1.1), we use the sequential characterization
of limits, so let (xn )n be an arbitrary sequence in f −1 (G) \ {x0 } that converges to
η
x0 , hence the sequence f (xn ) →− y0 ∈ G. Since g is continuous at y0 it follows that
n
θ θ
g(f (xn )) →
− g(y0 ), that is, (g ◦ f )(xn )) →
− g(y0 ). By the sequential characterization of
n n
limits, we conclude that (1.1) holds true.
Fact 1.12 (Functions Between Euclidean Spaces). Let D ⊆ Rp and f : D → Rq
be a function, hence f (x) = (f1 (x), . . . , fq (x)) for all x ∈ D, where fj : D → R is a
function for all j = 1, . . . , q.
(i) Let x0 ∈ D0 , i.e. x0 is an accumulation point for D, and let y (0) ∈ Rq , hence
(0) (0)
y (0) = y1 , . . . , yq ∈ Rq . Then,
(0)
lim f (x) = y (0) if and only if, for all j = 1, . . . , q, lim fj (x) = yj .
x→x0 x→x0
Then, for any > 0 there exists δj > 0 such that, for any x ∈ D\{x0 }, if kx−x0 k∞ < δj
(0)
then |fj (x) − yj | < . Take δ := min{δ1 , . . . , δq } > 0. Then, for any j = 1, . . . , q, if
(0)
kx − x0 k∞ < δ ≤ δj then |fj (x) − yj | < hence
(0)
kf (x) − y (0) k∞ = max |fj (x) − yj | < .
j=1,...,q
Proof. Let {Ui | i ∈ J } be an open (in Y ) covering of f (K), that is: for all i ∈ J ,
the set Ui is open in Y and
[
f (K) ⊆ Ui .
i∈J
−1
Then, for all i ∈ J , f (Ui ) is open in X and
[ [
K ⊆ f −1 (f (K)) ⊆ f −1 ( Ui ) = f −1 (Ui ),
i∈J i∈J
pullback commutes with all set operations
hence {f −1 (Ui )|i ∈ J } is an open covering of K.
Since K is compact, there exists i1 , . . . , in ∈ J such that
n
[ n
[
−1 −1
K⊆ f (Uik ) = f ( Uik ),
k=1 k=1 (heine borell definition of compactness
union of pullbacks for any open cover we get a finite subcover)
hence
n
[ n
[
−1
f (K) ⊆ f (f ( Uik )) ⊆ Uik ,
pushforward of the pulback k=1 k=1
hence {Uik | k = 1, . . . , n} is a finite subcover. smaller then original set
Corollary 2.5. Let f : X → R be a continuous function and K compact and
nonempty set in X. Then, f is bounded on K, i.e. f (K) is bounded in R, and the
extreme values of f on K are attained, i.e. there exists xm , xM ∈ K such that
f (xm ) = inf f, f (xM ) = sup f.
K K
Proof. f (K) is compact in R, hence closed and bounded. Since f (K) bounded
⇒, we have inf K f, supK f ∈ R. But, inf K f ∈ f (K) = f (K), hence, there exists
xm ∈ K such that inf K f = f (xm ). Similarly, supK f ∈ f (K) = f (K), hence there
exists xM ∈ K such that supK f = f (xM ).
Corollary 2.6. Let f : X → Rq be a continuous function. Then, for any K
nonempty and compact subset of X, there exists xm , xM ∈ K such that
kf (xm )k = inf kf k, kf (xM )k = sup kf k.
K K
3. Uniform Continuity
Proof. Let > 0. Since f is continuous on X, for all x ∈ X there exists δx > 0
such that, for all z ∈ X with ρ(x, z) < δx we have η(f (x), f (z)) < /2.
Since {Bδx /2 (x)|x ∈ X} is an open covering of X, which is compact, it follows that
there exist x1 , . . . , xn ∈ X such that
n
[
X⊆ Bδxi /2 (xi ).
i=1
δxi
Let δ := min{ 2
|i = 1, . . . , n} > 0 and let x, z ∈ X such that ρ(x, z) < δ. Then
δxj
there exists j ∈ {1, . . . , n} such that x ∈ Bδxj /2 (xj ) i.e. ρ(x, xj ) < 2
. Then,
δx j δx δx
ρ(z, xj ) ≤ ρ(z, x) + ρ(x, xj ) < δ + ≤ j + j = δxj ,
2 2 2
hence η(f (x), f (xj )) < 2
and η(f (z), f (xj )) < 2 . Then
η(f (x), f (z)) ≤ η(f (x), f (xj )) + η(f (z), f (xj )) < .
Theorem 3.3. Let (X; ρ) be a compact metric space, (Y ; η) be a complete metric
space, ∅ =
6 D ⊆ X and f : D → Y a function. TFAE:
(i) f is uniformly continuous on D.
(ii) There exists f : D → Y such that f |D = f and f is continuous on D.
We show that the definition of f is correct. To this end, we use the interlacing
ρ
method: If (xn )n≥1 is a sequence in D such that xn → − x and (zn )n≥1 is another
n
ρ
sequence in D such that zn →
− x, then the sequence (tn )n≥1 defined by
n
x n2 , if n = 2k
tn =
z n−1 , if n = 2k + 1
2
ρ η η η
is a sequence in D and tn →
− x. Then f (xn ) →
− yx , f (zn ) →
− zx , f (tn ) →
− tx . Since
n n n n
(f (xn ))n≥1 and (f (zn ))n≥1 are subsequences of (f (tn ))n≥1 , it follows that yx = tx = zx .
We show that f is continuous on D. To this end, we use the sequential characteri-
ρ
zation of continuity. Let x ∈ D and (xn )n≥1 a sequence in D such that xn →
− x. Then,
n
after a moment of thought we see that, for all n ≥ 1 there exists xn ∈ D such that
ρ(xn , xn ) < n1 and η(f (xn ), f (xn )) < n1 . Consequently,
1
ρ(xn , x) ≤ ρ(xn , xn ) + ρ(xn , x) < + ρ(xn , x) →
− 0,
n n
ρ η
hence xn →
− x and then, by the definition of f , we have f (xn ) →
− f (x), and then
n n
1
η(f (xn ), f (x)) ≤ η(f (xn ), f (xn )) + η(f (xn ), f (x)) < + η(f (xn ), f (x)) →
− 0
n n
η
hence f (xn ) →
− f (x).
n
Proof. The statement follows from the observation that in the proof of the impli-
cation (i)⇒(ii) of the previous theorem, we do not use the compactness of the metric
space (X; ρ) at all.
Let X be a nonempty set and (Y ; η) a metric space. We consider sequences (fn )n≥1
of functions such that fn : X → Y for all n ∈ N.
Definition 4.1. (fn )n≥1 converges pointwise to f : X → Y if, for all x ∈ X and
for all > 0 there exists N ∈ N such that, for all n ≥ N we have η(f (x), fn (x)) < ,
i.e. for all x ∈ X, (fn (x))n≥1 converges to f (x) in Y with respect to η.
(fn )n≥1 converges uniformly to f : X → Y if for all > 0 there exists N ∈ N such
that for all n ≥ N and for all x ∈ X we have η(f (x), fn (x)) < .
176 7. CONTINUOUS FUNCTIONS IN EUCLIDEAN SPACES
Fact 4.2. (1) If there exists (αn )n≥1 such that αn ≥ 0 for all n ∈ N and αn →
− 0
n
unif.
and η(f (x), fn (x)) ≤ αn for all n ∈ N and ∀x ∈ X, then fn −−→ f .
n
(2) If (X; ρ) and (Y ; η) are metric spaces and we have a sequence of continuous
unif.
functions fn : X → Y , n ∈ N and a function f : X → Y such that fn −−→ f , then f is
n
continuous on X.
Proof. Let x0 ∈ X and > 0. There exists N ∈ N such that for all n ≥ N and
all x ∈ X
η(fn (x), f (x)) < .
3
fN is continuous at x0 , so there exists δ > 0 such that for all x ∈ X, ρ(x, x0 ) < δ
implies η(fN (x), fN (x0 )) < 3 . Then for all x ∈ X, if ρ(x, x0 ) < δ then
η(f (x), f (x0 )) ≤ η(f (x), fN (x)) + η(fN (x), fN (x0 )) + η(fN (x0 ), f (x0 ))
< + + = .
3 3 3
Example 4.3. (1) Let B1 (0) be the open unit ball in Rd and let the sequence of
functions fn : B1 (0) → R be defined by fn (x) = kxkn2 . Let
0, x ∈ B1 (0),
f (x) =
1, x ∈ ∂B1 (0).
pointwise
Then fn −−−−−→ f but not uniformly.
n
(2) Consider B1 (0) ∈ R2 , the sequence of functions fn : B1 (0) → R2 defined by
2
x1 − nx22
nx1
fn (x1 , x2 ) = ,
1 + nx22 1 + nx21
and the function f : B1 (0) → R2 defined by
(−1, x11 ),
x1 6 0, x2
= 6 0,
=
(−1, 0), x1 = 0, x2 6= 0,
f (x) = 2 1
(x , ), x1 6= 0, x2 = 0,
1 x1
(0, 0), x1 = 0, x2 = 0.
pointwise
Then fn −−−−−→ f but not uniformly.
n
and then
(∗ ∗ ∗) sup kf (x) − fn (x)k ≤ < .
x∈X 2
Proof. This follows from the previous fact, the observation that convergence
(Cauchy) with respect to the norm k · kX is the same with uniform convergence
(Cauchy), and the fact that, if (fn )n is a sequence of continuous functions that con-
verges to a function f then the function f is continuous.
Definition 4.10. Let ∅ 6= X be a set, let (V, k · kV ) be a normed space and let
(fn )n≥1 be a sequence of functions fn : X → V .
A formal sum ∞
P
n=1 fn is called a series of functions on X and valued in V . Letting,
for all n ∈ N,
X n
sn = fn ,
k=1
5. Exercises
11. Let ∅ =
6 X be a set, let (V, k · kV ) be a complete normed space and let (fn )n≥1
be a sequence of functions fn : X → V . Show that:
(1) If ∞
P
n=1 fn absolutely converges then it converges. P∞
(2) (Weierstraß Test) If kf n (x)k ≤ α n for all x ∈ X, n ∈ N, and n=1 αn < +∞
then ∞
P
n=1 f n converges absolutely and uniformly.
12. Let X 6= ∅ and let (V, k · k) be a normed space.
B(X; V ) := {f : X → V | f is a bounded function} .
For all f ∈ B(X; V ), let kf kX := supkf (x)k. Show that B(X; V ) is a vector space and
x∈X
k · kX is a norm, called the supremum norm on X.
13. Investigate the uniform convergence of the sequences
1 t t t
xn (t) = ( , ), yn (t) = ( , ), n ∈ N,
1 + nt n 1 + nt n
on [0, 1].
14. Given f : R2 → R2 defined by
f (x, y) = (x + 1, y − 1),
k·k
find kf kD := supD kf k2 , where D = B1 2 (0).