Jump to content

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



Higher derivatives

The derivative f′ of a differentiable function is also called the first derivative of f. The zeroth derivative is the function itself. Higher derivatives are defined recursively.


Let I⊆ℝ denote an interval, and let

f:I⟶ℝ

be a function. The function f is called n-times differentiable, if it is (n−1)-times differentiable, and the (n−1)-th derivative, that is f(n−1), is also differentiable. The derivative

f(n)(x):=(f(n−1))′(x)
is called the n-th derivative of f.

The second derivative is written as f″, the third derivative as f‴. If a function is n-times differentiable, then we say that the derivatives exist up to order n. A function f is called infinitely often differentiable, if it is n-times differentiable for every n.

A differentiable function is continuous due to Corollary 14.6 , but its derivative is not necessarily so. Therefore, the following concept is justified.


Let I⊆ℝ be an interval, and let

f:I⟶ℝ

be a function. The function f is called continuously differentiable, if f is differentiable and its derivative f′ is

continuous.

A function is called n-times continuously differentiable, if it is n-times differentiable, and its n-th derivative is continuous.



Extrema of functions

We investigate now, with the help of the methods from differentiability, when a differentiable function

f:I⟶ℝ,

where I⊆ℝ denotes an interval, has a (local) extremum, and how the growing behavior looks like.


Theorem

Let

f:]a,b[⟶ℝ

be a function which attains in c∈]a,b[ a local extremum, and is differentiable there. Then f′(c)=0

holds.

Proof  

We may assume that f attains a local maximum in c. This means that there exists an ϵ>0, such that f(x)≤f(c) holds for all x∈[c−ϵ,c+ϵ]. Let (sn)n∈ℕ be a sequence with c−ϵ≤sn<c, tending to c ("from below“). Then sn−c<0, and so f(sn)−f(c)≤0, and therefore the difference quotient

f(sn)−f(c)sn−c≥0.

Due to Lemma 7.12 , this relation carries over to the limit, which is the derivative. Hence, f′(c)≥0. For another sequence (tn)n∈ℕ with c+ϵ≥tn>c, we get

f(tn)−f(c)tn−c≤0.

Therefore, also f′(c)≤0 and thus f′(c)=0.

◻



We remark that the vanishing of the derivative is only a necessary, but not a sufficient, criterion for the existence of an extremum. The easiest example for this phenomenon is the function ℝ→ℝ,x↦x3, which is strictly increasing and its derivative is zero at the zero point. We will provide a sufficient criterion in Corollary 15.9  below, see also Theorem 17.4 .



The mean value theorem

Theorem

Let a<b, and let

f:[a,b]⟶ℝ

be a continuous function, which is differentiable on ]a,b[, and such that f(a)=f(b). Then there exists some c∈]a,b[, such that

f′(c)=0.

Proof  

The statement is true if f is constant. So suppose that f is not constant. Then there exists some x∈]a,b[, such that f(x)≠f(a)=f(b). Let's say that f(x) has a larger value. Due to Theorem 11.13 , there exists some c∈[a,b], where the function attains its maximum. This point is not on the border. For this c, we have f′(c)=0, due to Theorem 15.3 .

◻


This theorem is called Theorem of Rolle.

The mean value theorem means that, for every secant, there exists a parallel tangent.

The following theorem is called Mean value theorem. It says that if a function describes a differentiable one-dimensional movement, then the average velocity is obtained at least once as the instantaneous velocity.


Theorem

Let a<b, and let

f:[a,b]⟶ℝ

be a continuous function which is differentiable on ]a,b[. Then there exists some c∈]a,b[, such that

f′(c)=f(b)−f(a)b−a.

Proof  

We consider the auxiliary function

g:[a,b]⟶ℝ,x⟼g(x):=f(x)−f(b)−f(a)b−a(x−a).

This function is also continuous and differentiable in ]a,b[. Moreover, we have g(a)=f(a) and

g(b)=f(b)−(f(b)−f(a))=f(a).

Hence, g fulfills the conditions of Theorem 15.4 , and therefore there exists some c∈]a,b[, such that g′(c)=0. Because of the rules for derivatives, we obtain

f′(c)=f(b)−f(a)b−a.
◻



Corollary

Let

f:]a,b[⟶ℝ

be a differentiable function such that f′(x)=0 for all

x∈]a,b[. Then f is constant.

Proof  

If f is not constant, then there exists some x<x′ such that f(x)≠f(x′). Then there exists, due to the mean value theorem, some c, x<c<x′, such that f′(c)=f(x′)−f(x)x′−x≠0, which contradicts the assumption.

◻



Theorem

Let I⊆ℝ be an open interval, and let

f:I⟶ℝ

be a

differentiable function. Then the following statements hold.
  1. The function f is increasing (decreasing) on I, if and only if f′(x)≥0 (f′(x)≤0) holds for all x∈I.
  2. If f′(x)≥0 holds for all x∈I, and f′ has only finitely many zeroes, then f is strictly increasing.
  3. If f′(x)≤0 holds for all x∈I, and f′ has only finitely many zeroes, then f is strictly decreasing.

Proof  

(1). It is enough to prove the statements for increasing functions. If f is increasing and x∈I, then the difference quotient fulfills

f(x+h)−f(x)h≥0

for every h with x+h∈I. This estimate carries over to the limit as h→0, and this limit is f′(x).
Suppose now that the derivative is ≥0. We assume, in order to obtain a contradiction, that there exist two points x<x′ in I with f(x)>f(x′). Due to the mean value theorem, there exists some c with x<c<x′ and

f′(c)=f(x′)−f(x)x′−x<0,

which contradicts the condition.
(2). Suppose now that f′(x)>0 holds with finitely many exceptions. We assume that f(x)=f(x′) holds for two points x<x′. Since f is increasing, due to the first part, it follows that f is constant on the interval [x,x′]. But then f′=0 on this interval, which contradicts the condition that f′ has only finitely many zeroes.

◻



Corollary

A real polynomial function

f:ℝ⟶ℝ

of degree d≥1 has at most d−1 local extrema, and one can partition the real numbers into at most d intervals, on which f is alternatingly strictly increasing or

strictly decreasing.

Proof

◻



Corollary

Let I denote a real interval,

f:I⟶ℝ

a twice continuously differentiable function, and a∈I an inner point of the interval. Suppose that f′(a)=0

holds. Then the following statements hold.
  1. If f″(a)>0 holds, then f has an isolated local minimum in a.
  2. If f″(a)<0 holds, then f has an isolated local maximum in a.

Proof

◻


We will encounter a more general statement in Theorem 17.4 .



General mean value theorem and L'Hôpital's rule

The following statement is called also the general mean value theorem.


Theorem

Let b>a, and suppose that

f,g:[a,b]⟶ℝ

are continuous functions which are differentiable on ]a,b[ and such that

g′(x)≠0

for all x∈]a,b[. Then g(b)≠g(a), and there exists some c∈]a,b[ such that

f(b)−f(a)g(b)−g(a)=f′(c)g′(c).

Proof  

The statement

g(a)≠g(b)

follows from Theorem 15.4 . We consider the auxiliary function

h(x):=f(x)−f(b)−f(a)g(b)−g(a)g(x).

We have

h(a)=f(a)−f(b)−f(a)g(b)−g(a)g(a)=f(a)g(b)−f(a)g(a)−f(b)g(a)+f(a)g(a)g(b)−g(a)=f(a)g(b)−f(b)g(a)g(b)−g(a)=f(b)g(b)−f(b)g(a)−f(b)g(b)+f(a)g(b)g(b)−g(a)=f(b)−f(b)−f(a)g(b)−g(a)g(b)=h(b).

Therefore, h(a)=h(b), and Theorem 15.4 yields the existence of some c∈]a,b[ with

h′(c)=0.

Rearranging proves the claim.

◻


From this version, one can recover the mean value theorem, by taking for g the identity.

L’Hospital (1661-1704)

For the computation of the limit of a function, the following method called L'Hôpital's rule helps.


Corollary

Let I⊆ℝ denote an open interval, and let a∈I denote a point. Suppose that

f,g:I⟶ℝ

are continuous functions, which are differentiable on I∖{a}, fulfilling f(a)=g(a)=0, and with g′(x)≠0 for x≠a. Moreover, suppose that the limit

w:=limx→af′(x)g′(x)

exists. Then also the limit

limx→af(x)g(x)
exists, and it also equals w.

Proof  

Because g′ has no zero in the interval and g(a)=0 holds, it follows, because of Theorem 15.4 , that a is the only zero of g. Let (xn)n∈ℕ denote a sequence in I∖{a}, converging to a.

For every xn there exists, due to Theorem 15.10 , applied to the interval In:=[xn,a] or [a,xn], a cn (in the interior[1] of In,) fulfilling

f(xn)−f(a)g(xn)−g(a)=f′(cn)g′(cn).

The sequence (cn)n∈ℕ converges also to a, so that, because of the condition, the right-hand side converges to f′(a)g′(a)=w. Therefore, also the left-hand side converges to w, and, because of f(a)=g(a)=0, this means that f(xn)g(xn) converges to w.

◻



The polynomials

3x2−5x−2 and x3−4x2+x+6

have both a zero for x=2. It is therefore not immediately clear whether the limit

limx→23x2−5x−2x3−4x2+x+6

exists. Applying twice L'Hôpital's rule, we get the existence and

limx→23x2−5x−2x3−4x2+x+6=limx→26x−53x2−8x+1=7−3=−73.



Footnotes
  1. ↑

    The interior of a real interval I⊆ℝ

    is the interval without the boundaries.


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