Home page for accesible maths 3 Differentiation

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

3.4 Fundamental theorem of calculus and applications

We can now connect integration and differentiation in a very elegant way. Let us denote [b,a]:=[a,b] and

∫baf⁢(x)⁢d⁡x:=-∫abf⁢(x)⁢d⁡x

if a<b and f:[a,b]→ℝ is continuous.

Theorem 3.4.1.

Let I be an interval, f:I→R continuous and c∈I. Then the indefinite integral with base point c ,

F:I→ℝ,F⁢(x)=∫cxf⁢(t)⁢d⁡t,

is differentiable and F′⁢(x)=f⁢(x), for all x∈I.

The theorem states that F becomes “automatically” differentiable if f is continuous!

Comment: As defined, the indefinite integral F of f is a function again, while the (definite) integral of f in Theorem 1.2.12 is a number. However, if I=[a,b] then, taking as base point c=a, this number is exactly the value F⁢(b).

Proof.

In order to prove differentiability at some fixed x∈I, we consider the difference quotient:

F⁢(x+h)-F⁢(x)h=∫cx+hf⁢(t)⁢d⁡t-∫cxf⁢(t)⁢d⁡th=1h⁢∫xx+hf⁢(t)⁢d⁡t,

where h≠0 is such that [x,x+h]⊂I; here the last equality follows from Proposition 1.3.4. We consider the last integral and remember that

infs∈[0,h]⁡f⁢(x+s)≤f⁢(t)≤sups∈[0,h]⁡f⁢(x+s) t∈[x,x+h].

Thus, by Proposition 1.3.1,

infs∈[0,h]⁡f⁢(x+s)≤1h⁢∫xx+hf⁢(t)⁢d⁡t≤sups∈[0,h]⁡f⁢(x+s).

Remember that h may be negative, as explained above.

We claim that

limh→0⁡infs∈[0,h]⁡f⁢(x+s)=f⁢(x)=limh→0⁡sups∈[0,h]⁡f⁢(x+s),

which will prove that

f⁢(x)≤limh→0⁡1h⁢∫xx+hf⁢(t)⁢d⁡t≤f⁢(x),

thus

limh→0⁡F⁢(x+h)-F⁢(x)h=limh→0⁡1h⁢∫xx+hf⁢(t)⁢d⁡t=f⁢(x).

To prove our claim (*), let us recall that f is continuous at x. Thus, for every ε>0, there is δ>0 such that if |s|<δ then |f⁢(x+s)-f⁢(x)|<ε. Take h such that 0<|h|<δ and [x,x+h]⊂I, which is legitimate since we are interested in the limit h→0 in (*). Then

|infs∈[0,h]⁡f⁢(x+s)-f⁢(x)|<ε,|sups∈[0,h]⁡f⁢(x+s)-f⁢(x)|<ε,

which proves (*). ∎

Key idea of proof.

bound 1h⁢∫xx+hf⁢(t)⁢d⁡t between infs∈[0,h]⁡f⁢(x+s) and sups∈[0,h]⁡f⁢(x+s), use continuity of f, and study the limit h→0.

Example 3.4.2.

Consider the function

f:[0,∞)→ℝ,f⁢(x)=x.

We would like to find

F⁢(x)=∫0xf⁢(t)⁢d⁡t=∫0xt⁢d⁡t,

for fixed x, the indefinite integral with base point 0, from scratch (without looking at any integral tables). We compute the lower and upper approximating step functions:

ℓ⁢(f,[0,x],n,w)=∑i=12n(i-1)⁢x2n⁢𝟏[(i-1)⁢x/2n,i⁢x/2n)⁢(w),w∈[0,x]

and

u⁢(f,[0,x],n,w)=∑i=12ni⁢x2n⁢𝟏[(i-1)⁢x/2n,i⁢x/2n)⁢(w),w∈[0,x].

For x=1.5, we get the following picture (with full blue the upper and dashed red the lower approximating step functions):

The integral of each of these is

ℓn(f)= ∫0xℓ⁢(f,[0,x],n,w)⁢d⁡x=∑i=12n(i-1)⁢x2n⋅x2n=x24n⁢∑i=12n(i-1)
= x24n⁢2n⁢(2n-1)2=x22⁢2n-12n

and

un(f)= ∫0xu⁢(f,[0,x],n,w)⁢d⁡x=∑i=12ni⁢x2n⋅x2n=x24n⁢∑i=12ni
= x24n⁢(2n+1)⁢2n2=x22⁢2n+12n.

Thus ℓn(f)≤x22≤un(f) and

ℓn(f),un(f)→x22,n→∞,

so our indefinite integral with base point 0 is

F⁢(x)=x22,x∈[0,∞).

We know from Example 3.1.2 that F is differentiable with F′⁢(x)=2⁢x2=x, for all x∈[0,∞), so F′=f, confirming the theorem.

Exercise W5.1.

In analogy to the preceding example, compute the indefinite integral of

f:ℝ→ℝ,f⁢(x)=x2,

with base point 0. You may use the formula

∑k=1nk2=n⁢(n+1)⁢(2⁢n+1)6.

For other functions, this procedure of calculating the indefinite integral by hand would be very inefficient, so we would like to build up more machinery first.

Theorem 3.4.3.

Let G:I→R be differentiable on I with continuous derivative, and let c∈I. Then

G⁢(x)-G⁢(c)=∫cxG′⁢(t)⁢d⁡t,x∈I.
Proof.

Let F:I→ℝ be the indefinite integral for G′ with base point c. From Theorem 3.4.1 we know that F is differentiable with F′⁢(x)=G′⁢(x), for all x∈I, so (F-G)′⁢(x)=0, for all x∈I. Corollary 3.3.2(iii) then shows that there must be λ∈ℝ such that (F-G)⁢(x)=λ, for all x∈I. Since F⁢(c)=0, we get λ=-G⁢(c), so F⁢(x)=G⁢(x)-G⁢(c), which proves the theorem. ∎

Remark 3.4.4.

Theorems 3.4.1 and 3.4.3 together say that “composing integration and differentiation gives you the identity operation up to a constant”, symbolically (but not mathematically rigorously)

`⁢` dd⁡x⁢∫f=f=∫dd⁡x⁢f+C "

if the function f is sufficiently nice.

Exercise W5.3.

Elaborate Remark 3.4.4: what precise conditions does f have to fulfil? How exactly are indefinite integral and derivative related? How should the formula read? Can we iterate this, i.e., integrate 10 times and then differentiate 10 times in order to get the original function back?

Corollary 3.4.5.

Given a continuous function f:I→R and a differentiable function G:I→R such that G′=f. Such a G is called an anti-derivative of f. Then the indefinite integral of f with base point c is given by

F⁢(x)=G⁢(x)-G⁢(c),x∈I.

Hence, all anti-derivatives of f differ only by a constant, i.e., they are of the form G+C, with some constant C∈R.

Proof.

Exercise W5.2 ∎

Comment: So in practice, how do we compute the indefinite integral or an anti-derivative efficiently? – Well, there is no standard “protocol” or “recipe”. You have to somehow guess G and then check whether its derivative G′ equals f. You find the most important ones collected in tables and you will also memorise some of them over time, or you might remember tables and integration techniques like substitution etc. from MATH101/102.

Example 3.4.6.
  • (1)

    Consider the function f:ℝ→ℝ, defined by f⁢(x)=x2+23⁢x5, which is continuous and so its indefinite integral

    F:ℝ→ℝ,F⁢(x)=∫1xf⁢(x)⁢d⁡x

    with base point 1 can be defined. We know that G:ℝ→ℝ defined by G⁢(x)=13⁢x3+19⁢x6 is differentiable with G′⁢(x)=x2+23⁢x5=f⁢(x), so

    F⁢(x)=G⁢(x)-G⁢(1)=13⁢x3+19⁢x6-49.
  • (2)

    Consider the function f:ℝ→ℝ, defined by f⁢(x)=sin⁡(2⁢x), which is continuous, and so its indefinite integral F with base point c can be defined. In order to compute it explicitly we proceed as follows. We know that the function G:ℝ→ℝ defined by G⁢(x)=12⁢cos⁡(2⁢x) is differentiable with G′⁢(x)=sin⁡(2⁢x)=f⁢(x). Thus F⁢(x)=G⁢(x)-G⁢(c)=12⁢cos⁡(2⁢x)-12⁢cos⁡(2⁢c).