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)dx:=-abf(x)dx

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

Theorem 3.4.1.

Let I be an interval, f:IR continuous and cI. Then the indefinite integral with base point c ,

F:I,F(x)=cxf(t)dt,

is differentiable and F(x)=f(x), for all xI.

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 xI, we consider the difference quotient:

F(x+h)-F(x)h=cx+hf(t)dt-cxf(t)dth=1hxx+hf(t)dt,

where h0 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)1hxx+hf(t)dtsups[0,h]f(x+s).

Remember that h may be negative, as explained above.

We claim that

limh0infs[0,h]f(x+s)=f(x)=limh0sups[0,h]f(x+s),

which will prove that

f(x)limh01hxx+hf(t)dtf(x),

thus

limh0F(x+h)-F(x)h=limh01hxx+hf(t)dt=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 h0 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 1hxx+hf(t)dt between infs[0,h]f(x+s) and sups[0,h]f(x+s), use continuity of f, and study the limit h0.

Example 3.4.2.

Consider the function

f:[0,),f(x)=x.

We would like to find

F(x)=0xf(t)dt=0xtdt,

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,ix/2n)(w),w[0,x]

and

u(f,[0,x],n,w)=i=12nix2n𝟏[(i-1)x/2n,ix/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)dx=i=12n(i-1)x2nx2n=x24ni=12n(i-1)
= x24n2n(2n-1)2=x222n-12n

and

un(f)= 0xu(f,[0,x],n,w)dx=i=12nix2nx2n=x24ni=12ni
= x24n(2n+1)2n2=x222n+12n.

Thus n(f)x22un(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)=2x2=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)(2n+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:IR be differentiable on I with continuous derivative, and let cI. Then

G(x)-G(c)=cxG(t)dt,xI.
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 xI, so (F-G)(x)=0, for all xI. Corollary 3.3.2(iii) then shows that there must be λ such that (F-G)(x)=λ, for all xI. 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)

``ddxf=f=ddxf+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:IR and a differentiable function G:IR 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),xI.

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

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+23x5, which is continuous and so its indefinite integral

    F:,F(x)=1xf(x)dx

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

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

    Consider the function f:, defined by f(x)=sin(2x), 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)=12cos(2x) is differentiable with G(x)=sin(2x)=f(x). Thus F(x)=G(x)-G(c)=12cos(2x)-12cos(2c).