Achievable logoAchievable logo
AP Calculus AB
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Limits
2. Derivative basics
3. Advanced differentiation
4. Contextual uses
5. Analytical uses
6. Integration
7. Differential equations
8. Applications of integrals
8.1 Average value of a function
8.2 Motion with integrals
8.3 Area between curves
8.4 Volume
9. Testing details tag
Wrapping up
Achievable logoAchievable logo
8.3 Area between curves
Achievable AP Calculus AB
8. Applications of integrals
Our AP Calculus AB course is currently in development and is a work-in-progress.

Area between curves

8 min read
Font
Discuss
Share
Feedback

What you’ll learn:

  • How to use definite integrals to find the area between two curves
  • When to integrate with respect to x or y
  • Handling curves that intersect multiple times

Recall that a definite integral can represent area under a curve. To find the area between two curves, picture the region sliced into many thin rectangles. The height of each rectangle will be the distance, or difference, between the two functions.

  • If the slices are vertical (parallel to the y-axis), integrate with respect to x.

  • If the slices are horizontal (parallel to the x-axis), integrate with respect to y.

Vertical slices

If f(x) is always above g(x) for all x on the interval [a,b], then

Area=∫ab​(f(x)−g(x))dx

In other words, when you integrate with respect to x:

A=∫ab​(Top function - bottom function)dx

Examples

Often, you must first find intersection points to integrate over the the correct interval(s).

  1. Find the area of the region bounded by y=x2 and y=x+2.

Solution

Find where the two curves intersect by setting them equal:

x2=x+2

x2−x−2=0

(x+1)(x−2)=0

x=−1,2

On the interval −1<x<2, the line y=x+2 lies above the parabola y=x2. So the integral set-up for the area is

A=∫−12​((x+2)−x2)dx

Evaluating,

A=(2x2​+2x−3x3​)​−12​

=29​​

AP tip:

The area of a region bounded by two curves is always positive (not a net signed area). If you get a negative value, re-check which function is on top.

  1. Find the area of the region bounded above by the curves y=x3 and y=2−x and below by y=x2−2x.

Solution

(spoiler)

Identify the region described in the problem:

Using vertical slices to find the area of a region
Using vertical slices to find the area of a region

This region must be split into 2 integrals:

  1. Blue: On the interval [0,1], the function y=x3 is above y=x2−2x.

  2. Green: On the interval [1,2], the function y=2−x is above y=x2−2x.

So the set-up for the total area is

∫01​(x3−(x2−2x))dx+∫12​((2−x)−(x2−2x))dx

Integrate and evaluate separately (or use Desmos) for the area of

A=1225​​

Horizontal slices

Sometimes it’s simpler to slice the region into horizontal rectangles and integrate with respect to y. For example, consider the region bounded by

x=y2

y=−x+2

Using horizontal slices to find the area would be easier
Using horizontal slices to find the area would be easier

If you try to use vertical slices here, the “top” and “bottom” functions change partway through:

  • From x=0 to x=1, the region is bounded only by the parabola x=y2. Written as y-functions, the top curve is y=x​ and the bottom curve is y=−x​.

  • From x=1 to x=4, the top curve is the line y=−x+2, while the bottom curve is still y=−x​.

You could set up the area using x like this:

∫01​(x​−(−x​))dx+∫14​(−x+2−(−x​))dx

But that setup is messy. This split can be avoided by using horizontal slices.

Given two curves x=f(y) and x=g(y) where f(y)≥g(y) for all y in [c,d],

Area=∫y=cy=d​(f(y)−g(y))dy

When you integrate with respect to y, think:

A=∫cd​(Right function - left function)dy

Examples

Let’s redo the problem presented above.

  1. Find the area of the region bounded by x=y2 and y=−x+2.

Solution

Rewrite y=−x+2 as a function of y (i.e. solve for x):

x=2−y

From the graph, x=2−y is the right-hand curve and x=y2 is the left-hand curve. Now find the intersection points:

2−y=y2

y2+y−2=0

(y−1)(y+2)=0

y=1,−2

So we integrate from y=−2 to y=1:

∫−21​((2−y)−y2)dy

=29​​

  1. Let R be the region bounded below by the x-axis and above by the curves y=x1​−1 and y=2x.

Find the area of R in two ways:

a) Vertical slices

b) Horizontal slices

Solutions

a) Vertical slices

(spoiler)

Region R is as shown:

Region R
Region R

The curve y=x1​−1 intersects the x-axis at

x1​−1=0

x1​=1

x=1

The line y=2x crosses the x-axis at x=0.

Now find where the curve and the line intersect:

x1​−1=2x

1−x=2x2

2x2+x−1=0

(x+1)(2x−1)=0

x=−1,0.5

Only x=0.5 is part of region R.

Using vertical slices (integrating with respect to x), split the region at x=0.5:

A=∫00.5​(2x)dx+∫0.51​(x1​−1)dx

=x2​00.5​+[ln(x)−x]​0.51​

=[(0.5)2−02]+[(ln(1)−1)−(ln(0.5)−0.5)]

≈0.443​

b) Horizontal slices

(spoiler)

Rewrite both functions in terms of y:

  1. Line y=2x becomes x=21​y (this is the left function).
  2. Rational function y=x1​−1 becomes

y=x1​−1

y+1=x1​

x(y+1)=1

x=y+11​

The x-axis is y=0, so it’s the lower bound. The upper bound is the y-value where the line and curve meet.

From the vertical-slice work, the two curves intersect at x=0.5. Plugging into y=2x gives y=1 as the upper bound.

So the area is

∫01​(y+11​−21​y)dy

=ln∣y+1∣−41​y2​01​

=[ln(2)−41​(1)2)]−[ln(1)−41​(0)2]

≈0.443

Multiple intersection points

Over an interval, functions can switch roles: a curve that starts on top may end up on the bottom (or a left curve may become the right curve). When that happens, split the integral at each intersection point.

Find the area of the region bounded by y=sin(x) and y=cos(x) from x=0 to x=π.

Solution

Here’s the region:

Switching top and bottom
Switching top and bottom

On the interval [0,π], the curves meet at x=4π​.

  • On [0,4π​], cos(x) is above sin(x).

  • On [4π​,π], sin(x) is above cos(x).

So the area is split into two integrals:

∫0π/4​(cos(x)−sin(x))dx+∫π/4π​(sin(x)−cos(x))dx

=(sin(x)+cos(x))​0π/4​+(−cos(x)−sin(x))​π/4π​

[(22​​+22​​)−(0+1)]+[(1−0)−(−22​​−22​​)]

=22​​

On a calculator-allowed problem, you can also find the area by typing a single integral with an absolute value:

∫0π​∣sin(x)−cos(x)∣dx

Area between two curves: basics

  • Area = definite integral of (top function - bottom function) over interval
  • For vertical slices: integrate with respect to x
  • For horizontal slices: integrate with respect to y

Vertical slices

  • Area formula: ∫ab​(f(x)−g(x))dx
  • “Top” function minus “bottom” function on [a,b]
  • Always use positive area (if negative, switch order)

Finding intersection points

  • Set curves equal to find limits of integration
  • Split integral if curves intersect multiple times

Horizontal slices

  • Use when region is easier to describe with y
  • Area formula: ∫cd​(f(y)−g(y))dy
    • f(y) = right function, g(y) = left function

Multiple intersection points

  • Functions may switch roles (top/bottom or left/right)
  • Split integral at each intersection point
  • Alternatively, use ∫∣difference∣dx for total area

General strategies

  • Choose vertical or horizontal slices based on region shape
  • Always check which function is on top/right in each interval
  • For complicated regions, break into sub-intervals and sum areas

Sign up for free to take 6 quiz questions on this topic

All rights reserved ©2016 - 2026 Achievable, Inc.

Area between curves

What you’ll learn:

  • How to use definite integrals to find the area between two curves
  • When to integrate with respect to x or y
  • Handling curves that intersect multiple times

Recall that a definite integral can represent area under a curve. To find the area between two curves, picture the region sliced into many thin rectangles. The height of each rectangle will be the distance, or difference, between the two functions.

  • If the slices are vertical (parallel to the y-axis), integrate with respect to x.

  • If the slices are horizontal (parallel to the x-axis), integrate with respect to y.

Vertical slices

If f(x) is always above g(x) for all x on the interval [a,b], then

Area=∫ab​(f(x)−g(x))dx

In other words, when you integrate with respect to x:

A=∫ab​(Top function - bottom function)dx

Examples

Often, you must first find intersection points to integrate over the the correct interval(s).

  1. Find the area of the region bounded by y=x2 and y=x+2.

Solution

Find where the two curves intersect by setting them equal:

x2=x+2

x2−x−2=0

(x+1)(x−2)=0

x=−1,2

On the interval −1<x<2, the line y=x+2 lies above the parabola y=x2. So the integral set-up for the area is

A=∫−12​((x+2)−x2)dx

Evaluating,

A=(2x2​+2x−3x3​)​−12​

=29​​

AP tip:

The area of a region bounded by two curves is always positive (not a net signed area). If you get a negative value, re-check which function is on top.

  1. Find the area of the region bounded above by the curves y=x3 and y=2−x and below by y=x2−2x.

Solution

(spoiler)

Identify the region described in the problem:

This region must be split into 2 integrals:

  1. Blue: On the interval [0,1], the function y=x3 is above y=x2−2x.

  2. Green: On the interval [1,2], the function y=2−x is above y=x2−2x.

So the set-up for the total area is

∫01​(x3−(x2−2x))dx+∫12​((2−x)−(x2−2x))dx

Integrate and evaluate separately (or use Desmos) for the area of

A=1225​​

Horizontal slices

Sometimes it’s simpler to slice the region into horizontal rectangles and integrate with respect to y. For example, consider the region bounded by

x=y2

y=−x+2

If you try to use vertical slices here, the “top” and “bottom” functions change partway through:

  • From x=0 to x=1, the region is bounded only by the parabola x=y2. Written as y-functions, the top curve is y=x​ and the bottom curve is y=−x​.

  • From x=1 to x=4, the top curve is the line y=−x+2, while the bottom curve is still y=−x​.

You could set up the area using x like this:

∫01​(x​−(−x​))dx+∫14​(−x+2−(−x​))dx

But that setup is messy. This split can be avoided by using horizontal slices.

Given two curves x=f(y) and x=g(y) where f(y)≥g(y) for all y in [c,d],

Area=∫y=cy=d​(f(y)−g(y))dy

When you integrate with respect to y, think:

A=∫cd​(Right function - left function)dy

Examples

Let’s redo the problem presented above.

  1. Find the area of the region bounded by x=y2 and y=−x+2.

Solution

Rewrite y=−x+2 as a function of y (i.e. solve for x):

x=2−y

From the graph, x=2−y is the right-hand curve and x=y2 is the left-hand curve. Now find the intersection points:

2−y=y2

y2+y−2=0

(y−1)(y+2)=0

y=1,−2

So we integrate from y=−2 to y=1:

∫−21​((2−y)−y2)dy

=29​​

  1. Let R be the region bounded below by the x-axis and above by the curves y=x1​−1 and y=2x.

Find the area of R in two ways:

a) Vertical slices

b) Horizontal slices

Solutions

a) Vertical slices

(spoiler)

Region R is as shown:

The curve y=x1​−1 intersects the x-axis at

x1​−1=0

x1​=1

x=1

The line y=2x crosses the x-axis at x=0.

Now find where the curve and the line intersect:

x1​−1=2x

1−x=2x2

2x2+x−1=0

(x+1)(2x−1)=0

x=−1,0.5

Only x=0.5 is part of region R.

Using vertical slices (integrating with respect to x), split the region at x=0.5:

A=∫00.5​(2x)dx+∫0.51​(x1​−1)dx

=x2​00.5​+[ln(x)−x]​0.51​

=[(0.5)2−02]+[(ln(1)−1)−(ln(0.5)−0.5)]

≈0.443​

b) Horizontal slices

(spoiler)

Rewrite both functions in terms of y:

  1. Line y=2x becomes x=21​y (this is the left function).
  2. Rational function y=x1​−1 becomes

y=x1​−1

y+1=x1​

x(y+1)=1

x=y+11​

The x-axis is y=0, so it’s the lower bound. The upper bound is the y-value where the line and curve meet.

From the vertical-slice work, the two curves intersect at x=0.5. Plugging into y=2x gives y=1 as the upper bound.

So the area is

∫01​(y+11​−21​y)dy

=ln∣y+1∣−41​y2​01​

=[ln(2)−41​(1)2)]−[ln(1)−41​(0)2]

≈0.443

Multiple intersection points

Over an interval, functions can switch roles: a curve that starts on top may end up on the bottom (or a left curve may become the right curve). When that happens, split the integral at each intersection point.

Find the area of the region bounded by y=sin(x) and y=cos(x) from x=0 to x=π.

Solution

Here’s the region:

On the interval [0,π], the curves meet at x=4π​.

  • On [0,4π​], cos(x) is above sin(x).

  • On [4π​,π], sin(x) is above cos(x).

So the area is split into two integrals:

∫0π/4​(cos(x)−sin(x))dx+∫π/4π​(sin(x)−cos(x))dx

=(sin(x)+cos(x))​0π/4​+(−cos(x)−sin(x))​π/4π​

[(22​​+22​​)−(0+1)]+[(1−0)−(−22​​−22​​)]

=22​​

On a calculator-allowed problem, you can also find the area by typing a single integral with an absolute value:

∫0π​∣sin(x)−cos(x)∣dx

Key points

Area between two curves: basics

  • Area = definite integral of (top function - bottom function) over interval
  • For vertical slices: integrate with respect to x
  • For horizontal slices: integrate with respect to y

Vertical slices

  • Area formula: ∫ab​(f(x)−g(x))dx
  • “Top” function minus “bottom” function on [a,b]
  • Always use positive area (if negative, switch order)

Finding intersection points

  • Set curves equal to find limits of integration
  • Split integral if curves intersect multiple times

Horizontal slices

  • Use when region is easier to describe with y
  • Area formula: ∫cd​(f(y)−g(y))dy
    • f(y) = right function, g(y) = left function

Multiple intersection points

  • Functions may switch roles (top/bottom or left/right)
  • Split integral at each intersection point
  • Alternatively, use ∫∣difference∣dx for total area

General strategies

  • Choose vertical or horizontal slices based on region shape
  • Always check which function is on top/right in each interval
  • For complicated regions, break into sub-intervals and sum areas