Area Between Two Curves: Formula & Examples

#Calculus
TL;DR
The area between two curves is the size of the region trapped between them, found by integrating the gap. When one curve stays above the other on [a,b][a, b], the area is ∫ab(top−bottom),dx\int_a^b \big(\text{top} - \text{bottom}\big),dx, and the two intersection points give the bounds aa and bb. If the curves are easier to write as functions of yy, integrate ∫cd(right−left),dy\int_c^d \big(\text{right} - \text{left}\big),dy instead, and if the curves cross inside the interval, split the integral at each crossing (or integrate the absolute value ∣f−g∣\lvert f - g\rvert) so every piece stays positive.
BT
Bhanzu TeamLast updated on September 27, 202613 min read

What Is The Area Between Two Curves?

The area between two curves is the area of the region enclosed between the graphs of two functions over an interval. If f(x)≥g(x)f(x) \ge g(x) for every xx in [a,b][a, b], meaning the graph of ff sits on top and the graph of gg sits below, then the area of the region between them is:

A=∫ab[,f(x)−g(x),],dxA = \int_a^b \big[,f(x) - g(x),\big],dx

The idea is a single definite integral built from thin vertical rectangles. Each representative rectangle has width dxdx and height equal to the vertical gap f(x)−g(x)f(x) - g(x), so its area is [f(x)−g(x)],dx\big[f(x) - g(x)\big],dx. Adding up every rectangle from x=ax = a to x=bx = b is exactly what the integral does. This is the same accumulation idea as the area under a curve, except the baseline is a second curve instead of the xx-axis.

Two facts make the formula reliable:

  • Height is always top minus bottom. Writing f(x)−g(x)f(x) - g(x) with the upper curve first keeps every rectangle height positive, so the integral returns a genuine area rather than a signed value.

  • The bounds are the intersection points. The region usually starts and ends where the two curves meet, so the limits aa and bb come from solving f(x)=g(x)f(x) = g(x).

How Do You Find The Bounds From Intersection Points?

The interval of integration is rarely handed to you. It comes from finding where the two curves cross, because those crossings are the left and right edges of the enclosed region.

Set the two functions equal and solve:

f(x)=g(x)f(x) = g(x)

The solutions are the xx-coordinates of the intersection points, and they become the limits aa and bb. For a line and a parabola this is a quadratic equation; for two curves it may be any equation you can solve. If more than two solutions appear, the curves cross more than once, and each pair of neighbouring crossings bounds a separate piece of the region.

Once you have the crossings, run a quick test point between them to see which curve is on top. Pick any xx inside the interval, evaluate both functions, and the larger value is the top curve for that stretch. That one check decides the order f−gf - g and protects you from a negative answer.

How Do You Integrate Top Minus Bottom? (Worked Examples)

Each example is fully stepped, and every definite integral is checked by differentiating the antiderivative F(x)F(x) back to the integrand, so F′(x)F'(x) returns the height function.

Example 1: A line above a parabola.

Find the area between y=2xy = 2x and y=x2y = x^2.

First, the intersection points. Set the curves equal:

2x=x2  ⟹  x2−2x=0  ⟹  x(x−2)=02x = x^2 \implies x^2 - 2x = 0 \implies x(x - 2) = 0

So the curves meet at x=0x = 0 and x=2x = 2; these are the bounds. Test x=1x = 1: the line gives 2(1)=22(1) = 2 and the parabola gives 12=11^2 = 1, so the line y=2xy = 2x is the top curve on [0,2][0, 2]. The area is:

A=∫02[,2x−x2,],dx=[,x2−x33,]02=(4−83)−0=43A = \int_0^2 \big[,2x - x^2,\big],dx = \left[,x^2 - \frac{x^3}{3},\right]_0^2 = \left(4 - \frac{8}{3}\right) - 0 = \frac{4}{3}

Check: F(x)=x2−x33F(x) = x^2 - \dfrac{x^3}{3} gives F′(x)=2x−x2F'(x) = 2x - x^2, the height function, so the antiderivative is correct.

Final answer: A=43A = \dfrac{4}{3} square units.

Example 2: Curves that cross, using a split integral.

Find the total area enclosed between y=x3y = x^3 and y=xy = x from x=−1x = -1 to x=1x = 1.

Solve x3=xx^3 = x: this gives x3−x=0x^3 - x = 0, so x(x−1)(x+1)=0x(x-1)(x+1) = 0 and the curves meet at x=−1x = -1, x=0x = 0, and x=1x = 1. The extra crossing at x=0x = 0 warns that the top curve swaps partway through, so a single ∫(f−g)\int (f - g) would let positive and negative pieces cancel. Test one point in each subinterval:

  • On [−1,0][-1, 0], take x=−12x = -\tfrac{1}{2}: x3=−18x^3 = -\tfrac{1}{8} and x=−12x = -\tfrac{1}{2}, so x3x^3 is on top.

  • On [0,1][0, 1], take x=12x = \tfrac{1}{2}: x3=18x^3 = \tfrac{1}{8} and x=12x = \tfrac{1}{2}, so xx is on top.

Split the integral at the crossing and keep each piece as top minus bottom:

A=∫−10[,x3−x,],dx+∫01[,x−x3,],dxA = \int_{-1}^{0} \big[,x^3 - x,\big],dx + \int_{0}^{1} \big[,x - x^3,\big],dx

$$= \left[\frac{x^4}{4} - \frac{x^2}{2}\right]{-1}^{0} + \left[\frac{x^2}{2} - \frac{x^4}{4}\right]{0}^{1} = \frac{1}{4} + \frac{1}{4} = \frac{1}{2}$$

Check: F1′(x)=x3−xF_1'(x) = x^3 - x and F2′(x)=x−x3F_2'(x) = x - x^3, each matching its piece. Splitting is the same as integrating ∣x3−x∣\lvert x^3 - x\rvert, which is what the absolute-value form ∫∣f−g∣,dx\int \lvert f - g\rvert,dx means in practice.

Final answer: A=12A = \dfrac{1}{2} square unit.

Example 3: A trigonometric region.

Find the area between y=sin⁡xy = \sin x and y=cos⁡xy = \cos x from x=π4x = \tfrac{\pi}{4} to x=5π4x = \tfrac{5\pi}{4}.

Between these limits sin⁡x≥cos⁡x\sin x \ge \cos x (at x=π2x = \tfrac{\pi}{2}, sin⁡=1\sin = 1 and cos⁡=0\cos = 0), so the height is sin⁡x−cos⁡x\sin x - \cos x. An antiderivative is F(x)=−cos⁡x−sin⁡xF(x) = -\cos x - \sin x:

A=∫π/45π/4[,sin⁡x−cos⁡x,],dx=[,−cos⁡x−sin⁡x,]π/45π/4A = \int_{\pi/4}^{5\pi/4} \big[,\sin x - \cos x,\big],dx = \Big[,-\cos x - \sin x,\Big]_{\pi/4}^{5\pi/4}

At x=5π4x = \tfrac{5\pi}{4}: −(−22)−(−22)=2-\left(-\tfrac{\sqrt{2}}{2}\right) - \left(-\tfrac{\sqrt{2}}{2}\right) = \sqrt{2}. At x=π4x = \tfrac{\pi}{4}: −22−22=−2-\tfrac{\sqrt{2}}{2} - \tfrac{\sqrt{2}}{2} = -\sqrt{2}. So A=2−(−2)=22A = \sqrt{2} - (-\sqrt{2}) = 2\sqrt{2}.

Check: F′(x)=sin⁡x−cos⁡xF'(x) = \sin x - \cos x, the integrand, so the evaluation is valid.

Final answer: A=22≈2.8284A = 2\sqrt{2} \approx 2.8284 square units. Setting these bounds needs the integration of trigonometric functions.

When Should You Integrate With Respect To Y?

Sometimes the region is bounded by curves that are simple functions of yy but awkward as functions of xx. A sideways parabola x=y2x = y^2 is not a single function of xx, because each xx has two yy-values. In that case, turn the picture on its side: use horizontal rectangles of height dydy and width equal to the horizontal gap between the two curves.

If u(y)≥v(y)u(y) \ge v(y) for every yy in [c,d][c, d], meaning uu is the right-hand curve and vv is the left-hand curve, the area is:

A=∫cd[,u(y)−v(y),],dyA = \int_c^d \big[,u(y) - v(y),\big],dy

The pattern is identical to the xx-version, with two changes: the height becomes right minus left, and the bounds cc and dd are the yy-coordinates of the intersection points, not the xx-coordinates.

Example 4: A region set up in yy.

Find the area enclosed between x=y2x = y^2 and x=y+2x = y + 2.

Set the two expressions for xx equal and solve for yy:

y2=y+2  ⟹  y2−y−2=0  ⟹  (y−2)(y+1)=0y^2 = y + 2 \implies y^2 - y - 2 = 0 \implies (y - 2)(y + 1) = 0

So the curves meet at y=−1y = -1 and y=2y = 2; these are the bounds. Test y=0y = 0: the line gives x=2x = 2 and the parabola gives x=0x = 0, so the line x=y+2x = y + 2 is the right-hand curve. Integrate right minus left:

A=∫−12[,(y+2)−y2,],dy=[,y22+2y−y33,]−12A = \int_{-1}^{2} \big[,(y + 2) - y^2,\big],dy = \left[,\frac{y^2}{2} + 2y - \frac{y^3}{3},\right]_{-1}^{2}

At y=2y = 2: 2+4−83=1032 + 4 - \tfrac{8}{3} = \tfrac{10}{3}. At y=−1y = -1: 12−2+13=−76\tfrac{1}{2} - 2 + \tfrac{1}{3} = -\tfrac{7}{6}. So A=103−(−76)=206+76=276=92A = \tfrac{10}{3} - \left(-\tfrac{7}{6}\right) = \tfrac{20}{6} + \tfrac{7}{6} = \tfrac{27}{6} = \tfrac{9}{2}.

Check: F(y)=y22+2y−y33F(y) = \dfrac{y^2}{2} + 2y - \dfrac{y^3}{3} gives F′(y)=y+2−y2F'(y) = y + 2 - y^2, the height, so the antiderivative is correct. Solving this region in xx would have needed two separate integrals; in yy it takes one.

Final answer: A=92A = \dfrac{9}{2} square units.

Which Method Should You Choose? A Quick Reference

The setup, not the arithmetic, is where marks are won on this topic. This table settles which form to use.

Table: Choosing the right area-between-two-curves setup.

Situation

Integrate in

Height of a strip

Bounds are

One curve stays above the other, both are functions of xx

xx (use dxdx)

top −- bottom, f(x)−g(x)f(x) - g(x)

xx-values of the intersections

Curves are cleaner as functions of yy (sideways openings)

yy (use dydy)

right −- left, u(y)−v(y)u(y) - v(y)

yy-values of the intersections

Curves cross inside the interval

either

∣f−g∣\lvert f - g\rvert

split at every crossing

Region has different top curves on different stretches

xx

top −- bottom, per piece

split where the top curve changes

Read the picture first, choose the variable that makes each curve a single function, then set up top minus bottom or right minus left before touching the arithmetic.

Why Does The Top-Minus-Bottom Formula Work?

The formula is not a rule to memorise; it falls straight out of what an integral already means.

  • A Riemann sum of rectangles. Slice the region into thin vertical strips. One strip at position xx is almost a rectangle of width dxdx and height f(x)−g(x)f(x) - g(x), so its area is [f(x)−g(x)],dx\big[f(x) - g(x)\big],dx. The integral is the limit of adding all these strips as the width shrinks to zero.

  • Two areas subtracted. The area under the top curve down to the xx-axis is ∫abf(x),dx\int_a^b f(x),dx, and the area under the bottom curve is ∫abg(x),dx\int_a^b g(x),dx. The region between them is the first minus the second, which is ∫ab[f(x)−g(x)],dx\int_a^b \big[f(x) - g(x)\big],dx by the linearity of the integral.

  • Why the order matters. Writing bottom minus top would make every rectangle height negative and hand back a negative number. Area is never negative, so the top curve always comes first. A negative result is the calculator telling you the curves were entered the wrong way round.

Both readings agree, and both explain why crossing curves force a split: at a crossing the roles of ff and gg swap, so a single subtraction would count one piece as negative and cancel real area. This subtraction of accumulations is the Fundamental Theorem of Calculus doing its everyday job.

Who Discovered The Area Between Two Curves First?

Long before integrals had symbols, geometers were already measuring the region between a curve and a straight edge.

One later figure moved the idea toward the machinery we use now:

  • Bonaventura Cavalieri (1598–1647, Italy) treated an area as made of infinitely many parallel line segments, his "indivisibles," and compared regions by comparing their slices. His principle, that two regions with equal cross-sections at every height have equal area, is the direct ancestor of integrating a width function [u(y)−v(y)]\big[u(y) - v(y)\big] across an interval.

Where Is The Area Between Two Curves Used In The Real World?

Whenever a quantity is the gap between two changing rates, its total is an area between two curves.

  • Economics: consumer surplus and producer surplus are the areas between a demand or supply curve and the market price line, so the region between two curves measures who gains how much from a trade.

  • Physics and motion: if two objects move with different velocity curves, the area between those curves over a time interval is the extra distance one travels compared with the other.

  • Engineering: the cross-sectional area of a beam, a channel, or a machined part is often the region between two profile curves, and it feeds directly into strength and flow calculations, part of the wider applications of integration.

  • Environmental science: plotting the rate a resource is added against the rate it is used gives two curves, and the area between them is the net amount stored or lost over a season.

  • Volumes of revolution: spinning a region between two curves around an axis builds a solid, and its volume is found by the disk method or the washer method, which start from this same enclosed region.

One setup, integrate the gap between two curves, answers questions in trade, motion, structures, and the environment.

What Are The Most Common Mistakes With The Area Between Two Curves?

These four errors account for most lost marks, and each matches a question real students ask on r/calculus, r/learnmath, and course help handouts.

Forgetting to split the integral where the curves cross.

Where it slips in:

A student sees two curves and writes one integral ∫ab(f−g),dx\int_a^b (f - g),dx across the whole interval, even though the curves cross partway and the top curve changes.

Don't do this:

Do not integrate straight through a crossing. The piece where the roles swap comes out negative and cancels real area, giving an answer that is too small.

The correct way:

Find every intersection first. Split the interval at each crossing, take top minus bottom on each piece separately, and add the positive results, which is exactly ∫ab∣f−g∣,dx\int_a^b \lvert f - g\rvert,dx.

Mixing up top minus bottom with right minus left.

Where it slips in:

When integrating with respect to yy, a student keeps subtracting "top minus bottom" out of habit, instead of the horizontal gap.

Don't do this:

Do not use f(x)−g(x)f(x) - g(x) in a dydy integral. A horizontal strip has width, not height, so vertical language does not fit.

The correct way:

For a dydy integral, use right minus left, u(y)−v(y)u(y) - v(y), where uu is the curve with the larger xx-value. Match the subtraction to the direction of the strips.

Using xx-values as the bounds of a dydy integral.

Where it slips in:

After deciding to integrate in yy, a student still plugs the xx-coordinates of the intersection points into the limits.

Don't do this:

Do not carry xx-limits into a dydy integral. The bounds must describe the vertical extent of the region.

The correct way:

Solve u(y)=v(y)u(y) = v(y) for yy, and use those yy-values as cc and dd. The limits of a dydy integral are always yy-values.

Accepting a negative area.

Where it slips in:

A student subtracts in the wrong order, gets a negative number, and writes it down as the answer.

Don't do this:

Do not report a negative area. A negative result means the lower curve was written on top.

The correct way:

Swap the order so the upper (or right-hand) curve comes first, or take the absolute value. Area is a size, so the final number is always positive.

Practice Problems On The Area Between Two Curves

Work each one, then check against the answer. Answers are verified.

  1. Find the area between y=x2y = x^2 and y=4y = 4.
    (Answer: they meet at x=±2x = \pm 2; ∫−22(4−x2),dx=323\int_{-2}^{2}(4 - x^2),dx = \tfrac{32}{3}.)

  2. Find the area between y=xy = x and y=x3y = x^3 on [0,1][0, 1].
    (Answer: x≥x3x \ge x^3 here; ∫01(x−x3),dx=14\int_0^1 (x - x^3),dx = \tfrac{1}{4}.)

  3. Find the area between y=x+6y = x + 6 and y=x2y = x^2.
    (Answer: they meet at x=−2x = -2 and x=3x = 3; ∫−23(x+6−x2),dx=1256\int_{-2}^{3}(x + 6 - x^2),dx = \tfrac{125}{6}.)

  4. Find the area between x=y2x = y^2 and x=4x = 4 by integrating in yy.
    (Answer: they meet at y=±2y = \pm 2; ∫−22(4−y2),dy=323\int_{-2}^{2}(4 - y^2),dy = \tfrac{32}{3}.)

  5. Find the area between y=2−x2y = 2 - x^2 and y=x2−2y = x^2 - 2.
    (Answer: they meet at x=±2x = \pm\sqrt{2}; ∫−22[(2−x2)−(x2−2)],dx=1623≈7.5425\int_{-\sqrt{2}}^{\sqrt{2}}\big[(2 - x^2) - (x^2 - 2)\big],dx = \tfrac{16\sqrt{2}}{3} \approx 7.5425.)

Where Should You Go Next After The Area Between Two Curves?

This topic is the gateway to the whole applications-of-integration chapter, and several natural doors open from here.

  1. Applications of integration. See where area, volume, and average value all come from the same integral setup.

  2. Disk method. Spin a region between two curves around an axis and the enclosed area becomes the volume of a solid.

  3. Methods of integration. Sharpen the substitution and by-parts skills you need to evaluate the harder area integrals.

If your child is meeting the area between two curves for the first time, a live Bhanzu trainer teaches it from the representative-rectangle picture up, so the formula feels obvious, in the Bhanzu math program.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the formula for the area between two curves?
When f(x)≥g(x)f(x) \ge g(x) on [a,b][a, b], the area between two curves is ∫ab[f(x)−g(x)],dx\int_a^b \big[f(x) - g(x)\big],dx, the integral of the top curve minus the bottom curve. The bounds aa and bb are the xx-coordinates where the curves intersect.
How do you find the area between two curves that cross?
Find every intersection point, then split the interval at each crossing. On each piece decide which curve is on top, integrate top minus bottom, and add the positive results. This is the same as integrating the absolute value ∫ab∣f(x)−g(x)∣,dx\int_a^b \lvert f(x) - g(x)\rvert,dx.
When do you integrate with respect to yy instead of xx?
Integrate in yy when the curves are simpler as functions of yy, such as a sideways parabola x=y2x = y^2, or when doing so avoids splitting the region. The height of each horizontal strip is right minus left, u(y)−v(y)u(y) - v(y), and the bounds are yy-values.
Why is my area between two curves coming out negative?
A negative answer means you subtracted in the wrong order, putting the lower curve on top. Area is always positive, so swap the order so the upper or right-hand curve comes first, or take the absolute value of the result.
Do you always need the intersection points to find the area?
Usually yes, because the intersection points are the edges of the enclosed region and they give the limits of integration. The exception is when the problem states its own interval, such as a fixed range of xx, in which case you use those bounds instead.
What is the difference between area under a curve and area between two curves?
Area under a curve measures the region between one curve and the xx-axis, ∫abf(x),dx\int_a^b f(x),dx. Area between two curves replaces the axis with a second curve, so the height of each strip becomes f(x)−g(x)f(x) - g(x) instead of just f(x)f(x).
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →