← MathScape

Area Between Curves (Integrating with Respect to x)

MATH162
Reference: Stewart 5.1  •  Chapter: 5  •  Section: 1

Navigation: Wiki Home > Chapter 5 > Section 5.1 > Area Between Curves (x-integration)

Area Between Curves (Integrating with Respect to x)

Quick Reference: Essential Formulas

Formula When to Use Key Requirement
$A = \int_a^b [f(x) - g(x)]\,dx$ Finding area between two curves $f(x) \geq g(x)$ on $[a,b]$ (top minus bottom)
$A = \int_a^b \lvert f(x) - g(x) \rvert\,dx$ When curves cross Split at crossing points

Memory aid: Integrate (top − bottom) from left to right.


Before You Start

Test yourself on these prerequisites. If any feel unfamiliar, follow the review link before continuing.

1. Definite Integral Evaluation — Can you compute this?

$$\int_0^2 (3x^2 - x)\,dx$$

Check Your Answer

$$\left[x^3 - \frac{x^2}{2}\right]_0^2 = \left(8 - 2\right) - 0 = 6$$

If this was difficult, review Definite Integral Evaluation first.

2. Fundamental Theorem of Calculus — Can you explain why this works?

$$\frac{d}{dx}\int_0^x f(t)\,dt = f(x)$$

Check Your Understanding

FTC Part 1 says the derivative of an accumulation function returns the original integrand. This is essential because we evaluate area integrals by finding antiderivatives.

If this concept is unclear, review FTC Part 2.


Why Subtract?

You already know that the definite integral $\int_a^b f(x)\,dx$ gives the signed area under a curve. But what if you want the area between two curves?

Picture two runners on parallel tracks. To find how far apart they are after a race, you don't need their individual distances from the starting line—you subtract one position from the other. The same logic applies to areas: if two curves bound a region, the area between them is the difference of the areas "under" each curve.

Prerequisite Map

This skill
Area Between Curves (x-integration)

Legend: 🟡 Yellow = immediate prerequisites (must master) | 🟢 Green = this skill

Quick Reference

Property Value
Chapter Chapter 5: Applications of Integration
Section §5.1 Areas Between Curves
Difficulty Beginner
Time ~20 minutes

Key Concepts

The Area Formula

If $f(x) \geq g(x)$ for all $x$ in $[a, b]$, then the area of the region bounded by $y = f(x)$ (top), $y = g(x)$ (bottom), and the vertical lines $x = a$ and $x = b$ is:

$$\boxed{A = \int_a^b [f(x) - g(x)]\,dx}$$

In words: Integrate (top minus bottom) from left to right.

Visualizing the Formula

        y
        |         _____ f(x) (top curve)
        |      __/     \__
        |   __/           \__
        |  /    SHADED      \
        | /      AREA        \
        |/____________________|______ x
        a                     b
               _____ g(x) (bottom curve)
            __/     \__
         __/           \__

Think of slicing the region into thin vertical rectangles of width $\Delta x$. Each rectangle has:

Summing all these rectangles and taking the limit gives the integral.

Why This Works

If both curves are above the x-axis:

$$A = \underbrace{\int_a^b f(x)\,dx}_{\text{area under } f} - \underbrace{\int_a^b g(x)\,dx}_{\text{area under } g} = \int_a^b [f(x) - g(x)]\,dx$$

The formula $\int_a^b [f(x) - g(x)]\,dx$ works even when the curves dip below the x-axis, as long as $f(x) \geq g(x)$ throughout $[a, b]$.

The Procedure

Step 1: Identify the top curve $y_T = f(x)$ and bottom curve $y_B = g(x)$.

Step 2: Determine the integration bounds $a$ and $b$ (either given or found from intersection points).

Step 3: Set up and evaluate $A = \int_a^b (y_T - y_B)\,dx$.

Common Pitfalls Table

Mistake What Goes Wrong How to Fix
Subtracting in wrong order Get negative area Always check: top − bottom. Test a point to verify which is higher
Forgetting to find intersection points Wrong integration bounds If bounds not given, solve $f(x) = g(x)$ first
Using $\|f-g\|$ without splitting Can't integrate absolute value directly Find where $f=g$, split into separate integrals
Assuming first function is always on top Wrong setup Graph the curves or test values in each subinterval
Forgetting parentheses when subtracting Sign errors in integration Write $(f(x)) - (g(x))$, not $f(x) - g(x)$ when $g$ is complex
💡 Quick Self-Check for Sign Errors

After computing an area integral:

  • Is your answer positive? Area must be positive. If negative, you subtracted wrong.
  • Is it reasonable? A region between $x=0$ and $x=1$ probably has area less than $10$.
  • Verify: Pick a point, compute $f(x)-g(x)$. Should be positive if $f$ is on top.

Practice Problems

Level 1 Identify Top and Bottom

For the region bounded by $y = x^2$ and $y = 4$ from $x = -2$ to $x = 2$, identify: (a) Which curve is the top curve? (b) Which curve is the bottom curve? (c) Write (but don't evaluate) the integral for the area.

Thought Process

To identify top vs. bottom, I need to compare the $y$-values of the two curves at some point in the interval. Let me check $x = 0$:

  • At $x = 0$: $y = x^2 = 0$ and $y = 4$

Since $4 > 0$, the line $y = 4$ is above the parabola $y = x^2$ in this region.

Show Answer

(a) Top curve: $y = 4$ (the horizontal line)

(b) Bottom curve: $y = x^2$ (the parabola)

(c) Integral: $A = \int_{-2}^{2} [4 - x^2]\,dx$

Level 2 Basic Area Calculation

Find the area of the region bounded above by $y = 6 - x$, below by $y = 2$, and on the sides by $x = 1$ and $x = 3$.

Thought Process

The bounds $x = 1$ and $x = 3$ are given directly. I need to confirm which curve is on top:

  • At $x = 1$: top gives $6 - 1 = 5$, bottom is $y = 2$. Since $5 > 2$, confirmed.
  • At $x = 3$: top gives $6 - 3 = 3$, bottom is $y = 2$. Since $3 > 2$, still confirmed.

So I integrate $(6 - x) - 2 = 4 - x$ from $1$ to $3$.

Show Answer

$$A = \int_1^3 [(6 - x) - 2]\,dx = \int_1^3 (4 - x)\,dx$$

$$= \left[4x - \frac{x^2}{2}\right]_1^3 = \left(12 - \frac{9}{2}\right) - \left(4 - \frac{1}{2}\right)$$

$$= \frac{15}{2} - \frac{7}{2} = \frac{8}{2} = \boxed{4}$$

Verification: The region is roughly a trapezoid with bases $5-2=3$ and $3-2=1$, height $2$. Trapezoid area $= \frac{1}{2}(3+1)(2) = 4$ ✓

🔄 Still confused about setting up area integrals?
Level 3 Parabola and Line

Find the area of the region bounded by $y = x^2 + 1$ (above) and $y = 3x - 1$ (below) from $x = 0$ to $x = 2$.

Thought Process

First, I should verify the stated relationship. At $x = 0$:

  • Parabola: $y = 0 + 1 = 1$
  • Line: $y = 0 - 1 = -1$

At $x = 2$:

  • Parabola: $y = 4 + 1 = 5$
  • Line: $y = 6 - 1 = 5$

Interesting—they meet at $x = 2$! But for $0 < x < 2$, let's check $x = 1$:

  • Parabola: $y = 1 + 1 = 2$
  • Line: $y = 3 - 1 = 2$

They meet again at $x = 1$. Let me check if the problem statement is correct... Actually, at $x = 0.5$:

  • Parabola: $y = 0.25 + 1 = 1.25$
  • Line: $y = 1.5 - 1 = 0.5$

So parabola > line. The curves touch at $x = 1$ and $x = 2$.

Now I set up: $(x^2 + 1) - (3x - 1) = x^2 - 3x + 2$.

Show Answer

$$A = \int_0^2 [(x^2 + 1) - (3x - 1)]\,dx = \int_0^2 (x^2 - 3x + 2)\,dx$$

$$= \left[\frac{x^3}{3} - \frac{3x^2}{2} + 2x\right]_0^2$$

$$= \left(\frac{8}{3} - \frac{12}{2} + 4\right) - 0 = \frac{8}{3} - 6 + 4 = \frac{8}{3} - 2 = \frac{8 - 6}{3} = \boxed{\frac{2}{3}}$$

Level 4 Setting Up Without Given Bounds

Find the area enclosed by the curves $y = x^2$ and $y = 2x - x^2$.

Note: The bounds are not given—you must find where the curves intersect.

Thought Process

When bounds aren't given, the region is fully enclosed by the curves themselves. I need to find where they intersect:

Set $x^2 = 2x - x^2$: $$2x^2 - 2x = 0$$ $$2x(x - 1) = 0$$ $$x = 0 \text{ or } x = 1$$

So the intersection points are $(0, 0)$ and $(1, 1)$.

Which curve is on top? At $x = 0.5$:

  • $y = x^2 = 0.25$
  • $y = 2x - x^2 = 1 - 0.25 = 0.75$

Since $0.75 > 0.25$, the curve $y = 2x - x^2$ is on top.

Show Answer

Step 1: Find intersection points. $$x^2 = 2x - x^2 \implies 2x^2 - 2x = 0 \implies 2x(x-1) = 0$$ So $x = 0$ or $x = 1$.

Step 2: Identify top and bottom. At $x = 0.5$:

  • $y = x^2 = 0.25$
  • $y = 2x - x^2 = 0.75$

Top: $y = 2x - x^2$, Bottom: $y = x^2$

Step 3: Compute the area. $$A = \int_0^1 [(2x - x^2) - x^2]\,dx = \int_0^1 (2x - 2x^2)\,dx$$

$$= 2\int_0^1 (x - x^2)\,dx = 2\left[\frac{x^2}{2} - \frac{x^3}{3}\right]_0^1$$

$$= 2\left(\frac{1}{2} - \frac{1}{3}\right) = 2 \cdot \frac{1}{6} = \boxed{\frac{1}{3}}$$

Verification: At $x = 0.5$, the height between curves is $0.75 - 0.25 = 0.5$. The region is lens-shaped over $[0,1]$, so area $\approx \frac{2}{3} \times 0.5 \times 1 = 0.33 \approx \frac{1}{3}$ ✓

✅ Checkpoint: If you can solve Level 4 problems consistently, you're ready for Area When Curves Cross and Integration with Respect to y.

Level 5 General Formula Derivation

Consider two parabolas: $y = x^2$ and $y = kx - x^2$ where $k > 0$.

(a) Find the intersection points of these curves in terms of $k$.

(b) Show that the area enclosed by the two parabolas is $\frac{k^3}{12}$.

(c) For what value of $k$ is the enclosed area equal to $\frac{8}{3}$?

Thought Process

This is a generalization problem. I'll follow the same procedure as before but keep $k$ as a parameter.

For part (a): Set $x^2 = kx - x^2$ and solve for $x$ in terms of $k$.

For part (b): I'll set up the integral with limits from part (a), keeping $k$ symbolic, then evaluate to get an expression in $k$.

For part (c): Set $\frac{k^3}{12} = \frac{8}{3}$ and solve for $k$.

Show Answer

(a) Intersection points:

Set $x^2 = kx - x^2$: $$2x^2 - kx = 0 \implies x(2x - k) = 0$$

So $x = 0$ or $x = \frac{k}{2}$.

The intersection points are $(0, 0)$ and $\left(\frac{k}{2}, \frac{k^2}{4}\right)$.

(b) Area formula:

For $0 < x < \frac{k}{2}$, check which curve is on top using $x = \frac{k}{4}$:

  • $y = x^2 = \frac{k^2}{16}$
  • $y = kx - x^2 = \frac{k^2}{4} - \frac{k^2}{16} = \frac{3k^2}{16}$

Since $\frac{3k^2}{16} > \frac{k^2}{16}$, the curve $y = kx - x^2$ is on top.

$$A = \int_0^{k/2} [(kx - x^2) - x^2]\,dx = \int_0^{k/2} (kx - 2x^2)\,dx$$

$$= \left[\frac{kx^2}{2} - \frac{2x^3}{3}\right]_0^{k/2}$$

$$= \frac{k}{2} \cdot \frac{k^2}{4} - \frac{2}{3} \cdot \frac{k^3}{8} = \frac{k^3}{8} - \frac{k^3}{12}$$

$$= k^3\left(\frac{1}{8} - \frac{1}{12}\right) = k^3 \cdot \frac{3-2}{24} = \boxed{\frac{k^3}{12}}$$

(c) Finding $k$:

$$\frac{k^3}{12} = \frac{8}{3} \implies k^3 = 32 \implies k = \sqrt[3]{32} = 2\sqrt[3]{4} \approx 3.17$$

Or equivalently, $k = 2 \cdot 4^{1/3} = 2 \cdot 2^{2/3} = 2^{5/3}$.

CCI-Style Conceptual Questions

Level 2 Conceptual: Sign of the Integrand

A student sets up the integral $\int_0^3 [g(x) - f(x)]\,dx$ to find the area between curves $f$ and $g$, where $f(x) > g(x)$ for all $x$ in $[0, 3]$. The student gets the answer $-12$.

What is the actual area of the region?

Thought Process

The student subtracted in the wrong order. Since $f(x) > g(x)$, we have $g(x) - f(x) < 0$ throughout the interval. The integral computed the negative of the area.

Show Answer

The area is $\boxed{12}$.

Since the student subtracted bottom from top instead of top from bottom (i.e., computed $\int[g - f]$ when $f > g$), the answer has the wrong sign. The correct area is $\vert -12\vert = 12$.

Mastery Checklist

✅ If you check all boxes: You're ready to tackle curves that cross and y-integration!


Exam Strategy Tips

🎯 How to approach area problems on exams

Step 0 — Read carefully: Are bounds given? If not, you need intersection points.

Step 1 — Quick sketch: Even a rough sketch prevents top/bottom errors. Label curves.

Step 2 — Test a point: Pick an $x$-value between bounds. Which $y$ is larger? That's the top.

Step 3 — Set up integral: Write $\int_a^b (\text{top} - \text{bottom})\,dx$ with explicit parentheses.

Step 4 — Compute carefully: Most errors are algebraic. Distribute negatives properly.

Step 5 — Sanity check:

  • Is the answer positive? (It must be)
  • Is it reasonable? (Think about the region's size)
  • Did you use the right bounds?

Time management: Finding intersections can be algebraically intensive. If you're stuck, move on and return later.

Mental Model

The "Stacking Rectangles" Picture:

Imagine slicing the region into many thin vertical strips. Each strip is approximately a rectangle with:

The area integral "stacks" all these rectangles together, giving the total area.

Quick check: If your answer is negative, you subtracted in the wrong order. Take the absolute value.


Connections

Looking back:

Looking ahead:

Real-world connections:

🌍 Application: The Gini Index (Income Inequality)

The Gini Index is a real measure used by economists and governments worldwide to quantify income inequality. It's computed using area between curves!

How it works:

  1. The Lorenz curve $y = L(x)$ plots cumulative income: if the poorest $a\%$ of households earn $b\%$ of total income, then $L(a/100) = b/100$.
  2. In a perfectly equal society, $L(x) = x$ (everyone earns the same).
  3. The Gini Index is defined as:

$$G = 2\int_0^1 [x - L(x)]\,dx$$

Real data (US, 2016): The poorest 40% of households received only 11.4% of total income, giving $L(0.4) = 0.114$. The Gini Index was approximately 0.48, indicating substantial inequality.

Why this matters: This is exactly the skill you're learning—finding the area between the line $y = x$ and a curve below it. The same integral technique economists use to analyze inequality, you can now compute!

📚 Historical Note: The Area Problem

The problem of finding areas bounded by curves was one of the driving forces behind the development of calculus. Archimedes (287–212 BCE) computed areas using the "method of exhaustion"—essentially Riemann sums with geometric shapes.

The breakthrough came when Newton and Leibniz (independently, 1680s) discovered that area problems could be solved by finding antiderivatives—connecting two seemingly unrelated problems. This is why the Fundamental Theorem of Calculus is so profound: it says differentiation and integration are inverse operations.

The technique of finding area between curves is a natural extension that appears in Stewart's textbook (and most calculus texts) because it reinforces the "slice and sum" intuition while preparing for volume problems.


Summary

Concept Key Point
Main formula $A = \int_a^b [f(x) - g(x)]\,dx$ where $f$ is the top curve
Order matters Always (top) − (bottom); negative result = wrong order
Finding bounds If not given, solve $f(x) = g(x)$ for intersection points
Verification Result should be positive and geometrically reasonable
When to use When top/bottom boundaries are clear functions of $x$
Next skill When curves cross or when $y$-integration is easier

Previous Up Next
Section 5.1 Section 5.1 Integration with Respect to y

Last updated: 2026-01-22