FundamentalTheorems.mws

Fundamental Theorems of Calculus

>    restart;
with( plots ):

Warning, the name changecoords has been redefined

>   

Lesson Overview

This is the lesson in which the connection between definite and indefinite integrals is exposed.  At this point Indefinite Integrals, antiderivatives, are obtained by reversing the differentiation process.   Definite Integrals arise as limits of Riemann sums and provide information about the area of a region.

There are two Fundamental Theorems of Calculus.  The definite integral can be used to define new functions.  The First Fundamental Theorem of Calculus shows how to differentiate this type of function.

First Fundamental Theorem of Calculus

Let f be a continuous function on an interval I  that contains a .  Define the function F on the interval I  in terms of the definite integral

   F(x) = Int(f(t),t = a .. x) .  

Then i) F is differentiable on I  and ii) `F'`(x) = f(x)  for all x  in I .

>   

 One consequence of this theorem is that Int(f(t),t = a .. x)  is an antiderivative of f.

>   

The Second Fundamental Theorem of Calculus shows how antiderivatives can be used to evaluate a definite integral.

Second Fundamental Theorem of Calculus

Let F be any antiderivative of f on an interval I , that is, `F'`(x) = f(x)  for all x  in I .  Then

   Int(f(x),x = a .. b) = F(b)-F(a) .  

>   

With this result it is no longer necessary to use limits or geometry to evaluate definite integrals.

>   

First Fundamental Theorem of Calculus

Let f be a continuous function on an interval I  that contains a .  Define the function F on the interval I  in terms of the definite integral

   F(x) = Int(f(t),t = a .. x) .  

Then i) F is differentiable on I  and ii) `F'`(x) = f(x)  for all x  in I .

Proof

The proof of this theorem uses the Precise Definition of the Derivative to compute `F'`(x).

   `F'`(x) = Limit((F(x+h)-F(x))/h,h = 0)             

                                = Limit(1/h,h = 0)  ( Int(f(t),t = a .. x+h)-Int(f(t),t = a .. x), h = 0  )  

                      = Limit(1/h,h = 0)  ( Int(f(t),t = a .. x+h)+Int(f(t),t = x .. a)  )  

    = Limit(1/h,h = 0)   Int(f(t),t = x .. x+h)        

Observe that, when h  is small, Int(f(t),t = x .. x+h)  is can be estimated as the "area" of the rectangle with base h  and height f(x) .  That is, Int(f(t),t = x .. x+h)   is approximately   h*f(x) .  Therefore,

   `F'`(x) = Limit(1/h,h = 0)   Int(f(t),t = x .. x+h)   

    = Limit(1/h,h = 0)  ( h*f(x) )    

    = Limit(f(x),h = 0)              

    = f(x) .                        

Because this limit exists (for all x in I), F is differentiable on I.

Notes

  • The fact that F' = f means that F is an antiderivative of f.  Heretofore, the derivations and definitions of indefinite and definite integrals provided no reason to expect there to be any connection between these topics.

>   

Example 1

Consider the function

>    f1 := t^3:
F1 := Int( f1, t=1..x ):
F(x) = F1;

F(x) = Int(t^3,t = 1 .. x)

By the First Fundamental Theorem of Calculus, it is known that F is a differentiable function and

>    dF1 := eval( f1, t=x ):
`F'`(x) = dF1;

`F'`(x) = x^3

At the same time, we know that the family of antiderivatives of

>    f(x) = dF1;

f(x) = x^3

is

>    FF1 := Int( dF1, x ):
FF1 = value( FF1 ) + C;

Int(x^3,x) = 1/4*x^4+C

This means that the function F(x) must be one of antiderivatives of x^3 :

>    F(x) = value( FF1 ) + C;

F(x) = 1/4*x^4+C

for some choice of the constant C .

>   

To determine the appropriate value for C , note that

   F(1) = Int(t^3,t = 1 .. 1)  = 0.  

This condition will be satisfied by exactly one antiderivative.  The equation that selects the correct antiderivative is

>    eq1 := eval( value( FF1 ) + C, x=1 ) = 0:
eq1;

1/4+C = 0

This equation is simple to solve:

>    C1 := isolate( eq1, C ):
C1;

C = -1/4

>    F(x) = eval( value( FF1 ) + C, C1 );

F(x) = 1/4*x^4-1/4

>   

Example 2

Consider the function

>    f2 := cos( t^2 ):
F2 := Int( f2, t=0..sqrt(x) ):
F(x) = F2;

F(x) = Int(cos(t^2),t = 0 .. x^(1/2))

defined for all x  >= 0.  Find a formula for the derivative, `F'`(x) , that is valid for all x  >= 0.

>   

This function is a little more complicated.  Before starting to compute the derivative, let's see a plot of the function.

>    plot( F2, x=0..20 );

[Maple Plot]

>   

To compute the derivative, it is convenient to rewrite the function as

   F(x) = G(sqrt(x))   

where

>    G2 := Int( f2, t=0..x ):
G(x) = G2;

G(x) = Int(cos(t^2),t = 0 .. x)

Now, by the Chain Rule,

   `F'`(x)  = `G'`(sqrt(x))   Diff(sqrt(x),x)   

The derivative of G is obtained from the First Fundamental Theorem of Calculus:

  `G'`(x) = cos(x^2).  

Therefore,

   `F'`(x)  = cos(sqrt(x)^2)   1/2   x^(-1/2)   

     = cos(x)/(2*sqrt(x)) .  

>   

Notice that this result is consistent with the plot created at the beginning of this example.  The function has local extrema at every zero of the cosine function, i.e., x = (2*k+1)*Pi/2  for k  = 0, 1, ....  Also, the sqrt(x)  in the denominator of the derivative means that the oscillations decrease as x  increases.

>   

To conclude this example, there is a general pattern for differentiating definite integrals when the upper limit is a function.  If

   F(x) = Int(f(t),t = a .. u(x))   

then, by the Chain Rule,

   `F'`(x) = Diff(Int(f(t),t = a .. u(x)),x)   

           = f(u(x))*diff(u(x),x)   

>   

Example 3

Compute

   Diff(Int(1/t,t = 2*x .. x^3),x)   

for all values of x  > 0.

>   

First, note that 2*x  and x^3  are both positive when x  > 0.  For 0 < x  < sqrt(2) , 0 < x^3  < 2*x  so that the integral will be negative.  For x = sqrt(2) , x^3  = 2*x  = 2*sqrt(2)  and the integral is zero.  For x  > sqrt(2) , x^3  > 2*x  > 0 and the integral is positive.  

>    plot( Int( 1/t, t=2*x..x^3 ), x=0..10 );

[Maple Plot]

>   

The computation of this derivative is similar to the previous example except that there are functions on both limits of integration.  To put this problem in a form where the general result in Example 2 can be used, rewrite the definite integral as

   Int(1/t,t = 2*x .. x^3) = Int(1/t,t = 2*x .. 1)+Int(1/t,t = 1 .. x^3)   

                     = -Int(1/t,t = 1 .. 2*x)+Int(1/t,t = 1 .. x^3) .  

>   

Now, differentiate using the First Fundamental Theorem of Calculus and the Chain Rule to obtain:

   Diff(Int(1/t,t = 2*x .. x^3),x) = Diff(-Int(1/t,t = 1 .. 2*x)+Int(1/t,t = 1 .. x^3),x)   

                            = -1/(2*x)   Diff(2*x,x)  + 1/(x^3)   Diff(x^3,x)   

     = -2/(2*x)+3*x^2/(x^3)     

     = -1/x+3/x             

     = 2/x .                     

>   

Remark

Note that 1/t = t^(-1)  is the one power function for which we do not know an antiderivative.  The First Fundamental Theorem of Calculus tells us that an antiderivative for 1/x  exists (for x  > 0) and can be defined in terms of a definite integral.  This topic will be revisited again in the Evaluating Definite Integrals lesson.

>   

Second Fundamental Theorem of Calculus

Let F be any antiderivative of f on an interval I , that is, `F'`(x) = f(x)  for all x  in I .  Then

   Int(f(x),x = a .. b) = F(b)-F(a) .  

Proof

Let a  be a number in the interval I .  Define the function G on I  to be

   G(x) = Int(f(t),t = a .. x) .  

By the First Fundamental Theorem of Calculus, G is an antiderivative of f.  Since F is also an antiderivative of f, it must be that F and G differ by (at most) a constant:

   G(x) = F(x)+C   

for some value of C.  To determine the constant C observe that

   F(a)+C = G(a)                      

            = Int(f(t),t = a .. a)  = 0  

and so

   C = -F(a) .  

Therefore,

   Int(f(t),t = a .. b) = G(b)            

               = F(b)+C   

                     = F(b)-F(a) .  

At last we have an efficient method for evaluating definite integrals:

  • find an antiderivative of the integrand
  • evaluate the antiderivative at the upper limit
  • evaluate the antiderivative at the lower limit
  • subtract the value at the lower limit from the value at the lower limit.

>   

>   

Example 4

The definite integral in Example 1 can now be evaluated as follows:

   Int(t^3,t = 1 .. x) = F(x)-F(1)   

where F is any antiderivative of t^3 .

The simplest antiderivative is F(t) = t^4/4 .  Thus,

   Int(t^3,t = 1 .. x) = F(x)-F(1)         

     = x^4/4-1^4/4   

     = x^4/4-1/4 .  

Note that if F is any other antiderivative of t^3  then F(t) = t^4/4+C .  In this case

   Int(t^3,t = 1 .. x) = F(x)-F(1)         

                       = x^4/4+C-(1^4/4+C)   

                    = x^4/4-1/4+C-C   

     = x^4/4-1/4 .  

The important observation to make here is that the same answer is obtained for all antiderivatives of the integrand.

>   

Example 5

Evaluate

   Int(x^(1/4)-x/4,x = 1 .. 16) .

>   

An antiderivative of

>    f5 := x^(1/4) - x/4:
f(x) = f5;

f(x) = x^(1/4)-1/4*x

is

>    F5 := int( f5, x ):
F(x) = F5;

F(x) = 4/5*x^(5/4)-1/8*x^2

Thus,

>    DIval5 := eval( F5, x=16 ) - eval( F5, x=1 ):
Int( f5, x=1..16 ) = F(16)-F(1);
`                ` = DIval5;
`                ` = simplify( DIval5 );

Int(x^(1/4)-1/4*x,x = 1 .. 16) = F(16)-F(1)

`                ` = 64/5*16^(1/4)-1307/40

`                ` = -283/40

>   

Example 6

Evaluate

>    f6 := 3*x + cos(x):
DI6 := Int( f6, x=0..Pi/2 ):
DI6;

Int(3*x+cos(x),x = 0 .. 1/2*Pi)

>   

An antiderivative of the integrand is

>    F6 := int( f6, x ):
F(x) = F6;

F(x) = 3/2*x^2+sin(x)

By the Second Fundamental Theorem of Calculus:

>    DIval6 := eval( F6, x=Pi/2 ) - eval( F6, x=0 ):
DI6 = F(Pi/2) - F(0);
` ` = DIval6;
` ` = evalf( DIval6 );

Int(3*x+cos(x),x = 0 .. 1/2*Pi) = F(1/2*Pi)-F(0)

` ` = 3/8*Pi^2+1

` ` = 4.701101652

>   

Example 7

Evaluate

   Limit(Pi/n,n = infinity)   Sum(sin(Pi*i/n),i = 1 .. n) .  

>   

The form of this limit suggests that it might be the limit of a Riemann sum.  Observe that the difference between successive values of Pi*i/n  is Pi*i/n-Pi*(i-1)/n = Pi/n .  This suggests that Pi/n = Delta*x  and Pi*i/n = x[i] .  With these identifications, the limit now has the form

   Limit(Pi/n,n = infinity)   Sum(sin(Pi*i/n),i = 1 .. n)  = Limit(Sum(sin(x[i])*Delta*x,i = 1 .. n),Delta*x = 0) .  

In this form it is apparent that this limit is a (right) Riemann sum for

>    f7 := sin(x):
f(x) = f7;

f(x) = sin(x)

on the interval

>    dx := Pi/n:
a7 := 0*dx:
b7 := n*dx:
[ a7, b7 ];

[0, Pi]

That is, the limit can be rewritten as a definite integral

   Limit(Pi/n,n = infinity)   Sum(sin(Pi*i/n),i = 1 .. n)  = Int(sin(x),x = 0 .. Pi) .  

>   

The value of the definite integral is found uisng the Second Fundamental Theorem of Calculus

>    F7 := int( f7, x ):
DI7 := Int( f7, x=a7..b7 ):
DI7 = -'cos'(Pi) - (-'cos'(0));
`` = eval( F7, x=b7 ) - eval( F7, x=a7 );

Int(sin(x),x = 0 .. Pi) = -cos(Pi)+cos(0)

`` = 2

>   

Lesson Summary

The Fundamental Theorems of Calculus are

First Fundamental Theorem of Calculus

Let f be a continuous function on an interval I  that contains a .  Define the function F on the interval I  in terms of the definite integral

   F(x) = Int(f(t),t = a .. x) .  

Then i) F is differentiable on I  and ii) `F'`(x) = f(x)  for all x  in I .

>   

Second Fundamental Theorem of Calculus

Let F be any antiderivative of f on an interval I , that is, `F'`(x) = f(x)  for all x  in I .  Then

   Int(f(x),x = a .. b) = F(b)-F(a) .  

>   

>   

The First Fundamental Theorem of Calculus is used to define antiderivatives in terms of definite integrals.  Alternately, this result provides a new differentiation formula when the limits of integration are functions of the independent variable.

The Second Fundamental Theorem of Calculus provides an efficient method for evaluating definite integrals.  All that is needed to be able to use this theorem is any antiderivative of the integrand.

To assist with the determination of antiderivatives, the Antiderivative  [ Maplet Viewer][ Maplenet] and Integration  [ Maplet Viewer][ Maplenet] maplets are still available.  Of the two, the symbolic capabilities of the Integration  maplet are most likely to be useful in this lesson.

>   

What's Next?

Now that you have completed this lesson, the online homework assignment will help develop your skills working with definite integrals.  Note there are practice sessions for specific topics, a general practice session for problems related to this lesson, and a graded homework assignment.  Work enough practice problems to master these concepts, then complete the online homework assignment and the assigned problems from the text.

The Fundamental Theorems of Calculus are truly fundamental.  If, at the end of this course, you do not know when and how to apply these results, you do not have a good understanding of calculus.  The next lesson, Evaluating Definite Integrals, will help develop your ability to find an antiderivative and how to work with definite integrals.  The lessons in Unit 5 will further develop these skills.

>   

>   

>