Skip to main content

Section 6.1 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 5, 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 \(x,\) 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 \(y.\)

Subsection 6.1.1 Area of a Region between Two Curves

Let \(f(x)\) and \(g(x)\) be continuous functions over an interval \([a,b]\) such that \(f(x)\geq g(x)\) on \([a,b].\) We want to find the area between the graphs of the functions, as shown in the following figure.

"This figure is a graph in the first quadrant. There are two curves on the graph. The higher curve is labeled “f(x)” and the lower curve is labeled “g(x)”. There are two boundaries on the x-axis labeled a and b. There is shaded area between the two curves bounded by lines at x=a and x=b."
Figure 6.2. The area between the graphs of two functions, \(f(x)\) and \(g(x),\) on the interval \([a,b].\)

As we did before, we are going to partition the interval on the \(x\text{ -axis }\) and approximate the area between the graphs of the functions with rectangles. So, for \(i=0,1,2,\dots ,n,\) let \(P={x_i}\) be a regular partition of \([a,b].\) Then, for \(i=1,2,\dots ,n,\) choose a point \(x_i^* \in [x_{i-1},x_i],\) and on each interval \([x_{i-1} ,x_i]\) construct a rectangle that extends vertically from \(g(x_i^* )\) to \(f(x_i^* ).\) Figure 6.4(a) shows the rectangles when \(x_i^* \) is selected to be the left endpoint of the interval and \(n=10.\) Figure 6.4(b) shows a representative rectangle in detail.

Note 6.3.

Use this calculator 1  to learn more about the areas between two curves.

"This figure has three graphs. The first graph has two curves, one over the other. In between the curves is a rectangle. The top of the rectangle is on the upper curve labeled “f(x*)” and the bottom of the rectangle is on the lower curve and labeled “g(x*)”. The second graph, labeled “(a)”, has two curves on the graph. The higher curve is labeled “f(x)” and the lower curve is labeled “g(x)”. There are two boundaries on the x-axis labeled a and b. There is shaded area between the two curves bounded by lines at x=a and x=b. The third graph, labeled “(b)” has two curves one over the other. The first curve is labeled “f(x*)” and the lower curve is labeled “g(x*)”. There is a shaded rectangle between the two. The width of the rectangle is labeled as “delta x”."
Figure 6.4. (a) We can approximate the area between the graphs of two functions, \(f(x)\) and \(g(x),\) with rectangles. (b) The area of a typical rectangle goes from one curve to the other.

The height of each individual rectangle is \(f(x_i^* )-g(x_i^* )\) and the width of each rectangle is \(\Delta x.\) Adding the areas of all the rectangles, we see that the area between the curves is approximated by

\begin{equation*} A\approx \displaystyle{ \sum_{i=1}^n[f(x_i^*)-g(x_i^*)]\Delta x}. \end{equation*}

This is a Riemann sum, so we take the limit as \(n\to \infty \) and we get

\begin{equation*} A=\lim_{n\to \infty }\displaystyle{ \sum_{i=1}^n[f(x_i^* )-g(x_i^* )]\Delta x}=\displaystyle{\int_a^b [f(x)-g(x)]dx}. \end{equation*}

These findings are summarized in the following theorem.

We apply this theorem in the following example.

Example 6.6. Finding the Area of a Region between Two Curves 1.

If \(R\) is the region bounded above by the graph of the function \(f(x)=x+4\) and below by the graph of the function \(g(x)=3-\frac{x}{2}\) over the interval \([1,4],\) find the area of region \(R.\)

Solution.

The region is depicted in the following figure.

"This figure is has two linear graphs in the first quadrant. They are the functions f(x) = x+4 and g(x)= 3-x/2. In between these lines is a shaded region, bounded above by f(x) and below by g(x). The shaded area is between x=1 and x=4."
Figure 6.7. A region between two curves is shown where one curve is always greater than the other.

We have

\begin{align*} A\amp =\displaystyle{ \int_{a}^{b} [f(x)-g(x)]dx}\\ \amp=\displaystyle{\int_{1}^{4}[(x+4)-(3-\frac{x}{2})]dx}=\displaystyle{\int_{1}^{4}[\frac{3x}{2}+1]dx}\\ \amp=\left.\left[\frac{3x^2}{4}+x\right] \right|_1^4=(16-\frac{7}{4})=\frac{57}{4}. \end{align*}

The area of the region is \(\frac{57}{4}\text{ units }^2.\)

Checkpoint 6.8.

If \(R\) is the region bounded by the graphs of the functions \(f(x)=\frac{x}{2}+5\) and \(g(x)=x+\frac{1}{2}\) over the interval \([1,5],\) find the area of region \(R.\)

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 Example 6.6.

Solution.

\(12\) units \(^2\)

Example 6.9. Area between Revenue and Cost Functions.

Suppose your daily revenue from selling used DVDs is \(R(t)=100+5t\) dollars per day while you daily costs are \(C(t)=90+5t\) dollars per day, where \(t\) represents the number of days from the beginning of the week. If \(R\) is the region bounded by the graphs of the functions \(R(t) \text{ and } C(t)\) over the interval [0,5], find the area of region \(R\text{.}\) What does the answer represent?
Solution.

The region is depicted in the following figure.

"This figure is has two linear graphs in the first quadrant. They are the functions R(t)=100+5t and C(t)=90+5t. In between these lines is a shaded region, bounded above by R(t) and below by C(t)). The shaded area is between t=0 and t=5."
Figure 6.10. A region between two curves is shown where one curve is always greater than the other.

We have

\begin{align*} A\amp=\displaystyle{ \int_{a}^{b} [R(t)-C(t)]dt} \\ \amp=\displaystyle{\int_{0}^{5}[(100+5t)-(90+5t)]dt}\\ \amp=\displaystyle{\int_{0}^{5}10 dt}\\ \amp=\left.\left[10t\right] \right|_0^5\\ \amp=50. \end{align*}

The area of the region is \(50\) units \(^2\text{.}\) Recall from section 1.3, [cross-reference to target(s) "profit_1.3" missing or not unique]. This gives us that the area of the region represents the the total profit over 5 days.

In Example 6.6, 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.

Example 6.11. Finding the Area of a Region between Two Curves 2.

If \(R\) is the region bounded above by the graph of the function \(f(x)=9-(x/2)^2\) and below by the graph of the function \(g(x)=6-x,\) find the area of region \(R.\)

Solution.

The region is depicted in the following figure.

"This figure is has two graphs in the first quadrant. They are the functions f(x) = 9-(x/2)^2 and g(x)= 6-x. In between these graphs, an upside down parabola and a line, is a shaded region, bounded above by f(x) and below by g(x)."
Figure 6.12. This graph shows the region below the graph of \(f(x)\) and above the graph of \(g(x).\)

We first need to compute where the graphs of the functions intersect. Setting \(f(x)=g(x),\) we get

\begin{align*} f(x)\amp =g(x)\\ 9-\left(\frac{x}{2}\right)^2\amp = 6-x\\ 9-\frac{x^2}{4}\amp = 6-x\\ 36-x^2\amp = 24-4x\\ x^2-4x-12\amp = 0\\ (x-6)(x+2)\amp =0. \end{align*}

The graphs of the functions intersect when \(x=6\) or \(x=-2,\) so we want to integrate from \(-2\) to \(6.\) Since \(f(x)\geq g(x)\) for \(-2\leq x\leq 6,\) we obtain

\begin{align*} A\amp =\displaystyle{ \int_{a}^{b} [f(x)-g(x)]dx}\\ \amp=\displaystyle{\int_{-2}^{6}\left[9-(\frac{x}{2})^2-(6-x)\right]dx}=\displaystyle{\int_{-2}^{6}\left[3-\frac{x^2}{4}+x\right]dx}\\ \amp=\left.\left[3x-\frac{x^3}{12}+\frac{x^2}{2}\right] \right|_{-2}^{6}=\frac{64}{3}. \end{align*}

The area of the region is \(64/3\) units \(^2\text{.}\)

Checkpoint 6.13.

If \(R\) is the region bounded above by the graph of the function \(f(x)=x\) and below by the graph of the function \(g(x)=x^4,\) find the area of region \(R.\)

Hint.

Use the process from Example 6.11.

Solution.

\(\frac{3}{10}\) unit \(^2\)

Subsection 6.1.2 Areas of Compound Regions

So far, we have required \(f(x)\geq g(x)\) 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.

In practice, applying this theorem requires us to break up the interval \([a,b]\) 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.

Example 6.15. Finding the Area of a Region Bounded by Functions That Cross.

If \(R\) is the region between the graphs of the functions \(f(x)=-x\) and \(g(x)=2-x^2\) over the interval \([-2,2],\) find the area of region \(R.\)

Solution.

Let's first find where the graphs intersect.

\begin{align*} f(x)\amp=g(x)\\ -x\amp=2-x^2\\ x^2-x-2\amp=0\\ (x-2)(x+1)\amp=0\\ x\amp=-1,\;2 \end{align*}

The graphs of the functions intersect at \(x=-1\text{ and }x=2.\) The region is depicted in the following figure.

"This figure is has two graphs. They are the functions f(x)= -x and g(x)= 2-x^2. There are two shaded areas between the graphs. The first shaded area is labeled "R1" and has f(x) above g(x). This region begins at x=-2 and stops where the curves intersect at x=-1. The second region is labeled "R2" and begins at the intersection with g(x) above f(x). The shaded region stops at x=2."
Figure 6.16. The region between two curves can be broken into two sub-regions.

For \(x\in[-2,-1],\) \(f(x)\geq g(x)\text{.}\) On the other hand, for \(x\in[-1,2],\) \(g(x)\geq f(x)\text{.}\) Then,

\begin{align*} A\amp =\displaystyle{ \int_{a}^{b} |f(x)-g(x)|dx}\\ \amp=\displaystyle{ \int_{-2}^{2}|-x-(2-x^2)|dx}=\displaystyle{ \int_{-2}^{-1}[-x-(2-x^2)]dx}+\displaystyle{ \int_{-1}^{2}[(2-x^2)-(-x)]dx}\\ \amp=\displaystyle{ \int_{-2}^{-1}(x^2-x-2)dx}+\displaystyle{ \int_{-1}^{2}(-x^2+x+2)dx}\\ \amp=\left.\left[\frac{1}{3}x^3-\frac{1}{2}x^2-2x\right] \right|_{-2}^{-1}+\left.\left[-\frac{1}{3}x^3+\frac{1}{2}x^2+2x\right] \right|_{-1}^{2}\\ \amp=\left(\frac{7}{6}-\left(-\frac{2}{3}\right)\right)+\left(\frac{10}{3}-\left(-\frac{7}{6}\right)\right)=\frac{19}{3}. \end{align*}

The area of the region is \(\frac{19}{3}\) units \(^2\text{.}\)

Checkpoint 6.17.

If \(R\) is the region between the graphs of the functions \(f(x)=x\) and \(g(x)=x^2\) over the interval \([0,2],\) find the area of region \(R.\)

Hint.

The two curves intersect at \(x=1.\)

Solution.

\(1\) unit \(^2\)

Example 6.18. Finding the Area of a Complex Region.

Consider the region depicted in Figure 6.19. Find the area of \(R.\)

"This figure is has two graphs in the first quadrant. They are the functions f(x) = x^2 and g(x)= 2-x. In between these graphs is a shaded region, bounded to the left by f(x) and to the right by g(x). All of which is above the x-axis. The region is labeled R. The shaded area is between x=0 and x=2."
Figure 6.19. Two integrals are required to calculate the area of this region.
Solution.

As with [cross-reference to target(s) "fs-id1167793263971" missing or not unique], we need to divide the interval into two pieces. The graphs of the functions intersect at \(x=1\) (set \(f(x)=g(x)\) and solve for \(x\)), so we evaluate two separate integrals: one over the interval \([0,1]\) and one over the interval \([1,2].\)

Over the interval \([0,1],\) the region is bounded above by \(f(x)=x^2\) and below by the \(x\)-axis, so we have

\begin{equation*} A_1=\displaystyle{ \int_{0}^{1} x^2dx}=\left.\frac{x^3}{3}\right|_0^1=\frac{1}{3}. \end{equation*}

Over the interval \([1,2],\) the region is bounded above by \(g(x)=2-x\) and below by the \(x\text{ -axis, }\) so we have

\begin{equation*} A_2=\displaystyle{ \int_{1}^{2} (2-x)dx}=\left.\left[2x-\frac{x^2}{2}\right]\right|_1^2=\frac{1}{2}. \end{equation*}

Adding these areas together, we obtain

\begin{equation*} A=A_1+A_2=\frac{1}{3}+\frac{1}{2}=\frac{5}{6}. \end{equation*}

The area of the region is \(5/6\) units \(^2\text{.}\)

Checkpoint 6.20.

Consider the region depicted in the following figure. Find the area of \(R.\)

"This figure is has two graphs in the first quadrant. They are the functions f(x) = squareroot of x and g(x)= 3/2 – x/2. In between these graphs is a shaded region, bounded to the left by f(x) and to the right by g(x). All of which is above the x-axis. The shaded area is between x=0 and x=3."
Hint.

The two curves intersect at \(x=1.\)

Solution.

\(\frac{5}{3}\) units \(^2\)

Subsection 6.1.3 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.

Subsection 6.1.4 Key Equations

  • Area between two curves, integrating on the \(x\)-axis \(A=\displaystyle{ \int_{a}^{b} [f(x)-g(x)]dx}\)

http://www.openstax.org/l/20_CurveCalc