Learning Objectives
- Determine the area of a region between two curves by integrating with respect to the independent variable.
- Find the area of a compound region.
- Determine the area of a region between two curves by integrating with respect to the dependent variable.
In Introduction to Integration, we developed the concept of the definite integral to calculate the area below a curve on a given interval. In this section, we expand that idea to calculate the area of more complex regions. We start by finding the area between two curves that are functions of [latex]x,[/latex] beginning with the simple case in which one function value is always greater than the other. We then look at cases when the graphs of the functions cross. Last, we consider how to calculate the area between two curves that are functions of [latex]y.[/latex]
Area of a Region between Two Curves
Let [latex]f(x)[/latex] and [latex]g(x)[/latex] be continuous functions over an interval [latex]\left[a,b\right][/latex] such that [latex]f(x)\ge g(x)[/latex] on [latex]\left[a,b\right].[/latex] We want to find the area between the graphs of the functions, as shown in the following figure.
As we did before, we are going to partition the interval on the [latex]x\text{-axis}[/latex] and approximate the area between the graphs of the functions with rectangles. So, for [latex]i=0,1,2\text{,…},n,[/latex] let [latex]P=\left\{{x}_{i}\right\}[/latex] be a regular partition of [latex]\left[a,b\right].[/latex] Then, for [latex]i=1,2\text{,…},n,[/latex] choose a point [latex]{x}_{i}^{*}\in \left[{x}_{i-1},{x}_{i}\right],[/latex] and on each interval [latex]\left[{x}_{i-1},{x}_{i}\right][/latex] construct a rectangle that extends vertically from [latex]g({x}_{i}^{*})[/latex] to [latex]f({x}_{i}^{*}).[/latex] (Figure)(a) shows the rectangles when [latex]{x}_{i}^{*}[/latex] is selected to be the left endpoint of the interval and [latex]n=10.[/latex] (Figure)(b) shows a representative rectangle in detail.
Use this calculator to learn more about the areas between two curves.
The height of each individual rectangle is [latex]f({x}_{i}^{*})-g({x}_{i}^{*})[/latex] and the width of each rectangle is [latex]\text{Δ}x.[/latex] Adding the areas of all the rectangles, we see that the area between the curves is approximated by
This is a Riemann sum, so we take the limit as [latex]n\to \infty [/latex] and we get
These findings are summarized in the following theorem.
Finding the Area between Two Curves
Let [latex]f(x)[/latex] and [latex]g(x)[/latex] be continuous functions such that [latex]f(x)\ge g(x)[/latex] over an interval [latex]\left[a,b\right].[/latex] Let [latex]R[/latex] denote the region bounded above by the graph of [latex]f(x),[/latex] below by the graph of [latex]g(x),[/latex] and on the left and right by the lines [latex]x=a[/latex] and [latex]x=b,[/latex] respectively. Then, the area of [latex]R[/latex] is given by
We apply this theorem in the following example.
Finding the Area of a Region between Two Curves 1
If R is the region bounded above by the graph of the function [latex]f(x)=x+4[/latex] and below by the graph of the function [latex]g(x)=3-\frac{x}{2}[/latex] over the interval [latex]\left[1,4\right],[/latex] find the area of region [latex]R.[/latex]
If [latex]R[/latex] is the region bounded by the graphs of the functions [latex]f(x)=\frac{x}{2}+5[/latex] and [latex]g(x)=x+\frac{1}{2}[/latex] over the interval [latex]\left[1,5\right],[/latex] find the area of region [latex]R.[/latex]
In (Figure), we defined the interval of interest as part of the problem statement. Quite often, though, we want to define our interval of interest based on where the graphs of the two functions intersect. This is illustrated in the following example.
Finding the Area of a Region between Two Curves 2
If [latex]R[/latex] is the region bounded above by the graph of the function [latex]f(x)=9-{(x\text{/}2)}^{2}[/latex] and below by the graph of the function [latex]g(x)=6-x,[/latex] find the area of region [latex]R.[/latex]
If R is the region bounded above by the graph of the function [latex]f(x)=x[/latex] and below by the graph of the function [latex]g(x)={x}^{4},[/latex] find the area of region [latex]R.[/latex]
Hint
Use the process from (Figure).
Areas of Compound Regions
So far, we have required [latex]f(x)\ge g(x)[/latex] over the entire interval of interest, but what if we want to look at regions bounded by the graphs of functions that cross one another? In that case, we modify the process we just developed by using the absolute value function.
Finding the Area of a Region between Curves That Cross
Let [latex]f(x)[/latex] and [latex]g(x)[/latex] be continuous functions over an interval [latex]\left[a,b\right].[/latex] Let [latex]R[/latex] denote the region between the graphs of [latex]f(x)[/latex] and [latex]g(x),[/latex] and be bounded on the left and right by the lines [latex]x=a[/latex] and [latex]x=b,[/latex] respectively. Then, the area of [latex]R[/latex] is given by
In practice, applying this theorem requires us to break up the interval [latex]\left[a,b\right][/latex] and evaluate several integrals, depending on which of the function values is greater over a given part of the interval. We study this process in the following example.
Finding the Area of a Region Bounded by Functions That Cross
If R is the region between the graphs of the functions [latex]f(x)= \sin x[/latex] and [latex]g(x)= \cos x[/latex] over the interval [latex]\left[0,\pi \right],[/latex] find the area of region [latex]R.[/latex]
If R is the region between the graphs of the functions [latex]f(x)= \sin x[/latex] and [latex]g(x)= \cos x[/latex] over the interval [latex]\left[\pi \text{/}2,2\pi \right],[/latex] find the area of region [latex]R.[/latex]
Hint
The two curves intersect at [latex]x=(5\pi )\text{/}4.[/latex]
Finding the Area of a Complex Region
Consider the region depicted in (Figure). Find the area of [latex]R.[/latex]
Consider the region depicted in the following figure. Find the area of [latex]R.[/latex]
Hint
The two curves intersect at [latex]x=1.[/latex]
Regions Defined with Respect to [latex]y[/latex]
In (Figure), we had to evaluate two separate integrals to calculate the area of the region. However, there is another approach that requires only one integral. What if we treat the curves as functions of [latex]y,[/latex] instead of as functions of [latex]x?[/latex] Review (Figure). Note that the left graph, shown in red, is represented by the function [latex]y=f(x)={x}^{2}.[/latex] We could just as easily solve this for [latex]x[/latex] and represent the curve by the function [latex]x=v(y)=\sqrt{y}.[/latex] (Note that [latex]x=\text{−}\sqrt{y}[/latex] is also a valid representation of the function [latex]y=f(x)={x}^{2}[/latex] as a function of [latex]y.[/latex] However, based on the graph, it is clear we are interested in the positive square root.) Similarly, the right graph is represented by the function [latex]y=g(x)=2-x,[/latex] but could just as easily be represented by the function [latex]x=u(y)=2-y.[/latex] When the graphs are represented as functions of [latex]y,[/latex] we see the region is bounded on the left by the graph of one function and on the right by the graph of the other function. Therefore, if we integrate with respect to [latex]y,[/latex] we need to evaluate one integral only. Let’s develop a formula for this type of integration.
Let [latex]u(y)[/latex] and [latex]v(y)[/latex] be continuous functions over an interval [latex]\left[c,d\right][/latex] such that [latex]u(y)\ge v(y)[/latex] for all [latex]y\in \left[c,d\right].[/latex] We want to find the area between the graphs of the functions, as shown in the following figure.
This time, we are going to partition the interval on the [latex]y\text{-axis}[/latex] and use horizontal rectangles to approximate the area between the functions. So, for [latex]i=0,1,2\text{,…},n,[/latex] let [latex]Q=\left\{{y}_{i}\right\}[/latex] be a regular partition of [latex]\left[c,d\right].[/latex] Then, for [latex]i=1,2\text{,…},n,[/latex] choose a point [latex]{y}_{i}^{*}\in \left[{y}_{i-1},{y}_{i}\right],[/latex] then over each interval [latex]\left[{y}_{i-1},{y}_{i}\right][/latex] construct a rectangle that extends horizontally from [latex]v({y}_{i}^{*})[/latex] to [latex]u({y}_{i}^{*}).[/latex] (Figure)(a) shows the rectangles when [latex]{y}_{i}^{*}[/latex] is selected to be the lower endpoint of the interval and [latex]n=10.[/latex] (Figure)(b) shows a representative rectangle in detail.
The height of each individual rectangle is [latex]\text{Δ}y[/latex] and the width of each rectangle is [latex]u({y}_{i}^{*})-v({y}_{i}^{*}).[/latex] Therefore, the area between the curves is approximately
This is a Riemann sum, so we take the limit as [latex]n\to \infty ,[/latex] obtaining
These findings are summarized in the following theorem.
Finding the Area between Two Curves, Integrating along the [latex]y[/latex]-axis
Let [latex]u(y)[/latex] and [latex]v(y)[/latex] be continuous functions such that [latex]u(y)\ge v(y)[/latex] for all [latex]y\in \left[c,d\right].[/latex] Let [latex]R[/latex] denote the region bounded on the right by the graph of [latex]u(y),[/latex] on the left by the graph of [latex]v(y),[/latex] and above and below by the lines [latex]y=d[/latex] and [latex]y=c,[/latex] respectively. Then, the area of [latex]R[/latex] is given by
Integrating with Respect to [latex]y[/latex]
Let’s revisit the checkpoint associated with (Figure), only this time, let’s integrate with respect to [latex]y.[/latex] Let be the region depicted in the following figure. Find the area of [latex]R[/latex] by integrating with respect to [latex]y.[/latex]
Hint
Follow the process from the previous example.
Key Concepts
- Just as definite integrals can be used to find the area under a curve, they can also be used to find the area between two curves.
- To find the area between two curves defined by functions, integrate the difference of the functions.
- If the graphs of the functions cross, or if the region is complex, use the absolute value of the difference of the functions. In this case, it may be necessary to evaluate two or more integrals and add the results to find the area of the region.
- Sometimes it can be easier to integrate with respect to [latex]y[/latex] to find the area. The principles are the same regardless of which variable is used as the variable of integration.
Key Equations
- Area between two curves, integrating on the [latex]x[/latex]-axis
[latex]A={\int }_{a}^{b}\left[f(x)-g(x)\right]dx[/latex] - Area between two curves, integrating on the [latex]y[/latex]-axis
[latex]A={\int }_{c}^{d}\left[u(y)-v(y)\right]dy[/latex]
For the following exercises, determine the area of the region between the two curves in the given figure by integrating over the [latex]x\text{-axis}\text{.}[/latex]
1. [latex]y={x}^{2}-3\text{ and }y=1[/latex]
2. [latex]y={x}^{2}\text{ and }y=3x+4[/latex]
For the following exercises, split the region between the two curves into two smaller regions, then determine the area by integrating over the [latex]x\text{-axis}.[/latex] Note that you will have two integrals to solve.
3. [latex]y={x}^{3}[/latex] and [latex]y={x}^{2}+x[/latex]
4. [latex]y= \cos \theta [/latex] and [latex]y=0.5,[/latex] for [latex]0\le \theta \le \pi [/latex]
For the following exercises, determine the area of the region between the two curves by integrating over the [latex]y\text{-axis}.[/latex]
5. [latex]x={y}^{2}\text{ and }x=9[/latex]
6. [latex]y=x\text{ and }x={y}^{2}[/latex]
For the following exercises, graph the equations and shade the area of the region between the curves. Determine its area by integrating over the [latex]x\text{-axis}.[/latex]
7. [latex]y={x}^{2}\text{ and }y=\text{−}{x}^{2}+18x[/latex]
8. [latex]y=\frac{1}{x},y=\frac{1}{{x}^{2}},\text{ and }x=3[/latex]
9. [latex]y= \cos x[/latex] and [latex]y={ \cos }^{2}x[/latex] on [latex]x=\left[\text{−}\pi ,\pi \right][/latex]
10. [latex]y={e}^{x},y={e}^{2x-1},\text{ and }x=0[/latex]
11. [latex]y={e}^{x},y={e}^{\text{−}x},x=-1\text{ and }x=1[/latex]
12. [latex]y=e,y={e}^{x},\text{ and }y={e}^{\text{−}x}[/latex]
13. [latex]y=|x|\text{ and }y={x}^{2}[/latex]
For the following exercises, graph the equations and shade the area of the region between the curves. If necessary, break the region into sub-regions to determine its entire area.
14. [latex]y= \sin (\pi x),y=2x,\text{ and }x>0[/latex]
15. [latex]y=12-x,y=\sqrt{x},\text{ and }y=1[/latex]
16. [latex]y= \sin x[/latex] and [latex]y= \cos x[/latex] over [latex]x=\left[\text{−}\pi ,\pi \right][/latex]
17. [latex]y={x}^{3}\text{ and }y={x}^{2}-2x[/latex] over [latex]x=\left[-1,1\right][/latex]
18. [latex]y={x}^{2}+9\text{ and }y=10+2x[/latex] over [latex]x=\left[-1,3\right][/latex]
19. [latex]y={x}^{3}+3x[/latex] and [latex]y=4x[/latex]
For the following exercises, graph the equations and shade the area of the region between the curves. Determine its area by integrating over the [latex]y\text{-axis}.[/latex]
20. [latex]x={y}^{3}\text{ and }x=3y-2[/latex]
21. [latex]x=2y\text{ and }x={y}^{3}-y[/latex]
22. [latex]x=-3+{y}^{2}\text{ and }x=y-{y}^{2}[/latex]
23. [latex]{y}^{2}=x\text{ and }x=y+2[/latex]
24. [latex]x=|y|\text{ and }2x=\text{−}{y}^{2}+2[/latex]
25. [latex]x= \sin y,x= \cos (2y),y=\pi \text{/}2,\text{ and }y=\text{−}\pi \text{/}2[/latex]
For the following exercises, graph the equations and shade the area of the region between the curves. Determine its area by integrating over the [latex]x[/latex]-axis or [latex]y[/latex]-axis, whichever seems more convenient.
26. [latex]x={y}^{4}\text{ and }x={y}^{5}[/latex]
27. [latex]y=x{e}^{x},y={e}^{x},x=0,\text{ and }x=1[/latex]
28. [latex]y={x}^{6}\text{ and }y={x}^{4}[/latex]
29. [latex]x={y}^{3}+2{y}^{2}+1\text{ and }x=\text{−}{y}^{2}+1[/latex]
30. [latex]y=|x|\text{ and }y={x}^{2}-1[/latex]
31. [latex]y=4-3x\text{ and }y=\frac{1}{x}[/latex]
32. [latex]y= \sin x,x=\text{−}\pi \text{/}6,x=\pi \text{/}6,\text{ and }y={ \cos }^{3}x[/latex]
33. [latex]y={x}^{2}-3x+2\text{ and }y={x}^{3}-2{x}^{2}-x+2[/latex]
34. [latex]y=2{ \cos }^{3}(3x),y=-1,x=\frac{\pi }{4},\text{ and }x=-\frac{\pi }{4}[/latex]
35. [latex]y+{y}^{3}=x\text{ and }2y=x[/latex]
36. [latex]y=\sqrt{1-{x}^{2}}\text{ and }y={x}^{2}-1[/latex]
37. [latex]y={ \cos }^{-1}x,y={ \sin }^{-1}x,x=-1,\text{ and }x=1[/latex]
For the following exercises, find the exact area of the region bounded by the given equations if possible. If you are unable to determine the intersection points analytically, use a calculator to approximate the intersection points with three decimal places and determine the approximate area of the region.
38. [T][latex]x={e}^{y}\text{ and }y=x-2[/latex]
39. [T][latex]y={x}^{2}\text{ and }y=\sqrt{1-{x}^{2}}[/latex]
40. [T][latex]y=3{x}^{2}+8x+9\text{ and }3y=x+24[/latex]
41. [T][latex]x=\sqrt{4-{y}^{2}}\text{ and }{y}^{2}=1+{x}^{2}[/latex]
42. [T][latex]{x}^{2}={y}^{3}\text{ and }x=3y[/latex]
43. [T][latex]y={ \sin }^{3}x+2,y= \tan x,x=-1.5,\text{ and }x=1.5[/latex]
44. [T][latex]y=\sqrt{1-{x}^{2}}\text{ and }{y}^{2}={x}^{2}[/latex]
45. [T][latex]y=\sqrt{1-{x}^{2}}\text{ and }y={x}^{2}+2x+1[/latex]
46. [T][latex]x=4-{y}^{2}\text{ and }x=1+3y+{y}^{2}[/latex]
47. [T][latex]y= \cos x,y={e}^{x},x=\text{−}\pi ,\text{ and }x=0[/latex]
48. The largest triangle with a base on the [latex]x\text{-axis}[/latex] that fits inside the upper half of the unit circle [latex]{y}^{2}+{x}^{2}=1[/latex] is given by [latex]y=1+x[/latex] and [latex]y=1-x.[/latex] See the following figure. What is the area inside the semicircle but outside the triangle?
49. A factory selling cell phones has a marginal cost function [latex]C(x)=0.01{x}^{2}-3x+229,[/latex] where [latex]x[/latex] represents the number of cell phones, and a marginal revenue function given by [latex]R(x)=429-2x.[/latex] Find the area between the graphs of these curves and [latex]x=0.[/latex] What does this area represent?
50. An amusement park has a marginal cost function [latex]C(x)=1000{e}^{\text{−}x}+5,[/latex] where [latex]x[/latex] represents the number of tickets sold, and a marginal revenue function given by [latex]R(x)=60-0.1x.[/latex] Find the total profit generated when selling 550 tickets. Use a calculator to determine intersection points, if necessary, to two decimal places.
51. The tortoise versus the hare: The speed of the hare is given by the sinusoidal function [latex]H(t)=1- \cos ((\pi t)\text{/}2)[/latex] whereas the speed of the tortoise is [latex]T(t)=(1\text{/}2){ \tan }^{-1}(t\text{/}4),[/latex] where [latex]t[/latex] is time measured in hours and the speed is measured in miles per hour. Find the area between the curves from time [latex]t=0[/latex] to the first time after one hour when the tortoise and hare are traveling at the same speed. What does it represent? Use a calculator to determine the intersection points, if necessary, accurate to three decimal places.
52. The tortoise versus the hare: The speed of the hare is given by the sinusoidal function [latex]H(t)=(1\text{/}2)-(1\text{/}2) \cos (2\pi t)[/latex] whereas the speed of the tortoise is [latex]T(t)=\sqrt{t},[/latex] where [latex]t[/latex] is time measured in hours and speed is measured in kilometers per hour. If the race is over in 1 hour, who won the race and by how much? Use a calculator to determine the intersection points, if necessary, accurate to three decimal places.
For the following exercises, find the area between the curves by integrating with respect to [latex]x[/latex] and then with respect to [latex]y.[/latex] Is one method easier than the other? Do you obtain the same answer?
53. [latex]y={x}^{2}+2x+1\text{ and }y=\text{−}{x}^{2}-3x+4[/latex]
54. [latex]y={x}^{4}\text{ and }x={y}^{5}[/latex]
55. [latex]x={y}^{2}-2\text{ and }x=2y[/latex]
For the following exercises, solve using calculus, then check your answer with geometry.
56. Determine the equations for the sides of the square that touches the unit circle on all four sides, as seen in the following figure. Find the area between the perimeter of this square and the unit circle. Is there another way to solve this without using calculus?
57. Find the area between the perimeter of the unit circle and the triangle created from [latex]y=2x+1,y=1-2x[/latex] and [latex]y=-\frac{3}{5},[/latex] as seen in the following figure. Is there a way to solve this without using calculus?
Hint
Graph the functions to determine which function’s graph forms the upper bound and which forms the lower bound, then follow the process used in (Figure).