Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Calculus Volume 2

2.1 Areas between Curves

Calculus Volume 22.1 Areas between Curves

Learning Objectives

  • 2.1.1 Determine the area of a region between two curves by integrating with respect to the independent variable.
  • 2.1.2 Find the area of a compound region.
  • 2.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,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.y.

Area of a Region between Two Curves

Let f(x)f(x) and g(x)g(x) be continuous functions over an interval [a,b][a,b] such that f(x)g(x)f(x)g(x) on [a,b].[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 2.2 The area between the graphs of two functions, f(x)f(x) and g(x),g(x), on the interval [a,b].[a,b].

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

Media

Use this calculator 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 2.3 (a)We can approximate the area between the graphs of two functions, f(x)f(x) and g(x),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(xi*)g(xi*)f(xi*)g(xi*) and the width of each rectangle is Δx.Δx. Adding the areas of all the rectangles, we see that the area between the curves is approximated by

Ai=1n[f(xi*)g(xi*)]Δx.Ai=1n[f(xi*)g(xi*)]Δx.

This is a Riemann sum, so we take the limit as nn and we get

A=limni=1n[f(xi*)g(xi*)]Δx=ab[f(x)g(x)]dx.A=limni=1n[f(xi*)g(xi*)]Δx=ab[f(x)g(x)]dx.

These findings are summarized in the following theorem.

Theorem 2.1

Finding the Area between Two Curves

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

A=ab[f(x)g(x)]dx.A=ab[f(x)g(x)]dx.
(2.1)

We apply this theorem in the following example.

Example 2.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+4f(x)=x+4 and below by the graph of the function g(x)=3x2g(x)=3x2 over the interval [1,4],[1,4], find the area of region R.R.

Checkpoint 2.1

If RR is the region bounded by the graphs of the functions f(x)=x2+5f(x)=x2+5 and g(x)=x+12g(x)=x+12 over the interval [1,5],[1,5], find the area of region R.R.

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

Finding the Area of a Region between Two Curves 2

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

Checkpoint 2.2

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

Areas of Compound Regions

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

Finding the Area of a Region between Curves That Cross

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

A=ab|f(x)g(x)|dx.A=ab|f(x)g(x)|dx.

In practice, applying this theorem requires us to break up the interval [a,b][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 2.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)=sinxf(x)=sinx and g(x)=cosxg(x)=cosx over the interval [0,π],[0,π], find the area of region R.R.

Checkpoint 2.3

If R is the region between the graphs of the functions f(x)=sinxf(x)=sinx and g(x)=cosxg(x)=cosx over the interval [π/2,2π],[π/2,2π], find the area of region R.R.

Example 2.4

Finding the Area of a Complex Region

Consider the region depicted in Figure 2.7. Find the area of R.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 2.7 Two integrals are required to calculate the area of this region.

Checkpoint 2.4

Consider the region depicted in the following figure. Find the area of R.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.

Regions Defined with Respect to y

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

Let u(y)u(y) and v(y)v(y) be continuous functions over an interval [c,d][c,d] such that u(y)v(y)u(y)v(y) for all y[c,d].y[c,d]. We want to find the area between the graphs of the functions, as shown in the following figure.

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.
Figure 2.8 We can find the area between the graphs of two functions, u(y)u(y) and v(y).v(y).

This time, we are going to partition the interval on the y-axisy-axis and use horizontal rectangles to approximate the area between the functions. So, for i=0,1,2,…,n,i=0,1,2,…,n, let Q={yi}Q={yi} be a regular partition of [c,d].[c,d]. Then, for i=1,2,…,n,i=1,2,…,n, choose a point yi*[yi1,yi],yi*[yi1,yi], then over each interval [yi1,yi][yi1,yi] construct a rectangle that extends horizontally from v(yi*)v(yi*) to u(yi*).u(yi*). Figure 2.9(a) shows the rectangles when yi*yi* is selected to be the lower endpoint of the interval and n=10.n=10. Figure 2.9(b) shows a representative rectangle in detail.

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.
Figure 2.9 (a) Approximating the area between the graphs of two functions, u(y)u(y) and v(y),v(y), with rectangles. (b) The area of a typical rectangle.

The height of each individual rectangle is ΔyΔy and the width of each rectangle is u(yi*)v(yi*).u(yi*)v(yi*). Therefore, the area between the curves is approximately

Ai=1n[u(yi*)v(yi*)]Δy.Ai=1n[u(yi*)v(yi*)]Δy.

This is a Riemann sum, so we take the limit as n,n, obtaining

A=limni=1n[u(yi*)v(yi*)]Δy=cd[u(y)v(y)]dy.A=limni=1n[u(yi*)v(yi*)]Δy=cd[u(y)v(y)]dy.

These findings are summarized in the following theorem.

Theorem 2.3

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

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

A=cd[u(y)v(y)]dy.A=cd[u(y)v(y)]dy.
(2.2)

Example 2.5

Integrating with Respect to y

Let’s revisit Example 2.4, only this time let’s integrate with respect to y.y. Let RR be the region depicted in Figure 2.10. Find the area of RR by integrating with respect to y.y.

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

Checkpoint 2.5

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

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.

Section 2.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-axis.x-axis.

1.

y = x 2 3 and y = 1 y = x 2 3 and y = 1

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

y = x 2 and y = 3 x + 4 y = x 2 and y = 3 x + 4

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 x-axis.x-axis. Note that you will have two integrals to solve.

3.

y=x3y=x3 and y=x2+xy=x2+x

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).
4.

y=cosθy=cosθ and y=0.5,y=0.5, for 0θπ0θπ

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

For the following exercises, determine the area of the region between the two curves by integrating over the y-axis.y-axis.

5.

x = y 2 and x = 9 x = y 2 and x = 9

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

y = x and x = y 2 y = x and x = y 2

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 x-axis.x-axis.

7.

y = x 2 and y = x 2 + 18 x y = x 2 and y = x 2 + 18 x

8.

y = 1 x , y = 1 x 2 , and x = 3 y = 1 x , y = 1 x 2 , and x = 3

9.

y=cosxy=cosx and y=cos2xy=cos2x on x=[π,π]x=[π,π]

10.

y = e x , y = e 2 x 1 , and x = 0 y = e x , y = e 2 x 1 , and x = 0

11.

y = e x , y = e x , x = −1 and x = 1 y = e x , y = e x , x = −1 and x = 1

12.

y = e , y = e x , and y = e x y = e , y = e x , and y = e x

13.

y = | x | and y = x 2 y = | x | and y = x 2

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.

y = sin ( π x ) , y = 2 x , and x > 0 y = sin ( π x ) , y = 2 x , and x > 0

15.

y = 12 x , y = x , and y = 1 y = 12 x , y = x , and y = 1

16.

y=sinxy=sinx and y=cosxy=cosx over x=[π,π]x=[π,π]

17.

y=x3andy=x22xy=x3andy=x22x over x=[−1,1]x=[−1,1]

18.

y=x2+9andy=10+2xy=x2+9andy=10+2x over x=[−1,3]x=[−1,3]

19.

y=x3+3xy=x3+3x and y=4xy=4x

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-axis.y-axis.

20.

x = y 3 and x = 3 y 2 x = y 3 and x = 3 y 2

21.

x = 2 y and x = y 3 y x = 2 y and x = y 3 y

22.

x = −3 + y 2 and x = y y 2 x = −3 + y 2 and x = y y 2

23.

y 2 = x and x = y + 2 y 2 = x and x = y + 2

24.

x = | y | and 2 x = y 2 + 2 x = | y | and 2 x = y 2 + 2

25.

x = sin y , x = cos ( 2 y ) , y = π / 2 , and y = π / 2 x = sin y , x = cos ( 2 y ) , y = π / 2 , and 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-axis or y-axis, whichever seems more convenient.

26.

x = y 4 and x = y 5 x = y 4 and x = y 5

27.

y = x e x , y = e x , x = 0 , and x = 1 y = x e x , y = e x , x = 0 , and x = 1

28.

y = x 6 and y = x 4 y = x 6 and y = x 4

29.

x = y 3 + 2 y 2 + 1 and x = y 2 + 1 x = y 3 + 2 y 2 + 1 and x = y 2 + 1

30.

y = | x | and y = x 2 1 y = | x | and y = x 2 1

31.

y = 4 3 x and y = 1 x y = 4 3 x and y = 1 x

32.

y = sin x , x = π / 6 , x = π / 6 , and y = cos 3 x y = sin x , x = π / 6 , x = π / 6 , and y = cos 3 x

33.

y = x 2 3 x + 2 and y = x 3 2 x 2 x + 2 y = x 2 3 x + 2 and y = x 3 2 x 2 x + 2

34.

y = 2 cos 3 ( 3 x ) , y = −1 , x = π 4 , and x = π 4 y = 2 cos 3 ( 3 x ) , y = −1 , x = π 4 , and x = π 4

35.

y + y 3 = x and 2 y = x y + y 3 = x and 2 y = x

36.

y = 1 x 2 and y = x 2 1 y = 1 x 2 and y = x 2 1

37.

y = cos −1 x , y = sin −1 x , x = −1 , and x = 1 y = cos −1 x , y = sin −1 x , x = −1 , and 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.

38.

[T] x=eyandy=x2x=eyandy=x2

39.

[T] y=x2andy=1x2y=x2andy=1x2

40.

[T] y=3x2+8x+9and3y=x+24y=3x2+8x+9and3y=x+24

41.

[T] x=4y2andy2=1+x2x=4y2andy2=1+x2

42.

[T] x2=y3andx=3yx2=y3andx=3y

43.

[T] y=sin3x+2,y=tanx,x=−1.5,andx=1.5y=sin3x+2,y=tanx,x=−1.5,andx=1.5

44.

[T] y=1x2andy2=x2y=1x2andy2=x2

45.

[T] y=1x2andy=x2+2x+1y=1x2andy=x2+2x+1

46.

[T] x=4y2andx=1+3y+y2x=4y2andx=1+3y+y2

47.

[T] y=cosx,y=ex,x=π,andx=0y=cosx,y=ex,x=π,andx=0

48.

The largest triangle with a base on the x-axisx-axis that fits inside the upper half of the unit circle y2+x2=1y2+x2=1 is given by y=1+xy=1+x and y=1x.y=1x. 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.
49.

A factory selling cell phones has a marginal cost function C(x)=0.01x23x+229,C(x)=0.01x23x+229, where xx represents the number of cell phones, and a marginal revenue function given by R(x)=4292x.R(x)=4292x. Find the area between the graphs of these curves and x=0.x=0. What does this area represent?

50.

An amusement park has a marginal cost function C(x)=1000ex+5,C(x)=1000ex+5, where xx represents the number of tickets sold, and a marginal revenue function given by R(x)=600.1x.R(x)=600.1x. Find the total profit generated when selling 550550 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 H(t)=1cos((πt)/2)H(t)=1cos((πt)/2) whereas the speed of the tortoise is T(t)=(1/2)tan−1(t/4),T(t)=(1/2)tan−1(t/4), where tt is time measured in hours and the speed is measured in miles per hour. Find the area between the curves from time t=0t=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.

52.

The tortoise versus the hare: The speed of the hare is given by the sinusoidal function H(t)=(1/2)(1/2)cos(2πt)H(t)=(1/2)(1/2)cos(2πt) whereas the speed of the tortoise is T(t)=t,T(t)=t, where tt is time measured in hours and speed is measured in kilometers per hour. If the race is over in 11 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 xx and then with respect to y.y. Is one method easier than the other? Do you obtain the same answer?

53.

y = x 2 + 2 x + 1 and y = x 2 3 x + 4 y = x 2 + 2 x + 1 and y = x 2 3 x + 4

54.

y = x 4 and x = y 5 y = x 4 and x = y 5

55.

x = y 2 2 and x = 2 y x = y 2 2 and x = 2 y

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?

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

Find the area between the perimeter of the unit circle and the triangle created from y=2x+1,y=12xy=2x+1,y=12x and y=35,y=35, 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.
Order a print copy

As an Amazon Associate we earn from qualifying purchases.

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/calculus-volume-2/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/calculus-volume-2/pages/1-introduction
Citation information

© Feb 5, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.