### Learning Objectives

- 6.1.1 Determine the area of a region between two curves by integrating with respect to the independent variable.
- 6.1.2 Find the area of a compound region.
- 6.1.3 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 $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.$

### Area of a Region between Two Curves

Let $f(x)$ and $g(x)$ be continuous functions over an interval $\left[a,b\right]$ such that $f(x)\ge g(x)$ on $\left[a,b\right].$ 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 $x\text{-axis}$ and approximate the area between the graphs of the functions with rectangles. So, for $i=0,1,2\text{,\u2026},n,$ let $P=\left\{{x}_{i}\right\}$ be a regular partition of $\left[a,b\right].$ Then, for $i=1,2\text{,\u2026},n,$ choose a point ${x}_{i}^{*}\in \left[{x}_{i-1},{x}_{i}\right],$ and on each interval $\left[{x}_{i-1},{x}_{i}\right]$ construct a rectangle that extends vertically from $g({x}_{i}^{*})$ to $f({x}_{i}^{*}).$ Figure 6.3(a) shows the rectangles when ${x}_{i}^{*}$ is selected to be the left endpoint of the interval and $n=10.$ Figure 6.3(b) shows a representative rectangle in detail.

### Media

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

The height of each individual rectangle is $f({x}_{i}^{*})-g({x}_{i}^{*})$ and the width of each rectangle is $\text{\Delta}x.$ 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 $n\to \infty $ and we get

These findings are summarized in the following theorem.

### Theorem 6.1

#### Finding the Area between Two Curves

Let $f(x)$ and $g(x)$ be continuous functions such that $f(x)\ge g(x)$ over an interval $\left[a,b\right].$ Let $R$ denote the region bounded above by the graph of $f(x),$ below by the graph of $g(x),$ and on the left and right by the lines $x=a$ and $x=b,$ respectively. Then, the area of $R$ is given by

We apply this theorem in the following example.

### Example 6.1

#### 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 $\left[1,4\right],$ find the area of region $R.$

### Checkpoint 6.1

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 $\left[1,5\right],$ find the area of region $R.$

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

#### 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-{\left(x\text{/}2\right)}^{2}$ and below by the graph of the function $g(x)=6-x,$ find the area of region $R.$

### Checkpoint 6.2

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.$

### Areas of Compound Regions

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

### Theorem 6.2

#### Finding the Area of a Region between Curves That Cross

Let $f(x)$ and $g(x)$ be continuous functions over an interval $\left[a,b\right].$ Let $R$ denote the region between the graphs of $f(x)$ and $g(x),$ and be bounded on the left and right by the lines $x=a$ and $x=b,$ respectively. Then, the area of $R$ is given by

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

#### Finding the Area of a Region Bounded by Functions That Cross

If *R* is the region between the graphs of the functions $f(x)=\text{sin}\phantom{\rule{0.2em}{0ex}}x$ and $g(x)=\text{cos}\phantom{\rule{0.2em}{0ex}}x$ over the interval $\left[0,\pi \right],$ find the area of region $R.$

### Checkpoint 6.3

If *R* is the region between the graphs of the functions $f(x)=\text{sin}\phantom{\rule{0.2em}{0ex}}x$ and $g(x)=\text{cos}\phantom{\rule{0.2em}{0ex}}x$ over the interval $\left[\pi \text{/}2,2\pi \right],$ find the area of region $R.$

### Example 6.4

#### Finding the Area of a Complex Region

Consider the region depicted in Figure 6.7. Find the area of $R.$

### Checkpoint 6.4

Consider the region depicted in the following figure. Find the area of $R.$

### Regions Defined with Respect to *y*

In Example 6.4, 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 $y,$ instead of as functions of $x?$ Review Figure 6.7. Note that the left graph, shown in red, is represented by the function $y=f(x)={x}^{2}.$ We could just as easily solve this for $x$ and represent the curve by the function $x=v(y)=\sqrt{y}.$ (Note that $x=\text{\u2212}\sqrt{y}$ is also a valid representation of the function $y=f(x)={x}^{2}$ as a function of $y.$ 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 $y=g(x)=2-x,$ but could just as easily be represented by the function $x=u(y)=2-y.$ When the graphs are represented as functions of $y,$ 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 $y,$ we need to evaluate one integral only. Let’s develop a formula for this type of integration.

Let $u(y)$ and $v(y)$ be continuous functions over an interval $\left[c,d\right]$ such that $u(y)\ge v(y)$ for all $y\in \left[c,d\right].$ 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 $y\text{-axis}$ and use horizontal rectangles to approximate the area between the functions. So, for $i=0,1,2\text{,\u2026},n,$ let $Q=\left\{{y}_{i}\right\}$ be a regular partition of $\left[c,d\right].$ Then, for $i=1,2\text{,\u2026},n,$ choose a point ${y}_{i}^{*}\in \left[{y}_{i-1},{y}_{i}\right],$ then over each interval $\left[{y}_{i-1},{y}_{i}\right]$ construct a rectangle that extends horizontally from $v\left({y}_{i}^{*}\right)$ to $u\left({y}_{i}^{*}\right).$ Figure 6.9(a) shows the rectangles when ${y}_{i}^{*}$ is selected to be the lower endpoint of the interval and $n=10.$ Figure 6.9(b) shows a representative rectangle in detail.

The height of each individual rectangle is $\text{\Delta}y$ and the width of each rectangle is $u\left({y}_{i}^{*}\right)-v\left({y}_{i}^{*}\right).$ Therefore, the area between the curves is approximately

This is a Riemann sum, so we take the limit as $n\to \infty ,$ obtaining

These findings are summarized in the following theorem.

### Theorem 6.3

####
Finding the Area between Two Curves, Integrating along the *y*-axis

Let $u(y)$ and $v(y)$ be continuous functions such that $u(y)\ge v(y)$ for all $y\in \left[c,d\right].$ Let $R$ denote the region bounded on the right by the graph of $u(y),$ on the left by the graph of $v(y),$ and above and below by the lines $y=d$ and $y=c,$ respectively. Then, the area of $R$ is given by

### Example 6.5

#### Integrating with Respect to *y*

Let’s revisit Example 6.4, only this time let’s integrate with respect to $y.$ Let $R$ be the region depicted in Figure 6.10. Find the area of $R$ by integrating with respect to $y.$

### Checkpoint 6.5

Let’s revisit the checkpoint associated with Example 6.4, only this time, let’s integrate with respect to $y.$ Let $R$ be the region depicted in the following figure. Find the area of $R$ by integrating with respect to $y.$

### Section 6.1 Exercises

For the following exercises, determine the area of the region between the two curves in the given figure by integrating over the $x\text{-axis}\text{.}$

$y={x}^{2}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=3x+4$

For the following exercises, split the region between the two curves into two smaller regions, then determine the area by integrating over the $x\text{-axis}.$ Note that you will have two integrals to solve.

$y=\text{cos}\phantom{\rule{0.2em}{0ex}}\theta $ and $y=0.5,$ for $0\le \theta \le \pi $

For the following exercises, determine the area of the region between the two curves by integrating over the $y\text{-axis}.$

$y=x\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x={y}^{2}$

For the following exercises, graph the equations and shade the area of the region between the curves. Determine its area by integrating over the $x\text{-axis}.$

$y={x}^{2}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=\text{\u2212}{x}^{2}+18x$

$y=\frac{1}{x},y=\frac{1}{{x}^{2}},\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=3$

$y=\text{cos}\phantom{\rule{0.2em}{0ex}}x$ and $y={\text{cos}}^{2}x$ on $x=\left[\text{\u2212}\pi ,\pi \right]$

$y={e}^{x},y={e}^{2x-1},\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=0$

$y={e}^{x},y={e}^{\text{\u2212}x},x=\mathrm{-1}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=1$

$y=e,y={e}^{x},\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y={e}^{\text{\u2212}x}$

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.

$y=\text{sin}\left(\pi x\right),y=2x,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x>0$

$y=\text{sin}\phantom{\rule{0.2em}{0ex}}x$ and $y=\text{cos}\phantom{\rule{0.2em}{0ex}}x$ over $x=\left[\text{\u2212}\pi ,\pi \right]$

$y={x}^{3}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y={x}^{2}-2x$ over $x=\left[\mathrm{-1},1\right]$

$y={x}^{2}+9\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=10+2x$ over $x=\left[\mathrm{-1},3\right]$

For the following exercises, graph the equations and shade the area of the region between the curves. Determine its area by integrating over the $y\text{-axis}.$

$x={y}^{3}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=3y-2$

$x=\mathrm{-3}+{y}^{2}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=y-{y}^{2}$

$x=\left|y\right|\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}2x=\text{\u2212}{y}^{2}+2$

$x=\text{sin}\phantom{\rule{0.2em}{0ex}}y,x=\text{cos}(2y),y=\pi \text{/}2,\text{and}\phantom{\rule{0.2em}{0ex}}y=\text{\u2212}\pi \text{/}2$

For the following exercises, graph the equations and shade the area of the region between the curves. Determine its area by integrating over the *x*-axis or *y*-axis, whichever seems more convenient.

$x={y}^{4}\text{and}\phantom{\rule{0.2em}{0ex}}x={y}^{5}$

$y={x}^{6}\text{and}\phantom{\rule{0.2em}{0ex}}y={x}^{4}$

$x={y}^{3}+2{y}^{2}+1\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=\text{\u2212}{y}^{2}+1$

$y=\left|x\right|\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y={x}^{2}-1$

$y=\text{sin}\phantom{\rule{0.2em}{0ex}}x,x=\text{\u2212}\pi \text{/}6,x=\pi \text{/}6,\text{and}\phantom{\rule{0.2em}{0ex}}y={\text{cos}}^{3}x$

$y={x}^{2}-3x+2\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y={x}^{3}-2{x}^{2}-x+2$

$y=2\phantom{\rule{0.2em}{0ex}}{\text{cos}}^{3}\left(3x\right),y=\mathrm{-1},x=\frac{\pi}{4},\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=-\frac{\pi}{4}$

$y=\sqrt{1-{x}^{2}}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y={x}^{2}-1$

$y={\text{cos}}^{\mathrm{-1}}x,y={\text{sin}}^{\mathrm{-1}}x,x=\mathrm{-1},\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=1$

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.

**[T]** $x={e}^{y}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=x-2$

**[T]** $y={x}^{2}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=\sqrt{1-{x}^{2}}$

**[T]** $y=3{x}^{2}+8x+9\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}3y=x+24$

**[T]** $x=\sqrt{4-{y}^{2}}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{y}^{2}=1+{x}^{2}$

**[T]** ${x}^{2}={y}^{3}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=3y$

**[T]** $y={\text{sin}}^{3}x+2,y=\text{tan}\phantom{\rule{0.2em}{0ex}}x,x=\mathrm{-1.5},\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=1.5$

**[T]** $y=\sqrt{1-{x}^{2}}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{y}^{2}={x}^{2}$

**[T]** $y=\sqrt{1-{x}^{2}}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y={x}^{2}+2x+1$

**[T]** $x=4-{y}^{2}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=1+3y+{y}^{2}$

**[T]** $y=\text{cos}\phantom{\rule{0.2em}{0ex}}x,y={e}^{x},x=\text{\u2212}\pi ,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=0$

The largest triangle with a base on the $x\text{-axis}$ that fits inside the upper half of the unit circle ${y}^{2}+{x}^{2}=1$ is given by $y=1+x$ and $y=1-x.$ See the following figure. What is the area inside the semicircle but outside the triangle?

A factory selling cell phones has a marginal cost function $C(x)=0.01{x}^{2}-3x+229,$ where $x$ represents the number of cell phones, and a marginal revenue function given by $R(x)=429-2x.$ Find the area between the graphs of these curves and $x=0.$ What does this area represent?

An amusement park has a marginal cost function $C(x)=1000{e}^{\text{\u2212}x}+5,$ where $x$ represents the number of tickets sold, and a marginal revenue function given by $R(x)=60-0.1x.$ Find the total profit generated when selling $550$ tickets. Use a calculator to determine intersection points, if necessary, to two decimal places.

The tortoise versus the hare: The speed of the hare is given by the sinusoidal function $H(t)=1-\text{cos}\left(\left(\pi t\right)\text{/}2\right)$ whereas the speed of the tortoise is $T(t)=\left(1\text{/}2\right){\text{tan}}^{\mathrm{-1}}\left(t\text{/}4\right),$ where $t$ is time measured in hours and the speed is measured in miles per hour. Find the area between the curves from time $t=0$ 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.

The tortoise versus the hare: The speed of the hare is given by the sinusoidal function $H(t)=\left(1\text{/}2\right)-\left(1\text{/}2\right)\text{cos}\left(2\pi t\right)$ whereas the speed of the tortoise is $T(t)=\sqrt{t},$ where $t$ 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 $x$ and then with respect to $y.$ Is one method easier than the other? Do you obtain the same answer?

$y={x}^{2}+2x+1\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=\text{\u2212}{x}^{2}-3x+4$

$y={x}^{4}\text{and}\phantom{\rule{0.2em}{0ex}}x={y}^{5}$

For the following exercises, solve using calculus, then check your answer with geometry.

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?

Find the area between the perimeter of the unit circle and the triangle created from $y=2x+1,y=1-2x$ and $y=-\frac{3}{5},$ as seen in the following figure. Is there a way to solve this without using calculus?