Mathwords logoMathwords

Area between Curves — Definition, Formula & Examples

Area between Curves

The area between curves is given by the formulas below.

 

Formula 1:

Area = \(\int_a^b {\,\,\left| {f\left( x \right) - g\left( x \right)} \right|\,\,\,dx} \)

  for a region bounded above by y = f(x) and below by y = g(x), and on the left and right by x = a and x = b.

 

Formula 2:

\(\int_c^d {\,\,\left| {f\left( y \right) - g\left( y \right)} \right|\,\,\,dy} \)

 

for a region bounded on the left by x = f(y) and on the right by x = g(y), and above and below by y = c and y = d.

 

Example 1:1

Find the area between y = x and y = x2 from x = 0 to x = 1.

 

 

Graph showing shaded area between y = x and y = x² from x = 0 to x = 1, with x-axis range −1 to 1.

\(\eqalign{{\rm{Area}} &= \int_0^1 {\left| {x - {x^2}} \right|dx} \\ &= \int_0^1 {\left( {x - {x^2}} \right)dx} \\ &= \left. {\left( {\frac{1}{2}{x^2} - \frac{1}{3}{x^3}} \right)} \right|_0^1\\ &= \left( {\frac{1}{2} - \frac{1}{3}} \right) - \left( {0 - 0} \right)\\ &= \frac{1}{6}}\)

 

Example 2:1

Find the area between x = y + 3 and x = y2 from y = –1 to y = 1.

 

 

Graph showing shaded area between curves x = y² and x = y + 3, intersecting near y = -1 and y = 2, with x-axis labels 2 and 4.

\(\eqalign{{\rm{Area}} &= \int_{ - 1}^1 {\left| {y + 3 - {y^2}} \right|dy} \\ &= \int_{ - 1}^1 {\left( {y + 3 - {y^2}} \right)dy} \\ &= \left. {\left( {\frac{1}{2}{y^2} + 3y - \frac{1}{3}{x^3}} \right)} \right|_{ - 1}^1\\ &= \left( {\frac{1}{2} + 3 - \frac{1}{3}} \right) - \left( {\frac{1}{2} - 3 + \frac{1}{3}} \right)\\ &= \frac{{16}}{3}}\)

 

See also

Area under a curve, definite integral, absolute value rules

Key Formula

Area=abf(x)g(x)dx\text{Area} = \int_a^b \left| f(x) - g(x) \right| \, dx
Where:
  • f(x)f(x) = The upper (or first) function of x
  • g(x)g(x) = The lower (or second) function of x
  • aa = The left boundary of the interval on the x-axis
  • bb = The right boundary of the interval on the x-axis
  • f(x)g(x)|f(x) - g(x)| = The absolute value ensures the area is always positive, even if the curves swap positions

Worked Example

Problem: Find the area enclosed between y = x² and y = 2x from x = 0 to x = 2.
Step 1: Determine which function is on top. On the interval [0, 2], compare values: at x = 1, 2x = 2 and x² = 1, so y = 2x is above y = x².
2xx2 for 0x22x \geq x^2 \text{ for } 0 \leq x \leq 2
Step 2: Set up the integral with the top function minus the bottom function.
Area=02(2xx2)dx\text{Area} = \int_0^2 (2x - x^2) \, dx
Step 3: Find the antiderivative of each term.
(2xx2)dx=x2x33\int (2x - x^2) \, dx = x^2 - \frac{x^3}{3}
Step 4: Evaluate the antiderivative at the bounds and subtract.
[x2x33]02=(483)(0)=1283=43\left[ x^2 - \frac{x^3}{3} \right]_0^2 = \left(4 - \frac{8}{3}\right) - (0) = \frac{12 - 8}{3} = \frac{4}{3}
Answer: The area between the curves is 4/3 square units.

Another Example

This example shows what happens when the curves cross within the interval, requiring you to split the integral at the intersection point. Failing to split would give an answer of 0 because the positive and negative regions cancel.

Problem: Find the area enclosed between y = x³ and y = x on the interval from x = −1 to x = 1.
Step 1: Determine where the curves intersect and which is on top. Set x³ = x, giving x(x² − 1) = 0, so x = −1, 0, 1. On (−1, 0), test x = −0.5: x³ = −0.125 and x = −0.5, so x³ > x. On (0, 1), test x = 0.5: x³ = 0.125 and x = 0.5, so x > x³. The top curve switches at x = 0.
x3=x    x=1,  0,  1x^3 = x \implies x = -1, \; 0, \; 1
Step 2: Because the curves swap positions, split the integral into two parts.
Area=10(x3x)dx+01(xx3)dx\text{Area} = \int_{-1}^{0} (x^3 - x) \, dx + \int_0^1 (x - x^3) \, dx
Step 3: Evaluate the first integral.
10(x3x)dx=[x44x22]10=(0)(1412)=14\int_{-1}^{0} (x^3 - x) \, dx = \left[ \frac{x^4}{4} - \frac{x^2}{2} \right]_{-1}^{0} = (0) - \left(\frac{1}{4} - \frac{1}{2}\right) = \frac{1}{4}
Step 4: Evaluate the second integral.
01(xx3)dx=[x22x44]01=1214=14\int_0^1 (x - x^3) \, dx = \left[ \frac{x^2}{2} - \frac{x^4}{4} \right]_0^1 = \frac{1}{2} - \frac{1}{4} = \frac{1}{4}
Step 5: Add the two areas together.
Area=14+14=12\text{Area} = \frac{1}{4} + \frac{1}{4} = \frac{1}{2}
Answer: The area between the curves is 1/2 square unit.

Frequently Asked Questions

What is the difference between the area under a curve and the area between two curves?
The area under a curve measures the region between a single function and the x-axis, computed as ∫f(x) dx. The area between two curves measures the region between two functions, computed as ∫|f(x) − g(x)| dx. If one of the curves is the x-axis (y = 0), the two calculations are equivalent.
When should you integrate with respect to y instead of x?
Integrate with respect to y when the bounding curves are more naturally expressed as functions of y, such as x = y² or x = y + 3. This is also useful when integrating with respect to x would force you to split the region into multiple integrals but integrating with respect to y does not.
Why do you need the absolute value in the area between curves formula?
The absolute value ensures the result is always positive. If f(x) dips below g(x) on part of the interval, the difference f(x) − g(x) becomes negative. Without absolute value, those negative portions would subtract from the total, giving an incorrect (or even zero) result. In practice, you handle this by identifying which function is on top in each sub-interval and subtracting accordingly.

Area between Curves vs. Area under a Curve

Area between CurvesArea under a Curve
DefinitionRegion enclosed between two functionsRegion between one function and the x-axis
Formula∫ₐᵇ |f(x) − g(x)| dx∫ₐᵇ f(x) dx
Number of functionsTwo (or more, handled pairwise)One
When to useFinding the enclosed region between two curvesFinding the total area between a curve and the horizontal axis
Special caseReduces to area under a curve when g(x) = 0Special case of the area between curves

Why It Matters

Area between curves is one of the most tested applications of definite integrals in AP Calculus AB/BC, college Calculus I, and the IB Mathematics curriculum. Beyond exams, it is used in physics to compute work done between force curves, in economics to find consumer and producer surplus, and in statistics to compare probability distributions.

Common Mistakes

Mistake: Forgetting to split the integral when the curves cross within the interval.
Correction: Always find intersection points first. If f(x) and g(x) swap which is on top, split the integral at each crossing and take the absolute value of each piece. Otherwise, positive and negative areas cancel, giving the wrong result.
Mistake: Subtracting in the wrong order (bottom minus top) and getting a negative area.
Correction: Always subtract the lower function from the upper function on each sub-interval. If you are unsure which is on top, plug in a test point from the interval. Alternatively, use the absolute value form to guarantee a positive result.

Related Terms