Area Between Two Curves Equation Solver with Worked Examples

The area between two curves, where , is . Type “area between y=x and y=x^2” and the solver finds it.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Area between two curves means

Subtract the lower curve from the upper curve and integrate the difference over the interval. The limits are usually the -coordinates where the two curves meet.

Find the intersections by setting and solving.

If the curves cross within the interval, split it and take the positive area in each part. It is the difference of two areas under curves, evaluated with the fundamental theorem of calculus, and the limits come from solving simultaneous equations where the curves meet.

This page is part of Integration in Calculus. Topics that work alongside it: Area under a curve, Fundamental theorem of calculus, Simultaneous equations: linear and quadratic, Integral of 1/x, Integration by substitution, Integral of f′(x)/f(x) and Integral of e^{kx}.

What is it used for?

To find the area between two curves, integrate the upper curve minus the lower curve between the points where they meet.

How to use area between two curves

  1. Find the intersection points.
  2. Decide which curve is on top.
  3. Integrate the top minus the bottom.
  4. Evaluate between the limits.

Graph

Region between y = x and y = x²-0.4-0.200.20.40.60.811.21.41.6-0.200.20.40.60.811.21.41.6Region between y = x and y = x²xyGraph with x from -0.5 to 1.6 and y from -0.3 to 1.6. Shows the curve y = x; the curve y = x^2; a shaded region.

The curves meet at x = 0 and x = 1. The area between them is ∫ from 0 to 1 of (x − x²) dx = 1/2 − 1/3 = 1/6.

Worked examples

The examples marked with a button were worked out by the solver on this page. You can try each one yourself.

Example 1: a line and a parabola

Find the area enclosed between and .

Area between two curves Answer checked
Answer
Area=16\text{Area} = \dfrac{1}{6}
  1. Where the curves meet: set the two equal
  2. Between them, the first curve is on top, so subtract the lower from the upper
  3. Simplify the integrand
  4. Integrate
  5. Substitute the limits: F(1) − F(0)
  6. Check: add up thin strips (numerical integration)
    Counting thin rectangles gives the same area.

Example 2: a parabola and a line

Find the area between y = 2x and y = x².

Area between two curves Answer checked
Answer
Area=43\text{Area} = \dfrac{4}{3}
  1. Where the curves meet: set the two equal
  2. Between them, the first curve is on top, so subtract the lower from the upper
  3. Simplify the integrand
  4. Integrate
  5. Substitute the limits: F(2) − F(0)
  6. Check: add up thin strips (numerical integration)
    Counting thin rectangles gives the same area.

Example 3: two powers

Find the area between y = x² and y = x³.

Area between two curves Answer checked
Answer
Area=112\text{Area} = \dfrac{1}{12}
  1. Where the curves meet: set the two equal
  2. Between them, the first curve is on top, so subtract the lower from the upper
  3. Simplify the integrand
  4. Integrate
  5. Substitute the limits: F(1) − F(0)
  6. Check: add up thin strips (numerical integration)
    Counting thin rectangles gives the same area.

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

A line and a parabola

y = x and y = x² meet at 0 and 1: ∫ (x − x²) dx = 1/2 − 1/3 = 1/6

On [0, 1] the line is above the parabola, so subtract the parabola from the line.

Curves that cross inside the interval

y = x and y = x³ cross at −1, 0 and 1: area = 2 × (1/2 − 1/4) = 1/2

The top curve swaps at x = 0, so split there. By symmetry the two parts are equal.

One curve is the x-axis

g(x) = 0 gives ∫ f(x) dx, the area under a curve

The x-axis is the line y = 0, so subtracting it changes nothing.

Two straight lines

y = 2x and y = x from 0 to 3: ∫ x dx = 9/2

The region is a triangle, and ½ × 3 × 3 = 4.5 confirms it.

The method for y = x and y = x²
StepWhat to doResult
1Find where the curves meetx = x², so x = 0 or x = 1
2Decide which curve is on topx is above x² on (0, 1)
3Integrate the top minus the bottom∫ (x − x²) dx = x²/2 − x³/3
4Substitute the limits1/2 − 1/3 = 1/6

Word problems

Find the intersections, decide which curve is on top, integrate the top minus the bottom between the intersections, and give the area with units.

A lens-shaped pond

A pond is bounded above by y = x and below by y = x², with lengths in metres. Find its area.

  1. Find the intersectionsx = x² gives x = 0 and x = 1
  2. Subtract the lower curve from the upperA = ∫ from 0 to 1 of (x − x²) dx
  3. Integrate and substituteA = [x²/2 − x³/3] = 1/2 − 1/3 = 1/6 m²
  4. Check: at x = 0.5 the gap is 0.5 − 0.25 = 0.25, so the area is below 0.25 ✓The pond has an area of 1/6 ≈ 0.167 m².

A line and a parabola

Find the area between y = 4x − x² and y = x.

  1. Set the curves equal4x − x² = x, so 3x − x² = 0 and x = 0 or x = 3
  2. The parabola is on top (at x = 1: 3 > 1)A = ∫ from 0 to 3 of (3x − x²) dx
  3. Integrate and substituteA = [3x²/2 − x³/3] = 13.5 − 9 = 4.5
  4. Check: the triangle under y = x has area 4.5 and the parabola region is 9, and 9 − 4.5 = 4.5 ✓The area is 4.5 square units.

Two parabolas Higher

Find the area enclosed between y = x² and y = 8 − x².

  1. Find the intersectionsx² = 8 − x² gives x² = 4, so x = −2 and x = 2
  2. The curve 8 − x² is on topA = ∫ from −2 to 2 of (8 − 2x²) dx
  3. Integrate and substituteA = [8x − 2x³/3] = 2 × (16 − 16/3) = 64/3
  4. Check: by symmetry the area is twice the integral from 0 to 2, which is 32/3, and 2 × 32/3 = 64/3 ✓The area is 64/3 ≈ 21.33 square units.

Curves that cross Higher

Find the total area enclosed between y = x³ and y = x.

  1. Find the intersectionsx³ = x gives x = −1, 0 and 1
  2. On (0, 1) the line is on top∫ from 0 to 1 of (x − x³) dx = 1/2 − 1/4 = 1/4
  3. On (−1, 0) the cubic is on top, and the area is the same size1/4
  4. Add the two areas1/4 + 1/4 = 1/2
  5. Check: integrating x − x³ from −1 to 1 gives 0, which is why the parts must be added separately ✓The total area is 1/2 square unit.

Common mistakes

Subtracting the wrong way round

∫ from 0 to 1 of (x² − x) dx = −1/6 ✗

∫ from 0 to 1 of (x − x²) dx = 1/6 ✓

Take the lower curve away from the upper curve. A negative area means you subtracted the wrong way.

Not using the intersections as limits

limits 0 and 2 for y = x and y = x²: ∫ (x − x²) = −2/3 ✗

the curves meet at 0 and 1, so use 0 to 1 ✓

The region is enclosed only between the points where the curves meet.

Not checking which curve is on top

y = 4x − x² and y = x on (0, 3): ∫ (x − (4x − x²)) = −4.5 ✗

∫ ((4x − x²) − x) = 4.5 ✓

Test a value inside the interval. At x = 1 the parabola gives 3 and the line gives 1.

Forgetting to split where the curves cross

∫ from −1 to 1 of (x − x³) dx = 0 ✗

2 × 1/4 = 1/2 ✓

The top curve changes at x = 0, so the two parts cancel unless you add their sizes.

Subtracting the wrong things

(∫ 4x − x²) × (∫ x) = 9 × 4.5 = 40.5 ✗

∫ (4x − x²) − ∫ x = 9 − 4.5 = 4.5 ✓

Subtract the areas, do not multiply them.

Leaving out the units

A = 1/6 ✗

A = 1/6 m² ✓

Area needs square units.

Exam tips

  1. Sketch both curves and mark the intersections.
  2. Solve f(x) = g(x) to get the limits.
  3. Test a point between the limits to see which curve is on top.
  4. Integrate the difference top minus bottom, then substitute the limits.
  5. Split at crossings inside the interval and add the positive areas. See area under a curve.
  6. Check the size against a simple shape such as a triangle or a rectangle drawn around the region.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. Find the area between y = 2x and y = x² (they meet at x = 0 and x = 2) Foundation

∫ from 0 to 2 of (2x − x²) dx = [x² − x³/3] = 4 − 8/3 = 4/3 ≈ 1.33

2. Find the area between y = x² and y = 4 Foundation

The curves meet at x = ±2: ∫ from −2 to 2 of (4 − x²) dx = 32/3 ≈ 10.67

3. Find the area between y = x² and y = x³ from x = 0 to x = 1 Foundation

∫ (x² − x³) dx = 1/3 − 1/4 = 1/12 ≈ 0.083

4. Find the area between y = 9 − x² and the x-axis Foundation

The roots are x = ±3: [9x − x³/3] from −3 to 3 = 36

5. Find the area between y = x² and y = 2x + 3 (they meet at x = −1 and x = 3) Higher

∫ from −1 to 3 of (2x + 3 − x²) dx = [x² + 3x − x³/3] = 32/3 ≈ 10.67

6. Find the area between y = √x and y = x from x = 0 to x = 1 Higher

∫ (√x − x) dx = 2/3 − 1/2 = 1/6 ≈ 0.167

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Intersection
A point where two curves meet. Its x-values give the limits of the integral.
Upper curve
The curve with the larger y-value between the limits.
Lower curve
The curve with the smaller y-value between the limits.
Enclosed region
The area completely surrounded by the two curves.
Definite integral
An integral with limits, which gives a number.
Limits
The x-values where the integral starts and ends.
Symmetry
When one half of a region is a mirror image of the other, so you can double one half.
Difference of functions
f(x) − g(x), the vertical gap between the curves.

Frequently asked questions

How do you find the area between two curves?

Integrate the upper curve minus the lower curve between the x-values where they meet: A = ∫ (f(x) − g(x)) dx.

How do you find the limits?

Set the two equations equal and solve for x. For y = x and y = x² the limits are x = 0 and x = 1.

What is the area between y = x and y = x²?

A = ∫ from 0 to 1 of (x − x²) dx = 1/2 − 1/3 = 1/6.

What if one curve is the x-axis?

Then g(x) = 0 and the formula reduces to the area under a curve. See area under a curve.

What if the curves cross between the limits?

Split the interval at each crossing, take the positive area in each part and add them.

Do I need the fundamental theorem of calculus?

Yes, it lets you evaluate the integral by subtracting an antiderivative at the limits. See the fundamental theorem of calculus.

More in Calculus and the formula sheets.