Jump to content

Mathematics for Applied Sciences (Osnabrück 2023-2024)/Part I/Lecture 10



Continuous functions

We denote the distance between two real numbers x and x′ by d(x,x′):=|x−x′|. For a given function

f:ℝ⟶ℝ,

one may ask whether it is possible to control the distance in the image (the target) by controlling the distance in the domain. Let x∈ℝ and let y=f(x) be its image. One would like that for points x′ that are close to x, also their image points f(x′) are close to f(x). Already linear functions with different slopes show that the measure for being close in the image and in the domain can not be the same. A reasonable question is whether for any desired exactness in the image there exists at all an exactness in the domain that ensures that the values of the function are lying inside the desired exactness. To make this intuitive idea more precise, let ϵ>0 be given. This ϵ represents an accuracy for the target. The question is whether one can find a δ>0 (representing an accuracy for the domain) such that for all x′ fulfilling d(x,x′)≤δ, also the relation d(f(x),f(x′))≤ϵ holds. This idea leads to the concept of a continuous function.


Let D⊆ℝ be a subset,

f:D⟶ℝ

a function, and x∈D a point. We say that f is continuous in the point x, if for every ϵ>0, there exists a δ>0, such that for all x′∈D fulfilling |x−x′|≤δ, the estimate |f(x)−f(x′)|≤ϵ holds. We say that f continuous, if it is continuous in every point

x∈D

D stands for the set of definition of the function. Typically, D is just ℝ, or an interval, or ℝ with finitely many points removed. Instead of working with the real numbers ϵ and δ, one might also work just with the unit fractions 1n and 1m.


A constant function

ℝ⟶ℝ,x⟼c,

is continuous. For every given ϵ, one can choose an arbitrary δ, since

d(f(x),f(x′))=d(c,c)=0≤ϵ

holds anyway.

The identity

ℝ⟶ℝ,x⟼x,

is also continuous. For every given ϵ, one can take δ=ϵ, yielding the tautology: If

d(x,x′)≤δ=ϵ,

then

d(f(x),f(x′))=d(x,x′)≤ϵ

holds.



We consider the function

f:ℝ⟶ℝ,

given by

f(x)={0, if x<0,1, if x≥0.

This function is not continuous in 0. For ϵ=12 and every positive δ, there exists a negative number x′ such that d(0,x′)=|x′|≤δ. But for such a number we have d(f(0),f(x′))=d(1,0)=1≰12.

It is not possible to draw any continuous function, even if you allow arbitrary enlargements. The image shows an approximation of a so-called Weierstraß-function, which is continuous, but nowhere differentiable. For a continuous function one can control the extent of the fluctuation in the image by reducing the seize of the definition interval, but the number of the fluctuations (how often the direction of the graph is changing) can not be controlled.


The following statement relates continuity to convergent sequences.


Lemma

Let D⊆ℝ be a subset,

f:D⟶ℝ

a function and x∈D

a point. Then the following statements are equivalent.
  1. f is continuous in the point x.
  2. For every convergent sequence (xn)n∈ℕ in D with limn→∞xn=x, also the image sequence (f(xn))n∈ℕ is convergent with limit f(x).

Proof  

Suppose that (1) is fulfilled and let (xn)n∈ℕ be a sequence in D converging to x. We have to show that

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

holds. To show this, let ϵ>0 be given. Due to (1), there exists a δ>0 fulfilling the estimation property (from the definition of continuity) and because of the convergence of (xn)n∈ℕ to x there exists a natural number n0 such that for all n≥n0 the estimate

d(xn,x)≤δ

holds. By the choice of δ we have

d(f(xn),f(x))≤ϵ for all n≥n0,

so that the image sequence converges to f(x).

Suppose now that (2) is fulfilled. We assume that f is not continuous. Then there exists an ϵ>0 such that for all δ>0 there exist elements z∈D such that their distance to x is at most δ, but such that the distance of their value f(z)to f(x) is larger than ϵ. This holds in particular for every δ=1/n, n∈ℕ+. This means that for every natural number n∈ℕ+, there exists a xn∈D with

d(xn,x)≤1n and with d(f(xn),f(x))>ϵ.

This sequence (xn)n∈ℕ converges to x, but the image sequence does not converge to f(x), since the distance of its members to f(x) is always at least ϵ. This contradicts condition (2).

◻



Rules for continuous functions

Lemma

Let D⊆ℝ and E⊆ℝ be subsets and let

f:D⟶ℝ

and

g:E⟶ℝ

denote functions with

f(D)⊆E. Then the following statements hold.
  1. If f is continuous in x∈D and g is continuous in f(x), then also the composition g∘f is continuous in x.
  2. If f and g are continuous, so is g∘f.

Proof  

The first statement follows from Lemma 10.4 . This implies also the second statement.

◻



Lemma

Let D⊆ℝ be a subset and let

f,g:D⟶ℝ

be continuous functions. Then also the functions

f+g:D⟶ℝ,x⟼f(x)+g(x),
f−g:D⟶ℝ,x⟼f(x)−g(x),
f⋅g:D⟶ℝ,x⟼f(x)⋅g(x),

are continuous. For a subset U⊆D such that g has no zero in U, also

f/g:U⟶ℝ,x⟼f(x)/g(x),
is continuous.

Proof  

This follows from Lemma 10.4 and Lemma 8.1 .

◻



Corollary

Polynomial functions

P:ℝ⟶ℝ,x⟼P(x),
are continuous.

Proof  

Due to Example 10. and Lemma 10.6 , the powers

ℝ⟶ℝ,x⟼xn,

are continuous for every n∈ℕ. Hence, also the functions

ℝ⟶ℝ,x⟼axn,

are continuous for every a∈ℝ and therefore, again due to Lemma 10.6 , the functions

ℝ⟶ℝ,x⟼anxn+an−1xn−1+⋯+a1x+a0,

are continuous.

◻


Rational functions are continuous on their domain.

Corollary

Let P,Q∈ℝ[X] be polynomials and let U:={x∈ℝ∣Q(x)≠0}. Then the rational function

U⟶ℝ,x⟼P(x)Q(x),

is

continuous.

Proof  

This follows from Corollary 10.7 and Lemma 10.6 .

◻



Limit of a function

Quite often, functions are not defined in certain points, e.g. if the used functional term is not defined there. However, it makes a huge difference whether only the functional term is not defined in a point, but has a useful (continuous) extension, or whether the function does not have a useful extension in this point, e.g. because it has a pole or an even more chaotic behavior. The following concept is in particular relevant for the definition of differentiability (if the difference quotient has a useful limit, then it is called differential quotient).


Let T⊆ℝ denote a subset and a∈ℝ a point. Let

f:T⟶ℝ

be a function. Then b∈ℝ is called limit of f in a, if for every ϵ>0 there exists some δ>0 such that for all x∈T fulfilling

|x−a|≤δ,

the estimate

|f(x)−b|≤ϵ

holds. In this case, we write

limx→af(x)=b.

This concept is basically only useful if there exists at least some sequence within T converging to a. A typical situation is the following: Let I denote a real interval, a∈I a point and let T=I∖{a}. The function is defined on T but not in a, and we are dealing with the question whether f can be extended to a function f~ defined on the whole I. Here, f~(a) should be determined by f.


Lemma

Let T⊆ℝ denote a subset and a∈ℝ a point. Let

f:T⟶ℝ

be a function and b∈ℝ

a point. Then the following statements are equivalent.
  1. We have
    limx→af(x)=b.
  2. For every sequence (xn)n∈ℕ in T which converges to a, also the image sequence (f(xn))n∈ℕ converges to b.

Proof

◻


This implies for a continuous function f:T→ℝ that it can be extended to a continuous function f~:T∪{a}→ℝ (by f~(a)=b) if and only if the limit of f in a equals b.


Lemma

Let T⊆ℝ denote a subset and a∈ℝ a point. Let f:T→ℝ and g:T→ℝ denote functions, such that the limits limx→af(x) and limx→ag(x)

exist. Then the following statements hold.
  1. The sum f+g has in a the limit
    limx→a(f(x)+g(x))=limx→af(x)+limx→ag(x).
  2. The product f⋅g has in a the limit
    limx→a(f(x)⋅g(x))=limx→af(x)⋅limx→ag(x).
  3. Suppose that g(x)≠0 for all x∈T and limx→ag(x)≠0. Then the quotient f/g has in a the limit
    limx→af(x)g(x)=limx→af(x)limx→ag(x).

Proof  

This follows from Lemma 10.10 and from Lemma 8.1 .

◻



We consider the limit

limx→0x+4−2x,

where x∈ℝ∖{0},x≥−4. For x=0, this term is not defined, and from this term one can not read of directly whether the limit exists. It is however possible to multiply the numerator and the denominator by x+4+2, then we get

x+4−2x=(x+4−2)(x+4+2)x(x+4+2)=x+4−4x(x+4+2)=xx(x+4+2)=1x+4+2.

Due to the rules for limits, we can determine the limit in the numerator and in the denominator separately, where for the denominator we use the continuity of the square root according to Exercise 10.4 . Hence, the limit is 1/4.


<< | Mathematics for Applied Sciences (Osnabrück 2023-2024)/Part I | >>
PDF-version of this lecture
Exercise sheet for this lecture (PDF)