Jump to content

Proving continuity – "Math for Non-Geeks"

From Wikibooks, open books for an open world

Overview

[edit | edit source]

There are several methods for proving continuity:

  • Concatenation Theorems: If the function can be written as a concatenation of continuous functions, it's continuous by the Concatenation Theorems.
  • Using the local nature of continuity: If a function looks like another well-known continuous function in a small neighborhood of a point, then it must also be continuous in this point.
  • Considering the left- and right-sided limits: If one can show that the left- and right-sided limits of a function are the same in some point, then the function is continuous in this point.
  • Showing the sequence criterion: Using the sequence criterion means that the limit can be pulled into the function, i.e. we can consider the limit of the arguments. For a sequence (xn)n∈ℕ of arguments with limit value x0 it must hold limn→∞f(xn)=f(x0)=f(limn→∞xn).
  • Showing the epsilon-delta criterion: For every ϵ>0 it must be show that there exists some δ>0 such that for all arguments x with a distance smaller than δ from the point x0, the inequality |f(x)−f(x0)|<ϵ is satisfied.

Composition of continuous functions

[edit | edit source]


‌

General proof sketch

[edit | edit source]

Following the concatenation theorems, every composition of continuous functions is again continuous function. So if f:D→ℝ can be written as a concatenation of continuous functions, we can directly infer continuity of f . A corresponding proof could be of the following form:

Let f:… with f(x)=…. The function f is a concatenation of the following functions:
...List of continuous functions, which serve as building bricks for f ...
Since f(x)=… (Expression how f is constructed out of those bricks) , we know that f is a concatenation of continuous functions and hence continuous, as well.

In a lecture, this proof scheme may of course only be applied if the concatenation theorems have already been treated before. In any way, it is a very efficient method to characterize continuous functions.

Example Problem

[edit | edit source]
Exercise (Epsilon-Delta proof for the continuity of the Square Root Function)

Show, using the epsilon-delta criterion, that the following function is continuous:

f:ℝ→ℝ,x↦5+x2

How to get to the proof? (Epsilon-Delta proof for the continuity of the Square Root Function)

We need to show, that for any given ϵ>0 , there is a δ>0 , such that all x∈ℝ with |x−a|<δ satisfy the inequality |f(x)−f(a)|<ϵ . So let us take a look at the target inequality |f(x)−f(a)|<ϵ and estimate the absolute |f(x)−f(a)| from above. We are able to control the term |x−a| . Therefor, would like to get an upper bound for |f(x)−f(a)| including the expression |x−a| . So we are looking for an inequality of the form

|f(x)−f(a)|≤K(x,a)⋅|x−a|

Here, K(x,a) is some expression depending on x and a . The second factor is smaller than δ and can be made arbitrarily small by a suitable choice of δ . Such a bound is constructed as follows:

|f(x)−f(a)|=|5+x2−5+a2|↓ expand with|5+x2+5+a2|=|5+x2−5+a2|⋅|5+x2+5+a2||5+x2+5+a2|↓ 5+x2+5+a2≥0=|x2−a2|5+x2+5+a2=|x+a|5+x2+5+a2⋅|x−a|↓ K(x,a):=|x+a|5+x2+5+a2=K(x,a)⋅|x−a|

Since |x−a|<δ , there is:

|f(x)−f(a)|=K(x,a)⋅|x−a|<K(x,a)⋅δ

If we now choose δ small enough, such that K(x,a)⋅δ≤ϵ , then we obtain our target inequality |f(x)−f(a)|≤ϵ. But K(x,a) still depends on x , so δ would have to depend on , too - and we required one choice of δ which is suitable for all x . Therefore, we need to get rid of the x-dependence. This is done by an estimate of the first factor, such that our inequality takes the form K(x,a)≤K~(a) :

K(x,a)=|x+a|5+x2+5+a2↓ triangle inequality≤|x|5+x2+5+a2+|a|5+x2+5+a2↓ ab+c≤ab for a,c≥0,b>0≤|x|5+x2+|a|5+a2↓ |a|5+a2≤1, since 5+a2≥a2=|a|≤2=:K~(a)

We even made K~(a) independent of a , which would in fact not have been necessary. So we obtain the following inequality

|f(x)−f(a)|≤2⋅|x−a|<2⋅δ

We need the estimate 2⋅δ≤ϵ, in order to fulfill the target inequality |f(x)−f(a)|<ϵ . The choice of δ=ϵ2 is sufficient for that. So let us write down the proof:

Proof (Epsilon-Delta proof for the continuity of the Square Root Function)

Let f:ℝ→ℝ with f(x)=5+x2. Let a∈ℝ and an arbitrary ϵ>0 be given. We choose δ=ϵ2. For all x∈ℝ with |x−a|<δ there is:

|f(x)−f(a)|=|5+x2−5+a2|=|5+x2−5+a2|⋅|5+x2+5+a2||5+x2+5+a2|=|x2−a2|5+x2+5+a2=|x+a|5+x2+5+a2⋅|x−a|≤(|x|5+x2+5+a2+|a|5+x2+5+a2)⋅|x−a|≤(|x|5+x2+|a|5+a2)⋅|x−a|≤(1+1)⋅|x−a|≤2⋅|x−a|↓ |x−a|<δ=ϵ2<2⋅ϵ2=ϵ

Hence, f is a continuous function.

Using the Local Nature of Continuity

[edit | edit source]

If applicable, one can use the fact that continuity is a local property. Namely, when a function f looks the same as another function g in a certain point x, i.e. f(x)=g(x) on some small neighborhood of x, and we know g to be continuous, then f must also be continuous at x. For example, consider the function f:ℝ∖{0}→ℝ with f(x)=1 for positive x and f(x)=−1 for negative x. Now we choose some random positive number x0. In a sufficiently small neighborhood of x0, f is constant 1:

The function f is constantly 1 in a sufficiently small neighborhood of a positive argument.
The function f is constantly 1 in a sufficiently small neighborhood of a positive argument.

Since constant functions are continuous, f is also continuous at the point x0. Similarly, one can show that f is also locally constant for negative number. Then f is also continuous for negative numbers, and is therefore continuous for all real numbers. In the proof we write:


Such an argument can often be applied to functions that are defined by a case differential. Our function f is a good example of that. In conclusion, it's defined as:

f:ℝ∖{0}→ℝ:x↦{1x>00x<0

However, the local nature of continuity can not be used as an argument for every function defined by a case differential! Let's consider the following function g:

g:ℝ→ℝ:x↦{x2x≥0|x|x<0

For all points that are not zero we can construct a proof like we've done earlier in this chapter to show that the function is continuous at these points. However, at the point x0=0 we have to construct a different argument. For example, here we could consider the left- and right-sided limits.

Sequence Criterion

[edit | edit source]


‌

Review: Sequence Criterion

[edit | edit source]
Definition (Sequence criterion of continuity)

A function f:D→ℝ with D⊆ℝ is continuous, if for all x∈D and all sequences (xn)n∈ℕ with ∀n∈ℕ:xn∈D and limn→∞xn=x there is:

limn→∞f(xn)=f(limn→∞xn)=f(x)

General Proof Structure

[edit | edit source]

In order to prove continuity of a function at some x0 , we need to show that for each sequence (xn)n∈ℕ of arguments converging to limn→∞xn=x0 , there is limn→∞f(xn)=f(x0) . A proof for this could schematically look as follows:

Let f:… be a function defined by f(x)=… and x0=… . In addition, let (xn)n∈ℕ be any sequence of arguments satisfying limn→∞xn=x0. Then, there is:
limn→∞f(xn)=…=f(x0)


In order to prove continuity for the function f (for all arguments in its domain of definition), we need to slightly adjust that scheme:

Let f:… be a function defined by f(x)=… and let x0 be any element of the domain of definition for f. In addition, let (xn)n∈ℕ be any sequence of arguments satisfying limn→∞xn=x0. Then, there is:
limn→∞f(xn)=…=f(x0)


Example Problem

[edit | edit source]
Exercise (Continuity of quadratic functions)

Show that the quadratic function f:ℝ→ℝ:x↦x2 is continuous.

Proof (Continuity of quadratic functions)

Let f:ℝ→ℝ:x↦x2. Consider any sequence (xn)n∈ℕ, converging to x . There is

limn→∞f(xn)=limn→∞xn2=limn→∞xn⋅xn↓ limn→∞an⋅bn=limn→∞an⋅limn→∞bn=(limn→∞xn)⋅(limn→∞xn)↓ assumptionlimn→∞xn=x=x⋅x=x2=f(x)

So we may pull the limit inside the brackets for the quadratic function and hence, it is continuous.

Epsilon-Delta Criterion

[edit | edit source]


‌

Review: Epsilon-Delta Criterion

[edit | edit source]
Definition (Epsilon-Delta-definition of continuity)

A function f:D→ℝ with D⊆ℝ is continuous at x0∈D, if and only if for any ϵ>0 there is a δ>0 , such that |f(x)−f(x0)|<ϵ holds for all x∈D with |x−x0|<δ . Written in mathematical symbols, that means f is continuous at x0∈D if and only if

∀ϵ>0∃δ>0∀x∈D:|x−x0|<δ⟹|f(x)−f(x0)|<ϵ

General Proof Structure

[edit | edit source]

In mathematical quantifiers, the epsilon-delta definition of continuity of a function f at the point x0 reads:

∀ϵ>0 ∃δ>0 ∀x∈D:|x−x0|<δ⟹|f(x)−f(x0)|<ϵ

This technical method of writing the claim specifies the general proof structure for proving continuity using the epsilon-delta criterion:

Let ϵ>0 be arbitrary.⏟∀ϵ>0 Choose δ=… There is δ, since…⏟∃δ>0Let x∈D with |x−x0|<δ be arbitrary.⏟∀x∈D:|x−x0|<δ There is: |f(x)−f(x0)|<…<ϵ⏟⟹|f(x)−f(x0)|<ϵ

Example Problem and General Procedure

[edit | edit source]
Exercise (Continuity of the quadratic function)

Prove that the function f:ℝ→ℝ with f(x)=x2 is continuous.

How to get to the proof? (Continuity of the quadratic function)

For this proof, we need to show that the square function is continuous at any argument x0∈ℝ . Using the proof structure for the epsilon-delta criterion, we are given an arbitrary ϵ>0 . Our job is to find a suitable δ>0 , such that the inequality |f(x)−f(x0)|<ϵ holds for all |x−x0|<δ.

In order to find a suitable δ , we plug in the definition of the function f(x)=x2 into the expression |f(x)−f(x0)| which shall be smaller than ϵ:

|f(x)−f(x0)|=|x2−x02|

The expression |x−x0| may easily be controlled by δ. Hence, it makes sense to construct an upper estimate for |x2−x02| which includes |x−x0| and a constant. The factor |x−x0| appears if we perform a factorization using the third binomial formula:

|x2−x02|=|x+x0||x−x0|

The requirement |x−x0|<δ allows for an upper estimate of our expression:

|x+x0||x−x0|<|x+x0|⋅δ

The δ we are looking for may only depend on ϵ and x0 . So the dependence on x in the factor |x+x0|⋅δ is still a problem. We resolve it by making a further upper estimate for the factor |x−x0| . We will use a simple, but widely applied "trick" for that: A x0 is subtracted and then added again at another place (so we are effectively adding a 0) , such that the expression x−x0 appears:

|x+x0|⋅δ=|x−x0+x0⏟= 0+x0|⋅δ=|x−x0+2x0|⋅δ

The absolute |x−x0| is obtained using the triangle inequality. This absolute |x−x0| is again bounded from above by δ :

|x−x0+2x0|⋅δ≤(|x−x0|+|2x0|)⋅δ<(δ+2|x0|)⋅δ

So reshaping expressions and applying estimates, we obtain:

|f(x)−f(x0)|<(δ+2|x0|)⋅δ

With this inequality in hand, we are almost done. If δ is chosen in a way that (δ+2|x0|)⋅δ≤ϵ , we will get the final inequality |f(x)−f(x0)|<ϵ . This δ is practically found solving the quadratic equation δ2+2|x0|δ=ϵ for δ . Or even simpler, we may estimate (δ+2|x0|)⋅δ from above. We use that we may freely impose any condition on δ . If we, for instance, set δ≤1, then δ+2|x0|≤1+2|x0| which simplifies things:

|f(x)−f(x0)|<(δ+2|x0|⏟≤1+2|x0|)⋅δ≤(1+2|x0|)⋅δ

So (1+2|x0|)⋅δ≤ϵ will also do the job. This inequality can be solved for δ to get the second condition on δ(the first one was δ≤1):

(1+2|x0|)⋅δ≤ϵ⟺δ≤ϵ1+2|x0|

So any δ fulfilling both conditions does the job: δ≤1 and δ=ϵ1+2|x0| have to hold. Ind indeed, both are true for δ:=min⁡{1,ϵ1+2|x0|}. This choice will be included into the final proof:

Proof (Continuity of the quadratic function)

Let ϵ>0 be arbitrary and δ:=min⁡{1,ϵ1+2|x0|}. If an argument x fulfills |x−x0|<δ then:

|f(x)−f(x0)|=|x2−x02|=|x+x0||x−x0|↓ |x−x0|<δ<|x+x0|⋅δ=|x−x0+x0⏟= 0+x0|⋅δ=|x−x0+2x0|⋅δ≤(|x−x0|+2|x0|)⋅δ↓ |x−x0|<δ<(δ+2|x0|)⋅δ↓ δ≤1≤(1+2|x0|)⋅δ↓ δ=ϵ1+2|x0|=(1+2|x0|)⋅ϵ1+2|x0|=ϵ

This shows that the square function is continuous by the epsilon-delta criterion.

Concatenated absolute function

[edit | edit source]
Exercise (Example for a proof of continuity)

Prove that the following function is continuous at x0=1:

f:ℝ→ℝ:x↦f(x)=5|x2−2|+3

How to get to the proof? (Example for a proof of continuity)

We need to show that for each given ϵ>0 , there is a δ>0 , such that for all x∈ℝ with |x−x0|<δ the inequality |f(x)−f(x0)|<ϵ holds. In our case, x0=1. So by choosing |x−1|<δ for δ small enough, we may control the expression |x−1| . First, let us plug x0=1| into |f(x)−f(x0)| in order to simplify the inequality to be shown |f(x)−f(x0)|<ϵ :

|f(x)−f(x0)|=|f(x)−f(1)|=|5⋅|x2−2|+3−(5|12−2|+3)|=|5⋅|x2−2|−5|=5⋅||x2−2|−1|

The objective is to "produce" as many expressions |x−1| as possible, since we can control |x−1|<δ. It requires some experience with epsilon-delta proofs in order to "directly see" how this is achieved. First, we need to get rid of the double absolute. This is done using the inequality ||a|−|b||≤|a−b| . For instance, we could use the following estimate:

|f(x)−f(x0)|=…=5⋅||x2−2|−1|=5⋅||x2−2|−|1|| ↓ ||a|−|b||≤|a−b|≤5⋅|x2−2−1|=5⋅|x2−3|

However, this is a bad estimate as the expression |x2−3| no longer tends to 0 as x→1 . To resolve this problem, we use 1=|−1| before applying the inequality ||a|−|b||≤|a−b| :

|f(x)−f(x0)|=…=5⋅|x2−2|−1|=5⋅|x2−2|−|−1||↓ |a−b|≥||a|−|b||≤5⋅|x2−2−(−1)|=5⋅|x2−1|

A factor of |x−1| can be directly extracted out of this with the third binomial fomula:

|f(x)−f(x0)|=…≤5⋅|x2−1|=5⋅|x+1||x−1|

And we can control it by |x−1|<δ:

|f(x)−f(x0)|=…≤5⋅|x2−1|=5⋅|x+1||x−1|<5⋅|x+1|⋅δ

Now, the required δ must only depend on ϵ and x0 . Therefore, we have to get rid of the x-dependence of 5|x+1|⋅δ. This can be done by finding an upper bound for 5|x+1| which does not depend on x. As we are free to chose any δ for our proof, we may also impose any condition to it which helps us with the upper bound. In this case, δ≤1 turns out to be quite useful. In fact, δ≤2 or an even higher bound would do this job, as well. What follows from this choice?

As before, there has to be |x−1|<δ. As δ≤1 , we now have |x−1|<1 and as x∈[1−1;1+1] , we obtain 1+x∈[1;3] and |x+1|≤3. This is the upper bound we were looking for:

|f(x)−f(x0)|=…<5⋅|x+1|⋅δ↓ |x+1|≤3≤15⋅δ

As we would like to show |f(x)−f(1)|<ϵ , we set δ=ϵ15. And get that our final inequality holds:

|f(x)−f(x0)|=…<15⋅δ≤15⋅ϵ15≤ϵ.

So if the two conditions for δ are satisfied, we get the final inequality. In fact, both conditions will be satisfied if δ=min⁡{1,ϵ15}, concluding the proof. So let's conclude our ideas and write them down in a proof:

Proof (Example for a proof of continuity)

Let ϵ>0 be arbitrary and let δ=min⁡{1,ϵ15}. Further, let x∈ℝ with |x−1|<δ. Then:

Step 1: |x+1|≤3

As δ=min⁡{1,ϵ15} , there is δ≤1. Hence |x−1|≤1 and x∈[1−1;1+1]. It follows that 1+x∈[1;3] and therefore |x+1|≤3.

Step 2: |f(x)−f(x0)|<ϵ

|f(x)−f(x0)|=|f(x)−f(1)|=|5⋅|x2−2|+3−(5|12−2|+3)|=|5⋅|x2−2|−5|=5⋅||x2−2|−1|↓ 1⟺|−1|=5⋅||x2−2|−|−1||↓ |a−b|≥||a|−|b||≤5⋅|x2−2−(−1)|=5⋅|x2−1|↓ a2−b2=(a+b)(a−b)=5⋅(|x+1|⋅|x−1|⏟<δ)<5⋅|x+1|⋅δ↓ |x+1|≤3≤15δ↓ δ=ϵ15=15⋅ϵ15≤ϵ

Hence, the function is continuous at x0=1 .

Hyperbola

[edit | edit source]
Exercise (Continuity of the hyperbolic function)

Prove that the function f:ℝ+→ℝ with f(x)=1x is continuous.

How to get to the proof? (Continuity of the hyperbolic function)

The basic pattern for epsilon-delta proofs is applied here, as well. We would like to show the implication |x−x0|<δ⟹|f(x)−f(x0)|<ϵ . Forst, let us plug in what we know and reshape our terms a bit until a |x−x0| appears:

|f(x)−f(x0)|=|1x−1x0|=|x−x0x⋅x0|=|x−x0||x||x0|=1|x||x0|⋅|x−x0|

By assumption, there will be |x−x0|<δ, of which we can make use:

|f(x)−f(x0)|=…=1|x||x0|⋅|x−x0|<1|x||x0|⋅δ

The choice of δ may again only depend on ϵ and x0 so we need a smart estimate for 1|x| in order to get rid of the x-dependence. To do so, we consider δ≤x02.

Why was δ≤x02 and not δ≤1 chosen? The explanation is quite simple: We need a δ-neighborhood inside the domain of definition of f. If we had simply chosen δ≤1 , we might have get kicked out of this domain. For instance, in casex0=12, the following problem appears:

The biggest x-value with |x−12|<1 is xmax=32 and the smallest one is xmin=−12. However, xmin is not inside the domain of definition as f:ℝ+→ℝ. In particular, x=0 is element of that interval, where f(x)=1x cannot be defined at all.

A smarter choice for δ, such that the δ-neighborhood doesn't touch the y-axis is half of the distance to it, i.e. δ≤x02. A third of this distance or other fractions smaller than 1 would also be possible: δ≤x03, δ<x020 or δ<x05321.

As we chose δ≤x02 and by |x−x0|<δ , there is x∈[x02;3x02]. This allows for an upper bound: 1|x|≤2|x0| and we may write:

|f(x)−f(x0)|=…<1|x||x0|⋅δ↓ δ=ϵ⋅|x0|22≤2|x0|2⋅δ

So we get the estimate:

|f(x)−f(x0)|≤2|x0|2⋅δ

Now, we want to prove |f(x)−f(x0)|<ϵ . Hence we choose δ≤ϵ⋅|x0|22. Plugging this in, our final inequality |f(x)−f(x0)|<ϵ will be fulfilled.

So again, we imposed two conditions for δ : δ≤x02 and δ≤ϵ⋅|x0|22. Both are fulfilled by δ=min⁡{x02,ϵ⋅|x0|22}, which we will use in the proof:

Proof (Continuity of the hyperbolic function)

Let f:ℝ+→ℝ with f(x)=1x and let x0∈ℝ+ be arbitrary. Further, let ϵ>0 be arbitrary. We choose δ:=min⁡{x02,ϵ⋅|x0|22}. For all x∈ℝ with |x−x0|<δ there is:

|f(x)−f(x0)|=|1x−1x0|=|x−x0x⋅x0|=|x−x0||x||x0|=1|x||x0||x−x0|↓ 1|x|≤2|x0|≤2|x0|2|x−x0|↓ |x−x0|<δ<2δ|x0|2↓ δ=ϵ⋅|x0|22=2|x0|2⋅ϵ⋅|x0|22=ϵ

Hence, the function f is continuous at x0 . And as x0 was chosen to be arbitrary, the whole function f is continuous.

Concatenated square root function

[edit | edit source]
Exercise (Epsilon-Delta proof for the continuity of the Square Root Function)

Show, using the epsilon-delta criterion, that the following function is continuous:

f:ℝ→ℝ,x↦5+x2

How to get to the proof? (Epsilon-Delta proof for the continuity of the Square Root Function)

We need to show, that for any given ϵ>0 , there is a δ>0 , such that all x∈ℝ with |x−a|<δ satisfy the inequality |f(x)−f(a)|<ϵ . So let us take a look at the target inequality |f(x)−f(a)|<ϵ and estimate the absolute |f(x)−f(a)| from above. We are able to control the term |x−a| . Therefor, would like to get an upper bound for |f(x)−f(a)| including the expression |x−a| . So we are looking for an inequality of the form

|f(x)−f(a)|≤K(x,a)⋅|x−a|

Here, K(x,a) is some expression depending on x and a . The second factor is smaller than δ and can be made arbitrarily small by a suitable choice of δ . Such a bound is constructed as follows:

|f(x)−f(a)|=|5+x2−5+a2|↓ expand with|5+x2+5+a2|=|5+x2−5+a2|⋅|5+x2+5+a2||5+x2+5+a2|↓ 5+x2+5+a2≥0=|x2−a2|5+x2+5+a2=|x+a|5+x2+5+a2⋅|x−a|↓ K(x,a):=|x+a|5+x2+5+a2=K(x,a)⋅|x−a|

Since |x−a|<δ , there is:

|f(x)−f(a)|=K(x,a)⋅|x−a|<K(x,a)⋅δ

If we now choose δ small enough, such that K(x,a)⋅δ≤ϵ , then we obtain our target inequality |f(x)−f(a)|≤ϵ. But K(x,a) still depends on x , so δ would have to depend on , too - and we required one choice of δ which is suitable for all x . Therefore, we need to get rid of the x-dependence. This is done by an estimate of the first factor, such that our inequality takes the form K(x,a)≤K~(a) :

K(x,a)=|x+a|5+x2+5+a2↓ triangle inequality≤|x|5+x2+5+a2+|a|5+x2+5+a2↓ ab+c≤ab for a,c≥0,b>0≤|x|5+x2+|a|5+a2↓ |a|5+a2≤1, since 5+a2≥a2=|a|≤2=:K~(a)

We even made K~(a) independent of a , which would in fact not have been necessary. So we obtain the following inequality

|f(x)−f(a)|≤2⋅|x−a|<2⋅δ

We need the estimate 2⋅δ≤ϵ, in order to fulfill the target inequality |f(x)−f(a)|<ϵ . The choice of δ=ϵ2 is sufficient for that. So let us write down the proof:

Proof (Epsilon-Delta proof for the continuity of the Square Root Function)

Let f:ℝ→ℝ with f(x)=5+x2. Let a∈ℝ and an arbitrary ϵ>0 be given. We choose δ=ϵ2. For all x∈ℝ with |x−a|<δ there is:

|f(x)−f(a)|=|5+x2−5+a2|=|5+x2−5+a2|⋅|5+x2+5+a2||5+x2+5+a2|=|x2−a2|5+x2+5+a2=|x+a|5+x2+5+a2⋅|x−a|≤(|x|5+x2+5+a2+|a|5+x2+5+a2)⋅|x−a|≤(|x|5+x2+|a|5+a2)⋅|x−a|≤(1+1)⋅|x−a|≤2⋅|x−a|↓ |x−a|<δ=ϵ2<2⋅ϵ2=ϵ

Hence, f is a continuous function.

Discontinuity of the topological sine function

[edit | edit source]
Exercise (Discontinuity of the topological sine fucntion)

Prove the discontinuity at x0=0 for the topological sine function:

f:ℝ→ℝ:x↦{sin⁡(1x)x≠00x=0

How to get to the proof? (Discontinuity of the topological sine fucntion)

In this exercise, discontinuity has to be shown for a given function. This is done by the negation of the epsilon-delta criterion. Our objective is to find both an ϵ>0 and an x∈ℝ, such that |x−x0|<δ and |f(x)−f(x0)|≥ϵ . Here, x may be chosen depending on δ , while ϵ has to be the same for all δ>0 . For a solution, we may proceed as follows

Step 1: Simplify the target inequality

First, we may simplify the two inequalities which have to be fulfilled by plugging in x0=0 and f(x0)=0. We therefore get: |x|<δ and |f(x)|≥ϵ.

Step 2: Choose a suitable ϵ>0

We consider the graph of the function f . It will help us finding the building bricks for our proof:

Graph of the topological sine function
Graph of the topological sine function

We need to find an ϵ>0 , such that there are arguments in each arbitrarily narrow interval (x0−δ,x0+δ)=(−δ,δ) whose function values have a distance larger than ϵ from f(x0)=f(0)=0 . Visually, no matter how small the width δ of the 2ϵ-2δ-rectangle is chosen, there will always be some points below or above it.

Taking a look at the graph, we see that our function oscillates between −1 and 1 . Hence, ϵ≤1 may be useful. In that case, there will be function values with |f(x)|≥1 in every arbitrarily small neighborhood around x0=0. We choose ϵ=12. This is visualized in the following figure:

The topological sine function oscillates between -1 and 1 nea the origin. Hence, in each neighborhood around 0, there will be arguments x , where f(x) has a distance larger than 1/2 to 0.
The topological sine function oscillates between -1 and 1 nea the origin. Hence, in each neighborhood around 0, there will be arguments x , where f(x) has a distance larger than 1/2 to 0.

After ϵ has been chosen, an arbitrary δ>0 will be assumed, for which we need to find a suitable x. This is what we will do next.

Step 3: Choice of a suitable x∈ℝ

We just set ϵ=12 . Therefore, |sin⁡(1x)|≥12 has to hold. So it would be nice to choose an x with sin⁡(1x)=1 . Now, sin⁡(a)=1 is obtained for any a=π2+2kπ with k∈ℤ . The condition for x such that the function gets 1 is therefore:

1x=π2+2kπ⟺x=1π2+2kπ

So we found several x , where |f(x)|≥ϵ . Now we only need to select one among them, which satisfies |x|<δ for the given δ . Our x depend on k . So we have to select a suitable k∈ℤ , where |x|<δ . To do so, let us plug x=1π2+2kπ into this inequality and solve it for k :

|x|<δ⟺|1π2+2kπ|<δ⟺1π2+2kπ<δ⟺2kπ+π2>1δ⟺2kπ>1δ−π2⟺k>12π(1δ−π2)

So the condition on k is k>12π(1δ−π2). If we choose just any natural number k above this threshold 12π(1δ−π2) , then |x|<δ will be fulfilled. Such a k has to exist by Archimedes' axiom (for instance by flooring up the right-hand expression). So let us choose such a k and define x via x=1π2+2kπ . This gives us both |x|<δ and |f(x)|≥ϵ . So we got all building bricks together, which we will now assemble to a final proof:

Proof (Discontinuity of the topological sine fucntion)

Choose ϵ=12 and let δ>0 be arbitrary. Choose a natural number k with k>12π(1δ−π2). Such a natural number k has to exist by Archimedes' axiom. Further, let x=1π2+2kπ. Then:

k>12π(1δ−π2)⟹2kπ>1δ−π2⟹2kπ+π2>1δ↓ 1a>1b>0⟺0<a<b⟹1π2+2kπ<δ↓ 1π2+2kπ>0⟹|1π2+2kπ|<δ↓ x=1π2+2kπ⟹|x|<δ

In addition:

|f(x)−f(0)|=|sin⁡(1x)−0|↓ x=1π2+2kπ=|sin⁡(π2+2kπ)|↓ sin⁡(π2+2kπ)=1=|1|≥12=ϵ

Hence, the function is discontinuous at x0=0.

Example Problems

[edit | edit source]

Sequence Criterion: Absolute Value Function

[edit | edit source]
Exercise (Continuity of the absolute function)

Prove continuity for the absolute function.

Proof (Continuity of the absolute function)

Let f:ℝ→ℝ with f(x)=|x| be the absolute function. Let x0∈ℝ be a real number and (xn)n∈ℕ a sequence converging to it limn→∞xn=x0. In the chapter on limit theorems we have proven the absolute rule, stating that limn→∞|xn|=|x0| , whenever there is limn→∞xn=x0 . Hence:

limn→∞f(xn)=limn→∞|xn|=|x0|=f(x0)

This proves continuity of the absolute function f by the sequence criterion.

Discontinuity of the topological sine function

[edit | edit source]
Exercise (Discontinuity of the topological sine function)

Prove discontinuity of the following function:

f:ℝ→ℝ:x↦{sin⁡(1x)x≠00x=0

How to get to the proof? (Discontinuity of the topological sine function)

Discontinuity of f means that this function has at least one argument where f is discontinuous. For each x≠0 , f is equal to the function sin⁡(1x) in a sufficiently small neighbourhood of x. Since sin⁡(1x) is just a composition of continuous functions, it is continuous itself and therefore, f must be continuous for all x≠0 , as well. So we know that the discontinuity may only be situated at x=0 .

In order to prove that f is discontinuous at x=0 , we need to find a sequence of arguments (xn)n∈ℕ converging to limn→∞xn=0 but with limn→∞f(xn)≠f(0) . To find such a function, let us take a look at the graph of the function f :

Graph of the topological sine function f
Graph of the topological sine function f

In this figure, we recognize that f takes any value between −1 and 1 infinitely often in the vicinity of x=0. So, for instance, we may just choose (xn)n∈ℕ such that f(xn) is always 1 . This guarantees that limn→∞f(xn)=1≠0=f(0) - and actually any other real number f(xn)≠0 between −1 and 1 in place of f(xn)=1 would do the job. But we need to make a specific choice for xn , and f(xn)=1 is a very simple one. In addition, we will choose xn to converges to zero from above.

The following figure also contains the sequence elements xn beside our function f. We may clearly see that for xn→0 the sequence of function values converges to 1 , which is different from the function value f(0)=0 :

Graph of the topological sine function f together with the function values for our sequence of arguments, which converges to 0 from the right and always takes function value 1.
Graph of the topological sine function f together with the function values for our sequence of arguments, which converges to 0 from the right and always takes function value 1.

But what are the exact values of these xn for which we would like to have f(xn)=1 To answer this question, let us resolve the equation f(x)=1 for x :

f(x)=1⟺f(0)≠0sin⁡(1x)=1⟺∃k∈ℤ:1x=π2+2kπ⟺∃k∈ℤ:x=1π2+2kπ

So for each x=1π2+2kπ with k∈ℤ , we have f(x)=1. In order to get positive xn converging to zero from above, we may for instance choose xn=1π2+2nπ. In that case:

limn→∞xn=limn→∞1π2+2nπ=0

And we have seen that limn→∞f(xn)=1≠0=f(0) . So we found just a sequence of arguments (xn)n∈ℕ , which proves discontinuity of f at x=0 .

Proof (Discontinuity of the topological sine function)

Let f:ℝ→ℝ with f(x)=sin⁡(1x) for x≠0 and f(0)=0. We consider the sequence (xn)n∈ℕ defined by xn=1π2+2nπ. For this sequence:

limn→∞xn=limn→∞1π2+2nπ=0

And there is:

limn→∞f(xn)=limn→∞f(1π2+2nπ)=limn→∞sin⁡(11π2+2nπ)=limn→∞sin⁡(π2+2nπ)=limn→∞1=1

Hence, limn→∞f(xn)=1≠0=f(0) although limn→∞xn=0 . This proves that f is discontinuous at x=0 and therefore it is a discontinuous function.

Epsilon-Delta Criterion: Linear Function

[edit | edit source]
Exercise (Continuity of a linear function)

Prove that a linear function f:ℝ→ℝ with f(x)=13x is continuous.

How to get to the proof? (Continuity of a linear function)
Graph of a function f:ℝ→ℝ with f(x)=13x. Considering the graph , we see that this function is continuous everywhere.

To actually prove continuity of f , we need to check continuity at any argument x0∈ℝ . So let x0 be an arbitrary real number. Now, choose any arbitrary maximal error ϵ>0 . Our task is now to find a sufficiently small δ>0 , such that |f(x)−f(x0)|<ϵ for all arguments x with |x−x0|<δ . Let us take a closer look at the inequality |f(x)−f(x0)|<ϵ :

|f(x)−f(x0)|<ϵ⟺|13x−13x0|<ϵ⟺|13(x−x0)|<ϵ⟺13|x−x0|<ϵ

That means, 13|x−x0|<ϵ has to be fulfilled for all x with |x−x0|<δ . How to choose δ , such that |x−x0|<δ implies 13|x−x0|<ϵ ?

We use that the inequality 13|x−x0|<ϵ contains the distance |x−x0| . As |x−x0|<δ we know that this distance is smaller than δ . This can be plugged into the inequality 13|x−x0| :

13|x−x0|<|x−x0|<δ13δ

If δ is now chosen such that 13δ≤ϵ , then 13|x−x0|<13δ will yield the inequality 13|x−x0|<ϵ which we wanted to show. The smallness condition for δ can now simply be found by resolving 13δ≤ϵ for δ:

13δ≤ϵ⟺δ≤3ϵ

Any δ satisfying 0<δ≤3ϵ could be used for the proof. For instance, we may use δ=3ϵ. As we now found a suitable δ, we can finally conduct the proof:

Proof (Continuity of a linear function)

Let f:ℝ→ℝ with f(x)=13x and let x0∈ℝ be arbitrary. In addition, consider any ϵ>0 to be given. We choose δ=3ϵ. Let x∈ℝ with |x−x0|<δ. There is:

|f(x)−f(x0)|=|13x−13x0|=|13(x−x0)|=13|x−x0|↓ |x−x0|<δ<13δ↓ δ=3ϵ≤13(3ϵ)=ϵ

This shows |f(x)−f(x0)|<ϵ, and establishes continuity of f at x0 by means of the epsilon-delta criterion. Since x0∈ℝ was chosen to be arbitrary, we also know that the entire function f is continuous.

Epsilon-Delta Criterion: Concatenated Absolute Value Function

[edit | edit source]
Exercise (Example for a proof of continuity)

Prove that the following function is continuous at x0=1:

f:ℝ→ℝ:x↦f(x)=5|x2−2|+3

How to get to the proof? (Example for a proof of continuity)

We need to show that for each given ϵ>0 , there is a δ>0 , such that for all x∈ℝ with |x−x0|<δ the inequality |f(x)−f(x0)|<ϵ holds. In our case, x0=1. So by choosing |x−1|<δ for δ small enough, we may control the expression |x−1| . First, let us plug x0=1| into |f(x)−f(x0)| in order to simplify the inequality to be shown |f(x)−f(x0)|<ϵ :

|f(x)−f(x0)|=|f(x)−f(1)|=|5⋅|x2−2|+3−(5|12−2|+3)|=|5⋅|x2−2|−5|=5⋅||x2−2|−1|

The objective is to "produce" as many expressions |x−1| as possible, since we can control |x−1|<δ. It requires some experience with epsilon-delta proofs in order to "directly see" how this is achieved. First, we need to get rid of the double absolute. This is done using the inequality ||a|−|b||≤|a−b| . For instance, we could use the following estimate:

|f(x)−f(x0)|=…=5⋅||x2−2|−1|=5⋅||x2−2|−|1|| ↓ ||a|−|b||≤|a−b|≤5⋅|x2−2−1|=5⋅|x2−3|

However, this is a bad estimate as the expression |x2−3| no longer tends to 0 as x→1 . To resolve this problem, we use 1=|−1| before applying the inequality ||a|−|b||≤|a−b| :

|f(x)−f(x0)|=…=5⋅|x2−2|−1|=5⋅|x2−2|−|−1||↓ |a−b|≥||a|−|b||≤5⋅|x2−2−(−1)|=5⋅|x2−1|

A factor of |x−1| can be directly extracted out of this with the third binomial fomula:

|f(x)−f(x0)|=…≤5⋅|x2−1|=5⋅|x+1||x−1|

And we can control it by |x−1|<δ:

|f(x)−f(x0)|=…≤5⋅|x2−1|=5⋅|x+1||x−1|<5⋅|x+1|⋅δ

Now, the required δ must only depend on ϵ and x0 . Therefore, we have to get rid of the x-dependence of 5|x+1|⋅δ. This can be done by finding an upper bound for 5|x+1| which does not depend on x. As we are free to chose any δ for our proof, we may also impose any condition to it which helps us with the upper bound. In this case, δ≤1 turns out to be quite useful. In fact, δ≤2 or an even higher bound would do this job, as well. What follows from this choice?

As before, there has to be |x−1|<δ. As δ≤1 , we now have |x−1|<1 and as x∈[1−1;1+1] , we obtain 1+x∈[1;3] and |x+1|≤3. This is the upper bound we were looking for:

|f(x)−f(x0)|=…<5⋅|x+1|⋅δ↓ |x+1|≤3≤15⋅δ

As we would like to show |f(x)−f(1)|<ϵ , we set δ=ϵ15. And get that our final inequality holds:

|f(x)−f(x0)|=…<15⋅δ≤15⋅ϵ15≤ϵ.

So if the two conditions for δ are satisfied, we get the final inequality. In fact, both conditions will be satisfied if δ=min⁡{1,ϵ15}, concluding the proof. So let's conclude our ideas and write them down in a proof:

Proof (Example for a proof of continuity)

Let ϵ>0 be arbitrary and let δ=min⁡{1,ϵ15}. Further, let x∈ℝ with |x−1|<δ. Then:

Step 1: |x+1|≤3

As δ=min⁡{1,ϵ15} , there is δ≤1. Hence |x−1|≤1 and x∈[1−1;1+1]. It follows that 1+x∈[1;3] and therefore |x+1|≤3.

Step 2: |f(x)−f(x0)|<ϵ

|f(x)−f(x0)|=|f(x)−f(1)|=|5⋅|x2−2|+3−(5|12−2|+3)|=|5⋅|x2−2|−5|=5⋅||x2−2|−1|↓ 1⟺|−1|=5⋅||x2−2|−|−1||↓ |a−b|≥||a|−|b||≤5⋅|x2−2−(−1)|=5⋅|x2−1|↓ a2−b2=(a+b)(a−b)=5⋅(|x+1|⋅|x−1|⏟<δ)<5⋅|x+1|⋅δ↓ |x+1|≤3≤15δ↓ δ=ϵ15=15⋅ϵ15≤ϵ

Hence, the function is continuous at x0=1 .

Hyperbola

[edit | edit source]
Exercise (Continuity of the hyperbolic function)

Prove that the function f:ℝ+→ℝ with f(x)=1x is continuous.

How to get to the proof? (Continuity of the hyperbolic function)

The basic pattern for epsilon-delta proofs is applied here, as well. We would like to show the implication |x−x0|<δ⟹|f(x)−f(x0)|<ϵ . Forst, let us plug in what we know and reshape our terms a bit until a |x−x0| appears:

|f(x)−f(x0)|=|1x−1x0|=|x−x0x⋅x0|=|x−x0||x||x0|=1|x||x0|⋅|x−x0|

By assumption, there will be |x−x0|<δ, of which we can make use:

|f(x)−f(x0)|=…=1|x||x0|⋅|x−x0|<1|x||x0|⋅δ

The choice of δ may again only depend on ϵ and x0 so we need a smart estimate for 1|x| in order to get rid of the x-dependence. To do so, we consider δ≤x02.

Why was δ≤x02 and not δ≤1 chosen? The explanation is quite simple: We need a δ-neighborhood inside the domain of definition of f. If we had simply chosen δ≤1 , we might have get kicked out of this domain. For instance, in casex0=12, the following problem appears:

The biggest x-value with |x−12|<1 is xmax=32 and the smallest one is xmin=−12. However, xmin is not inside the domain of definition as f:ℝ+→ℝ. In particular, x=0 is element of that interval, where f(x)=1x cannot be defined at all.

A smarter choice for δ, such that the δ-neighborhood doesn't touch the y-axis is half of the distance to it, i.e. δ≤x02. A third of this distance or other fractions smaller than 1 would also be possible: δ≤x03, δ<x020 or δ<x05321.

As we chose δ≤x02 and by |x−x0|<δ , there is x∈[x02;3x02]. This allows for an upper bound: 1|x|≤2|x0| and we may write:

|f(x)−f(x0)|=…<1|x||x0|⋅δ↓ δ=ϵ⋅|x0|22≤2|x0|2⋅δ

So we get the estimate:

|f(x)−f(x0)|≤2|x0|2⋅δ

Now, we want to prove |f(x)−f(x0)|<ϵ . Hence we choose δ≤ϵ⋅|x0|22. Plugging this in, our final inequality |f(x)−f(x0)|<ϵ will be fulfilled.

So again, we imposed two conditions for δ : δ≤x02 and δ≤ϵ⋅|x0|22. Both are fulfilled by δ=min⁡{x02,ϵ⋅|x0|22}, which we will use in the proof:

Proof (Continuity of the hyperbolic function)

Let f:ℝ+→ℝ with f(x)=1x and let x0∈ℝ+ be arbitrary. Further, let ϵ>0 be arbitrary. We choose δ:=min⁡{x02,ϵ⋅|x0|22}. For all x∈ℝ with |x−x0|<δ there is:

|f(x)−f(x0)|=|1x−1x0|=|x−x0x⋅x0|=|x−x0||x||x0|=1|x||x0||x−x0|↓ 1|x|≤2|x0|≤2|x0|2|x−x0|↓ |x−x0|<δ<2δ|x0|2↓ δ=ϵ⋅|x0|22=2|x0|2⋅ϵ⋅|x0|22=ϵ

Hence, the function f is continuous at x0 . And as x0 was chosen to be arbitrary, the whole function f is continuous.

Concatenated square root function

[edit | edit source]
Exercise (Epsilon-Delta proof for the continuity of the Square Root Function)

Show, using the epsilon-delta criterion, that the following function is continuous:

f:ℝ→ℝ,x↦5+x2

How to get to the proof? (Epsilon-Delta proof for the continuity of the Square Root Function)

We need to show, that for any given ϵ>0 , there is a δ>0 , such that all x∈ℝ with |x−a|<δ satisfy the inequality |f(x)−f(a)|<ϵ . So let us take a look at the target inequality |f(x)−f(a)|<ϵ and estimate the absolute |f(x)−f(a)| from above. We are able to control the term |x−a| . Therefor, would like to get an upper bound for |f(x)−f(a)| including the expression |x−a| . So we are looking for an inequality of the form

|f(x)−f(a)|≤K(x,a)⋅|x−a|

Here, K(x,a) is some expression depending on x and a . The second factor is smaller than δ and can be made arbitrarily small by a suitable choice of δ . Such a bound is constructed as follows:

|f(x)−f(a)|=|5+x2−5+a2|↓ expand with|5+x2+5+a2|=|5+x2−5+a2|⋅|5+x2+5+a2||5+x2+5+a2|↓ 5+x2+5+a2≥0=|x2−a2|5+x2+5+a2=|x+a|5+x2+5+a2⋅|x−a|↓ K(x,a):=|x+a|5+x2+5+a2=K(x,a)⋅|x−a|

Since |x−a|<δ , there is:

|f(x)−f(a)|=K(x,a)⋅|x−a|<K(x,a)⋅δ

If we now choose δ small enough, such that K(x,a)⋅δ≤ϵ , then we obtain our target inequality |f(x)−f(a)|≤ϵ. But K(x,a) still depends on x , so δ would have to depend on , too - and we required one choice of δ which is suitable for all x . Therefore, we need to get rid of the x-dependence. This is done by an estimate of the first factor, such that our inequality takes the form K(x,a)≤K~(a) :

K(x,a)=|x+a|5+x2+5+a2↓ triangle inequality≤|x|5+x2+5+a2+|a|5+x2+5+a2↓ ab+c≤ab for a,c≥0,b>0≤|x|5+x2+|a|5+a2↓ |a|5+a2≤1, since 5+a2≥a2=|a|≤2=:K~(a)

We even made K~(a) independent of a , which would in fact not have been necessary. So we obtain the following inequality

|f(x)−f(a)|≤2⋅|x−a|<2⋅δ

We need the estimate 2⋅δ≤ϵ, in order to fulfill the target inequality |f(x)−f(a)|<ϵ . The choice of δ=ϵ2 is sufficient for that. So let us write down the proof:

Proof (Epsilon-Delta proof for the continuity of the Square Root Function)

Let f:ℝ→ℝ with f(x)=5+x2. Let a∈ℝ and an arbitrary ϵ>0 be given. We choose δ=ϵ2. For all x∈ℝ with |x−a|<δ there is:

|f(x)−f(a)|=|5+x2−5+a2|=|5+x2−5+a2|⋅|5+x2+5+a2||5+x2+5+a2|=|x2−a2|5+x2+5+a2=|x+a|5+x2+5+a2⋅|x−a|≤(|x|5+x2+5+a2+|a|5+x2+5+a2)⋅|x−a|≤(|x|5+x2+|a|5+a2)⋅|x−a|≤(1+1)⋅|x−a|≤2⋅|x−a|↓ |x−a|<δ=ϵ2<2⋅ϵ2=ϵ

Hence, f is a continuous function.

Discontinuity of the topological sine function

[edit | edit source]
Exercise (Discontinuity of the topological sine fucntion)

Prove the discontinuity at x0=0 for the topological sine function:

f:ℝ→ℝ:x↦{sin⁡(1x)x≠00x=0

How to get to the proof? (Discontinuity of the topological sine fucntion)

In this exercise, discontinuity has to be shown for a given function. This is done by the negation of the epsilon-delta criterion. Our objective is to find both an ϵ>0 and an x∈ℝ, such that |x−x0|<δ and |f(x)−f(x0)|≥ϵ . Here, x may be chosen depending on δ , while ϵ has to be the same for all δ>0 . For a solution, we may proceed as follows

Step 1: Simplify the target inequality

First, we may simplify the two inequalities which have to be fulfilled by plugging in x0=0 and f(x0)=0. We therefore get: |x|<δ and |f(x)|≥ϵ.

Step 2: Choose a suitable ϵ>0

We consider the graph of the function f . It will help us finding the building bricks for our proof:

Graph of the topological sine function
Graph of the topological sine function

We need to find an ϵ>0 , such that there are arguments in each arbitrarily narrow interval (x0−δ,x0+δ)=(−δ,δ) whose function values have a distance larger than ϵ from f(x0)=f(0)=0 . Visually, no matter how small the width δ of the 2ϵ-2δ-rectangle is chosen, there will always be some points below or above it.

Taking a look at the graph, we see that our function oscillates between −1 and 1 . Hence, ϵ≤1 may be useful. In that case, there will be function values with |f(x)|≥1 in every arbitrarily small neighborhood around x0=0. We choose ϵ=12. This is visualized in the following figure:

The topological sine function oscillates between -1 and 1 nea the origin. Hence, in each neighborhood around 0, there will be arguments x , where f(x) has a distance larger than 1/2 to 0.
The topological sine function oscillates between -1 and 1 nea the origin. Hence, in each neighborhood around 0, there will be arguments x , where f(x) has a distance larger than 1/2 to 0.

After ϵ has been chosen, an arbitrary δ>0 will be assumed, for which we need to find a suitable x. This is what we will do next.

Step 3: Choice of a suitable x∈ℝ

We just set ϵ=12 . Therefore, |sin⁡(1x)|≥12 has to hold. So it would be nice to choose an x with sin⁡(1x)=1 . Now, sin⁡(a)=1 is obtained for any a=π2+2kπ with k∈ℤ . The condition for x such that the function gets 1 is therefore:

1x=π2+2kπ⟺x=1π2+2kπ

So we found several x , where |f(x)|≥ϵ . Now we only need to select one among them, which satisfies |x|<δ for the given δ . Our x depend on k . So we have to select a suitable k∈ℤ , where |x|<δ . To do so, let us plug x=1π2+2kπ into this inequality and solve it for k :

|x|<δ⟺|1π2+2kπ|<δ⟺1π2+2kπ<δ⟺2kπ+π2>1δ⟺2kπ>1δ−π2⟺k>12π(1δ−π2)

So the condition on k is k>12π(1δ−π2). If we choose just any natural number k above this threshold 12π(1δ−π2) , then |x|<δ will be fulfilled. Such a k has to exist by Archimedes' axiom (for instance by flooring up the right-hand expression). So let us choose such a k and define x via x=1π2+2kπ . This gives us both |x|<δ and |f(x)|≥ϵ . So we got all building bricks together, which we will now assemble to a final proof:

Proof (Discontinuity of the topological sine fucntion)

Choose ϵ=12 and let δ>0 be arbitrary. Choose a natural number k with k>12π(1δ−π2). Such a natural number k has to exist by Archimedes' axiom. Further, let x=1π2+2kπ. Then:

k>12π(1δ−π2)⟹2kπ>1δ−π2⟹2kπ+π2>1δ↓ 1a>1b>0⟺0<a<b⟹1π2+2kπ<δ↓ 1π2+2kπ>0⟹|1π2+2kπ|<δ↓ x=1π2+2kπ⟹|x|<δ

In addition:

|f(x)−f(0)|=|sin⁡(1x)−0|↓ x=1π2+2kπ=|sin⁡(π2+2kπ)|↓ sin⁡(π2+2kπ)=1=|1|≥12=ϵ

Hence, the function is discontinuous at x0=0.

Epsilon-Delta Criterion: Hyperbola

[edit | edit source]
Exercise (Continuity of the hyperbolic function)

Prove that the function f:ℝ+→ℝ with f(x)=1x is continuous.

How to get to the proof? (Continuity of the hyperbolic function)

The basic pattern for epsilon-delta proofs is applied here, as well. We would like to show the implication |x−x0|<δ⟹|f(x)−f(x0)|<ϵ . Forst, let us plug in what we know and reshape our terms a bit until a |x−x0| appears:

|f(x)−f(x0)|=|1x−1x0|=|x−x0x⋅x0|=|x−x0||x||x0|=1|x||x0|⋅|x−x0|

By assumption, there will be |x−x0|<δ, of which we can make use:

|f(x)−f(x0)|=…=1|x||x0|⋅|x−x0|<1|x||x0|⋅δ

The choice of δ may again only depend on ϵ and x0 so we need a smart estimate for 1|x| in order to get rid of the x-dependence. To do so, we consider δ≤x02.

Why was δ≤x02 and not δ≤1 chosen? The explanation is quite simple: We need a δ-neighborhood inside the domain of definition of f. If we had simply chosen δ≤1 , we might have get kicked out of this domain. For instance, in casex0=12, the following problem appears:

The biggest x-value with |x−12|<1 is xmax=32 and the smallest one is xmin=−12. However, xmin is not inside the domain of definition as f:ℝ+→ℝ. In particular, x=0 is element of that interval, where f(x)=1x cannot be defined at all.

A smarter choice for δ, such that the δ-neighborhood doesn't touch the y-axis is half of the distance to it, i.e. δ≤x02. A third of this distance or other fractions smaller than 1 would also be possible: δ≤x03, δ<x020 or δ<x05321.

As we chose δ≤x02 and by |x−x0|<δ , there is x∈[x02;3x02]. This allows for an upper bound: 1|x|≤2|x0| and we may write:

|f(x)−f(x0)|=…<1|x||x0|⋅δ↓ δ=ϵ⋅|x0|22≤2|x0|2⋅δ

So we get the estimate:

|f(x)−f(x0)|≤2|x0|2⋅δ

Now, we want to prove |f(x)−f(x0)|<ϵ . Hence we choose δ≤ϵ⋅|x0|22. Plugging this in, our final inequality |f(x)−f(x0)|<ϵ will be fulfilled.

So again, we imposed two conditions for δ : δ≤x02 and δ≤ϵ⋅|x0|22. Both are fulfilled by δ=min⁡{x02,ϵ⋅|x0|22}, which we will use in the proof:

Proof (Continuity of the hyperbolic function)

Let f:ℝ+→ℝ with f(x)=1x and let x0∈ℝ+ be arbitrary. Further, let ϵ>0 be arbitrary. We choose δ:=min⁡{x02,ϵ⋅|x0|22}. For all x∈ℝ with |x−x0|<δ there is:

|f(x)−f(x0)|=|1x−1x0|=|x−x0x⋅x0|=|x−x0||x||x0|=1|x||x0||x−x0|↓ 1|x|≤2|x0|≤2|x0|2|x−x0|↓ |x−x0|<δ<2δ|x0|2↓ δ=ϵ⋅|x0|22=2|x0|2⋅ϵ⋅|x0|22=ϵ

Hence, the function f is continuous at x0 . And as x0 was chosen to be arbitrary, the whole function f is continuous.

Epsilon-Delta Criterion: Concatenated Root Function

[edit | edit source]
Exercise (Epsilon-Delta proof for the continuity of the Square Root Function)

Show, using the epsilon-delta criterion, that the following function is continuous:

f:ℝ→ℝ,x↦5+x2

How to get to the proof? (Epsilon-Delta proof for the continuity of the Square Root Function)

We need to show, that for any given ϵ>0 , there is a δ>0 , such that all x∈ℝ with |x−a|<δ satisfy the inequality |f(x)−f(a)|<ϵ . So let us take a look at the target inequality |f(x)−f(a)|<ϵ and estimate the absolute |f(x)−f(a)| from above. We are able to control the term |x−a| . Therefor, would like to get an upper bound for |f(x)−f(a)| including the expression |x−a| . So we are looking for an inequality of the form

|f(x)−f(a)|≤K(x,a)⋅|x−a|

Here, K(x,a) is some expression depending on x and a . The second factor is smaller than δ and can be made arbitrarily small by a suitable choice of δ . Such a bound is constructed as follows:

|f(x)−f(a)|=|5+x2−5+a2|↓ expand with|5+x2+5+a2|=|5+x2−5+a2|⋅|5+x2+5+a2||5+x2+5+a2|↓ 5+x2+5+a2≥0=|x2−a2|5+x2+5+a2=|x+a|5+x2+5+a2⋅|x−a|↓ K(x,a):=|x+a|5+x2+5+a2=K(x,a)⋅|x−a|

Since |x−a|<δ , there is:

|f(x)−f(a)|=K(x,a)⋅|x−a|<K(x,a)⋅δ

If we now choose δ small enough, such that K(x,a)⋅δ≤ϵ , then we obtain our target inequality |f(x)−f(a)|≤ϵ. But K(x,a) still depends on x , so δ would have to depend on , too - and we required one choice of δ which is suitable for all x . Therefore, we need to get rid of the x-dependence. This is done by an estimate of the first factor, such that our inequality takes the form K(x,a)≤K~(a) :

K(x,a)=|x+a|5+x2+5+a2↓ triangle inequality≤|x|5+x2+5+a2+|a|5+x2+5+a2↓ ab+c≤ab for a,c≥0,b>0≤|x|5+x2+|a|5+a2↓ |a|5+a2≤1, since 5+a2≥a2=|a|≤2=:K~(a)

We even made K~(a) independent of a , which would in fact not have been necessary. So we obtain the following inequality

|f(x)−f(a)|≤2⋅|x−a|<2⋅δ

We need the estimate 2⋅δ≤ϵ, in order to fulfill the target inequality |f(x)−f(a)|<ϵ . The choice of δ=ϵ2 is sufficient for that. So let us write down the proof:

Proof (Epsilon-Delta proof for the continuity of the Square Root Function)

Let f:ℝ→ℝ with f(x)=5+x2. Let a∈ℝ and an arbitrary ϵ>0 be given. We choose δ=ϵ2. For all x∈ℝ with |x−a|<δ there is:

|f(x)−f(a)|=|5+x2−5+a2|=|5+x2−5+a2|⋅|5+x2+5+a2||5+x2+5+a2|=|x2−a2|5+x2+5+a2=|x+a|5+x2+5+a2⋅|x−a|≤(|x|5+x2+5+a2+|a|5+x2+5+a2)⋅|x−a|≤(|x|5+x2+|a|5+a2)⋅|x−a|≤(1+1)⋅|x−a|≤2⋅|x−a|↓ |x−a|<δ=ϵ2<2⋅ϵ2=ϵ

Hence, f is a continuous function.