43 Continuity Practice

4.3.1

Question

Let g(x)=x3
a. Prove that g is continuous at c=0
b. Prove that g is continuous at a point cโ‰ 0. (The identity a3โˆ’b3=(aโˆ’b)(a2+ab+b2) will be helpful).

Scratch:

a. See 42 Functional Limits Practice#4.2.8 (d) for showing the limit exists at 0.

b. If we have some ฮต>0 we'd want to show that a given ฮด>0 produces, when |xโˆ’c|<ฮด that:

|g(x)โˆ’g(c)|=|x3โˆ’c3|=|x13โˆ’c13|=|xโˆ’c||x23+x13c13+c23|(a=x13,b=c13)

Clearly we'll have the |xโˆ’c|<ฮด come in on the numerator. For the denominator we can increase it:

|x23+x13c13+c23|โ‰ค|x23|+|x13c13|+|c23|โ‡’|c23|โ‰ฅ|x23+x13c13+c23|

As such:

<|xโˆ’c||c23|(cโ‰ 0)<ฮด|c23|=ฮต

This ends well if ฮด=|c23|ฮต.

Proof

a. See 42 Functional Limits Practice#4.2.8 (d) for the proof that the limit is g(0)=03=0.

b. Let ฮต>0. Choose ฮด=|c23|ฮต>0. First notice that:

|x23+x13c13+c23|โ‰ค|x23|+|x13c13|+|c23|โ‡’|c23|โ‰ฅ|x23+x13c13+c23|

Then we will use this in the following:

|g(x)โˆ’g(c)|=|x3โˆ’c3|=|x13โˆ’c13|=|xโˆ’c||x23+x13c13+c23|(a=x13,b=c13)<|xโˆ’c||c23|(cโ‰ 0)<ฮด|c23|=|c23|ฮตโ‹…1|c23|=ฮต

โ˜

4.3.3

Question

a. Supply a proof for Composition of Continuous Functions using the definition of continuity for functions.
b. Give another proof of this theorem using the Characterization of Continuity (use (3))

Scratch:

a. Let ฮต>0. We want to show that:

|(gโˆ˜f)(x)โˆ’(gโˆ˜f)(c)|<ฮต

Suppose we chose such a ฮด such that we suppose 0<|xโˆ’c|<ฮด. Working through it:

|(gโˆ˜f)(x)โˆ’(gโˆ˜f)(c)|=|g(f(x))โˆ’g(f(c))|

Now because g is continuous at f(c) then limxโ†’f(c)g(x)=g(f(c)), so then for any ฮต>0 then โˆƒฮด1>0 where for any 0<|xโˆ’f(c)|<ฮด1 then |g(x)โˆ’g(f(c))|<ฮต. Similarly since f is continuous at c then limxโ†’cf(x)=f(c), so then for any ฮต>0 then โˆƒฮด2>0 where if 0<|xโˆ’c|<ฮด2 then |f(x)โˆ’f(c)|<ฮต.

Notice that we want the x part in the first given to be that f(x). Notice the cascading nature of the limit definitions that will allow this. Namely, since f is continuous and our ฮต>0 then โˆƒฮด2>0 where if 0<|xโˆ’c|<ฮด2 (which is our supposition) then we get:

|f(x)โˆ’f(c)|<ฮต

Now because ฮต>0 then we get that โˆƒฮด1>0 such that since our supposition |xโˆ’f(c)|<ฮด2=ฮด1 then we get that:

|g(f(x))โˆ’g(f(c))|<ฮต

as desired. Thus to have both be true then choose ฮด=ฮด2 to be able to use both suppositions.

b. The proof is actually pretty simple here.

Proof

a. Let ฮต>0. Since g is continuous at f(c) then โˆƒฮด1>0 such that 0<|xโˆ’f(c)|<ฮด1โ†’|g(x)โˆ’g(f(c))|<ฮต. Now using ฮต=ฮด1>0 in the definition of continuity for f at c gives that โˆƒฮด2>0 such that 0<|xโˆ’c|<ฮด2โ†’|f(x)โˆ’f(c)|<ฮด1.

Now choose ฮด=ฮด2. Suppose that 0<|xโˆ’c|<ฮด=ฮด2. Then 0<|xโˆ’c|<ฮด2, so then we immediately get that |f(x)โˆ’f(c)|<ฮด1. Using the g continuity definition (see above, where now x is replaced with f(x)), then that implies that |g(f(x))โˆ’g(f(c))|<ฮต as we so wanted.

b. Since f is continuous at cโˆˆA then โˆ€(xn)โІA where xnโ†’c then f(xn)โ†’f(c). Similarly, since g is continuous at f(c)โˆˆf(A)โІB then โˆ€(yn)โІf(A) where ynโ†’f(c) then g(yn)โ†’g(f(c)).

Now we need to show that gโˆ˜f is continuous at c, so let (xn)โІA be arbitrary where xnโ†’c. Then since f is continuous then f(xn)โ†’f(c). Now notice that the sequence (yn)=f(xn)โІf(A) so then clearly ynโ†’f(c), which is just that f(xn)โ†’f(c). This implies that g(yn)=g(f(xn))โ†’g(f(c)). This is exactly what we wanted!

โ˜

4.3.6

Question

Provide an example of each or explain why the request is impossible.
a. Two functions f and g, neither of which is continuous at 0 but such that f(x)g(x) and f(x)+g(x) are continuous at 0.
b. A function f(x) continuous at 0 and g(x) not continuous at 0 such that f(x)+g(x) is continuous at 0.
c. A function f(x) continuous at 0 and g(x) not continuous at 0 such that f(x)g(x) is continuous at 0.
d. A function f(x) not continuous at 0 such that f(x)+1f(x) is continuous at 0.
e. A function f(x) not continuous at 0 such that [f(x)]3 is continuous at 0.

Proof

a. Possible. Use:

f(x)={1xโ‰ฅ0โˆ’1x<0,g(x)=โˆ’f(x)={โˆ’1xโ‰ฅ01x<0

both of which are discontinuous at 0. However:

f(x)+g(x)=f(x)โˆ’f(x)=0

is continuous at 0 and furthermore:

f(x)g(x)={1xโ‰ฅ01x<0=1

is also continuous at 0.

b. Impossible. If f(x)+g(x) is continuous at 0 and f(x) as well, then limxโ†’0f(x)+g(x)โˆ’f(x)=limxโ†’0g(x) must exist (see Algebraic Continuity Theorem), which contradicts g not being continuous at 0.

c. Possible. Use f(x)=x (continuous at 0) and g(x)=1x (not continuous at 0). Then limxโ†’0f(x)g(x)=limxโ†’0xx=limxโ†’01=1 exists, implying f(x)g(x) is continuous at 0.

d. Possible. If:

f(x)={2xโ‰ฅ012x<0โ‡’1f(x)={12xโ‰ฅ02x<0

then:

f(x)+1f(x)={2+12xโ‰ฅ012+2x<0=52

which is continuous at 0.

e. Impossible. If limxโ†’0[f(x)]3 exists then:

limxโ†’0f(x)=limnโ†’0f(x)33

exists via 43 Continuity Practice#4.3.1 (a). As such this contradicts f(x) not being continuous at 0.

โ˜

4.3.7

Question

a. Referring to the proper theorems, give a formal argument that the Dirichlet's Function is nowhere-continuous on R
b. Review the definition of Thomae's Function. Demonstrate that it fails to be continuous at every rational point.
c. Use the Characterization of Continuity (3) to show that Thomae's Function is continuous at every irrational point in R. (Given ฮต>0, consider the set of points {xโˆˆR:t(x)โ‰ฅฮต}).

Proof

a. Let cโˆˆR be arbitrary. We want to show that g given above is not continuous at c, so namely that we need to choose some ฮต>0 such that โˆ€ฮด>0 then โˆƒxโˆˆA where |f(x)โˆ’f(c)|โ‰ฅฮตโ†’|xโˆ’c|โ‰ฅฮด. We can construct a sequence (qn)โІQ where qnโ†’c and also (xn)โІI where xnโ†’c (because The Density of Q in R implies that this works for both Q and I). Now notice that:

g(qn)=1โ†’1,g(xn)=0โ†’0

so by the Existence of Functional Limits then limxโ†’cg(x) doesn't exist. Since c was arbitrary, then this happens for each point in the domain.

b. Let cโˆˆQ. We'll show that t is not continuous here by constructing two sequences that converge to c but when composed on t approaches different values. Let anโІQโˆ’{0} such that each an is in the lowest terms (see the definition of Thomae's Function for this construction) and anโ†’c. Clearly t(an)=1k for some integers k, where since c=mn for some m,nโˆˆN then t(an)โ†’1n.

However, construct bnโІI converging to c (because I is dense in R). Then because each t(bn)=0 then t(bn)โ†’0 as bnโ†’c.

Now because t(an)โ†’1nโ‰ 0โ†t(bn) then by the Existence of Functional Limits then limxโ†’ct(x) doesn't exist for any cโˆˆQ.

c. As the hint suggests, there are finitely many points in the set proposed, so we can use that to show that the rest of the points (infinitely many of them) must be less than ฮต.

Let cโˆˆI. Let ฮต>0. Now notice that {xโˆˆV1(c)|t(x)โ‰ฅฮต} is finite because the requirement t(x)โ‰ฅฮต is the same as x=mnโˆง1nโ‰ฅฮต, and we can count all of the rational x's here (since it's the subset of Q which is countable). As a result the set is countable and especially finite โ‰ก{x1,x2,โ€ฆ,xn}. Thus set ฮด=min(|xiโˆ’c|:iโˆˆ{1,โ€ฆ,n}). Then every xโˆˆVฮด(c) has t(x)โ‰คฮต.

โ˜

4.3.8

Question

Decide if the following claims are true or false, providing either a short proof or counterexample to justify each conclusion. Assume throughout that g is defined and continuous on all R:
a. If g(x)โ‰ฅ0 for all x<1 then g(1)โ‰ฅ0 as well.
b. If g(r)=0 for all rโˆˆQ then g(x)=0 for all xโˆˆR.
c. If g(x0)>0 for a single point x0โˆˆR then g(x) is in fact strictly positive for uncountable many points.

Proof

a. True. If we suppose g(x)โ‰ฅ0 for all x<1 and g(1)<0 then by the definition of continuity then โˆƒg(1) and by the Characterization of Continuity we have that any sequence (xn)โІR where xnโ†’1 implies that g(xn)โ†’g(1). Consider constructing the sequence xn=1โˆ’1n<1 for all n. Then since xnโ†’1 then that implies that g(xn)โ‰ฅ0 then approaches g(1). Namely g(xn)โ†’g(1). By the Limits and Order (Order Limit Theorem) then since g(xn)โ‰ฅ0 then g(1)โ‰ฅ0.

b. True. Let xโˆˆR be arbitrary. If xโˆˆQ then g(x)=0 by construction and we are done, so suppose xโˆ‰Q, so xโˆˆI. Because The Density of Q in R (except using irrationals here) then there is some sequence of rationals that approach x from above and below. Let (xn)โІQ<x and (yn)โІQ>x where xn,ynโ†’x. Since g is continuous then to avoid being discontinuous then we must have it that g(xn)โ†’g(x) and g(yn)โ†’g(x). But notice that g(xn)=0=g(yn)โ†’0, so then that implies that g(x)=0.

c. True. If this is the case then since g is continuous at x0 then using ฮต=g(x0)>0 gives that โˆƒฮด>0 where for any xโˆˆR where xโˆˆVฮด(x0)โ†’g(x)โˆˆVg(x0)(g(x0)). Notice that Vฮด(x0) is an uncountable set, so only consider x in that neighborhood. Since g(x) is in this neighborhood notice that:

โŸบg(x)โˆˆ(g(x0)โˆ’g(x0),2g(x0))โ‰ก(0,2g(x0))โ‡’g(x)>0

Thus g(x) is positive for uncountably many points.

โ˜

4.3.9

Question

Suppose h:Rโ†’R is continuous on R. Let K={x:h(x)=0}. Show that K is a closed set.

Proof

Let x be a limit point of K. Thus then โˆƒ(xn)โІKโˆ’{x} such that xnโ†’x. We want to show that xโˆˆK, or equivalently that h(x)=0.

Now because h is continuous on R then by the Characterization of Continuity then h(xn)โ†’h(x). Now notice that since each xnโˆˆKโˆ’{x} then by definition then h(xn)=0 for all n. Thus then h(xn)=0โ†’h(x)=0 as desired.

โ˜

4.3.11

Contraction Mapping Theorem

Let f be a function defined on all of R and assume there is a constant c such that 0<c<1 and

|f(x)โˆ’f(y)|โ‰คc|xโˆ’y|

for all x,yโˆˆR.
a. Show that f is continuous on R.
b. Pick some point y1โˆˆR and construct the sequence

{y1,f(y1),f(f(y1)),โ€ฆ}

In general if yn+1=f(yn), show that the resulting sequence (yn) is a Cauchy Sequence. Hence, we may let y=limnโ†’โˆžyn.
c. Prove that y is a fixed point of f (ie: f(y)=y) and that it is unique in this regard.
d. Finally, prove that if x is any arbitrary point in R then the sequence {x,f(x),f(f(x)),โ€ฆ} converges to y defined in (b).

Proof

a. We'll use the sequence Characterization of Continuity here. Let (xn)โІR where xnโ†’x be arbitrary. We want to show that f(xn)โ†’f(x). First notice that since f is defined on all of R then f(x) is well defined here.

Let ฮต>0. Since xn,xโˆˆR then notice that โˆƒ0<c<1 where:

|f(xn)โˆ’f(x)|โ‰คc|xnโˆ’x|

Now choose ฮด=ฮตc>0. Then since xnโ†’x then โˆƒNโˆˆN where for all nโ‰ฅN then |xnโˆ’x|<ฮด. Now with this supposition then:

|f(xn)โˆ’f(x)|โ‰คc|xnโˆ’x|<cโ‹…ฮตc=ฮต

as desired.

b. We want |ynโˆ’ym|<ฮต. Since 0<c<1 we have:

|yn+1โˆ’ym+1|โ‰คc|ynโˆ’ym|โ‰คโ‹ฏโ‰คcm|ynโˆ’m+1โˆ’y1|

where we are assuming that n>m here. Thus if we can bound |ykโˆ’y1|โ‰คM for some constant M then we will be done by choosing m large enough such that cmM<ฮต.

In general, notice that |ya+1โˆ’ya|โ‰คc|yaโˆ’yaโˆ’1| so then:

|ykโˆ’y1|โ‰ค|y1โˆ’y2|+|y2โˆ’y3|+โ‹ฏ+|ykโˆ’1โˆ’yk|โ‰ค|y1โˆ’y2|+c|y1โˆ’y2|+โ‹ฏ+cm|y1โˆ’y2|=|y1โˆ’y2|โˆ‘i=0mci<|y1โˆ’y2|โˆ‘i=0โˆžci=|y1โˆ’y2|1โˆ’c=M

c. Since f is continuous over all R (see (a)) then:

y=limnโ†’โˆžyn+1=limnโ†’โˆžf(yn)=f(limnโ†’โˆžyn)=f(y)

as desired. To show that it is unique, consider two sequences an,bn where a1,b1โˆˆR and an+1=f(an) and bn+1=f(bn). By the Limit Laws (Algebraic Limit Theorem) then:

limnโ†’โˆž(bnโˆ’an)โ‰คlimnโ†’โˆž|bnโˆ’an|โ‰คlimnโ†’โˆžcnโˆ’1|b1โˆ’a1|=0

since 0<c<1. Therefore limnโ†’โˆžbn=limnโ†’โˆžan so a=b. This implies that no matter what our starting choice is, that it will reach the same value.

d. See (c).

โ˜