Jump to content

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

From Wikiversity



Differentiability

In this section, we consider functions

f:D,

where D is a subset of the real numbers. We want to explain what it means that such a function is differentiable in a point aD. The intuitive idea is to look at another point xD, and to consider the secant, given by the two points (a,f(a)) and (x,f(x)), and then to let "x move towards a“. If this limiting process makes sense, the secants tend to become a tangent. However, this process only has a precise basis, if we use the concept of the limit of a function as defined earlier.


Let D be a subset, aD a point, and

f:D

a function. For xD, xa, the number

f(x)f(a)xa

is called the difference quotient of f for

a and x.

The difference quotient is the slope of the secant at the graph, running through the two points (a,f(a)) and (x,f(x)). For x=a, this quotient is not defined. However, a useful limit might exist for xa. This limit represents, in the case of existence, the slope of the tangent for f in the point (a,f(a)).


Let D be a subset, aD a point, and

f:D

a function. We say that f is differentiable in a if the limit

limxD{a},xaf(x)f(a)xa

exists. In the case of existence, this limit is called the derivative of f in a, written

f(a).

The derivative in a point a is, if it exists, an element in . Quite often one takes the difference h:=xa as the parameter for this limiting process, that is, one considers

limh0f(a+h)f(a)h.

The condition xD{a} translates then to a+hD, h0. If the Function f describes a one-dimensional movement, meaning a time-dependent process on the real line, then the difference quotient f(x)f(a)xa is the average velocity between the (time) points a and x and f(a) is the instantaneous velocity in a.


Let s,c, and let

α:,xsx+c,

be an affine-linear function. To determine the derivative in a point a, we consider the difference quotient

(sx+c)(sa+c)xa=sxsaxa=s.

This is constant and equals s, so that the limit of the difference quotient as x tends to a exists and equals s as well. Hence, the derivative exists in every point and is just s. The slope of the affine-linear function is also its derivative.


We consider the function

f:,xx2.

The difference quotient for a and a+h is

f(a+h)f(a)h=(a+h)2a2h=a2+2ah+h2a2h=2ah+h2h=2a+h.

The limit of this, as h tends to 0, is 2a. The derivative of f in a is therefore f(a)=2a.



Linear approximation

We discuss a property which is equivalent to differentiability, the existence of a linear approximation. This formulation is important in many respects: It allows giving quite simple proofs of the rules for differentiable functions, one can use it to reduce differentiability to the continuity of an error function, it yields a model for approximation with polynomials of higher degree (quadratic approximation, Taylor expansion), and it allows a direct generalization to the higher-dimensional situation(in the second term)


Theorem

Let D be a subset, aD a point, and

f:D

a function. Then f is differentiable in a if and only if there exists some s and a function

r:D,

such that r is continuous in a, r(a)=0, and such that

f(x)=f(a)+s(xa)+r(x)(xa).

Proof  

If f is differentiable, then we set

s:=f(a).

Then the only possibility to fulfill the conditions for r is

r(x)={f(x)f(a)xas for xa,0 for x=a.

Because of differentiability, the limit

limxa,xD{a}r(x)=limxa,xD{a}(f(x)f(a)xas)

exists, and its value is 0. This means that r is continuous in a.
If s and r exist with the described properties, then for xa the relation

f(x)f(a)xa=s+r(x)

holds. Since r is continuous in a, the limit on the left-hand side, for xa, exists.


The affine-linear function

D,xf(a)+f(a)(xa),

is called the affine-linear approximation. The constant function given by the value f(a) can be considered as the constant approximation.


Corollary

Let D be a subset, aD a point, and

f:D

a

function. Then f is also continuous in a.

Proof  

This follows immediately from Theorem 14.5 .



Rules for differentiable functions
An illustration of the product rule: the increment of the area is about the seize of the sum of the two products of the side length and the increment of the other side length. For the infinitesimal increment, the product of the two increments is irrelevant.

Lemma

Let D be a subset, aD a point, and

f,g:D

functions which are differentiable

in a. Then the following rules for differentiability holds.
  1. The sum f+g is differentiable in a, with
    (f+g)(a)=f(a)+g(a).
  2. The product fg is differentiable in a, with
    (fg)(a)=f(a)g(a)+f(a)g(a).
  3. For c, also cf is differentiable in a, with
    (cf)(a)=cf(a).
  4. If g has no zero in a, then 1/g is differentiable in a, with
    (1g)(a)=g(a)(g(a))2.
  5. If g has no zero in a, then f/g is differentiable in a, with
    (fg)(a)=f(a)g(a)f(a)g(a)(g(a))2.

Proof  

(1). We write f and g respectively with the objects which were formulated in Theorem 14.5 , that is

f(x)=f(a)+s(xa)+r(x)(xa)

and

g(x)=g(a)+s~(xa)+r~(x)(xa).

Summing up yields

f(x)+g(x)=f(a)+g(a)+(s+s~)(xa)+(r+r~)(x)(xa).

Here, the sum r+r~ is again continuous in a, with value 0.
(2). We start again with

f(x)=f(a)+s(xa)+r(x)(xa)

and

g(x)=g(a)+s~(xa)+r~(x)(xa),

and multiply both equations. This yields

f(x)g(x)=(f(a)+s(xa)+r(x)(xa))(g(a)+s~(xa)+r~(x)(xa))=f(a)g(a)+(sg(a)+s~f(a))(xa)+(f(a)r~(x)+g(a)r(x)+ss~(xa)+sr~(x)(xa)+s~r(x)(xa)+r(x)r~(x)(xa))(xa).

Due to Lemma 10.11 for limits, the expression consisting of the last six summands is a continuous function, with value 0 for x=a.
(3) follows from (2), since a constant function is differentiable with derivative 0.
(4). We have

1g(x)1g(a)xa=1g(a)g(x)g(x)g(a)xa.

Since g is continuous in a, due to Corollary 14.6 , the left-hand factor converges for xa to 1g(a)2, and because of the differentiability of g in a, the right-hand factor converges to g(a).
(5) follows from (2) and (4).


These rules are called sum rule, product rule, quotient rule. The following statement is called chain rule.


Theorem

Let D,E denote subsets, and let

f:D

and

g:E

be functions with f(D)E. Suppose that f is differentiable in a and that g is differentiable in b:=f(a). Then also the composition

gf:D

is differentiable in a, and its derivative is

(gf)(a)=g(f(a))f(a).

Proof  

Due to Theorem 14.5 , one can write

f(x)=f(a)+f(a)(xa)+r(x)(xa)

and

g(y)=g(b)+g(b)(yb)+s(y)(yb).

Therefore,

g(f(x))=g(f(a))+g(f(a))(f(x)f(a))+s(f(x))(f(x)f(a))=g(f(a))+g(f(a))(f(a)(xa)+r(x)(xa))+s(f(x))(f(a)(xa)+r(x)(xa))=g(f(a))+g(f(a))f(a)(xa)+(g(f(a))r(x)+s(f(x))(f(a)+r(x)))(xa).

The remainder function

t(x):=g(f(a))r(x)+s(f(x))(f(a)+r(x))

is continuous in a with value 0.


An illustration for the derivative of the inverse function. The graph of the inverse function is the reflection of the graph at the diagonal, and the tangent behaves accordingly.



Theorem

Let D,E denote intervals, and let

f:DE

be a bijective continuous function, with the inverse function

f1:ED.
Suppose that f is

differentiable in aD with f(a)0. Then also the inverse function f1 is differentiable in b:=f(a), and

(f1)(b)=1f(f1(b))=1f(a)
holds.

Proof  

We consider the difference quotient

f1(y)f1(b)yb=f1(y)ayb,

and have to show that the limit for yb exists, and obtains the value claimed. For this, let (yn)n denote a sequence in E{b}, converging to b. Because of Theorem 11.7 , the function f1 is continuous. Therefore, also the sequence with the members xn:=f1(yn) converges to a. Because of bijectivity, xna for all n. Thus

limnf1(yn)aynb=limnxnaf(xn)f(a)=(limnf(xn)f(a)xna)1,

where the right-hand side exists, due to the condition, and the second equation follows from Lemma 8.1   (5).



The function

f1:++,xx,

is the inverse function of the function f, given by f(x)=x2 (restricted to +). The derivative of f in a point a is f(a)=2a. Due to Theorem 14.9 , for b+, the relation

(f1)(b)=1f(f1(b))=12b=12b12

holds. In the zero point, however, f1 is not differentiable.


The function

f1:,xx13,

is the inverse function of the function f, given by f(x)=x3. The derivative of f in a is f(a)=3a2, which is different from 0 for a0. Due to Theorem 14.9 , we have for b0 the relation

(f1)(b)=1f(f1(b))=13(b13)2=13b23.

In the zero point, however, f1 is not differentiable.



The derivative function

So far, we have considered differentiability of a function in just one point, now we consider the derivative in general.


Let I denote an interval, and let

f:I

be a function. We say that f is differentiable, if for every point aI, the derivative f(a) of f in a exists. In this case, the mapping

f:I,xf(x),
is called the derivative of f.


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