6 Applications of Integration

6.1 Area Between Curves

We are often interested in knowing the area of a region. Forget momentarily that we addressed this already in Section 5.4 and approach it instead using the technique described in Key Idea 6.0.1.

margin:

f(x)

g(x)

a

b

x

y
(a)

f(x)

g(x)

a

b

x

y
(b)

f(x)

g(x)

a

b

x

y
(c)
Figure 6.1.1: Subdividing a region into vertical slices and approximating the areas with rectangles.

Let Q be the area of a region bounded by continuous functions f and g. If we break the region into many subregions, we have an obvious equation:

Total Area = sum of the areas of the subregions.

The issue to address next is how to systematically break a region into subregions. A graph will help. Consider Figure 6.1.1 (a) where a region between two curves is shaded. While there are many ways to break this into subregions, one particularly efficient way is to “slice” it vertically, as shown in Figure 6.1.1 (b), into n equally spaced slices.

We now approximate the area of a slice. Again, we have many options, but using a rectangle seems simplest. Picking any x-value ci in the i th slice, we set the height of the rectangle to be f(ci)-g(ci), the difference of the corresponding y-values. The width of the rectangle is a small difference in x-values, which we represent with Δx. Figure 6.1.1 (c) shows sample points ci chosen in each subinterval and appropriate rectangles drawn. Each slice has an area approximately equal to (f(ci)-g(ci))Δx; hence, the total area is approximately the Riemann Sum

Qi=1n(f(ci)-g(ci))Δx.

Taking the limit as n gives the exact area as ab(f(x)-g(x))𝑑x.

Theorem 6.1.1      Area Between Curves

Let f(x) and g(x) be continuous functions defined on [a,b] where f(x)g(x) for all x in [a,b]. The area of the region bounded by the curves y=f(x), y=g(x) and the lines x=a and x=b is

ab(f(x)-g(x))𝑑x.

Often, we do not know which function is greater (or they switch within the domain of integration). In that case, we can say that the area is ab|f(x)-g(x)|𝑑x, which may involve dividing the domain of integration into pieces.

Example 6.1.1 Finding area enclosed by curves

Find the area of the region bounded by f(x)=sinx+2, g(x)=12cos(2x)-1, x=0 and x=4π, as shown in Figure 6.1.2.

Solutionmargin:

f(x)

g(x)

5

10

-2

2

4π

x

y
Figure 6.1.2: Graphing an enclosed region in Example 6.1.1.
The graph verifies that the upper boundary of the region is given by f and the lower bound is given by g. Therefore the area of the region is the value of the integral

04π(f(x)-g(x))𝑑x =04π(sinx+2-(12cos(2x)-1))𝑑x
=-cosx-14sin(2x)+3x|04π
=12πunits2.
Example 6.1.2 Finding area between curves

Find the area of the region enclosed by y=x2+x-5 and y=3x-2.

SolutionIt will help to sketch these two functions, as done in Figure 6.1.3. margin:

y=x2+x-5

y=3x-2

-2

-1

1

2

3

4

5

10

15

x

y
Figure 6.1.3: Sketching the region enclosed by y=x2+x-5 and y=3x-2 in Example 6.1.2.
The region whose area we seek is completely bounded by these two functions; they seem to intersect at x=-1 and x=3. To check, set x2+x-5=3x-2 and solve for x:

x2+x-5 =3x-2
(x2+x-5)-(3x-2) =0
x2-2x-3 =0
(x-3)(x+1) =0
x =-1, 3.

Following Theorem 6.1.1, the area is

-13(3x-2-(x2+x-5))𝑑x =-13(-x2+2x+3)𝑑x
=(-13x3+x2+3x)|-13
=-13(27)+9+9-(13+1-3)
=1023=10.6¯
margin:

1

2

3

4

-4

-2

2

x

y
Figure 6.1.4: Graphing a region enclosed by two functions in Example 6.1.3.
Example 6.1.3 Finding total area enclosed by curves

Find the total area of the region enclosed by the functions f(x)=-2x+5 and g(x)=x3-7x2+12x-3 as shown in Figure 6.1.4.

SolutionA quick calculation shows that f=g at x=1,2 and 4. One can proceed thoughtlessly by computing 14(f(x)-g(x))𝑑x, but this ignores the fact that on [1,2], g(x)>f(x). (In fact, the thoughtless integration returns -9/4, hardly the expected value of an area.) Thus we compute the total area by breaking the interval [1,4] into two subintervals, [1,2] and [2,4] and using the proper integrand in each.

Total Area =12(g(x)-f(x))𝑑x+24(f(x)-g(x))𝑑x
=12(x3-7x2+14x-8)𝑑x+24(-x3+7x2-14x+8)𝑑x
=512+83
=3712units2.

The previous example makes note that we are expecting area to be positive. When first learning about the definite integral, we interpreted it as “signed area under the curve,” allowing for “negative area.” That doesn’t apply here; area is to be positive.

The previous example also demonstrates that we often have to break a given region into subregions before applying Theorem 6.1.1. The following example shows another situation where this is applicable, along with an alternate view of applying the Theorem.

Example 6.1.4 Finding area: integrating with respect to y

Find the area of the region enclosed by the functions y=x+2, y=-(x-1)2+3 and y=2, as shown in Figure 6.1.5.

SolutionWe give two approaches to this problem. In the first approach, we notice that the region’s “top” is defined by two different curves. On [0,1], the top function is y=x+2; on [1,2], the top function is y=-(x-1)2+3. Thus we compute the area as the sum of two integrals:

margin:

y=x+2

y=-(x-1)2+3

1

2

1

2

3

x

y
Figure 6.1.5: Graphing a region for Example 6.1.4.
Total Area =01((x+2)-2)𝑑x+12((-(x-1)2+3)-2)𝑑x
=2/3+2/3
=4/3.

The second approach is clever and very useful in certain situations. We are used to viewing curves as functions of x; we input an x-value and a y-value is returned. Some curves can also be described as functions of y: input a y-value and an x-value is returned. We can rewrite the equations describing the boundary by solving for x:

y=x+2 x=(y-2)2
y=-(x-1)2+3 x=3-y+1.

Figure 6.1.6 shows the region with the boundaries relabeled. A horizontal rectangle is also pictured. The width of the rectangle is a small change in y: Δy. The height of the rectangle is a difference in x-values. The “top” x-value is the largest value, i.e., the rightmost. The “bottom” x-value is the smaller, i.e., the leftmost. Therefore the height of the rectangle is margin:

x=(y-2)2

x=3-y+1

1

2

1

2

3

x

y
Figure 6.1.6: The region used in Example 6.1.4 with boundaries relabeled as functions of y.

(3-y+1)-(y-2)2.

The area is found by integrating the above function with respect to y with the appropriate bounds. We determine these by considering the y-values the region occupies. It is bounded below by y=2, and bounded above by y=3. That is, both the “top” and “bottom” functions exist on the y interval [2,3]. Thus

Total Area =23(3-y+1-(y-2)2)𝑑y
=(-23(3-y)3/2+y-13(y-2)3)|23
=4/3.

The important thing to notice is that by integrating with respect to y instead of x, we only had to do one integral and did not need to find the point at which to switch from one integration to another.

This calculus-based technique of finding area can be useful even with shapes that we normally think of as “easy.” Example 6.1.5 computes the area of a triangle. While the formula “12×base×height” is well known, in arbitrary triangles it can be nontrivial to compute the height. Calculus makes the problem simple.

Example 6.1.5 Finding the area of a triangle

Compute the area of the regions bounded by the lines margin:

y=3-x

y=x+1

y=5x-15

2

4

6

2

4

x

y
Figure 6.1.7: Graphing a triangular region in Example 6.1.5.
y=3-x, y=x+1 and y=5x-15, as shown in Figure 6.1.7.

SolutionRecognize that there are two “bottom” functions to this region, causing us to use two definite integrals.

Total Area =13((x+1)-(3-x))𝑑x+34((x+1)-(5x-15))𝑑x
=4+2
=6.

We can also approach this by converting each function into a function of y. This also requires 2 integrals, so there isn’t really any advantage to doing so. We do it here for demonstration purposes.

The “top” function is always x=y5+3 while there are two “bottom” functions: x=3-y and x=y-1. Being mindful of the proper integration bounds, we have

Total Area =02((y5+3)-(3-y))𝑑y+25((y5+3)-(y-1))𝑑y
=125+185
=6.

Of course, the final answer is the same (and we see that integrating with respect to x was probably easier, since it avoided fractions).

In the next section we apply Key Idea 6.0.1 to finding the volumes of certain solids.

Exercises 6.1

 

Terms and Concepts

  1. 1.

    T/F: The area between curves is always positive.

  2. 2.

    T/F: Calculus can be used to find the area of basic geometric shapes.

  3. 3.

    In your own words, describe how to find the total area enclosed by y=f(x) and y=g(x).

  4. 4.

    Describe a situation where it is advantageous to find an area enclosed by curves through integration with respect to y instead of x.

Problems

In Exercises 5–10, find the area of the shaded region in the given graph.

  1. 5.

    y=12cosx+1

    y=12x+3

    2

    4

    6

    π

    2π

    x

    y
  2. 6.

    y=x2+x-1

    y=-3x3+3x+2

    -1

    1

    -1

    1

    2

    3

    x

    y
  3. 7.

    y=1

    y=2

    1

    2

    π

    π/2

    x

    y
  4. 8.

    y=sinx

    y=sinx+1

    1

    2

    π

    π/2

    x

    y
  5. 9.

    y=sin(4x)

    y=sec2x

    1

    2

    π/4

    π/8

    x

    y
  6. 10.

    y=sinx

    y=cosx

    -1

    -0.5

    0.5

    1

    π/4

    π/2

    3π/4

    π

    5π/4

    x

    y

In Exercises 11–20, find the area of the region bounded by the given curves.

  1. 11.

    f(x)=2x2+5x-3, g(x)=x2+4x-1

  2. 12.

    f(x)=x2-3x+2, g(x)=-3x+3

  3. 13.

    f(x)=sinx, g(x)=2x/π

  4. 14.

    f(x)=x3-4x2+x-1, g(x)=-x2+2x-4

  5. 15.

    f(x)=x, g(x)=x

  6. 16.

    f(x)=-x3+5x2+2x+1, g(x)=3x2+x+3

  7. 17.

    x=2y2, x+y=1

  8. 18.

    x=y2-1, x=1-y2

  9. 19.

    4x+y2=12, x=y

  10. 20.

    x=y2-4y, x=2y-y2

  11. 21.

    The functions f(x)=cos(x) and g(x)=sinx intersect infinitely many times, forming an infinite number of repeated, enclosed regions. Find the areas of these regions.

  12. 22.

    The functions f(x)=cos(2x) and g(x)=sinx intersect infinitely many times, forming an infinite number of repeated, enclosed regions. Find the areas of these regions.

In Exercises 23–28, find the area of the enclosed region in two ways:

  1. 1.

    by treating the boundaries as functions of x, and

  2. 2.

    by treating the boundaries as functions of y.

  1. 23.

    1

    2

    3

    1

    2

    y=x2+1

    y=14(x-3)2+1

    y=1

    x

    y
  2. 24.

    y=x

    y=-2x+3

    y=-12x

    1

    2

    -1

    -0.5

    0.5

    1

    x

    y
  3. 25.

    y=x2

    y=x+2

    -1

    1

    2

    2

    4

    x

    y
  4. 26.

    x=12y2

    x=-12y+1

    1

    2

    -2

    -1

    1

    x

    y
  5. 27.

    y=x1/3

    y=x-1/2

    0.5

    1

    0.5

    1

    x

    y
  6. 28.

    y=x+1

    y=2-x+1

    y=1

    1

    2

    1

    2

    x

    y

In Exercises 29–32, find the area triangle formed by the given three points.

  1. 29.

    (1,1), (2,3), and  (3,3)

  2. 30.

    (-1,1), (1,3), and  (2,-1)

  3. 31.

    (1,1), (-1,3), and  (3,3)

  4. 32.

    (0,0), (2,5), and  (5,2)

Modern Campus CMS