]> AP Calculus AB - Chapter 05 Notes

5: The Definite Integral

5.1: Estimating with Finite Sums

Consider a moving object…its velocity (meters per second) at any time (seconds) is given by  v ( t ) = 9.8 t + 25 . Can we use this information to determine the distance that the object has traveled during the first four seconds? The old  d = r t  only works for constant speeds…

Divide and Conquer

Let's take a cue from the movies! As you know, a movie is just a series of still images, that are run really fast. Each image is still (no movement), but a series of them give the illusion of movement. Perhaps we could take our velocity equation, chop it up into a series of still images, and get the motion from that…

Let's say it this way: for any short interval of time, the change in velocity is not very large—thus, for a short interval of time, we could consider the object to be moving with constant velocity, and use our old familiar distance equation.

There is a graphic interpretation of this idea—creating rectangles around the graph of  v ( t ) .

We'll start by chopping the time interval into four pieces:

An Image

Notice that the object is at rest around time 2.5 seconds—thus, it turns around and heads back in the other direction. Thus, the total distance traveled will be different from the net distance traveled (displacement). Keep this in mind for later!

The total area of these rectangles is 50—the total distance traveled is 50 meters. This is only an approximation, though…we're supposed to be chopping the time interval into sections where the velocity is almost constant! Let's do better: try ten intervals.

An Image

That gives a total area of 44.704. This should be a little better…however, there will still be some error! Let's try once again, with 20 intervals:

An Image

This gives an area of 43.328…this is better, but still not the answer.

Reductio ad infinitum

The answer requires that we consider an infinite number of intervals! However, we'll leave that for a bit, since that requires limits. Let's take one step at a time.

Three Paths to the Summit

The pictures that I drew above all have rectangles that have the left side on the function—we call these left-hand rectangles. You could also use midpoints (the height of the rectangle is at the midpoint of the top edge) or right sides (take a wild guess!). You'll get slightly different answers…but that's okay; once we work towards the answer, they'll all come out the same.

Examples

[1.] Estimate the area under the curve  y = e 1 x  in the interval  [ 1 , 3 ]  with four and ten rectangles.

 

First, with four rectangles:

An Image

The estimated area is 3.903. Now with ten rectangles:

An Image

The estimated area is 3.663.

 

[2.] The following data were collected from a moving vehicle:

time (sec)

0

5

10

15

20

25

30

velocity (ft/sec)

25

31

35

43

47

46

41

Estimate the distance traveled by the vehicle during the thirty second interval.

 

Note that the data have already divided the interval into a partition! The width of each subinterval is 5 (seconds), and the height of the rectangle is the given velocity (feet per second).

width

5

5

5

5

5

5

5

height

25

31

35

43

47

46

41

area

125

155

175

215

235

230

205

This gives a total area of 1340—which means a total distance of 1340 feet.

5.2: Definite Integrals

The Generic Path: Riemann Sums

Let's generalize the ideas we explored in the previous section…

A partition of the interval  [ a , b ]  is a set of values ( x i ) so that  a < x 1 < x 2 < < x n 1 < b . If we call  x 0 = a  and  x n = b , then  P = { x 0 , x 1 , x 2 x n }  is a partition of the interval  [ a , b ] .

The kth subinterval of P is  [ x k 1 , x k ] . Let  c k  be any value in the kth subinterval of P. Also, let Δ x k  be the width of the kth subinterval of P.

If f is a function which is continuous on the interval  [ a , b ] , then the Riemann sum of f (on that interval) is k = 1 n f ( c k ) Δ x k . Note that this is the sum of a bunch of rectangle areas…

The Definite Integral

Back when we were developing the idea of derivatives, we created a generic point, and then moved the point arbitrarily close to the target point…we allowed the distance between the points to approach zero. This limiting process gave us the slope of the curve.

Now consider the rectangles areas from the Riemann sum. One might think that adding more points to the partition might make the rectangle areas get really small, and add up to the area under the curve…however, just adding more points doesn't make all of the rectangles small. To do that, you have to add points so that the largest Δ x k  approaches zero (the largest  Δ x k  is called the norm of P, or  || P || ).

If  lim || P || 0 k = 1 n f ( c k ) Δ x k  exists, then we say that f is integrable over the interval  [ a , b ] , and the value of the limit is called the definite integral off over  [ a , b ] .

Notation

That limit notation is terrible difficult to write, so we create a new notation for the definite integral of f over  [ a , b ] a b f ( x ) dx . This is read as "the integral of f from a to b."

Evaluating Definite Integrals

Definite integrals are defined in such a way that they approximate the area between a curve and the x-axis (if it lies above the x-axis). However, since this is math (and not reality), the area between the curve and the x-axis for functions which lie below the x-axis is negative. Thus, the definite integral of f over  [ a , b ]  is the area above the axis plus the area below the axis.

If you really want area (real, positive area), then it's area above the axis minus area below the axis.

Returning to our velocity example from a while back: the total distance traveled will be the area between the line  v ( t ) = 9.8 t + 25  and the x-axis. Fortunately, this is just a pair of triangles! First, note that  v ( 2.551 ) = 0 . The area of the left/upper triangle is  12 ( 25 ) ( 2.551 ) = 31.888 , and the area of the right/lower triangle is  12 ( 14.2 ) ( 4 2.551 ) = 10.288 , for a total area of 42.176 (a total distance of 42.176 meters). The displacement is  31.888 10.288 = 21.600  meters.

Of course, rather than doing all of this by hand, you could use your calculator…note that the calculator will do the definite integral; not the area under the curve. My calculator gives the value of the definite integral at 21.6.

Examples

[3.] Find  1 7 2 dx .

This is a rectangle with base length of 8 and a height of 2; the area (and the value of the definite integral) is 16.

 

[4.] Find  05 ( 5 x ) dx .

This is a triangle with base 5 and height 5; the area is 12 ( 5 ) ( 5 ) = 252 .

 

[5.] Find  2 2 4 x 2 dx .

This is a semicircle of radius 2. The area is  4 π .

5.3: Definite Integrals and Antiderivatives

Properties of the Definite Integral

Reversing the limits negates the integral:  a b f ( x ) dx = b a f ( x ) dx

The integral of a point is zero:  a a f ( x ) dx = 0

Constants can be factored out:  a b k f ( x ) dx = k a b f ( x ) dx

Integrals can be "distributed" across sums and differences:  a b [ f ( x ) ± g ( x ) ] dx = a b f ( x ) dx ± a b g ( x ) dx

Integrals over adjacent intervals can be combined:  a b f ( x ) dx + b c f ( x ) dx = a c f ( x ) dx

The Average Value of a Function

We all know how to find an average—add up all the values, and divide by the number of values. It turns out that you can do that with an infinite number of things, also! Adding an infinite number of things creates an integral, though.

The average value of  f ( x )  over the interval  [ a , b ]  is  1 b a a b f ( x ) dx .

The Mean Value Theorem (for Definite Integrals)

There is some point ( x = c ) in the interval  [ a , b ]  so that  f ( c ) = 1 b a a b f ( x ) dx .

The Mean Value Theorem for Derivatives says that for any interval, there is some point where the slope of the tangent equals the slope of the secant. The Mean Value Theorem for Integrals says that for any interval, there is some point where the area of a rectangle equals the area under the curve ( ( b a ) f ( c ) = a b f ( x ) dx ).

The Connection: A First Glimpse

The derivative is found with a quotient of infinitely small differences.

The definite integral is found through a sum of infinitely small products (areas).

Sums and differences…quotients and products…surely there is some connection!

…and there is.

Here's a look ahead—which you'll need for a few of the problems in this section.

a b f ( x ) dx = F ( b ) F ( a ) , where  F ( x )  is any antiderivative of  f ( x ) .

Examples

[6.] If  09 f ( x ) dx = 37  and  09 g ( x ) dx = 16 , then find  09 [ 2 f ( x ) + 3 g ( x ) ] dx .

Using the properties of integrals,  09 [ 2 f ( x ) + 3 g ( x ) ] dx = 2 09 f ( x ) dx + 3 09 g ( x ) dx = 2 ( 37 ) + 3 ( 16 ) = 122

 

[7.] Find  1 1 ( x 2 x 1 ) dx .

Since I don't know a handy formula for the area under a parabola, I'll use antiderivatives. One antiderivative of  f ( x ) = x 2 x 1  is  F ( x ) = 13 x 3 12 x 2 x . Thus,  1 1 f ( x ) dx = F ( 1 ) F ( 1 ) F ( 1 ) = 13 12 1 = 76  and  F ( 1 ) = 13 12 + 1 = 16 , so  1 1 ( x 2 x 1 ) dx = 76 16 = 86 = 43 .

 

[8.] Find the average value of  1 x 2  on the interval  [ 1 , 4 ] .

The formula gives me  1 4 1 14 1 x 2 dx . I'll have to use an antiderivative again…how about  1 x 13 14 1 x 2 dx = 13 [ 1 x ] 14 = 13 ( 14 13 ) = 13 ( 112 ) = 136 .

5.4: The Fundamental Theorem of Calculus

FTC, Part 1

If  g ( x ) = a x f ( t ) dt , then  d dx [ g ( x ) ] = f ( x ) .

In other words, the derivative of an integral is just the plain function. It's as if the derivative and the integral are inverse operations…

The hairs on the back of your neck should be standing on end…

The Integral as a Function

The idea of  g ( x ) = a x f ( t ) dt  needs some additional investigation…there are lots of potential questions that can be asked about functions that are defined as integrals of other functions! Here are just a few examples from a single scenario…

The graph of  f ( t )  is shown below. It consists of a semicircle and a line segment.

An Image

 

Define  A ( x ) = 0 x f ( t ) dt .

A ( 6 )  is the area under  f ( t )  between  x = 0  and  x = 6 06 f ( t ) dt —which is a quarter circle.  A ( 6 ) = 14 π ( 6 ) 2 = 36 π 4 = 9 π .

A ( 18 )  is the area under  f ( t )  between  x = 0  and  x = 18 018 f ( t ) dt . This is a semicircle and a triangle!  A ( 18 ) = 12 π ( 6 ) 2 + 12 ( 6 ) ( 6 ) = 18 π + 18 .

Note that  A ( x )  is an increasing function—as x gets larger, the amount of area under  f ( t )  keeps getting larger.

The average value of  f ( t )  on the interval  [ 0 , 18 ]  is  1 18 0 018 f ( t ) dt = 118 A ( 18 ) = π + 1 .

FTC, Part 2

If  f ( x )  is any antiderivative of  g ( x ) , then  a b g ( x ) dx = f ( b ) f ( a ) .

Note that  f ( x )  being an antiderivative of  g ( x )  means that  f ( x ) = g ( x ) . Thus, this theorem is taking the integral of an antiderivative. Also note that the integral of this derivative resulted in the original function (sort of).

Finding Area

If you want to use definite integrals to find the area between a curve and the x-axis, remember that areas below the axis will be negative! One way to find the total area is to first determine where the function is equal to zero—this will divide the areas into above/below the x-axis. Add the integrals from the sections above the axis, and subtract the integrals from the sections below the axis.

Another way to do this is to just find the area under the absolute value of the function. The absolute value will simply force all of the areas to be positive. This makes things really easy—especially if you are using your calculator…

Examples

[9.] Find  0 π cos ( x ) dx .

Well…an antiderivative of  cos ( x )  is  sin ( x ) …so  0 π cos ( x ) dx = sin ( x ) ] 0 π = sin ( π ) sin ( 0 ) = 0 0 = 0 . Note that this does not mean that the area between  sin ( x )  and the x-axis is zero!

 

[10.] Find the total area between  f ( x ) = x 3 x  and the x-axis on the interval  [ 2 , 2 ] .

Let's be careful and look at the graph.

An Image

We'll need to split this up! The total area will be  2 1 ( x 3 x ) dx + 1 0 ( x 3 x ) dx 01 ( x 3 x ) dx + 12 ( x 3 x ) dx

An antiderivative of  f ( x ) = x 3 x  is  F ( x ) = 14 x 4 12 x 2 . That gives us

[ F ( x ) ] 2 1 + [ F ( x ) ] 1 0 [ F ( x ) ] 01 + [ F ( x ) ] 12

[ F ( 1 ) F ( 2 ) ] + [ F ( 0 ) F ( 1 ) ] [ F ( 1 ) F ( 0 ) ] + [ F ( 2 ) F ( 1 ) ]

F ( 1 ) + F ( 2 ) + F ( 0 ) F ( 1 ) F ( 1 ) + F ( 0 ) + F ( 2 ) F ( 1 )

F ( 2 ) 2 F ( 1 ) + 2 F ( 0 ) 2 F ( 1 ) + F ( 2 )

Let's start plugging in!

F ( 2 ) = 14 16 12 4 = 4 2 = 2

F ( 1 ) = 14 12 = 14

F ( 0 ) = 0

F ( 1 ) = 14 12 = 14

F ( 2 ) = 14 16 12 4 = 4 2 = 2

So finally, we get  2 2 ( 14 ) + 2 ( 0 ) 2 ( 14 ) + 2 = 2 + 12 + 12 + 2 = 5 .

 

[11.] Find  d dx [ π x tan ( t ) dt ] .

Easy! The derivative is  tan ( x ) .

5.5: The Trapezoidal Rule

Another Path

Now that we have a firm connection between integrals and area, let's approach the area idea again. Before, we used rectangles to approximate the area under the curve—simply because rectangles are very simple geometric figures. Alas, they don't really do such a good job of approximating area under the curve until you use alot of very tiny rectangles.

There is another shape which does a better job—the trapezoid! Divide the interval in question as you would before, but now connect the function values to obtain trapezoids. For our linear example (way back at the beginning of this chapter), we get an exact answer with as few as two trapezoids!

Let's take the function  f ( x ) = 4 ( x 2 ) 2  on the interval  [ 1 , 4 ]  with four regions as an example.

 

Here is the approximate area with four rectangles:

An Image

(that's an area of 9.8438)

Here is the approximate area with four trapezoids:

An Image

(that's an area of 8.7188)

The actual area is 9. You can see that the trapezoids do a much better job of the approximation!

Simpson's Rule/Approximation

You can do even better with your approximation if, instead of trapezoids, you use rectangles capped with little parabolic arches. It turns out that there is a (relatively simple) formula for this—and a (fairly simple) formula that generalizes the entire procedure!

It's called Simpson's Rule:

To approximate  a b f ( x ) dx , divide the interval  [ a , b ]  into an even number of subintervals (make n even) and then calculate  b a 3 n ( y 0 + 4 y 1 + 2 y 2 + 4 y 3 + + 2 y n 2 + 4 y n 1 + y n ) .

Happily, this topic is not part of the AP Exam!

Examples

[12.] Use four trapezoids to estimate the value of  02 x 3 dx .

Let's look at the picture:

An Image

The areas of the trapezoids are

12 ( 03 + ( 12 ) 3 ) 12 = 12 ( 18 ) 12 = 132

12 ( ( 12 ) 3 + 13 ) 12 = 12 ( 18 + 1 ) 12 = 12 ( 98 ) 12 = 932

12 ( 13 + ( 32 ) 3 ) 12 = 12 ( 1 + 278 ) 12 = 12 ( 358 ) 12 = 3532

12 ( ( 32 ) 3 + 23 ) 12 = 12 ( 278 + 8 ) 12 = 12 ( 918 ) 12 = 9132

This gives a total area of  132 + 932 + 3532 + 9132 = 13632 = 4.25 .

(the actual area is 4)


Valid MathML 2.0! Valid CSS Level 2!

Page last validated 2010-08-15