Jump to content

Continuity of the inverse function – "Math for Non-Geeks"

From Wikibooks, open books for an open world

In this chapter, we will introduce a theorem that gives a sufficient condition for the continuity of the inverse function of a bijective function. In mathematical literature, this theorem is often referred to as the "Inverse function Theorem". What is astounding about this result is that the inverse function of a discontinuous function can actually be continuous.

Motivation

[edit | edit source]
The continuous and invertible function f with the domain [−1,0]∪(1,2]

First we want to consider the most general condition possible for when a bijective function f:D→W with D,W⊆ℝ has a continuous inverse function. The first ansatz that we naturally want to investigate is the continuity of f itself. We might spontaneously assume that the continuity of the inverse function f−1 follows directly from the continuity of f. This is not necessarily the case, as is shown in the following example:

f:([−1,0]∪(1,2])→[−1,1]:x↦f(x)={x−1≤x≤0x−11<x≤2

The discontinuous inverse function g=f−1

The function is continuous since it's continuous on both [−1,0] and (1,2]. Furthermore, it is strictly monotonically increasing, so it's injective. The image of f is [−1,1] and therefore f:([−1,0]∪(1,2])→[−1,1] is surjective. All together, f is bijective and therefore invertible. The inverse mapping f−1:[−1,1]→([−1,0]∪(1,2]) has functional values:

f−1(y)={y−1≤y≤0y+10<y≤1

The inverse function is not continuous since it has a jump discontinuity at y=0. So it can definitely be the case that a continuous function has a discontinuous inverse.

But now another thing is apparent: the inverse function f−1=g is also invertible with the inverse function g−1=(f−1)−1=f. This means, however, that a discontinuous function (like g) can have a continuous inverse function. Hence, we posit:

The (dis)continuity of an invertible function has in no capacity any influence on the (dis)continuity of its inverse function.

The problem lies in the domain of f. Namely, this is [−1,0]∪(1,2], i.e. not an interval. The domain is not connected and has a "gap." How does this "gap" affect the inverse function f−1?

Since the domain of f corresponds to what should be the codomain of f−1, the inverse function also has this "gap" in its codomain. Similarly, the codomain of f corresponds to the domain of f−1. It is for this reason that f−1 can not be continuous. The domain of f is an interval and therefore connected, while its codomain contains a gap. Since f−1 is surjective and must attain every value in what should be its codomain, the graph of f−1 must lend itself to a jump point somewhere. This is why f−1 is not continuous.

Thus, we must require that, by assumption, the domain of f is an interval to ensure that we don't encounter any problems. Usually this requirement is sufficient to guarantee the continuity of f−1. We can prove this using the ϵ-δ characterization of continuity. With the help of the intermediate value theorem we can furthermore conclude that the codomain of f - and therefore the domain of f−1 - is an interval.

Theorem on the Continuity of the Inverse Function

[edit | edit source]
Theorem (Continuity of the Inverse Function)

Let D⊆ℝ be an interval and f:D→W a surjective, strictly monotone, and continuous mapping. Then f is bijective, and the inverse function

f−1:W→D

is continuous and in the same sense as f strictly monotone. Furthermore, f(D)=W is an interval.

Proof (Continuity of the Inverse Function)

Proof step: f is bijective

Let x,y∈D with x≠y. Then it either mus be the case x<y or x>y. Since f is strictly monotone, it follows f(x)<f(y) or f(x)>f(y). In either case it holds f(x)≠f(y). So f is injective. Since f is surjective by assumption, the mapping is bijective.

Proof step: f−1 is strictly monotone

Without loss of generality let f be strictly monotone increasing, i.e. f(x)<f(y) follows from x,y∈D with x<y. Now let x~,y~∈W with x~<y~. We must now show that f−1(x~)<f−1(y~).

There exist some x,y∈D with f(x)=x~ and f(y)=y~. Therefore, f−1(x~)=f−1(f(x))=x and f−1(y~)=f−1(f(y))=y. Since f−1 is injective, it holds x≠y. It also can not be the case that x>y holds. Otherwise, it must then hold x~=f(x)>f(y)=y~, which can not be the case because x~<y~.

Thus, x<y and f−1(x~)<f−1(y~). This proves that f−1 is strictly monotone increasing like f. Proving that f−1 is strictly monotone decreasing when we assume f is strictly monotone decreasing is analogous.

Proof step: f−1 is continuous

We will use the ϵ-δ-characterization of continuity. To that end, let ϵ>0 and let b∈W=f(D) be arbitrary. Further, let a=f−1(b) be the preimage of b under f, i.e. f(a)=b. Now we have to show that there exists some δ>0 such that |f−1(y)−f−1(b)|<ϵ holds for all y∈W with |y−b|<δ. Then we will have achieved showing f−1 is continuous in b. Since b∈W can be chosen arbitrarily, from there we can conclude the continuity of the mapping f−1:W→D. We must, however, differentiate between the two cases of whether a is a boundary point of D:

Case 1: a is not a boundary point of D

Since a is not a boundary point of D, there exists some ϵ~ with 0<ϵ~<ϵ and ]a−ϵ~,a+ϵ~[⊆D. We set b1=f(a−ϵ~) and b2=f(a+ϵ~). If f is strictly monotone increasing, then it holds b1<b<b2. If f is strictly monotone decreasing, then it holds b2<b<b1. Thus, f maps the interval [a−ϵ~,a+ϵ~] bijectively to [b1,b2] and [b2,b1]. If we set

δ=min⁡{|b−b1|,|b−b2|}

then it follows

f−1(]b−δ,b+δ[)⊆]a−ϵ~,a+ϵ~[⊆]a−ϵ,a+ϵ[

Hence, the condition |f−1(y)−f−1(b)|<ϵ for all y∈W with |y−b|<δ is fulfilled and f−1 is continuous in b.

Case 2: a is a boundary point of D

We may assume without loss of generality that a is the maximum of D. Now there exists some ϵ~ with 0<ϵ~<ϵ such that a−ϵ~ lies in D. Therefore, the value f(a−ϵ~) exists, and we can set δ=|f(a)−f(a−ϵ~)|.

If f is strictly monotone increasing, then f maps the interval [a−ϵ~,a] bijectively to [f(a−ϵ~),f(a)]=[b−δ,b]. Then it holds f−1([b−δ,b])=[a−ϵ~,a]⊆(a−ϵ,a+ϵ). Because no y∈W exists with y>b, it must therefore hold |f−1(y)−f−1(b)|<ϵ for all y∈W with |y−b|<δ. This proves the continuity of f−1 in b. The proof for the case where f is monotone decreasing is analogous.

Examples

[edit | edit source]

Root Functions

[edit | edit source]
Example (Root Functions)

If k∈ℕ with k≥2, then the k-th power function is defined as

f:ℝ+→ℝ+:x↦f(x)=xk

This is a strictly monotonically increasing function, since for x,y∈ℝ+ with x<y it holds

f(x)=xk=x⋅…⋅x⏟k times<y⋅…⋅y⏟k times=yk=f(y)

Furthermore, this means f is injective. The function f is also surjective, since for every y∈ℝ+ it holds for x=yk:

f(x)=f(yk)=(yk)k=y

The inverse function is the k-th root function f−1:ℝ+→ℝ+ with f(x)=xk. By the Inverse Function Theorem, this function is continuous and also strictly monotone increasing.

Natural Logarithm Functions

[edit | edit source]
Example (Natural Logarithm Functions)

The exponential function

f:ℝ→ℝ+, f(x)=exp⁡(x)

is strictly monotone increasing. Let x,y∈ℝ+ with x<y. Then there exists some t∈ℝ+ with y=x+t. It therefore holds

exp⁡(y)=exp⁡(x+t)=functionalequationexp⁡(x)⋅exp⁡(t)⏟>1>exp⁡(x)

From the strict monotonicity it follows that exp is injective. Furthermore, the exponential function is surjective since:

limx→∞exp⁡(x)=∞limx→−∞exp⁡(x)=0

The surjectivity follows from the continuity of the exponential function and the Intermediate Value Theorem. The inverse function of the exponential function is the so-called natural logarithm function:

f−1:ℝ+→ℝ, f(x)=ln⁡x

This function is also strictly monotone increasing (which is a result of the strict monotonicity of the exponential function). Furthermore, we can apply the Inverse Function Theorem and conclude that the logarithm function is also continuous.

Exercises

[edit | edit source]

Exercise 1

[edit | edit source]
Exercise (Continuity of the Inverse Function)

Let f:ℝ→ℝ be defined by the following values:

f(x)=x1+|x|

Prove the following claims:

  1. Show that f is continuous, strictly monotone increasing, and injective on ℝ.
  2. Show that f:ℝ→(−1,1) is surjective.
  3. Give a justification for why the inverse function f−1:(−1,1)→ℝ exists and determine the explicit functional values for f−1. Show that f−1 is continuous and strictly monotone increasing.
Solution (Continuity of the Inverse Function)

Solution sub-exercise 1:

f is continuous since it is the quotient of continuous functions a:ℝ→ℝ:x↦x and b:ℝ→ℝ:x↦1+|x|. 1+|x|≠0 thereby holds for all x∈ℝ. Let x,y∈ℝ with x<y. To prove the strict monotonicity we will show f(x)<f(y):

Case 1: x,y≥0

Then it holds

x<y⟺x+xy⏟=x(1+y)<y+xy⏟=y(1+x)⟺x1+x⏟=f(x)<y1+y⏟=f(y)

Case 2: x≤0<y

Here it holds

f(x)=x1+|x|⏟≤0<y1+|y|⏟>0=f(y)

Case 3: x<0≤y

Here it holds

f(x)=x1+|x|⏟<0<y1+|y|⏟≥0=f(y)

Case 4: x,y<0

It holds

x<y⟺x−xy⏟=x(1−y)<y−xy⏟=y(1−x)⟺x1−x⏟=f(x)<y1−y⏟=f(y)

So then f is strictly monotone increasing on ℝ and therefore also injective.

Solution sub-exercise 2:

It holds for all x∈ℝ:

|f(x)|=|x|1+|x|<|x||x|=1

It follows immediately that −1<f(x)<1 holds. Furthermore,

limx→∞f(x)=limx→∞x1+|x|=limx→∞x>0x1+|x|=limx→∞x>0x1+x=limx→∞x>011x+1=1

and

limx→−∞f(x)=limx→−∞x1+|x|=limx→−∞x<0x1+|x|=limx→−∞x<0x1−x=limx→−∞x<011x−1=−1

Since f is continuous, by the Intermediate Value Theorem, for every y∈(−1,1) there exists an x∈ℝ with f(x)=y. So it holds for the image that f(ℝ)=(−1,1), whereby f:ℝ→(−1,1) is surjective.

Solution sub-exercise 3:

Since f is bijective, the inverse function f−1:(−1,1)→ℝ exists. As an inverse function, f−1 is also bijective. By the Theorem of Continuity of the Inverse Function, f−1 is furthermore continuous and strictly monotone increasing. In order to calculate f−1 we must first differentiate between two cases:

Case 1: x≥0

y=f(x)=x1+x⟺y+xy=x⟺y=x−xy=x(1−y)⟺x=y1−y⏟=f−1(y)

Case 2: x<0

y=f(x)=x1−x⟺y−xy=x⟺y=x+xy=x(1+y)⟺x=y1+y⏟=f−1(y)

If we now have x≥0, then f(x)=y≥0 and therefore 1−y=1−|y|. On the other hand, if x<0, then so is f(x)=y<0 and therefore 1+y=1−|y|. All together, we can conclude

f−1:(−1,1)→ℝ, f−1(y)=y1−|y|

Exercise 2

[edit | edit source]
Exercise (Continuity of the Inverse Function 2)

Let g:[0,∞)→ℝ with g(x)=exp⁡(x)−sin⁡(exp⁡(−x))

  1. Show that g is injective.
  2. Determine the image g([0,∞)).
  3. Justify why the inverse function g−1:g([0,∞))→[0,∞) is continuous.
Solution (Continuity of the Inverse Function 2)

Solution sub-exercise 1:

g is continuous as it is the composition of the continuous functions a:[0,∞)→ℝ:x↦−x, b:[0,∞)→ℝ:x↦exp⁡(x) and c:[0,∞)→ℝ:x↦sin⁡(x). Furthermore, for x,y∈[0,∞) with x<y it holds:

x<y⟹−x>−y⟹exp⁡(−x)>exp⁡(−y)

Now it holds exp⁡(−x~)∈(0,1] for x~∈[0,∞). Since the sine function is strictly monotone increasing on the half-interval (0,1], it follows

exp⁡(−x)>exp⁡(−y)⟹sin⁡(exp⁡(−x))>sin⁡(exp⁡(−y))⟹−sin⁡(exp⁡(−x))<−sin⁡(exp⁡(−y))

Because the exponential function is strictly monotone increasing, it furthermore holds that exp⁡(x)<exp⁡(y). Then we have:

exp⁡(x)−sin⁡(exp⁡(−x))⏟=g(x)<exp⁡(y)−sin⁡(exp⁡(−y))⏟=g(y)

So g is strictly monotone increasing and therefore injective.

Solution sub-exercise 2:

= First, we observe

g(0)=exp⁡(0)−sin⁡(exp⁡(0))=1−sin⁡(1)

Furthermore,

limx→∞exp⁡(x)=∞limx→∞exp⁡(−x)=0

and from there it follows that

limx→∞g(x)=limx→∞[exp⁡(x)⏟→∞−sin⁡(exp⁡(−x))⏟→sin⁡(0)=0]=∞

Since g is continuous and [0,∞) is an interval, g([0,∞)) is also an interval (see the implications of the intermediate value theorem). Since g is strictly monotone increasing and limx→∞g(x)=∞, it follows

g([0,∞))=[g(0),∞)=[1−sin⁡(1),∞)

Solution sub-exercise 3:

Since D=[0,∞) is an interval and g:[0,∞)→[1−sin⁡(1),∞) is bijective, the inverse function g−1:[1−sin⁡(1),∞)→[0,∞) is continuous by the Continuous Inverse Function Theorem.