Let (X,dX) be a metric space, and let (Y,dY) be another metric space, and let f:X→Y be a function. If x0∈X, we say that f is continuous at x0 iff for every ε>0, there exists a δ>0 such that dY(f(x),f(x0))<ε whenever dX(x,x0)<δ. We say that f is continuous iff it is continuous at every point x∈X.
Theorem 2.1.4 (Continuity preserves convergence)
Suppose that (X,dX) and (Y,dY) are metric spaces. Let f:X→Y be a function, and let x0∈X be a point in X. Then the following three statements are logically equivalent:
(a) f is continuous at x0.
(b) Whenever (x(n))n=1∞ is a sequence in X which converges to x0 with respect to the metric dX , the sequence (f(x(n)))n=1∞ converges to f(x0) with respect to the metric dY.
(c) For every open set V⊆Y that contains f(x0), there exists an open set U⊆X containing x0 such that f(U)⊆V .
Proof:
(a) implies (c):
Since U is open, x0 is an interior point of U. Thus B(f(x0),r)⊆V. Fix this r, we have d(f(x0),f(x))<r whenever d(x0,x)<δ by the definition of continuity. This means B(x0,δ)⊆X is an open set and f(B(x0,δ))⊆V. Done.
(c) implies (b):
For any sequence (x(n))n=1∞ in X which converges to x0. For every ϵ we take a ball B(f(x0),ϵ) in Y and use (c) since it's open, then there exists an open set U⊆X containing x0 and f(U)⊆B(f(x0),ϵ). Since U is an open set in X. We have B(x0,δ)⊆U for some δ. This means for every ϵ we have d(f(x0),f(x))<ϵ whenever d(x0,x)<δ. Done.
(b) implies (a):
If f is not continuous at x0. There exists ϵ>0,∀δ>0 for x∈B(x0,δ) we have d(f(x0),f(x))≥ϵ. We set δ=n1 and construct xn∈B(x0,n1) by axiom of choice. Clearly that this sequence is convergent to x0. By (b) we have f(xn) is convergent to f(x0) which leads to a contradiction. Done.
Theorem 2.1.5
Let (X,dX) be a metric space, and let (Y,dY) be another metric space. Let f:X→Y be a function. Then the following four statements are equivalent:
(a) f is continuous.
(b) Whenever (x(n))n=1∞ is a sequence in X which converges to some point x0∈X with respect to the metric dX , the sequence (f(x(n)))n=1∞ converges to f(x0) with respect to the metric dY.
(c) Whenever V is an open set in Y , the set f−1(V):={x∈X:f(x)∈V} is an open set in X.
(d) Whenever F is a closed set in Y , the set f−1(F):={x∈X:f(x)∈F} is a closed set in X.
Proof:
(a) and (b) directly follow from Theorem 2.1.4
(a) implies (c):
For any open set V⊆Y, take any x0∈f−1(V). Since f is continuous, we have d(f(x0),f(x))<ϵ whenever d(x0,x)<δ. Since f(x0) is an interior point of V. We can let r=ϵ, then we have B(f(x0),ϵ)⊆V which means ∀x∈B(x0,δ), B(x0,δ)⊆f−1(V). This implies x0 is an interior point of f−1(V). Done.
(c) implies (a):
We need to show f is continuous at any point x0∈X. For every ϵ>0, since B(f(x0),ϵ) is an open set, there exists an open set f−1(B(f(x0),ϵ))⊆X. Since x0∈f−1(B(f(x0),ϵ)), we have B(x0,δ)⊆f−1(B(f(x0),ϵ)). This is actually the definition of continuity.
(c) implies (d):
Since F is closed, then F\Y is open. By (c), we know that f−1(F\Y) is also an open set. Now we show that (f−1(F\Y))\X is closed.
∀x∈(f−1(F\Y))\X, we have x∈/f−1(F\Y) which means f(x)∈/F\Y. So f(x)∈F and x∈f−1(F) and (f−1(F\Y))\X⊆f−1(F).
On the other hand ∀x∈f−1(F), we have f(x)∈F and f(x)∈/F\Y. So x∈/f−1(F\Y) thus x∈(f−1(F\Y))\X. And f−1(F)⊆(f−1(F\Y))\X. Done.
According to description, we show that f−1(F)=(f−1(F\Y))\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), and (Z,dZ) be metric spaces.
(a) If f:X→Y is continuous at a point x0∈X, and g:Y→Z is continuous at f(x0), then the composition g◦f:X→Z, defined by g◦f(x):=g(f(x)), is continuous at x0.
(b) If f:X→Y is continuous, and g:Y→Z is continuous, then g◦f:X→Z is also continuous.
Proof:
We prove (a), (b) can directly follow form (a) since use (a) at all points in X.
Since f is continuous at x0∈X, for every ϵ>0 we have d(f(x0),f(x))<ϵ whenever d(x0,x)<δ. And by the continuity of g we know that d(g(f(x0)),g(y))<ϵ′ when every d(f(x0),y)<δ′. Combine these two and let ϵ=δ′ we can get what we desired.
2.2 Continuity and Product Spaces
Function pairing
Given two functions f:X→Y and g:X→Z, one can define their pairing (f,g):X→Y×Z defined by (f,g)(x):=(f(x),g(x)), i.e., this is the function taking values in the Cartesian product Y×Z whose first coordinate is f(x) and whose second coordinate is g(x) (cf. Exercise 3.5.7).
Lemma 2.2.1
Let f:X→R and g:X→R be functions, and let (f,g):X→R2 be their direct sum. We give R2 the Euclidean metric.
(a) If x0∈X, then f and g are both continuous at x0 if and only if (f,g) is continuous at x0.
(b) f and g are both continuous if and only if (f,g) is continuous.
Proof:
(a):
If f and g are both continuous at x0, d(f(x0),f(x))<ϵ and d(g(x0),g(x))<ϵ. Then
(b): Use (a) for all points in X we get what we desired.
Lemma 2.2.2
The addition function (x,y)↦x+y, the subtraction function (x,y)↦x−y, the multiplication function (x,y)↦xy, the maximum function (x,y)↦max(x,y), and the minimum function (x,y)↦min(x,y) are all continuous functions from R2 to R. The division function (x,y)↦x/y is a continuous function
from R×(R\{0})=(x,y)∈R2:y=0 to R. For any real number c, the function x↦cx is a continuous function from R to R.
Proof:
For any sequence xn and yn which converge to x∈X and y∈Y respectively. By 1.1.18 (d) we know that (xn,yn) is also convergent to (x,y). Then
n→∞limf((xn,yn))=n→∞lim(xn+yn)=x+y
By Theorem 2.1.5 (b) we get f is continuous at (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) be a metric space, and let f:X→R and g:X→R be functions. Let c be a real number.
(a) If x0∈X and f and g are continuous at x0, then the functions f+g:X→R,f−g:X→R,fg:X→R,max(f,g):X→R,min(f,g):X→R, and cf:X→R are also continuous at x0. If g(x)=0 for all x∈X, then f/g:X→R is also continuous.
(b) If f 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→R, and cf:X→R are also continuous at x0. If g(x)=0 for all x∈X, then f/g:X→R is also continuous at x0.
Proof:
Use Lemma 2.2.1 and Lemma 2.2.2 and Corollary 2.1.7
Let f:X→Y be a continuous map from one metric space (X,dX) to another (Y,dY). Let K⊆X be any compact subset of X. Then the image f(K):={f(x):x∈K} of K is also compact.
Proof:
For any sequence {y(n)}n=1∞ in f(K), we can construct such set Sn={x∈K:f(x)=yn} for every n. Since these sets are not empty, by axiom of choice, we let xn∈Sn. Then sequence {x(n)}n=1∞ in K and has a convergent subsequence by compactness of K. This implies {y(n)}n=1∞ 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) be a compact metric space, and let f:X→R be a continuous function. Then f is bounded. Furthermore, if X is non-empty, then f attains its maximum at some point xmax∈X and also attains its minimum at some point xmin∈X.
Proof:
Since X is compact and f is continuous, by Theorem 2.3.1 we have f(X) is compact thus bounded and closed. Let M=supxf(x). Then by the least upper bound property, we have M−n1<f(xn)≤M for some f(xn)∈f(X) for all n since X is not empty. We use this to construct sequence {f(xn)}. Since closed and {f(xn)} converges to M we have M∈f(X) which means xmax∈X. Minimum is similar. Done.
Definition 2.3.4 (Uniform continuity)
Let f:X→Y be a map from one metric space (X,dX) to another (Y,dY). We say that f is uniformly continuous if, for every ε>0, there exists a δ>0 such that dY(f(x),f(x′))<ε whenever x,x′∈X are such that dX(x,x′)<δ.
Theorem 2.3.5 (See 9.9.2)
Let (X,dX) and (Y,dY) be metric spaces, and suppose that (X,dX) is compact. If f:X→Y is function, then f 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) be a metric space. We say that X is disconnected iff there exist disjoint non-empty open setsV and W in X such that V∪W=X. (Equivalently, X is disconnected if and only if X contains a non-empty proper subset which is simultaneously closed and open.) We say that X is connected iff it is non-empty and not disconnected.
2.4.3 (Connected sets)
Let (X,d) be a metric space, and let Y be a subset of X. We say that Y is connected iff the metric space (Y,d∣Y×Y) is connected, and we say that Y is disconnected iff the metric space (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 Y, but not on what ambient space X one placing Y in.
Theorem 2.4.5
Let X be a non-empty subset of the real line R. Then the following statements are equivalent.
(a) X is connected.
(b) Whenever x,y∈X and x<y, the interval [x,y] is also contained in X.
(c) X 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∈X if [x,y] is not contained in X there is a point z∈[x,y] but z∈/X. This contradict to the definition (see 9.1.1).
On the other hand, let m=infX,M=supX and m,M∈R∗, then X can be one of (m,M),[m,M),[m,M],(m,M]. First we show the cast (m,M) which implies m,M∈/X.
For any x∈(m,M), we have m<x<M since m,M∈/X. So there exist a,b∈X and m<a<x<b<M. Use (b) we now that [a,b]⊆X, then x∈X. We get (m,M)⊆X.
For any x∈X, we have m<x<M, so x∈(m,M) by the definition 9.1.1. Done.
For the m∈X or M∈X case, we just let a=m or b=M respectively. The proof above still holds.
Let f:X→Y be a continuous map from one metric space (X,dX) to another (Y,dY). Let E be any connected subset of X. Then f(E) is also connected.
Proof:
If f(E) is disconnected, then there exist two open sets V and W such that V∪W=f(E). Since f is continuous, by Theorem 2.1.5 (c) we know that f−1(V) and f−1(W) are all open sets.
∀x∈E,f(x)∈f(E). So either f(x)∈V or f(x)∈W but not both. So either x∈f−1(V) or x∈f−1(W) but not both (by contradiction). So E⊆f−1(V)∪f−1(W).
Then we show that f−1(V) and f−1(W) are disjoint. If x∈f−1(V)∩f−1(W) , we know f(x)∈V and f(x)∈W which is contradiction.
Since f−1(V)={x∈E:f(x)∈V} and f−1(W)={x∈E:f(x)∈W}, it is obviously that E⊇f−1(V)∪f−1(W).
So E=f−1(V)∪f−1(W) which means E is disconnected. Done.
Corollary 2.4.7 (Intermediate value theorem) (Congratulations!!)
Let f:X→R be a continuous map from one metric space (X,dX) to the real line. Let E be any connected subset of X, and let a,b be any two elements of E. Let y be a real number between f(a) and f(b),i.e., either f(a)≤y≤f(b) or f(a)≥y≥f(b). Then there exists c∈E such that f(c)=y.
Proof:
Since E is connected, we have f(E)⊆R is also connected by Theorem 2.4.5. Then whenever f(a),f(b)∈f(E), we have [f(a),f(b)]⊆f(E) or [f(b),f(a)]⊆E. Done.
Comments
No approved comments yet.
Your display name and plain-text comment become public only after owner approval. No account or email is required.