Mathematics 265 Introduction to Calculus I

Study Guide :: Unit 7

Applications of the Definite Integral

Areas Between Curves

In the first remark in Unit 6, we indicated that a definite integral gives the area under a curve only if the integrand function is positive on the interval given by the limits of integration. If the integrand function is not positive, then the definite integral is the areas under the curve on the interval where the function is positive minus the areas under the curve where the function is negative. In this section, we find areas between curves. We start with a single curve only.

Example 7.5. Consider the function f ( x ) = x 2 - 4 x on the interval [ - 2 , 5 ] . We want to find the area under this curve. Since the graph of this function is a parabola that is concave upwards, we find the x -intercepts to see where the function is positive and where it is negative. The x -intercepts are ( 0 , 0 ) and ( 4 , 0 ) , it is positive on the intervals [ - 2 , 0 ) and ( 4 , 5 ] , and it is negative on ( 0 , 4 ) . So, the area is given by the following definite integrals

2 0 x 2 4xdx= x 3 3 2 x 2 | 2 0 = ( 8 3 8 ) = 32 3 .

4 5 x 2 4xdx= x 3 3 2 x 2 | 4 5 =( 125 3 2(25) )( 64 3 2(16) )= 7 3 .

0 4 x 2 4xdx=( x 3 3 2 x 2 ) | 0 4 = ( 64 3 2(16) ) = 32 3 .

The area is

3 2 3 + 7 3 + 3 2 3 = 7 1 3 .

It is always useful to use symmetry when solving a problem. If a function f ( x ) is even, then on an interval [ - a , a ] , the areas under the curve on the left and right of the y -axis are equal. Therefore,

- a a   f ( x ) d x = 2 0 a   f ( x ) d x .

The integral on the right may be easier than the integral on the left.

If a function f ( x ) is odd, then on an interval [ - a , a ] , the areas under the curve on the left and right of the y -axis are equal, but one is under the x -axis and the other is above it. Therefore,

- a a   f ( x ) d x = 0 .

and the area under the curve on the interval [ - a , a ] is again equal to

2 0 a   f ( x ) d x .

Example 7.6. The function

g ( x ) = x x 2 + 1 2

is odd, and the area under this curve on the interval [ - 1 , 1 ] is

2 0 1 x ( x 2 +1 ) 2 dx= 0 1 2x ( x 2 +1 ) 2 dx= ( x 2 +1 ) 3 3 | 0 1 = 7 3 .

Example 7.7. Analyse the following definite integral

- 3 2 x   cos ( x 2 ) d x .

The function f ( x ) = x cos ( x 2 ) is odd, and the definite integral on the interval [ - 2 , 2 ] is zero, so the integral is equal to

3 2 x cos( x 2 )dx = 1 2 3 2 2xcos( x 2 )dx = sin( x 2 ) 2 | 3 2 = sin(4)sin(9) 2 .

We can also consider functions in terms of y , and apply a definite integral to find the area between the y -axis and the curve, as we did with functions in terms of x .

Example 7.8. The function g ( y ) = y 2 - 3 y is a parabola open to the right, and its y -intercepts are ( 0 , 0 ) and ( 0 , 3 ) . Therefore, the parabola is to the left of the y -axis on the interval [ 0 , 3 ] , that is g ( y ) < 0 for y in the interval ( 0 , 3 ) , and it is on the right of the y -axis on [ 3 , 5 ] , that is g ( y ) > 0 for y in the interval ( 3 , 5 ) , thus the area under this curve on the interval [ 0 , 5 ] is

0 3 y 2 3ydy = ( y 3 3 3 y 2 2 )| 0 3 =9 + 27 2 .

3 5 y 2 3ydy = ( y 3 3 3 y 2 2 )| 3 5 = 125 3 75 2 9+ 27 2 .

The area is

- 9 + 2 7 2 + 1 2 5 3 - 7 5 2 - 9 + 2 7 2 = - 1 8 - 2 1 2 + 1 2 5 3 = 7 9 6 .

If two functions f and g are positive and g ( x ) f ( x ) for all x in the interval [ a , b ] , then the graph between them is equal to the area under f minus the area under g , as is shown in Figure 7.1, below.

Figure 7.1: Area between functions f and g , where f and g are positive and g ( x ) f ( x ) for all x in the interval [ a , b ]

Then by Property 2, the area is

a b   f ( x ) - a b g ( x ) d x = a b   f ( x ) - g ( x ) d x .

Example 7.9. The area between sin   x and cos   x on the interval [ 0 , π 4 ] , is shown in Figure 7.2, below.

Figure 7.2: Area between sin   x and cos   x on the interval 0 , π 4

Since cos   x sin   x on the interval [ 0 , π 4 ] , the area is given by the definite integral

0 π 4 cos   x - sin   x d x = sin   x + cos   x | 0 π 4 = 2 - 1 .

If two functions f and g are not positive and g ( x ) f ( x ) for all x in the interval [ a , b ] , as in Figure 7.3, below, then to obtain the area between their graphs, we consider the area between the graphs of the functions f ( x ) + C and g ( x ) + C , where C is a positive constant such that the functions f ( x ) + C and g ( x ) + C are positive (see Figure 7.3).

Figure 7.3: Technique for determining the area between functions f and g , where f and g are not positive and g ( x ) f ( x ) for all x in the interval [ a , b ]

Since the functions f ( x ) + C and g ( x ) + C are a shift of the functions f ( x ) and g ( x ) , the areas between them are equal. But now f ( x ) + C and g ( x ) + C are positive, and the area between them is

a b   f ( x ) + C - ( g ( x ) + C ) d x = a b   f ( x ) - g ( x ) d x .

This example shows that the area between any two function f ( x ) and g ( x ) , such that g ( x ) f ( x ) on the interval [ a , b ] , is equal to

a b   f ( x ) - g ( x ) d x .

Example 7.10. The area between the functions f ( x ) = x - x 2 and g ( x ) = 3 x - 1 is given by a definite integral. To find it, we must find their points of intersection; that is, x - x 2 = 3 x - 1 .

Solving for x , x = - 1 - 2 , and x = - 1 + 2 .

From their graphs, we see that g ( x ) f ( x ) on the interval [ - 1 - 2 , - 1 + 2 ] (see Figure 7.4, below).

Figure 7.4: Area between the functions f ( x ) = x - x 2 and g ( x ) = 3 x - 1 (not to scale)

Hence the area is given by

1 2 1+ 2 x x 2 (3x1)dx = 1 2 1+ 2 x x 2 3x+1dx = 1 2 1+ 2 2x x 2 +1dx = x 2 x 3 3 +x| 1 2 1+ 2 = x( x x 2 3 +1 )| 1 2 1+ 2 =( 1+ 2 )[ 2 2 ( 1+ 2 ) 2 3 ]        +( 1+ 2 )[ 2+ 2 ( 1+ 2 ) 2 3 ] = 8 2 3 .

Example 7.11. To find the area between the parabola f ( x ) = x 2 - 6 x + 9 and the line g ( x ) = 4 x on the interval [ 0 , 3 ] , we must make a sketch of these functions (see Figure 7.5, below).

Figure 7.5: Area between the the parabola f ( x ) = x 2 - 6 x + 9 and the line g ( x ) = 4 x on the interval [ 0 , 3 ] (not to scale)

We find the point of intersection of these two functions on the interval [ 0 , 3 ] ; thus, x 2 - 6 x + 9 = 4 x .

Solving for x , we find that x = 1 and x = 9 .

We see that we have two different areas to consider, one on the interval [ 0 , 1 ] where f ( x ) g ( x ) , and another on [ 1 , 3 ] where f ( x ) g ( x ) . The areas are given by the following definite integrals:

0 1 x 2 6 x + 9 4 x   d x + 1 3 4 x ( x 2 6 x + 9 ) d x = 0 1 x 2 10 x + 9 d x + 1 3 x 2 + 10 x 9 d x .

Evaluating each of these integrals, we obtain

0 1 x 2 - 1 0 x + 9 d x = x 3 3 - 5 x 2 + 9 x | 0 1 = 1 3 3 ,

and

1 3 - x 2 + 1 0 x - 9 d x = - x 3 3 + 5 x 2 - 9 x | 1 3 = 4 0 3 .

The area is 1 3 3 + 4 0 3 = 5 3 3 .

The area between these functions is given by the integral

1 9 4x( x 2 6x+9)dx = 1 9 10x x 2 9dx = x 3 3 +5 x 2 9x| 1 9 = 256 3

For functions in terms of the variable y , we also know that if g ( y ) f ( y ) on the interval [ c , d ] , then the graph of the function g is on the left of the graph of f , and the area between these functions is given by the definite integral

c d   f ( y ) - g ( y ) d y .

Example 7.12. See Exercise 18 on page 325 of the textbook.

The sketch of the curves 4 x + y 2 = 1 2 and y = x is shown in Figure 7.6, below.

Figure 7.6: Curves 4 x + y 2 = 1 2 and y = x

The points of intersection of these two curves are the solutions of the equation 4 y + y 2 = 1 2 , since y = x . Solving for y , we find that y = - 6 and y = 2 . [Check this.]

Since the parabola is on the right of the line, the area is given by the integral

6 2 3 y 2 4 ydy = 3y y 3 12 y 2 2 | 6 2 =3(2) 8 12 2(18+1818) = 64 3 .

Observe that solving for x in the equation 4 x + y 2 = 1 2 gives the function

g ( y ) = 3 - y 2 4 .

Note that you will find the theorem below helpful as you complete the assigned exercises.

Theorem 7.2. Integrals of Symmetric Functions

Suppose f is continuous on [ - a , a ] , then

  1. if f is even [ f ( - x ) = f ( x ) ] , then - a a   f ( x ) d x = 2 0 a   f ( x ) d x .
  2. if f is odd [ f ( - x ) = - f ( x ) ] , then - a a   f ( x ) d x = 0 .
Exercises
  1. Read Theorem 6 “Integrals of Symmetric Functions,” on page 296 of the textbook.
  2. Do the odd numbered exercises from 5 to 17, and Exercise 21, on page 324.

Answers to Exercises