We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Calculus Volume 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, 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\left(x\right)[/latex] and [latex]g\left(x\right)[/latex] be continuous functions over an interval [latex]\left[a,b\right][/latex] such that [latex]f\left(x\right)\ge g\left(x\right)[/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.

The area between the graphs of two functions, [latex]f\left(x\right)[/latex] and [latex]g\left(x\right),[/latex] on the interval [latex]\left[a,b\right].[/latex]
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.

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\left({x}_{i}^{*}\right)[/latex] to [latex]f\left({x}_{i}^{*}\right).[/latex] [link](a) shows the rectangles when [latex]{x}_{i}^{*}[/latex] is selected to be the left endpoint of the interval and [latex]n=10.[/latex] [link](b) shows a representative rectangle in detail.

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

(a)We can approximate the area between the graphs of two functions, [latex]f\left(x\right)[/latex] and [latex]g\left(x\right),[/latex] with rectangles. (b) The area of a typical rectangle goes from one curve to the other.
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”.

The height of each individual rectangle is [latex]f\left({x}_{i}^{*}\right)-g\left({x}_{i}^{*}\right)[/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

[latex]A\approx \sum _{i=1}^{n}\left[f\left({x}_{i}^{*}\right)-g\left({x}_{i}^{*}\right)\right]\text{Δ}x.[/latex]

This is a Riemann sum, so we take the limit as [latex]n\to \infty [/latex] and we get

[latex]A=\underset{n\to \infty }{\text{lim}}\sum _{i=1}^{n}\left[f\left({x}_{i}^{*}\right)-g\left({x}_{i}^{*}\right)\right]\text{Δ}x={\int }_{a}^{b}\left[f\left(x\right)-g\left(x\right)\right]dx.[/latex]

These findings are summarized in the following theorem.

Finding the Area between Two Curves

Let [latex]f\left(x\right)[/latex] and [latex]g\left(x\right)[/latex] be continuous functions such that [latex]f\left(x\right)\ge g\left(x\right)[/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\left(x\right),[/latex] below by the graph of [latex]g\left(x\right),[/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

[latex]A={\int }_{a}^{b}\left[f\left(x\right)-g\left(x\right)\right]dx.[/latex]

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\left(x\right)=x+4[/latex] and below by the graph of the function [latex]g\left(x\right)=3-\frac{x}{2}[/latex] over the interval [latex]\left[1,4\right],[/latex] find the area of region [latex]R.[/latex]

The region is depicted in the following figure.

A region between two curves is shown where one curve is always greater than the other.
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.

We have

[latex]\begin{array}{cc}\hfill A& ={\int }_{a}^{b}\left[f\left(x\right)-g\left(x\right)\right]dx\hfill \\ & ={\int }_{1}^{4}\left[\left(x+4\right)-\left(3-\frac{x}{2}\right)\right]dx={\int }_{1}^{4}\left[\frac{3x}{2}+1\right]dx\hfill \\ & ={\left[\frac{3{x}^{2}}{4}+x\right]\phantom{\rule{0.2em}{0ex}}|}_{1}^{4}=\left(16-\frac{7}{4}\right)=\frac{57}{4}.\hfill \end{array}[/latex]

The area of the region is [latex]\frac{57}{4}\phantom{\rule{0.2em}{0ex}}{\text{units}}^{2}.[/latex]

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

[latex]12[/latex] units2

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 [link].

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

The region is depicted in the following figure.

This graph shows the region below the graph of [latex]f\left(x\right)[/latex] and above the graph of [latex]g\left(x\right).[/latex]
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).

We first need to compute where the graphs of the functions intersect. Setting [latex]f\left(x\right)=g\left(x\right),[/latex] we get

[latex]\begin{array}{ccc}\hfill f\left(x\right)& =\hfill & g\left(x\right)\hfill \\ \\ \hfill 9-{\left(\frac{x}{2}\right)}^{2}& =\hfill & 6-x\hfill \\ \hfill 9-\frac{{x}^{2}}{4}& =\hfill & 6-x\hfill \\ \hfill 36-{x}^{2}& =\hfill & 24-4x\hfill \\ \hfill {x}^{2}-4x-12& =\hfill & 0\hfill \\ \hfill \left(x-6\right)\left(x+2\right)& =\hfill & 0.\hfill \end{array}[/latex]

The graphs of the functions intersect when [latex]x=6[/latex] or [latex]x=-2,[/latex] so we want to integrate from [latex]-2[/latex] to [latex]6.[/latex] Since [latex]f\left(x\right)\ge g\left(x\right)[/latex] for [latex]-2\le x\le 6,[/latex] we obtain

[latex]\begin{array}{cc}\hfill A& ={\int }_{a}^{b}\left[f\left(x\right)-g\left(x\right)\right]dx\hfill \\ & ={\int }_{-2}^{6}\left[9-{\left(\frac{x}{2}\right)}^{2}-\left(6-x\right)\right]dx={\int }_{-2}^{6}\left[3-\frac{{x}^{2}}{4}+x\right]dx\hfill \\ & ={\left[3x-\frac{{x}^{3}}{12}+\frac{{x}^{2}}{2}\right]\phantom{\rule{0.2em}{0ex}}|}_{-2}^{6}=\frac{64}{3}.\hfill \end{array}[/latex]

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\left(x\right)=x[/latex] and below by the graph of the function [latex]g\left(x\right)={x}^{4},[/latex] find the area of region [latex]R.[/latex]

[latex]\frac{3}{10}[/latex] unit2

Hint

Use the process from [link].

Areas of Compound Regions

So far, we have required [latex]f\left(x\right)\ge g\left(x\right)[/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\left(x\right)[/latex] and [latex]g\left(x\right)[/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\left(x\right)[/latex] and [latex]g\left(x\right),[/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

[latex]A={\int }_{a}^{b}|f\left(x\right)-g\left(x\right)|dx.[/latex]

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\left(x\right)=\text{sin}\phantom{\rule{0.2em}{0ex}}x[/latex] and [latex]g\left(x\right)=\text{cos}\phantom{\rule{0.2em}{0ex}}x[/latex] over the interval [latex]\left[0,\pi \right],[/latex] find the area of region [latex]R.[/latex]

The region is depicted in the following figure.

The region between two curves can be broken into two sub-regions.
This figure is has two graphs. They are the functions f(x) = sinx and g(x)= cosx. They are both periodic functions that resemble waves. There are two shaded areas between the graphs. The first shaded area is labeled “R1” and has g(x) above f(x). This region begins at the y-axis and stops where the curves intersect. The second region is labeled “R2” and begins at the intersection with f(x) above g(x). The shaded region stops at x=pi.

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]\text{cos}\phantom{\rule{0.2em}{0ex}}x\ge \text{sin}\phantom{\rule{0.2em}{0ex}}x,[/latex] so

[latex]|f\left(x\right)-g\left(x\right)|=|\text{sin}\phantom{\rule{0.2em}{0ex}}x-\text{cos}\phantom{\rule{0.2em}{0ex}}x|=\text{cos}\phantom{\rule{0.2em}{0ex}}x-\text{sin}\phantom{\rule{0.2em}{0ex}}x.[/latex]

On the other hand, for [latex]x\in \left[\pi \text{/}4,\pi \right],[/latex] [latex]\text{sin}\phantom{\rule{0.2em}{0ex}}x\ge \text{cos}\phantom{\rule{0.2em}{0ex}}x,[/latex] so

[latex]|f\left(x\right)-g\left(x\right)|=|\text{sin}\phantom{\rule{0.2em}{0ex}}x-\text{cos}\phantom{\rule{0.2em}{0ex}}x|=\text{sin}\phantom{\rule{0.2em}{0ex}}x-\text{cos}\phantom{\rule{0.2em}{0ex}}x.[/latex]

Then

[latex]\begin{array}{cc}\hfill A& ={\int }_{a}^{b}|f\left(x\right)-g\left(x\right)|dx\hfill \\ & ={\int }_{0}^{\pi }|\text{sin}\phantom{\rule{0.2em}{0ex}}x-\text{cos}\phantom{\rule{0.2em}{0ex}}x|dx={\int }_{0}^{\pi \text{/}4}\left(\text{cos}\phantom{\rule{0.2em}{0ex}}x-\text{sin}\phantom{\rule{0.2em}{0ex}}x\right)dx+{\int }_{\pi \text{/}4}^{\pi }\left(\text{sin}\phantom{\rule{0.2em}{0ex}}x-\text{cos}\phantom{\rule{0.2em}{0ex}}x\right)dx\hfill \\ & ={\left[\text{sin}\phantom{\rule{0.2em}{0ex}}x+\text{cos}\phantom{\rule{0.2em}{0ex}}x\right]\phantom{\rule{0.2em}{0ex}}|}_{0}^{\pi \text{/}4}+{\left[\text{−}\text{cos}\phantom{\rule{0.2em}{0ex}}x-\text{sin}\phantom{\rule{0.2em}{0ex}}x\right]\phantom{\rule{0.2em}{0ex}}|}_{\pi \text{/}4}^{\pi }\hfill \\ & =\left(\sqrt{2}-1\right)+\left(1+\sqrt{2}\right)=2\sqrt{2}.\hfill \end{array}[/latex]

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\left(x\right)=\text{sin}\phantom{\rule{0.2em}{0ex}}x[/latex] and [latex]g\left(x\right)=\text{cos}\phantom{\rule{0.2em}{0ex}}x[/latex] over the interval [latex]\left[\pi \text{/}2,2\pi \right],[/latex] find the area of region [latex]R.[/latex]

[latex]2+2\sqrt{2}[/latex] units2

Hint

The two curves intersect at [latex]x=\left(5\pi \right)\text{/}4.[/latex]

Finding the Area of a Complex Region

Consider the region depicted in [link]. Find the area of [latex]R.[/latex]

Two integrals are required to calculate the area of this region.
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.

As with [link], we need to divide the interval into two pieces. The graphs of the functions intersect at [latex]x=1[/latex] (set [latex]f\left(x\right)=g\left(x\right)[/latex] and solve for x), 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\left(x\right)={x}^{2}[/latex] and below by the x-axis, so we have

[latex]{A}_{1}={\int }_{0}^{1}{x}^{2}dx={\frac{{x}^{3}}{3}\phantom{\rule{0.2em}{0ex}}|}_{0}^{1}=\frac{1}{3}.[/latex]

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

[latex]{A}_{2}={\int }_{1}^{2}\left(2-x\right)dx={\left[2x-\frac{{x}^{2}}{2}\right]\phantom{\rule{0.2em}{0ex}}|}_{1}^{2}=\frac{1}{2}.[/latex]

Adding these areas together, we obtain

[latex]A={A}_{1}+{A}_{2}=\frac{1}{3}+\frac{1}{2}=\frac{5}{6}.[/latex]

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]

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.

[latex]\frac{5}{3}[/latex] units2

Hint

The two curves intersect at [latex]x=1.[/latex]

Regions Defined with Respect to y

In [link], 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 [link]. Note that the left graph, shown in red, is represented by the function [latex]y=f\left(x\right)={x}^{2}.[/latex] We could just as easily solve this for [latex]x[/latex] and represent the curve by the function [latex]x=v\left(y\right)=\sqrt{y}.[/latex] (Note that [latex]x=\text{−}\sqrt{y}[/latex] is also a valid representation of the function [latex]y=f\left(x\right)={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\left(x\right)=2-x,[/latex] but could just as easily be represented by the function [latex]x=u\left(y\right)=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\left(y\right)[/latex] and [latex]v\left(y\right)[/latex] be continuous functions over an interval [latex]\left[c,d\right][/latex] such that [latex]u\left(y\right)\ge v\left(y\right)[/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.

We can find the area between the graphs of two functions, [latex]u\left(y\right)[/latex] and [latex]v\left(y\right).[/latex]
This figure is has two graphs in the first quadrant. They are the functions v(y) and u(y). In between these graphs is a shaded region, bounded to the left by v(y) and to the right by u(y). The region is labeled R. The shaded area is between the horizontal boundaries of y=c and y=d.

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\left({y}_{i}^{*}\right)[/latex] to [latex]u\left({y}_{i}^{*}\right).[/latex] [link](a) shows the rectangles when [latex]{y}_{i}^{*}[/latex] is selected to be the lower endpoint of the interval and [latex]n=10.[/latex] [link](b) shows a representative rectangle in detail.

(a) Approximating the area between the graphs of two functions, [latex]u\left(y\right)[/latex] and [latex]v\left(y\right),[/latex] with rectangles. (b) The area of a typical rectangle.
This figure is has three graphs. The first figure has two curves. They are the functions v(y*) and u(y*). In between these curves is a horizontal rectangle. The second figure labeled “(a)”, is a shaded region, bounded to the left by v(y) and to the right by u(y). The shaded area is between the horizontal boundaries of y=c and y=d. This shaded area is broken into rectangles between the curves. The third figure, labeled “(b)”, is the two curves v(y*) and u(y*). In between the curves is a horizontal rectangle with width delta y.

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

[latex]A\approx \sum _{i=1}^{n}\left[u\left({y}_{i}^{*}\right)-v\left({y}_{i}^{*}\right)\right]\text{Δ}y.[/latex]

This is a Riemann sum, so we take the limit as [latex]n\to \infty ,[/latex] obtaining

[latex]A=\underset{n\to \infty }{\text{lim}}\sum _{i=1}^{n}\left[u\left({y}_{i}^{*}\right)-v\left({y}_{i}^{*}\right)\right]\text{Δ}y={\int }_{c}^{d}\left[u\left(y\right)-v\left(y\right)\right]dy.[/latex]

These findings are summarized in the following theorem.

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

Let [latex]u\left(y\right)[/latex] and [latex]v\left(y\right)[/latex] be continuous functions such that [latex]u\left(y\right)\ge v\left(y\right)[/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\left(y\right),[/latex] on the left by the graph of [latex]v\left(y\right),[/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

[latex]A={\int }_{c}^{d}\left[u\left(y\right)-v\left(y\right)\right]dy.[/latex]
Integrating with Respect to y

Let’s revisit [link], only this time let’s integrate with respect to [latex]y.[/latex] Let [latex]R[/latex] be the region depicted in [link]. Find the area of [latex]R[/latex] by integrating with respect to [latex]y.[/latex]

The area of region [latex]R[/latex] can be calculated using one integral only when the curves are treated as functions of [latex]y.[/latex]
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.

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\left(y\right)=\sqrt{y},[/latex] and the curve on the right can be represented by the function [latex]x=u\left(y\right)=2-y.[/latex]

Now we have to determine the limits of integration. The region is bounded below by the x-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]\left(1,1\right),[/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

[latex]\begin{array}{cc}\hfill A& ={\int }_{c}^{d}\left[u\left(y\right)-v\left(y\right)\right]dy\hfill \\ & ={\int }_{0}^{1}\left[\left(2-y\right)-\sqrt{y}\right]dy={\left[2y-\frac{{y}^{2}}{2}-\frac{2}{3}{y}^{3\text{/}2}\right]\phantom{\rule{0.2em}{0ex}}|}_{0}^{1}\hfill \\ & =\frac{5}{6}.\hfill \end{array}[/latex]

The area of the region is [latex]5\text{/}6[/latex] units2.

Let’s revisit the checkpoint associated with [link], 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]

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.

[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 y 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 x-axis

    [latex]A={\int }_{a}^{b}\left[f\left(x\right)-g\left(x\right)\right]dx[/latex]
  • Area between two curves, integrating on the y-axis

    [latex]A={\int }_{c}^{d}\left[u\left(y\right)-v\left(y\right)\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]

[latex]y={x}^{2}-3\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=1[/latex]

This figure is has two graphs. They are the functions f(x) = x^2-3and g(x)=1. In between these graphs is a shaded region, bounded above by g(x) and below by f(x). The shaded area is between x=-2 and x=2.

[latex]\frac{32}{3}[/latex]

[latex]y={x}^{2}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=3x+4[/latex]

This figure is has two graphs. They are the functions f(x) = x^2 and g(x)= 3x+4. In between these graphs is a shaded region, bounded above by g(x) and below by g(x).

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.

[latex]y={x}^{3}[/latex] and [latex]y={x}^{2}+x[/latex]

This figure is has two graphs. They are the functions f(x) = x^3 and g(x)= x^2+x. These graphs intersect twice. The regions between the intersections are shaded. The first region is bounded above by f(x) and below by g(x). The second region is bounded above by g(x) and below by f(x).

[latex]\frac{13}{12}[/latex]

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

This figure is has two graphs. They are the functions f(theta) = cos(theta) and g(x)= 0.5. These graphs intersect twice. The regions between the intersections are shaded. The first region is bounded above by f(x) and below by g(x). The second region is bounded above by g(x) and below by f(x).

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

[latex]x={y}^{2}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=9[/latex]

This figure is has two graphs. They are the equations x=y^2 and x=9. The region between the graphs is shaded. It is horizontal, between the y-axis and the line x=9.

[latex]36[/latex]

[latex]y=x\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x={y}^{2}[/latex]

This figure is has two graphs. They are the equations y=x and x=y^2. The region between the graphs is shaded, bounded above by x=y^2 and below by y=x.

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]

[latex]y={x}^{2}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=\text{−}{x}^{2}+18x[/latex]


This figure is has two graphs. They are the functions f(x)=x^2 and g(x)=-x^2+18x. The region between the graphs is shaded, bounded above by g(x) and below by f(x). It is in the first quadrant.

243 square units

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

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


This figure is has two graphs. They are the functions y=cos(x) and y=cos^2(x). The graphs are periodic and resemble waves. There are four regions created by intersections of the curves. The areas are shaded.

4

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

[latex]y={e}^{x},y={e}^{\text{−}x},x=-1\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=1[/latex]


This figure is has two graphs. They are the functions f(x)=e^x and g(x)=e^-x. There are two shaded regions. In the second quadrant the region is bounded by x=-1, g(x) above and f(x) below. The second region is in the first quadrant and is bounded by f(x) above, g(x) below, and x=1.

[latex]\frac{2{\left(e-1\right)}^{2}}{e}[/latex]

[latex]y=e,y={e}^{x},\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y={e}^{\text{−}x}[/latex]

[latex]y=|x|\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y={x}^{2}[/latex]


This figure is has two graphs. They are the functions f(x)=x^2 and g(x)=absolute value of x. There are two shaded regions. The first region is in the second quadrant and is between g(x) above and f(x) below. The second region is in the first quadrant and is bounded above by g(x) and below by f(x).

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

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

[latex]y=12-x,y=\sqrt{x},\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=1[/latex]


This figure is has three graphs. They are the functions f(x)=squareroot of x, y=12-x, and y=1. The region between the graphs is shaded, bounded above and to the left by f(x), above and to the right by the line y=12-x, and below by the line y=1. It is in the first quadrant.

[latex]\frac{34}{3}[/latex]

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

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


This figure is has two graphs. They are the functions f(x)=x^3 and g(x)=x^2-2x. There are two shaded regions between the graphs. The first region is bounded to the left by the line x=-2, above by g(x) and below by f(x). The second region is bounded above by f(x), below by g(x) and to the right by the line x=2.

[latex]\frac{5}{2}[/latex]

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

[latex]y={x}^{3}+3x[/latex] and [latex]y=4x[/latex]


This figure is has two graphs. They are the functions f(x)=x^3+3x and g(x)=4x. There are two shaded regions between the graphs. The first region is bounded above by f(x) and below by g(x). The second region is bounded above by g(x), below by f(x).

[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]

[latex]x={y}^{3}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=3y-2[/latex]

[latex]x=2y\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x={y}^{3}-y[/latex]


This figure is has two graphs. They are the equations x=2y and x=y^3-y. The graphs intersect in the third quadrant and again in the first quadrant forming two closed regions in between them.

[latex]\frac{9}{2}[/latex]

[latex]x=-3+{y}^{2}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=y-{y}^{2}[/latex]

[latex]{y}^{2}=x\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=y+2[/latex]


This figure is has two graphs. They are the equations x=y+2 and y^2=x. The graphs intersect, forming a region in between them

[latex]\frac{9}{2}[/latex]

[latex]x=|y|\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}2x=\text{−}{y}^{2}+2[/latex]

[latex]x=\text{sin}\phantom{\rule{0.2em}{0ex}}y,x=\text{cos}\left(2y\right),y=\pi \text{/}2,\text{and}\phantom{\rule{0.2em}{0ex}}y=\text{−}\pi \text{/}2[/latex]


This figure is has two graphs. They are the equations x=cos(y) and x=sin(y). The graphs intersect, forming two regions bounded above by the line y=pi/2 and below by the line y=-pi/2.

[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 x-axis or y-axis, whichever seems more convenient.

[latex]x={y}^{4}\text{and}\phantom{\rule{0.2em}{0ex}}x={y}^{5}[/latex]

[latex]y=x{e}^{x},y={e}^{x},x=0,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=1[/latex]


This figure is has two graphs. They are the equations y=xe^x and y=e^x. The graphs intersect, forming a region in between them in the first quadrant.

[latex]{e}^{-2}[/latex]

[latex]y={x}^{6}\text{and}\phantom{\rule{0.2em}{0ex}}y={x}^{4}[/latex]

[latex]x={y}^{3}+2{y}^{2}+1\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=\text{−}{y}^{2}+1[/latex]


This figure is has two graphs. They are the equations x=-y^2+1 and x=y^3+2y^2. The graphs intersect, forming two regions in between them.

[latex]\frac{27}{4}[/latex]

[latex]y=|x|\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y={x}^{2}-1[/latex]

[latex]y=4-3x\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=\frac{1}{x}[/latex]


This figure is has two graphs. They are the equations y=4-3x and y=1/x. The graphs intersect, having region between them shaded. The region is in the first quadrant.

[latex]\frac{4}{3}-\text{ln}\left(3\right)[/latex]

[latex]y=\text{sin}\phantom{\rule{0.2em}{0ex}}x,x=\text{−}\pi \text{/}6,x=\pi \text{/}6,\text{and}\phantom{\rule{0.2em}{0ex}}y={\text{cos}}^{3}x[/latex]

[latex]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[/latex]


This figure is has two graphs. They are the equations y=x^2-3x+2 and y=x^3-2x^2-x+2. The graphs intersect, having region between them shaded.

[latex]\frac{1}{2}[/latex]

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

[latex]y+{y}^{3}=x\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}2y=x[/latex]


This figure is has two graphs. They are the equations 2y=x and y+y^3=x. The graphs intersect, forming two regions. The regions are shaded.

[latex]\frac{1}{2}[/latex]

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

[latex]y={\text{cos}}^{-1}x,y={\text{sin}}^{-1}x,x=-1,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=1[/latex]


This figure is has two graphs. They are the equations y=arccos(x) and y=arcsin (x). The graphs intersect, forming two regions. The first region is bounded to the left by x=-1. The second region is bounded to the right by x=1. Both regions are shaded.

[latex]-2\left(\sqrt{2}-\pi \right)[/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.

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

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

[latex]1.067[/latex]

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

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

[latex]0.852[/latex]

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

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

[latex]7.523[/latex]

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

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

[latex]\frac{3\pi -4}{12}[/latex]

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

[T][latex]y=\text{cos}\phantom{\rule{0.2em}{0ex}}x,y={e}^{x},x=\text{−}\pi ,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=0[/latex]

[latex]1.429[/latex]

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?

This figure is has the graph of a circle with center at the origin and radius of 1. There is a triangle inscribed with base on the x-axis from -1 to 1 and the third corner at the point y=1.

A factory selling cell phones has a marginal cost function [latex]C\left(x\right)=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\left(x\right)=429-2x.[/latex] Find the area between the graphs of these curves and [latex]x=0.[/latex] What does this area represent?

[latex]\text{💲}33,333.33[/latex] total profit for [latex]200[/latex] cell phones sold

An amusement park has a marginal cost function [latex]C\left(x\right)=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\left(x\right)=60-0.1x.[/latex] Find the total profit generated when selling [latex]550[/latex] 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 [latex]H\left(t\right)=1-\text{cos}\left(\left(\pi t\right)\text{/}2\right)[/latex] whereas the speed of the tortoise is [latex]T\left(t\right)=\left(1\text{/}2\right){\text{tan}}^{-1}\left(t\text{/}4\right),[/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.

[latex]3.263[/latex] mi represents how far ahead the hare is from the tortoise

The tortoise versus the hare: The speed of the hare is given by the sinusoidal function [latex]H\left(t\right)=\left(1\text{/}2\right)-\left(1\text{/}2\right)\text{cos}\left(2\pi t\right)[/latex] whereas the speed of the tortoise is [latex]T\left(t\right)=\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 [latex]1[/latex] 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?

[latex]y={x}^{2}+2x+1\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=\text{−}{x}^{2}-3x+4[/latex]

[latex]\frac{343}{24}[/latex]

[latex]y={x}^{4}\text{and}\phantom{\rule{0.2em}{0ex}}x={y}^{5}[/latex]

[latex]x={y}^{2}-2\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=2y[/latex]

[latex]4\sqrt{3}[/latex]

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?

This figure is the graph of a circle centered at the origin with radius of 1. There is a circumscribed square around the circle.

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?

This figure is the graph of a circle centered at the origin with radius of 1. There are three lines intersecting the circle. The lines intersect the circle at three points to form a triangle within the circle.

[latex]\pi -\frac{32}{25}[/latex]