Zum Inhalt springen

Monotonic functions

Aus Wikibooks

Monotony criterion

[Bearbeiten]

The monotony criterion is quite intuitive: if the derivative of a function (i.e. the slope) is positive, it goes up, if the derivative is negative, it goes down. Mathematically, if the derivative f′ of a differentiable function f is non-negative or (non-positive) on an interval (a,b) , then f is monotonously increasing (or decreasing) on (a,b). If f′ is even strictly positive (or negative) (a,b), then f is strictly monotonously increasing (or decreasing).

In the first case, even inversion of the statement is true: If a differentiable function is monotonously increasing on [a,b], then f′(x)≥0 and if the function is monotonously decreasing on [a,b], then then f′(x)≥0. However, the inversion does not hold true in the strict case, monotone functions do not always have f′(x)>0 or f′(x)<0 . For instance, f(x)=x3 is strictly monotonous, but f′(0)=3⋅02=0.

Theorem (Monotony criterion for differentiable functions)

Let f:[a,b]→ℝ be continuous and differentiable on (a,b). Then, there is

  1. f′≥0 on (a,b) ⟺ f monotonously increasing on [a,b]
  2. f′≤0 on (a,b) ⟺ f monotonously decreasing on [a,b]
  3. f′>0 on (a,b) ⟹ f strictly monotonously increasing on [a,b]
  4. f′<0 on (a,b) ⟹ f strictly monotonously decreasing on [a,b]

Proof

[Bearbeiten]

The four directions "⟹" follow from the mean value theorem. The two directions "⟸" follow by differentiability of the function:

Proof (monotony criterion for differentiable functions)

We first show the four directions "⟹" and then the two "⟸".

1. ⟹: From f′≥0 on (a,b) we get that f in monotonously increasing on [a,b].

Let f′≥0 for all x∈(a,b) and let x1,x2∈[a,b] with x1≤x2. We need to show f(x1)≤f(x2). By assumption, f is continuous on [x1,x2]⊆[a,b] and differentiable on (x1,x2)⊆(a,b). By the mean-value theorem, there is a ξ∈(x1,x2) with

f(x2)−f(x1)x2−x1=f′(ξ)

By assumption, f′(ξ)≥0, and hence f(x2)−f(x1)x2−x1≥0. Since x2>x1⟺x2−x1>0 we have in the enumerator f(x2)−f(x1)≥0. This is equivalent to f(x2)≥f(x1), i.e. f is monotonously increasing.

2. ⟹: From f′≤0 on (a,b) we get that f in monotonously decreasing on [a,b].

Let f′≤0 for all x∈(a,b) and let x1,x2∈[a,b] with x1≤x2. We need to show f(x1)≥f(x2). By assumption, f is continuous on [x1,x2]⊆[a,b] and differentiable on (x1,x2)⊆(a,b). By the mean-value theorem, there is a ξ∈(x1,x2) with

f(x2)−f(x1)x2−x1=f′(ξ)

Now, f′(ξ)≤0, and hence f(x2)−f(x1)x2−x1≥0. Since x2>x1⟺x2−x1>0 we have f(x2)−f(x1)≤0. This is equivalent to f(x2)≤f(x1), i.e. f is monotonously decreasing.

3. ⟹: f′>0 on (a,b) implies that f is strictly monotonously increasing on [a,b]

We prove this by contradiction: Let f be not strictly monotonously increasing. That means, we have some x1,x2∈[a,b] with x1<x2 and f(x1)≥f(x2). We need to find a ξ∈(a,b) with f′(ξ)≤0 . Now, f is continuous on [x1,x2] and differentiable on (x1,x2). So by the mean value theorem, we can find a ξ∈(a,b) with

f(x2)−f(x1)x2−x1=f′(ξ)

Since f(x1)≥f(x2) , the enumerator of the quotient is non-positive, and because of x1<x2 the denominator is positive. Thus the whole fraction is non-positive, and therefore f′(ξ)≤0.

4. ⟹: f′<0 on (a,b) implies that f is strictly monotonously increasing on [a,b]

Another proof by contradiction: Let f be not strictly monotonously decreasing. That means, we have some x1,x2∈[a,b] with x1<x2 and f(x1)≤f(x2). We need to find a ξ∈(a,b) with f′(ξ)≥0 . Now, f is continuous on [x1,x2] and differentiable on (x1,x2). So by the mean value theorem, we can find a ξ∈(a,b) with

f(x2)−f(x1)x2−x1=f′(ξ)

Since f(x1)≤f(x2) , the enumerator of the quotient is non-positive, and because of x1<x2 the denominator is positive. Thus the whole fraction is non-positive, and therefore f′(ξ)≥0.

Now, the two directions "⟸" follow:

1. ⟸: f being monotonously increasing on [a,b] implies f′≥0 on (a,b)

Let x1,x2∈[a,b] with x1<x2. By monotony, f(x1)≤f(x2). Further, let x,x~∈[x1,x2] with x≠x~. Then we have for the difference quotient

f(x)−f(x~)x−x~≥0

If x>x~, then f(x)≥f(x~). The enumerator and denominator of the difference quotient are thus non-negative, and so is the total quotient. Similarly in the case of x<x~ and f(x)≤f(x~) enumerator and denominator are non-positive. Thus the whole fraction is again non-negative. Now we form the differential quotient by taking the limit x→x~. This limit exists because f is differentiable on (x1,x2). Furthermore, the inequality remains valid because of the monotony rule for limit values. Thus we have

f′(x~)=limx→x~f(x)−f(x~)x−x~≥0

Since x1,x2∈[a,b] and x~∈(x1,x2) have been arbitrary, we get f′≥0 on all of (a,b).

2. ⟸: f being monotonously decreasing on [a,b] implies f′≤0 on (a,b)

Let again x1,x2∈[a,b] with x1<x2. By monotony, f(x1)≥f(x2). Further, let x,x~∈[x1,x2] with x≠x~. Then we have for the difference quotient

f(x)−f(x~)x−x~≤0

If x>x~, then f(x)≤f(x~) and thus the total quotient is non-positive. An analogous statement holds in the case x<x~ and f(x)≥f(x~). By forming the differential quotient we now obtain

f′(x~)=limx→x~f(x)−f(x~)x−x~≤0

Since x1,x2 and x~ have been arbitrary, we get f′≤0 on all of (a,b).

Examples: monotony criterion

[Bearbeiten]

Quadratic and cubic functions

[Bearbeiten]

Example (Monotony of quadratic and cubic functions)

Graphs of the functions f and g
Graphs of the functions f′ and g′

For the quadratic power function f:ℝ→ℝ, f(x)=x2 there is

f′(x)=2x {>0 if x>0,<0 if x<0

So f is strictly monotonously decreasing by the monotony criterion on (−∞,0] and strictly monotonously increasing on [0,∞) .

For the cubic power function g:ℝ→ℝ, g(x)=x3 there is

g′(x)=3x2 {≥0 for all x∈ℝ,>0 for all x∈ℝ∖{0}

So by the monotony criterion, g is monotonously increasing on ℝ and strictly monotonously increasing on (−∞,0] and [0,∞). The cubic power function g(x)=x3 is even strictly monotonously increasing on all of ℝ .

The fact that g with g(x)=x3 is strictly' monotonously increasing, although only f′≥0 and not f′>0, stems from its derivative being zero at only a single point (namely 0). In the end of this article, we will treat a criterion, which tells us when a function is strictly monotonous, even if there is not everywhere f′>0.

Question: Why is g:ℝ→ℝ:x↦x3 strictly monotonously increasing on ℝ?

We must show: From x,y∈ℝ with x<y we get g(x)<g(y). For the cases x<y≤0 and 0≤x<y we have already shown this with the monotony criterion. So we only have to look at the case x<0<y. Here there is with the arrangement axioms (missing):

g(x)=x3=x⏟<0⋅x2⏟>0<0<y⏟>0⋅y2⏟>0=y3=g(y)

So g is strictly monotonously increasing on all of ℝ .

Warning

In the example x↦x3 we have seen that the statement "f′>0 implies strict monotony" does not hold true! This means that from the fact that f increases strictly monotonous, we can in general not conclude that f′>0. In the example of the function h:ℝ→ℝ:x↦−x3 one can also see that the statement "f′<0 implies strictly monotonous falling" does not hold true in general.

Exponential and logarithm function

[Bearbeiten]

Example (Monotony of the exponential and logarithm function)

For the exponential function f:ℝ→ℝ, f(x)=exp⁡(x) there is for all x∈ℝ:

f′(x)=exp⁡(x)>0

Therefore, according to the monotony criterion, exp is strictly monotonously increasing on all of ℝ. For the (natural) logarithm function g:ℝ+→ℝ, g(x)=ln⁡(x) there is for all x∈ℝ+:

g′(x)=1x>0

So ln is strictly monotonously increasing on ℝ+ (not including the 0).

Question: What is the monotonicity behaviour of the logarithm function extended to ℝ− , i.e.:ℝ∖{0}→ℝ, h(x)=ln⁡|x|?

There is

h(x)={ln⁡(x) for x>0ln⁡(−x) for x<0

Above we have shown that h′(x)>0 for x∈ℝ+. So h is strictly monotonously increasing on ℝ+ , as well . For x<0 on the other hand there is h′(x)=1−x⋅(−1)=1x<0. So h is strictly monotonously decreasing on ℝ−.

Trigonometric functions

[Bearbeiten]

Example (Monotony of the sine function)

For the sine function f:ℝ→ℝ, f(x)=sin⁡(x) there is

f′(x)=cos⁡(x) {>0 for x∈(−π2+2πk,π2+2πk), k∈ℤ,<0 for x∈(π2+2πk,3π2+2πk), k∈ℤ

So for all k∈ℤ, the sin is strictly monotonously increasing on the intervals [−π2+2πk,π2+2πk] and strictly monotonously decreasing on the intervals [π2+2πk,3π2+2πk] .

Question: Where does the cosine function g:ℝ→ℝ, g(x)=cos⁡(x) show monotonous behaviour?

Here, g′(x)=−sin⁡(x) {>0 for x∈(π+2πk,2π+2πk), k∈ℤ,<0 for x∈(2πk,3π2+π+2πk), k∈ℤ.

So for all k∈ℤ, the cos is strictly monotonously increasing on the intervals [π+2πk,2π+2πk] and strictly monotonously decreasing on the intervals [2πk,π+2πk] .

Example (Monotony of the tangent function)

For the tangent function tan⁡:D=ℝ∖{π2+kπ∣k∈ℤ}→ℝ, tan⁡(x)=sin⁡(x)cos⁡(x) there is for all x∈D:

tan′⁡(x)=1+tan2(x)⏟≥0≥1>0

Hence, for all k∈ℤ, the tan is strictly monotonously increasing on the intervals (−π2+kπ,π2+kπ).

Question: Where does the cotangent function cot⁡:D~=ℝ∖{kπ∣k∈ℤ}→ℝ, cot⁡(x)=cos⁡(x)sin⁡(x) show monotonous behaviour?

For all x∈D~, there is

cot′⁡(x)=−1−tan2(x)⏟≥0≤−1<0

So for all k∈ℤ , the cot is strictly monotonously decreasing on the intervals (kπ,π+kπ).

Exercise

[Bearbeiten]

Monotony intervals and existence of a zero

[Bearbeiten]

Exercise (Monotony intervals and existence of a zero)

Where is the following polynomial function monotonous?

f:ℝ→ℝ, f(x)=x3−x−1

Prove that f has exactly one zero.

Solution (Monotony intervals and existence of a zero)

Graph of the function f(x)=x3−x−1

Monotony intervals:

The function f is differentiable on all of ℝ , with

f′(x)=3x2−1=3(x2−13)=3(x+13)(x−13)

So

f′(x)>0⟺{x+13>0 and x−13>0⟺x>−13 and x>13⟺x>13x+13<0 and x−13<0⟺x<−13 and x<13⟺x<−13

According to the monotony criterion, f is strictly monotonously increasing on (−∞,−13) and on (13,∞) . Further,

f′(x)<0⟺{x+13>0 and x−13<0⟺x>−13 and x<13⟺−13<x<13x+13<0 and x−13>0⟺x<−13 and x>13⟺ not possible

According to the monotony criterion, f is strictly monotonously decreasing on (−13,13) .

f has exactly one zero:

For f , we have the following table of values:

x−1−1301312f(x)−1−1+233−1−1−233−15

Based on the monotonicity properties and the continuity of f that we have previously investigated, we can read off that:

  • On (−∞,−13) is f strictly monotonously increasing. Because of f(−13)=−1+233<0 there is f(x)<0 for all x∈(−∞,−13).
  • On (−13,13) is f then strictly monotonously decreasing. So there is also f(x)<0 for all x∈(−13,13).
  • Subsequently f increases on (13,∞) again strictly monotonously. Because of f(1)=−1<0 and f(2)=5>0, there must be an x0∈(1,2) with f(x0)=0 by the mean value theorem. Because of the strict monotony of f on (13,∞) , there cannot be any further zeros.

Necessary and sufficient criterion for strict monotony

[Bearbeiten]

Exercise (Necessary and sufficient criterion for strict monotony)

Prove that: a continuous function f:[a,b]→ℝ which is differentiable to (a,b) is strictly monotonously increasing exactly when there is

  1. f′(x)≥0 for all x∈(a,b)
  2. The zero set of f′ contains no open interval.

As an application: Show that the function f:ℝ→ℝ,f(x)=x−sin⁡(x) is strictly monotonously increasing on all of ℝ .

Proof (Necessary and sufficient criterion for strict monotony)

From the monotony criterion we already know that f is monotonously increasing exactly when f′(x)≥0. So we only have to show that f is strictly monotonously increasing exactly when the second condition is additionally fulfilled.

⟹: f strictly monotonously increasing ⟹ the set of zeros of f′ does not contain an open interval.

We perform a proof by contradiction. In other words, we show: If the set of zeros of f′ contains an open interval, f is not strictly monotonously increasing. Assume there is a1,b1∈(a,b) with f′(x)=0 for all x∈(a1,b1). Then, by the mean value theorem there is a ξ∈(a1,b1) with

f(b1)−f(a1)=f′(ξ)⏟=0(b1−a1)=0

So f(a1)=f(b1). If now x∈(a1,b1)⟺a1<x<b1, then since f is monotonously increasing, there is

f(a1)≤f(x)≤f(b1)

So there is f(x)=f(b1) for all x∈(a1,b1). Hence, f is not strictly monotonously increasing.

⟸: the set of zeros of f′ does not contain an open interval ⟹ f strictly monotonously increasing

We perform a proof by contradiction. In other words, we show: if f is monotonously, but not strictly monotonously increasing, then the zero set of f′ contains an open interval. Assume there is a2,b2∈(a,b) with a2<b2 with f(a2)=f(b2). Because of the monotony of f there is

f(a2)≤f(x)≤f(b2)

So f(x)=f(b2) for all x∈(a1,b1). That means f is constant on (a2,b2). Hence there is for all x∈(a2,b2):

f′(x)=0

so the set of zeros of f′ does contain an open interval and we get a contradiction.

Exercise: f:ℝ→ℝ, f(x)=x−sin⁡(x) is strictly monotonously increasing

f is differentiable for all x∈ℝ where

f′(x)=1−cos⁡(x)≥0

as cos⁡(x)≤1 for all x∈ℝ. Hence f is monotonously increasing. Further there is

f′(x)=1−cos⁡(x)=0⟺cos⁡(x)=1⟺x∈{2πk∣k∈ℤ}

So the set of zeros of f′ contains only isolated points, and thus no open interval. Therefore f is strictly monotonously increasing on ℝ .