← All writing

Mathematical Analysis VI (3)

Continuous Functions on Metric Spaces

Parts: 1 · 2 · 3

Continuous Functions on Metric Spaces

2.1.1 (Continuous functions)

Let (X,dX)(X, d_X ) be a metric space, and let (Y,dY)(Y, d_Y ) be another metric space, and let f:X→Yf : X → Y be a function. If x0∈Xx_0 ∈ X, we say that ff is continuous at x0x_0 iff for every ε>0ε > 0, there exists a δ>0δ > 0 such that dY(f(x),f(x0))<εd_Y( f (x), f (x_0)) < ε whenever dX(x,x0)<δd_X (x, x_0)<δ. We say that ff is continuous iff it is continuous at every point x∈Xx ∈ X.

Theorem 2.1.4 (Continuity preserves convergence)

Suppose that (X,dX)(X, d_X ) and (Y,dY)(Y, d_Y) are metric spaces. Let f:X→Yf : X → Y be a function, and let x0∈Xx_0 ∈ X be a point in XX. Then the following three statements are logically equivalent:

(a) ff is continuous at x0x_0.

(b) Whenever (x(n))n=1∞(x^{(n)})_{n=1}^{\infin} is a sequence in XX which converges to x0x_0 with respect to the metric dXd_X , the sequence (f(x(n)))n=1∞(f(x^{(n)}))_{n=1}^{\infin} converges to f(x0)f(x_0) with respect to the metric dYd_Y.

(c) For every open set V⊆YV ⊆ Y that contains f(x0)f(x_0), there exists an open set U⊆XU ⊆ X containing x0x_0 such that f(U)⊆Vf (U) ⊆ V .

Proof:

(a) implies (c):

Since UU is open, x0x_0 is an interior point of UU. Thus B(f(x0),r)⊆VB(f(x_0),r) \sube V. Fix this rr, we have d(f(x0),f(x))<rd(f(x_0), f(x)) < r whenever d(x0,x)<δd(x_0, x) < \delta by the definition of continuity. This means B(x0,δ)⊆XB(x_0, \delta)\sube X is an open set and f(B(x0,δ))⊆Vf(B(x_0, \delta)) \sube V. Done.

(c) implies (b):

For any sequence (x(n))n=1∞(x^{(n)})_{n = 1}^{\infin} in XX which converges to x0x_0. For every ϵ\epsilon we take a ball B(f(x0),ϵ)B(f(x_0), \epsilon) in YY and use (c) since it's open, then there exists an open set U⊆XU \sube X containing x0x_0 and f(U)⊆B(f(x0),ϵ)f(U) \sube B(f(x_0), \epsilon). Since UU is an open set in XX. We have B(x0,δ)⊆UB(x_0, \delta) \sube U for some δ\delta. This means for every ϵ\epsilon we have d(f(x0),f(x))<ϵd(f(x_0),f(x)) < \epsilon whenever d(x0,x)<δd(x_0, x) < \delta. Done.

(b) implies (a):

If ff is not continuous at x0x_0. There exists ϵ>0,∀δ>0\epsilon > 0,\forall \delta >0 for x∈B(x0,δ)x \in B(x_0, \delta) we have d(f(x0),f(x))≥ϵd(f(x_0), f(x)) \ge \epsilon. We set δ=1n\delta = \frac 1n and construct xn∈B(x0,1n)x_n \in B(x_0, \frac 1n) by axiom of choice. Clearly that this sequence is convergent to x0x_0. By (b) we have f(xn)f(x_n) is convergent to f(x0)f(x_0) which leads to a contradiction. Done.

Theorem 2.1.5

Let (X,dX)(X, d_X ) be a metric space, and let (Y,dY)(Y, d_Y ) be another metric space. Let f:X→Yf : X → Y be a function. Then the following four statements are equivalent:

(a) ff is continuous.

(b) Whenever (x(n))n=1∞(x^{(n)})_{n=1}^{\infin} is a sequence in XX which converges to some point x0∈Xx_0 ∈ X with respect to the metric dXd_X , the sequence (f(x(n)))n=1∞(f(x^{(n)}))_{n=1}^{\infin} converges to f(x0)f(x_0) with respect to the metric dYd_Y.

(c) Whenever VV is an open set in YY , the set f−1(V):={x∈X:f(x)∈V}f^{−1}(V) := \{x ∈ X : f (x) ∈ V\} is an open set in XX.

(d) Whenever FF is a closed set in YY , the set f−1(F):={x∈X:f(x)∈F}f^{−1}(F) := \{x ∈ X : f (x) ∈ F\} is a closed set in XX.

Proof:

(a) and (b) directly follow from Theorem 2.1.4

(a) implies (c):

For any open set V⊆YV \sube Y, take any x0∈f−1(V)x_0 \in f^{-1}(V). Since ff is continuous, we have d(f(x0),f(x))<ϵd(f(x_0), f(x)) <\epsilon whenever d(x0,x)<δd(x_0,x)<\delta. Since f(x0)f(x_0) is an interior point of VV. We can let r=ϵr = \epsilon, then we have B(f(x0),ϵ)⊆VB(f(x_0),\epsilon) \sube V which means ∀x∈B(x0,δ)\forall x \in B(x_0, \delta), B(x0,δ)⊆f−1(V)B(x_0, \delta) \sube f^{-1}(V). This implies x0x_0 is an interior point of f−1(V)f^{-1}(V). Done.

(c) implies (a):

We need to show ff is continuous at any point x0∈Xx_0 \in X. For every ϵ>0\epsilon >0, since B(f(x0),ϵ)B(f(x_0),\epsilon) is an open set, there exists an open set f−1(B(f(x0),ϵ))⊆Xf^{-1}(B(f(x_0), \epsilon)) \sube X. Since x0∈f−1(B(f(x0),ϵ))x_0 \in f^{-1}(B(f(x_0), \epsilon)), we have B(x0,δ)⊆f−1(B(f(x0),ϵ))B(x_0, \delta) \sube f^{-1}(B(f(x_0), \epsilon)). This is actually the definition of continuity.

(c) implies (d):

Since FF is closed, then F\YF \backslash Y is open. By (c), we know that f−1(F\Y)f^{-1}(F \backslash Y) is also an open set. Now we show that (f−1(F\Y))\X(f^{-1}(F \backslash Y) )\backslash X is closed.

∀x∈(f−1(F\Y))\X\forall x \in (f^{-1}(F \backslash Y) )\backslash X, we have x∉f−1(F\Y)x \notin f^{-1}(F \backslash Y) which means f(x)∉F\Yf(x) \notin F \backslash Y. So f(x)∈Ff(x) \in F and x∈f−1(F)x \in f^{-1}(F) and (f−1(F\Y))\X⊆f−1(F)(f^{-1}(F \backslash Y) )\backslash X \sube f^{-1}(F).

On the other hand ∀x∈f−1(F)\forall x \in f^{-1}(F) , we have f(x)∈Ff(x) \in F and f(x)∉F\Yf(x) \notin F \backslash Y. So x∉f−1(F\Y)x \notin f^{-1}(F \backslash Y) thus x∈(f−1(F\Y))\Xx \in (f^{-1}(F \backslash Y) )\backslash X. And f−1(F)⊆(f−1(F\Y))\Xf^{-1}(F) \sube (f^{-1}(F \backslash Y) )\backslash X. Done.

According to description, we show that f−1(F)=(f−1(F\Y))\Xf^{-1}(F) =(f^{-1}(F \backslash Y) )\backslash X which is closed.

(d) implies (c):

Almost the same as discussion above.

Corollary 2.1.7 Continuity preserved by composition

Let (X,dX),(Y,dY)(X, d_X ), (Y, d_Y ), and (Z,dZ)(Z, d_Z) be metric spaces.

(a) If f:X→Yf : X → Y is continuous at a point x0∈Xx_0 ∈ X, and g:Y→Zg : Y → Z is continuous at f(x0)f(x_0), then the composition g◦f:X→Zg ◦ f : X → Z, defined by g◦f(x):=g(f(x))g ◦ f (x) := g( f (x)), is continuous at x0x_0.

(b) If f:X→Yf : X → Y is continuous, and g:Y→Zg : Y → Z is continuous, then g◦f:X→Zg ◦ f : X → Z is also continuous.

Proof:

We prove (a), (b) can directly follow form (a) since use (a) at all points in XX.

Since ff is continuous at x0∈Xx_0 \in X, for every ϵ>0\epsilon > 0 we have d(f(x0),f(x))<ϵd(f(x_0), f(x)) < \epsilon whenever d(x0,x)<δd(x_0, x) < \delta. And by the continuity of gg we know that d(g(f(x0)),g(y))<ϵ′d(g(f(x_0)), g(y)) < \epsilon' when every d(f(x0),y)<δ′d(f(x_0), y) < \delta'. Combine these two and let ϵ=δ′\epsilon = \delta' we can get what we desired.

2.2 Continuity and Product Spaces

Function pairing

Given two functions f:X→Yf : X → Y and g:X→Zg : X → Z, one can define their pairing (f,g):X→Y×Z(f, g): X → Y × Z defined by (f,g)(x):=(f(x),g(x))(f, g)(x) := (f (x), g(x)), i.e., this is the function taking values in the Cartesian product Y×ZY × Z whose first coordinate is f(x)f(x) and whose second coordinate is g(x)g(x) (cf. Exercise 3.5.7).

Lemma 2.2.1

Let f:X→Rf : X → R and g:X→Rg : X → R be functions, and let (f,g):X→R2(f, g): X → \R^2 be their direct sum. We give R2\R^2 the Euclidean metric.

(a) If x0∈Xx_0 ∈ X, then ff and g are both continuous at x0x_0 if and only if (f,g)(f, g) is continuous at x0x_0.

(b) ff and gg are both continuous if and only if (f,g)(f, g) is continuous.

Proof:

(a):

If ff and gg are both continuous at x0x_0, d(f(x0),f(x))<ϵd(f(x_0), f(x)) < \epsilon and d(g(x0),g(x))<ϵd(g(x_0),g(x))<\epsilon. Then

d((f(x0),g(x0),(f(x),g(x)))=(f(x0)−f(x))2+(g(x0)−g(x))2≤(f(x0),f(x))2+(g(x0),g(x))2<2ϵd((f(x_0), g(x_0),(f(x),g(x))) = \sqrt {(f(x_0)-f(x))^2 + (g(x_0)-g(x))^2}\\ \le \sqrt{(f(x_0), f(x))^2} + \sqrt{(g(x_0), g(x))^2}< 2\epsilon

Done.

If (f,g)( f, g) is continuous at x0x_0 we know that (f(x0)−f(x))2+(g(x0)−g(x))2≤ϵ\sqrt {(f(x_0)-f(x))^2 + (g(x_0)-g(x))^2} \le \epsilon. This means

(f(x0)−f(x))2≤(f(x0)−f(x))2+(g(x0)−g(x))2≤ϵ(g(x0)−g(x))2≤(f(x0)−f(x))2+(g(x0)−g(x))2≤ϵ\sqrt {(f(x_0)-f(x))^2}\le\sqrt {(f(x_0)-f(x))^2 + (g(x_0)-g(x))^2} \le \epsilon\\ \sqrt {(g(x_0)-g(x))^2}\le\sqrt {(f(x_0)-f(x))^2 + (g(x_0)-g(x))^2} \le \epsilon

(b): Use (a) for all points in XX we get what we desired.

Lemma 2.2.2

The addition function (x,y)↦x+y(x, y) \mapsto x + y, the subtraction function (x,y)↦x−y(x, y) \mapsto x − y, the multiplication function (x,y)↦xy(x, y) \mapsto xy, the maximum function (x,y)↦max⁡(x,y)(x, y) \mapsto \max(x, y), and the minimum function (x,y)↦min⁡(x,y)(x, y) \mapsto \min(x, y) are all continuous functions from R2\R^2 to R\R. The division function (x,y)↦x/y(x, y) \mapsto x/y is a continuous function from R×(R\{0})=(x,y)∈R2:y≠0\R × (\R\backslash\{0\}) = {(x, y) ∈ \R^2 : y \not= 0} to R\R. For any real number cc, the function x↦cxx \mapsto cx is a continuous function from R\R to R\R.

Proof:

For any sequence xnx_n and yny_n which converge to x∈Xx \in X and y∈Yy \in Y respectively. By 1.1.18 (d) we know that (xn,yn)(x_n, y_n) is also convergent to (x,y)(x, y). Then

lim⁡n→∞f((xn,yn))=lim⁡n→∞(xn+yn)=x+y\lim_{n \rarr \infin} f((x_n,y_n)) = \lim_{n \rarr \infin} (x_n + y_n) = x+y

By Theorem 2.1.5 (b) we get ff is continuous at (x,y)(x,y). Done.

The rest of part can be proven in a very similar way.

Corollary 2.2.3 (Nice) (Solve my long term problem)

Let (X,d)(X, d) be a metric space, and let f:X→Rf : X → R and g:X→Rg : X → R be functions. Let cc be a real number.

(a) If x0∈Xx_0 ∈ X and ff and gg are continuous at x0x_0, then the functions f+g:X→Rf + g : X → R,f−g:X→R,fg:X→R,max(f,g):X→R,min(f,g):X→R f − g : X → R, fg : X → R, max( f, g) : X → R, min( f, g) : X → R, and cf:X→Rcf : X → R are also continuous at x0x_0. If g(x)=0g(x) = 0 for all x∈Xx ∈ X, then f/g:X→Rf/g : X → R is also continuous.

(b) If ff and g are continuous, then the functions f+g:X→R,f−g:X→R,fg:X→R,max(f,g):X→R,min(f,g):X→Rf + g : X → R, f − g : X → R, f g : X → R, max( f, g) : X → R, min( f, g) : X → R, and cf:X→Rcf : X → R are also continuous at x0x_0. If g(x)=0g(x) = 0 for all x∈Xx ∈ X, then f/g:X→Rf/g : X → R is also continuous at x0x_0.

Proof:

Use Lemma 2.2.1 and Lemma 2.2.2 and Corollary 2.1.7

2.3 Continuity and Compactness

(Continuous maps preserve compactness) (Essential)

Let f:X→Yf : X → Y be a continuous map from one metric space (X,dX)(X, d_X) to another (Y,dY)(Y, d_Y ). Let K⊆XK ⊆ X be any compact subset of XX. Then the image f(K):={f(x):x∈K}f(K) := \{ f (x) : x ∈ K\} of KK is also compact.

Proof:

For any sequence {y(n)}n=1∞\{y^{(n)}\}_{n = 1}^\infin in f(K)f(K), we can construct such set Sn={x∈K:f(x)=yn}S_n = \{x\in K:f(x) = y_n\} for every nn. Since these sets are not empty, by axiom of choice, we let xn∈Snx_n \in S_n. Then sequence {x(n)}n=1∞\{x^{(n)}\}_{n = 1}^\infin in KK and has a convergent subsequence by compactness of KK. This implies {y(n)}n=1∞\{y^{(n)}\}_{n = 1}^\infin also has convergent subsequence by Theorem 2.1.5 (c). Done.

Congratulations!

Proposition 2.3.2 (Maximum principle) (See 9.6.7)

Let (X,d)(X, d) be a compact metric space, and let f:X→Rf : X → R be a continuous function. Then ff is bounded. Furthermore, if XX is non-empty, then ff attains its maximum at some point xmax∈Xx_{max} ∈ X and also attains its minimum at some point xmin∈Xx_{min} ∈ X.

Proof:

Since XX is compact and ff is continuous, by Theorem 2.3.1 we have f(X)f(X) is compact thus bounded and closed. Let M=sup⁡xf(x)M = \sup_x f(x). Then by the least upper bound property, we have M−1n<f(xn)≤MM - \frac 1n<f(x_n) \le M for some f(xn)∈f(X)f(x_n)\in f(X) for all nn since XX is not empty. We use this to construct sequence {f(xn)}\{f(x_n)\}. Since closed and {f(xn)}\{f(x_n)\} converges to MM we have M∈f(X)M \in f(X) which means xmax∈Xx_{max} \in X. Minimum is similar. Done.

Definition 2.3.4 (Uniform continuity)

Let f:X→Yf : X → Y be a map from one metric space (X,dX)(X, d_X) to another (Y,dY)(Y, d_Y). We say that ff is uniformly continuous if, for every ε>0ε > 0, there exists a δ>0δ > 0 such that dY(f(x),f(x′))<εd_Y ( f (x), f (x')) < ε whenever x,x′∈Xx, x' ∈ X are such that dX(x,x′)<δd_X (x, x')<δ.

Theorem 2.3.5 (See 9.9.2)

Let (X,dX)(X, d_X ) and (Y,dY)(Y, d_Y ) be metric spaces, and suppose that (X,dX)(X, d_X) is compact. If f:X→Yf : X → Y is function, then ff is continuous if and only if it is uniformly continuous.

Proof:

Use open cover.

2.4 Continuity and Connectedness

Definition 2.4.1 Connected spaces

Let (X,d)(X, d) be a metric space. We say that XX is disconnected iff there exist disjoint non-empty open sets VV and WW in XX such that V∪W=XV ∪ W = X. (Equivalently, XX is disconnected if and only if XX contains a non-empty proper subset which is simultaneously closed and open.) We say that XX is connected iff it is non-empty and not disconnected.

2.4.3 (Connected sets)

Let (X,d)(X, d) be a metric space, and let YY be a subset of XX. We say that YY is connected iff the metric space (Y,d∣Y×Y)(Y, d|_{Y×Y}) is connected, and we say that YY is disconnected iff the metric space (Y,d∣Y×Y)(Y, d|_{Y×Y}) is disconnected.

NOTE: This definition is intrinsic; whether a set Y is connected or not depends only on what the metric is doing on YY, but not on what ambient space XX one placing YY in.

Theorem 2.4.5

Let XX be a non-empty subset of the real line R\R. Then the following statements are equivalent.

(a) XX is connected.

(b) Whenever x,y∈Xx, y ∈ X and x<yx < y, the interval [x,y][x, y] is also contained in XX.

(c) XX is an interval.

Proof:

First we show that (c) implies (b). This is obvious by the definition of interval. Because for any two points x<y∈Xx<y \in X if [x,y][x, y] is not contained in XX there is a point z∈[x,y]z \in [x, y] but z∉Xz \notin X. This contradict to the definition (see 9.1.1).

On the other hand, let m=inf⁡X,M=sup⁡X m=\inf X , M = \sup X and m,M∈R∗m,M \in \R^*, then XX can be one of (m,M),[m,M),[m,M],(m,M](m,M),[m,M),[m,M],(m,M]. First we show the cast (m,M)(m, M) which implies m,M∉Xm,M \notin X.

For any x∈(m,M)x \in (m, M), we have m<x<Mm< x< M since m,M∉Xm, M\notin X. So there exist a,b∈Xa, b \in X and m<a<x<b<Mm < a<x<b<M. Use (b) we now that [a,b]⊆X[a,b] \sube X, then x∈Xx \in X. We get (m,M)⊆X(m, M) \sube X.

For any x∈Xx \in X, we have m<x<Mm< x< M, so x∈(m,M)x \in (m, M) by the definition 9.1.1. Done.

For the m∈Xm \in X or M∈XM \in X case, we just let a=ma = m or b=Mb = M respectively. The proof above still holds.

Theorem 2.4.6 (Continuity preserves connectedness)

Let f:X→Yf : X → Y be a continuous map from one metric space (X,dX)(X, d_X) to another (Y,dY)(Y, d_Y). Let EE be any connected subset of XX. Then f(E)f(E) is also connected.

Proof:

If f(E)f(E) is disconnected, then there exist two open sets VV and WW such that V∪W=f(E)V \cup W = f(E). Since ff is continuous, by Theorem 2.1.5 (c) we know that f−1(V)f^{-1}(V) and f−1(W)f^{-1}(W) are all open sets.

∀x∈E,f(x)∈f(E)\forall x \in E, f(x) \in f(E). So either f(x)∈Vf(x) \in V or f(x)∈Wf(x) \in W but not both. So either x∈f−1(V)x \in f^{-1}(V) or x∈f−1(W)x \in f^{-1}(W) but not both (by contradiction). So E⊆f−1(V)∪f−1(W)E \sube f^{-1}(V) \cup f^{-1}(W).

Then we show that f−1(V)f^{-1}(V) and f−1(W)f^{-1}(W) are disjoint. If x∈f−1(V)∩f−1(W)x \in f^{-1}(V) \cap f^{-1}(W) , we know f(x)∈Vf(x) \in V and f(x)∈Wf(x) \in W which is contradiction.

Since f−1(V)={x∈E:f(x)∈V}f^{-1}(V) = \{x \in E:f(x) \in V\} and f−1(W)={x∈E:f(x)∈W}f^{-1}(W) = \{x \in E:f(x) \in W\}, it is obviously that E⊇f−1(V)∪f−1(W)E \supe f^{-1}(V) \cup f^{-1}(W).

So E=f−1(V)∪f−1(W)E= f^{-1}(V) \cup f^{-1}(W) which means EE is disconnected. Done.

Corollary 2.4.7 (Intermediate value theorem) (Congratulations!!)

Let f:X→Rf : X →\R be a continuous map from one metric space (X,dX)(X, d_X) to the real line. Let EE be any connected subset of XX, and let a,ba, b be any two elements of EE. Let yy be a real number between f(a)f(a) and f(b)f(b),i.e., either f(a)≤y≤f(b)f (a) ≤ y ≤ f (b) or f(a)≥y≥f(b)f (a) ≥ y ≥ f (b). Then there exists c∈Ec ∈ E such that f(c)=yf(c) = y.

Proof:

Since EE is connected, we have f(E)⊆Rf(E) \sube \R is also connected by Theorem 2.4.5. Then whenever f(a),f(b)∈f(E)f(a), f(b) \in f(E), we have [f(a),f(b)]⊆f(E)[f(a), f(b)] \sube f(E) or [f(b),f(a)]⊆E[f(b), f(a)]\sube E. Done.

Nice Congratulations


← Previous

← Back to ArchiveBack to top ↑

Comments

No approved comments yet.

Your display name and plain-text comment become public only after owner approval. No account or email is required.