CALCULUS 1 • APPLICATIONS OF INTEGRATION

Area Between Curves (x-functions) — Finding the Area Between Curves Expressed as Functions of x

Learn how definite integrals measure the exact region trapped between two curves on the coordinate plane.

Historical Context & Motivation

Long before calculus existed, mathematicians wrestled with a deceptively simple question: how do you measure the area of a shape that has curved edges? Rectangles and triangles were easy, but the space between two curves demanded entirely new tools. The pursuit of these tools drove some of the most important mathematical breakthroughs in history, ultimately giving rise to integral calculus.

Ancient Greek mathematicians, especially Archimedes, pioneered the method of exhaustion — a technique that filled a curved region with increasingly thin polygons to approximate its area. This idea of slicing a region into tiny pieces and adding them up is exactly the intuition behind integration. Centuries later, Newton and Leibniz formalized this process, and mathematicians realized they could compute the area between any two curves by subtracting one integral from another.

~250 BCE
Archimedes and Exhaustion
Archimedes computed the area under a parabola by filling it with triangles — an early precursor to integration. His work showed that curved areas could be found through systematic approximation.
1665–1676
Newton & Leibniz Develop Calculus
Isaac Newton and Gottfried Wilhelm Leibniz independently invented calculus, linking the derivative and the integral through the Fundamental Theorem of Calculus. This gave mathematicians a powerful, exact method for computing areas.
1700s
Euler and Applied Area Problems
Leonhard Euler extended integration techniques to physics and engineering, using areas between curves to solve problems in mechanics, astronomy, and probability.
1854
Riemann Formalizes the Integral
Bernhard Riemann defined the definite integral rigorously using sums of rectangles (Riemann sums), providing the formal foundation for computing areas between curves that we still use today.

Today, finding the area between curves is one of the first real-world applications you encounter in calculus. It answers a fundamental question: given two functions of x, how much space is enclosed between them? This technique appears everywhere — from computing the work done by a varying force, to finding the net difference between revenue and cost functions in economics.

Core Principles & Definitions

Before diving into formulas, you need to understand the key ideas that make this technique work. The area between two curves is built on concepts you already know — definite integrals, function comparison, and the geometry of the coordinate plane — combined in a specific way.

1

Top Minus Bottom

At each x-value, the vertical distance between two curves equals f(x) − g(x), where f is the upper function and g is the lower function. Integrating this difference over an interval gives the total enclosed area.
2

Intersection Points as Boundaries

The region between two curves begins and ends where the curves cross. These intersection points become the limits of integration, a and b. You find them by setting f(x) = g(x) and solving for x.
3

Which Curve Is on Top?

You must determine which function has greater y-values on the interval [a, b]. Pick a test point between a and b, plug it into both functions, and see which gives a larger output. The one with the larger value is the upper curve.
4

Splitting When Curves Swap

If the curves cross within your interval, the top and bottom switch. You must split the integral at each crossing point and compute each piece separately, always subtracting the lower curve from the upper curve.
5

Area Is Always Positive

Area is a geometric measurement and must be non-negative. By always subtracting the lower function from the upper function (or using absolute value), you guarantee a positive result — even when parts of the region lie below the x-axis.
KEY TAKEAWAY
Think of the area between two curves like the filling in a sandwich. The top slice of bread is the upper function, the bottom slice is the lower function, and the filling is the region you want to measure. No matter where the sandwich sits on the table (whether above or below the x-axis), the amount of filling only depends on how far apart the two slices are — that is, top minus bottom.

Visual Explanation

The diagram below shows two curves, f(x) and g(x), on the same coordinate plane. The shaded region between them is the area we want to compute. Notice how the region is bounded on the left and right by the two intersection points, and vertically by the curves themselves.

The cyan curve f(x) lies above the violet curve g(x) between intersection points a and b. The amber dashed line shows the vertical distance f(x) − g(x) at a sample x-value. The shaded gradient region is the area we compute by integrating that vertical distance from a to b.

In the diagram, the key feature is the vertical strip at a representative x-value. This strip has height f(x) − g(x) and an infinitesimally small width dx. When you integrate — that is, when you add up infinitely many of these infinitesimally thin strips from x = a to x = b — you sweep out the entire shaded region and obtain its exact area.

Mathematical Framework

Now let's translate the visual intuition into precise formulas. The mathematics relies on the definite integral, which you've already used to find the area under a single curve. Finding the area between two curves requires just one additional insight: instead of integrating a single function, you integrate the difference of two functions.

AREA BETWEEN TWO CURVES
A = ∫ₐᵇ [ f(x) − g(x) ] dx
Where f(x) is the upper curve, g(x) is the lower curve, and a and b are the x-coordinates of the intersection points (left and right boundaries).

This formula works because the integral ∫ₐᵇ f(x) dx gives the signed area under f(x) from a to b, and ∫ₐᵇ g(x) dx gives the signed area under g(x). Subtracting the second from the first cancels out the region below g(x), leaving only the region trapped between the two curves.

FINDING INTERSECTION POINTS
f(x) = g(x) → solve for x → x = a, x = b
Set the two functions equal and solve algebraically. The solutions give you the limits of integration. If there are more than two intersection points, you'll need to split the integral.
WHEN CURVES SWAP POSITIONS
A = ∫ₐᶜ [ f(x) − g(x) ] dx + ∫ᶜᵇ [ g(x) − f(x) ] dx
If f(x) is on top from a to c but g(x) is on top from c to b, you must split the integral at x = c and swap the order of subtraction so the result stays positive.
ABSOLUTE VALUE SHORTCUT
A = ∫ₐᵇ | f(x) − g(x) | dx
Using the absolute value guarantees the integrand is always non-negative, regardless of which curve is on top. In practice, you still split at crossing points because most antiderivative methods don't handle absolute value directly.
⚠️ Common Mistake Alert
Don't just compute ∫ₐᵇ f(x) dx − ∫ₐᵇ g(x) dx without checking which curve is on top! If g(x) is actually above f(x) on part of the interval, you'll get a negative contribution that shrinks your answer. Always verify which function is larger or use the absolute value approach.

Step-by-Step Process for Finding the Area

Every area-between-curves problem follows the same general procedure. Mastering this checklist will help you handle any problem confidently, from simple parabolas to more complex polynomial combinations.

  1. Step 1 — Sketch the curves. Even a rough sketch helps you visualize which curve is on top and where the intersection points are. Identify the general shapes (parabola, line, cubic, etc.).
  2. Step 2 — Find the intersection points. Set f(x) = g(x) and solve for x. These x-values become the limits of integration. Factor, use the quadratic formula, or apply other algebraic methods as needed.
  3. Step 3 — Determine which curve is on top. Choose a test value between the intersection points and plug it into both functions. The function with the larger y-value is the upper curve on that interval.
  4. Step 4 — Set up the integral. Write ∫ₐᵇ [upper − lower] dx. If the curves swap, split the integral at each crossing point and handle each subinterval separately.
  5. Step 5 — Evaluate the integral. Find the antiderivative of the integrand, then apply the Fundamental Theorem of Calculus: plug in b, plug in a, and subtract.
  6. Step 6 — Interpret and verify. Make sure your answer is positive. If you get a negative value, double-check which curve is on top.
When curves cross at an interior point c, the upper and lower functions swap. The total area requires splitting: the green region (where f is on top) is computed separately from the orange region (where g is on top), and then the two areas are added.

The diagram above illustrates the most common complication students encounter. In Region 1 (from a to c), the cyan curve f(x) sits above the violet curve g(x), so you integrate [f(x) − g(x)]. In Region 2 (from c to b), the curves have swapped: g(x) is now on top, so you integrate [g(x) − f(x)]. Adding both integrals together gives the total area. If you forget to split, the negative contribution from the second region would partially cancel the first, giving you a number smaller than the true area.

Worked Example

Let's walk through a complete example to see every step in action. We'll find the area of the region enclosed between the parabola f(x) = x² and the line g(x) = x + 2.

Area Between f(x) = x² and g(x) = x + 2
1
Step 1 — Sketch the CurvesThe function f(x) = x² is an upward-opening parabola with vertex at the origin. The function g(x) = x + 2 is a straight line with slope 1 and y-intercept 2. From a rough sketch, the line appears to cross the parabola in two places, creating an enclosed region.
2
Step 2 — Find the Intersection PointsSet f(x) = g(x): x² = x + 2. Rearranging gives x² − x − 2 = 0. Factoring: (x − 2)(x + 1) = 0, so x = −1 and x = 2. These are our limits of integration: a = −1 and b = 2.
Intersection points: x = −1 and x = 2
3
Step 3 — Determine Which Curve Is on TopPick a test value between −1 and 2, say x = 0. Then f(0) = 0² = 0 and g(0) = 0 + 2 = 2. Since g(0) = 2 > 0 = f(0), the line g(x) = x + 2 is the upper curve on this interval.
Upper: g(x) = x + 2 | Lower: f(x) = x²
4
Step 4 — Set Up the IntegralThe area is A = ∫₋₁² [g(x) − f(x)] dx = ∫₋₁² [(x + 2) − x²] dx = ∫₋₁² (x + 2 − x²) dx. The curves don't swap on this interval (we can verify at multiple test points), so a single integral suffices.
A = ∫₋₁² (x + 2 − x²) dx
5
Step 5 — Find the AntiderivativeThe antiderivative of x + 2 − x² is (x²/2) + 2x − (x³/3). We evaluate this from −1 to 2.
F(x) = x²/2 + 2x − x³/3
6
Step 6 — Evaluate Using the Fundamental TheoremAt x = 2: F(2) = (4/2) + 4 − (8/3) = 2 + 4 − 8/3 = 6 − 8/3 = 18/3 − 8/3 = 10/3. At x = −1: F(−1) = (1/2) + (−2) − (−1/3) = 1/2 − 2 + 1/3 = 3/6 − 12/6 + 2/6 = −7/6. Therefore A = F(2) − F(−1) = 10/3 − (−7/6) = 20/6 + 7/6 = 27/6 = 9/2.
A = 9/2 = 4.5 square units
Check Your Work
A quick reasonableness check: the enclosed region fits roughly inside a rectangle 3 units wide and 3 units tall, giving a maximum possible area of 9 square units. Our answer of 4.5 is about half of that rectangle, which makes geometric sense for a region bounded by a line and a parabola.

Common Strengths & Pitfalls

Knowing the formula is only half the battle. Many students lose points on exams not because they can't integrate, but because they set up the problem incorrectly. Here are the most common strengths and pitfalls to be aware of.

Strategies and common mistakes when computing area between curves
Strength / StrategyCommon PitfallHow to Avoid It
Drawing a sketch first to identify the regionSkipping the sketch and guessing which curve is on topAlways sketch, even roughly; label both curves and mark intersection points
Using a test point to verify upper vs. lower curveAssuming the function with the larger leading coefficient is always on topEvaluate both functions at a midpoint of [a, b]; the larger output is the upper curve
Splitting the integral when curves crossIgnoring crossing points, which causes negative regions to cancel positive onesFind all solutions to f(x) = g(x) in the interval and split at each one
Simplifying the integrand before integratingTrying to antidifferentiate a complicated unsimplified expressionCombine like terms in f(x) − g(x) before finding the antiderivative
Checking that the final answer is positiveReporting a negative area (which is geometrically impossible)If the answer is negative, re-examine which curve is on top
KEY TAKEAWAY
Think of finding the area between curves like measuring the space between two roads on a map. If you subtract the elevation of the lower road from the upper road, you get the height of the gap between them at each point. If the roads cross, you have to restart your measurement from the crossing point, because the road that was on top is now on the bottom. The formula ∫[upper − lower] dx simply adds up all those tiny height measurements across the entire interval.

Connection to Advanced Topics

The area-between-curves formula for x-functions is your entry point into a broader family of integration applications. As you progress through calculus, you'll encounter variations of this idea that extend to different coordinate systems, higher dimensions, and more complex applications.

How area between x-functions connects to more advanced integration topics
This Lesson: x-FunctionsAdvanced Extension
Area between y = f(x) and y = g(x), integrating with respect to xy-Functions: Area between x = f(y) and x = g(y), integrating with respect to y — useful when the region is easier to describe horizontally
Area as a flat, two-dimensional regionVolumes of revolution: Revolve the area around an axis to create 3D solids; compute volume with the disk/washer or shell method
Cartesian coordinates (x, y)Polar coordinates: Area between polar curves using A = ½ ∫ [r₁(θ)² − r₂(θ)²] dθ
Two curves in the planeDouble integrals: In multivariable calculus, extend the idea to compute areas and volumes over 2D regions using ∬ dA

One particularly important next step is the washer method for volumes of revolution. In this method, you take the region between two curves and rotate it around an axis. The resulting solid has a cross-section shaped like a washer (a disk with a hole), and the outer and inner radii come directly from the upper and lower functions you studied in this lesson. So mastering area between curves today is essential preparation for computing volumes tomorrow.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain in your own words why the formula for area between two curves uses f(x) − g(x) rather than just f(x) + g(x). What would go wrong if you added the functions instead of subtracting them?
PROBLEM 2BASIC CALCULATION
Find the area enclosed between f(x) = 4 − x² and g(x) = 0 (the x-axis).
PROBLEM 3INTERMEDIATE
Find the total area enclosed between f(x) = x³ − x and g(x) = 0 from x = −1 to x = 1. Be careful — the curves cross within this interval!
PROBLEM 4APPLIED
A company's monthly revenue is modeled by R(x) = −2x² + 12x (in thousands of dollars) and its cost by C(x) = 2x + 8, where x is the number of months after launch (for 0 ≤ x ≤ 5). Find the total accumulated profit (area between revenue and cost curves) over the interval where revenue exceeds cost.
PROBLEM 5CRITICAL THINKING
Consider two functions f(x) and g(x) that intersect at x = 0 and x = 4. Suppose ∫₀⁴ f(x) dx = 10 and ∫₀⁴ g(x) dx = 6, and the curves do not cross between 0 and 4. A student claims the area between the curves is 4. Another student claims the area is 16. Who is right, and under what conditions could each be correct? Can you construct a scenario where the area is neither 4 nor 16?

Lesson Summary

To find the area between two curves expressed as functions of x, you use the formula A = ∫ₐᵇ [f(x) − g(x)] dx, where f(x) is the upper function and g(x) is the lower function. The limits of integration a and b are the intersection points, found by solving f(x) = g(x). Always use a test point to determine which curve is on top.

If the curves cross within the interval, you must split the integral at each crossing point and compute each piece with the correct top-minus-bottom order. The final area is always positive. This technique extends naturally to y-functions, polar curves, and volumes of revolution — making it a foundational tool in the applications of integration.

Varsity Tutors • Calculus 1 • Area Between Curves (x-functions)