Areas between Curves
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]
Answer:
The region is depicted in the following figure.
We have
The area of the region is [latex]\frac{57}{4}{\text{units}}^{2}.[/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]
Answer:
12 units2
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]
Answer:
The region is depicted in the following figure.
We first need to compute where the graphs of the functions intersect. Setting [latex]f(x)=g(x),[/latex] we get
The graphs of the functions intersect when [latex]x=6[/latex] or [latex]x=-2,[/latex] so we want to integrate from -2 to 6. Since [latex]f(x)\ge g(x)[/latex] for [latex]-2\le x\le 6,[/latex] we obtain
The area of the region is [latex]64\text{/}3[/latex] units2.
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]
Answer:
[latex]\frac{3}{10}[/latex] unit2
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]
Answer:
The region is depicted in the following figure.
The graphs of the functions intersect at [latex]x=\pi \text{/}4.[/latex] For [latex]x\in \left[0,\pi \text{/}4\right],[/latex] [latex] \cos x\ge \sin x,[/latex] so
On the other hand, for [latex]x\in \left[\pi \text{/}4,\pi \right],[/latex] [latex] \sin x\ge \cos x,[/latex] so
Then
The area of the region is [latex]2\sqrt{2}[/latex] units2.
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]
Answer:
[latex]2+2\sqrt{2}[/latex] units2
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]
Answer:
As with (Figure), we need to divide the interval into two pieces. The graphs of the functions intersect at [latex]x=1[/latex] (set [latex]f(x)=g(x)[/latex] and solve for [latex]x[/latex]), so we evaluate two separate integrals: one over the interval [latex]\left[0,1\right][/latex] and one over the interval [latex]\left[1,2\right].[/latex]
Over the interval [latex]\left[0,1\right],[/latex] the region is bounded above by [latex]f(x)={x}^{2}[/latex] and below by the [latex]x[/latex]-axis, so we have
Over the interval [latex]\left[1,2\right],[/latex] the region is bounded above by [latex]g(x)=2-x[/latex] and below by the [latex]x\text{-axis,}[/latex] so we have
Adding these areas together, we obtain
The area of the region is [latex]5\text{/}6[/latex] units2.
Consider the region depicted in the following figure. Find the area of [latex]R.[/latex]
Answer:
[latex]\frac{5}{3}[/latex] units2
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 (Figure), only this time let’s integrate with respect to [latex]y.[/latex] Let [latex]R[/latex] be the region depicted in (Figure). Find the area of [latex]R[/latex] by integrating with respect to [latex]y.[/latex]
Answer:
We must first express the graphs as functions of [latex]y.[/latex] As we saw at the beginning of this section, the curve on the left can be represented by the function [latex]x=v(y)=\sqrt{y},[/latex] and the curve on the right can be represented by the function [latex]x=u(y)=2-y.[/latex]
Now we have to determine the limits of integration. The region is bounded below by the [latex]x[/latex]-axis, so the lower limit of integration is [latex]y=0.[/latex] The upper limit of integration is determined by the point where the two graphs intersect, which is the point [latex](1,1),[/latex] so the upper limit of integration is [latex]y=1.[/latex] Thus, we have [latex]\left[c,d\right]=\left[0,1\right].[/latex]
Calculating the area of the region, we get
The area of the region is [latex]5\text{/}6[/latex] units2.
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]
Answer:
[latex]\frac{5}{3}[/latex] units2
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]
Answer:
[latex]\frac{32}{3}[/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]
Answer:
[latex]\frac{13}{12}[/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]
Answer:
36
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]
Answer: 243 square units
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]
Answer: 4
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]
Answer: [latex]\frac{2{(e-1)}^{2}}{e}[/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]
Answer: [latex]\frac{1}{3}[/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]
Answer: [latex]\frac{34}{3}[/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]
Answer: [latex]\frac{5}{2}[/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]
Answer: [latex]\frac{1}{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]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]
Answer: [latex]\frac{9}{2}[/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]
Answer: [latex]\frac{9}{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]
Answer: [latex]\frac{3\sqrt{3}}{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]
Answer: [latex]{e}^{-2}[/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]
Answer: [latex]\frac{27}{4}[/latex]
30. [latex]y=|x|\text{ and }y={x}^{2}-1[/latex]
31. [latex]y=4-3x\text{ and }y=\frac{1}{x}[/latex]
Answer: [latex]\frac{4}{3}-\text{ln}(3)[/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]
Answer: [latex]\frac{1}{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]
Answer: [latex]\frac{1}{2}[/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]
Answer: [latex]-2(\sqrt{2}-\pi )[/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]
Answer:
1.067
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]
Answer:
0.852
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]
Answer:
7.523
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]
Answer:
[latex]\frac{3\pi -4}{12}[/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]
Answer:
1.429
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?
Answer:
[latex]$33,333.33[/latex] total profit for 200 cell phones sold
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.
Answer:
3.263 mi represents how far ahead the hare is from the tortoise
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]
Answer:
[latex]\frac{343}{24}[/latex]
54. [latex]y={x}^{4}\text{ and }x={y}^{5}[/latex]
55. [latex]x={y}^{2}-2\text{ and }x=2y[/latex]
Answer:
[latex]4\sqrt{3}[/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?
Answer:
[latex]\pi -\frac{32}{25}[/latex]
Licenses & Attributions
CC licensed content, Shared previously
- Calculus I. Provided by: OpenStax Located at: https://openstax.org/books/calculus-volume-1/pages/1-introduction. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License terms: Download for free at http://cnx.org/contents/[email protected].
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).