44 Uniform Continuity Practice

4.4.2

Question

a. Is f(x)=1x uniformly continuous on (0,1)?
b. Is g(x)=x2+1 uniformly continuous on (0,1)?
c. Is h(x)=xsinโก(1x) uniformly continuous on (0,1)?

Proof

a. No. Intuitively the slope becomes unbounded near 0. For the proof, consider using the Sequential Criterion for Absence of Uniform Continuity. Choose ฮต0=12>0. Consider the sequences (xn)=2n and (yn)=1n. We have |xnโˆ’yn|=|1n|โ†’0 and |f(xn)โˆ’f(yn)|=|โˆ’n2|โ‰ฅฮต0=12. Thus it fails to be uniformly continuous here.

b. The slopes don't get too crazy so we intuitively expect this to be uniformly continuous. To prove it, let ฮต>0. We want to choose some ฮด such that any |xโˆ’y|<ฮด gives:

|g(x)โˆ’g(y)|=|x2+1โˆ’y2+1|=|x2+1โˆ’y2โˆ’1|x2+1+y2+1=|(xโˆ’y)(x+y)|x2+1+y2+1<|(xโˆ’y)(x+y)|x2+y2=|(xโˆ’y)(x+y)||x|+|y|=|xโˆ’y|(x,y>0)<ฮด=ฮต

Thus using ฮด=ฮต here should work.

c. The slopes near 0 again become nearly vertical so we expect this to not be uniformly continuous, especially near 0. However, the value 0 can be added to h(0) to consider an extended version of h on [0,1] (in order to use Uniformly Continuous iff Compact and Continuous). Namely, consider the extension of the function h, denoted h0, such that h0(0)=0. Thus notice that since [0,1] is compact and h0 is continuous on that interval (consider all of the subfunctions like 1x,x,sinโก(x) that are continuous and make up h), then h0 is uniformly continuous. Thus it shows that since h=h0 on the interval (0,1) then h itself is uniformly continuous on that interval.

โ˜

4.4.3

Question

Show that f(x)=1x2 is uniformly continuous on the set [1,โˆž) but not on the set (0,1].

Proof

Notice that since f is continuous over [1,โˆž) and that domain is compact, then since Uniformly Continuous iff Compact and Continuous implies f is uniformly continuous over the set.

We can show this explicitly too. Let ฮต>0. Then choose ฮด=ฮต2. Then for |xโˆ’y|<ฮด:

|f(x)โˆ’f(y)|=|1x2โˆ’1y2|=|y2โˆ’x2x2y2|=|xโˆ’y||x+y|x2y2=|xโˆ’y|โ‹…|1xy2+1x2y|โ‰ค|xโˆ’y|โ‹…2<ฮดโ‹…2=ฮต2โ‹…2=ฮต

Now it is not uniformly continuous over (0,1], as this set is definitely not compact (and thus the argument above doesn't work). Since f is continuous on the set but not compact, then it cannot be uniformly continuous (use the negative of that statement).

To explicitly show this we'll again use Sequential Criterion for Absence of Uniform Continuity. Construct (xn)=1n and (yn)=12n. Notice |xnโˆ’yn|=12nโ†’0 but:

|f(xn)โˆ’f(yn)|=|1(1n2)โˆ’1(12n2)|=|nโˆ’4n2|=3n2

Thus using ฮต0=3 here then |f(xn)โˆ’f(yn)|=3n2โ‰ฅ3=ฮต0.

โ˜

4.4.4

Question

Decide whether each of the following statements is true or false, justifying each conclusion.
a. If f is continuous on [a,b] with f(x)>0 for all aโ‰คxโ‰คb, then 1f is bounded on [a,b] (so 1f has bounded range).
b. If f is uniformly continuous on a bounded set A then f(A) is bounded.
c. If f is defined on R and f(K) is compact where K is compact, then f is continuous on R.

Proof

a. True. Since f is continuous and 1x is continuous on all values positive (which f(x)>0) then their composition 1f must be continuous over f([a,b]). Since the Compactness Is Preserved By Continuity, then f([a,b]) must also be compact. As a result, then it must be bounded.

b. True. Similar to (a) since f is uniformly continuous over A then A is bounded (given) and closed (thus it's compact), while f is continuous. Since the Compactness Is Preserved By Continuity, then f(A) must also be compact, and thus bounded.

c. False. Consider K=[1,2] (a compact set) and f(x)=1x. Clearly f is continuous on [1,2] so then f(K) must be compact. However, f is certainly not continuous over all of R.

โ˜

4.4.6

Question

Give an example of each of the following, or state that such a request is impossible. For any that are impossible, supply a short explanation for why this is the case.
a. A continuous function f:(0,1)โ†’R and a Cauchy Sequence (xn) such that f(xn) is not Cauchy.
b. A uniformly continuous function f:(0,1)โ†’R and a Cauchy sequence (xn) such that f(xn) is not a Cauchy sequence.
c. A continuous function f:[0,โˆž)โ†’R and a Cauchy sequence (xn) such that f(xn) is not a Cauchy sequence.

This exercise shows why both conditions are needed in Uniformly Continuous iff Compact and Continuous.

Proof

a. Possible. Use f(x)=1x over (0,1) is continuous. But the Cauchy sequence (xn)=1n has xnโ†’0 but f(xn)=n diverges (and thus isn't Cauchy).

b. Impossible. If f is uniformly continuous then if (xn)โ†’x is Cauchy, then by the definition of Convergence of a Sequence then letting ฮต>0 gives some NโˆˆN where โˆ€n,mโ‰ฅN then |xnโˆ’xm|<ฮต. Since f is uniformly continuous then this implies that |f(xn)โˆ’f(xm)|<ฮต as we needed to show that f(xn) is Cauchy.

c. Impossible. Since [0,โˆž) is compact then since f is continuous over it and Compactness Is Preserved By Continuity then f([0,โˆž)) must be compact. Thus if such a (xn)โ†’xโˆˆ[0,โˆž) is proposed, then f(xn)โІf([0,โˆž)) is both bounded (by f([0,โˆž)) being compact) and convergent (since (xn) is convergent then f(xn) is convergent to f(x)โˆˆf([0,โˆž)) by the Characterization of Continuity (3)), thus being Cauchy.

โ˜

4.4.7

Question

Prove that f(x)=x is uniformly continuous on [0,โˆž).

Proof

Notice that [0,โˆž) is compact, and since x is continuous on that interval then it must be Uniformly Continuous iff Compact and Continuous. See Lecture 25 - Continuity#Continuous Examples (4) for the proof of this.

To do the proof more directly, let ฮต>0. We want to produce some ฮด where for any |xโˆ’y|<ฮด:

|xโˆ’y|โ‰ค|x+y|=x+y<ฮต2+ฮต2=ฮต

Where we used the fact that x was continuous on the second to last lime. Using the ฮด from x being continuous should work here. Namely ฮด=min{ฮดx,ฮดy} for each ฮด we get from x,y being continuous.

โ˜

4.4.8

Question

Give an example of each of the following, or provide a short argument for why the request is impossible.
a. A continuous function defined on [0,1] with range (0,1).
b. A continuous function defined on (0,1) with range [0,1].
c. A continuous function defined on (0,1] with range (0,1).

Proof

a. Impossible. Since [0,1] is compact and the function f is continuous, then it's range f([0,1])=(0,1) must be continuous via Compactness Is Preserved By Continuity. Since (0,1) isn't compact then this is impossible.

b. Possible. Use f(x)=|sinโก(1x)|.

c. Possible. A similar function g(x)=|sinโก(1x)|(1โˆ’x)2+12 gets us the range we wanted.

โ˜

4.4.13

Continuous Extension Theorem

a. Show that a uniformly continuous function preserves Cauchy Sequences; that is if f:Aโ†’R is uniformly continuous and (xn)โІA is a Cauchy sequence, then show that f(xn) is a Cauchy sequence.
b. Let g be a continuous function on the open interval (a,b). Prove that g is uniformly continuous on (a,b) iff it is possible to define values g(a) and g(b) at the endpoints so that the extended function g is continuous on [a,b].
(Hint: for (b)'s forward direction, first produce candidates for g(a),g(b) and then show the extended g is continuous).

Proof

a. Let (xn)โІA be Cauchy. Then it converges to some point x. Further let f:Aโ†’R be uniformly continuous.

To show that f(xn) is Cauchy it is enough to show it converges. Now because f is uniformly continuous then by the Characterization of Continuity then since (xn)โІA and converges to x then f(xn)โ†’f(x) and thus f(xn) must be Cauchy.

b.

(โ‡’): Suppose that g is uniformly continuous. Choose g(a) by constructing (an)=(2nโˆ’1)a+b2nโІ(a,b). Notice that anโ†’a so then via (a) then g(an) converges. Denote the value it converges to as g(a). Similarly construct (bn)=a+(2nโˆ’1)bn2nโІ(a,b). Again bnโ†’b so then via (a) then g(bn) converges. Define this convergence point g(b).

Now we will show that this redefinition of g is continuous on [a,b]. Clearly it is continuous on (a,b). For the endpoints notice that we've shown that the since now a,b are in our domain, then all we have to show is that any convergent sequence (xn)โІ[a,b] where xnโ†’a implies that g(xn)โ†’g(a) as we've constructed (the argument for b is a near carbon copy).

Let (xn)โ†’a be such a sequence. Notice that for contradiction if f(xn)โ†’cโ‰ g(a) then by Existence of Functional Limits then our xn,an sequences are enough to show that g is not continuous at a, which is a contradiction as g is supposedly continuous. As such then the only valid value that xn can converge to is g(a), completing the proof.

(โ‡): Since g is continuous and [a,b] is a compact set, then our range must be a compact set f([a,b]). As a result, then because Uniformly Continuous iff Compact and Continuous then g must be uniformly continuous.

โ˜