CALCULUS 2 • APPLICATIONS OF INTEGRATION

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

Use definite integration to compute the exact area enclosed between two curves expressed as functions of x.

Historical Context & Motivation

Long before the formal apparatus of calculus existed, mathematicians grappled with a deceptively simple geometric question: how do you measure the area of a region that is not bounded by straight lines? Ancient Greek geometers, most notably Archimedes, attacked this problem through the method of exhaustion, inscribing and circumscribing polygons within curved figures to squeeze bounds on the enclosed area. This proto-integration technique demonstrated remarkable ingenuity but remained confined to specific curves and lacked a general algorithm.

The conceptual leap from computing the area under a single curve to computing the area between two curves emerged naturally as calculus matured in the seventeenth and eighteenth centuries. Once Newton and Leibniz independently formalized the definite integral and linked it to antidifferentiation via the Fundamental Theorem of Calculus, practitioners realized that any region bounded by two functions of x could be quantified by integrating the difference of those functions over the relevant interval. This simple subtraction principle opened the door to countless applications in physics, engineering, economics, and probability.

~250 BCE
Archimedes and the Method of Exhaustion
Archimedes computed the area of a parabolic segment by filling it with infinitely many triangles, anticipating integral methods by nearly two millennia.
1666–1676
Newton & Leibniz Develop Calculus
Independent development of the integral and the Fundamental Theorem of Calculus provided a systematic way to compute areas bounded by arbitrary curves.
1690s
Johann Bernoulli's Applications
The Bernoulli brothers applied integration techniques to compute areas between curves in their solutions to the brachistochrone and catenary problems, popularizing the method across Europe.
1823
Cauchy Formalizes the Definite Integral
Augustin-Louis Cauchy provided the first rigorous definition of the definite integral as a limit of sums, placing area computations on firm theoretical footing.
1854
Riemann's Integral
Bernhard Riemann generalized Cauchy's integral using arbitrary partitions and sample points, solidifying the theoretical framework that justifies the 'area between curves' formula used today.

The central question this lesson addresses is both elegant and practical: given two continuous functions f(x) and g(x) on an interval [a, b], how do we compute the exact area of the region trapped between their graphs? While the formula itself is straightforward, the subtleties — determining which function lies on top, handling intersections, and managing sign changes — require careful reasoning that will sharpen your mastery of integration as a geometric tool.

Core Principles & Definitions

Before diving into computations, it is essential to establish the foundational ideas that make the area-between-curves formula work. These principles rest on the geometric interpretation of the definite integral and the algebraic properties of continuous functions. Understanding why the formula takes the form it does — rather than merely memorizing it — ensures you can adapt the technique to novel configurations of curves.

1

Definite Integral as Signed Area

The integral ∫ₐᵇ f(x) dx represents the net signed area between the graph of f(x) and the x-axis: positive above, negative below. Area between curves extends this idea by replacing the x-axis with a second function.
2

Top Minus Bottom

On any subinterval where f(x) ≥ g(x), the height of a typical vertical strip is f(x) − g(x). Integrating this nonnegative difference accumulates strip areas into the total enclosed area.
3

Intersection Points as Natural Bounds

The region between two curves typically begins and ends where the curves intersect. Setting f(x) = g(x) and solving for x yields the limits of integration when they are not explicitly given.
4

Absolute Value for Switching Curves

If the roles of top and bottom swap on different subintervals, you must either split the integral at each crossing point or use the |f(x) − g(x)| form, which guarantees a nonnegative integrand everywhere.
5

Continuity Ensures Integrability

Both functions must be continuous on [a, b] (or at worst piecewise continuous) so the Riemann integral exists. The Intermediate Value Theorem then guarantees intersection points can be found reliably.
KEY TAKEAWAY
Think of the area between two curves like measuring the thickness of a sandwich at every point along its length. The top slice of bread is f(x), the bottom slice is g(x), and the filling at position x has thickness f(x) − g(x). Integrating this thickness across the full length of the sandwich gives you the total cross-sectional area of filling. If the slices swap positions — the bottom bread rises above the top — you need to account for that reversal to avoid negative "thickness" canceling out real area.

Visual Explanation

The geometric intuition behind the area-between-curves formula is best conveyed through a diagram that shows two functions of x, their intersection points, and the enclosed region. The following coordinate-plane diagram illustrates f(x) = x + 2 (the upper curve) and g(x) = x² (the lower curve) on the interval where they enclose a finite region. The shaded area is precisely what the integral ∫ₐᵇ [f(x) − g(x)] dx computes.

The cyan line represents f(x) = x + 2 and the violet curve represents g(x) = x². The shaded region between the two curves is bounded by their intersection points (pink dots). The dashed amber segment at x = 1 illustrates the height f(x) − g(x) of a representative vertical strip.

In the diagram above, notice that the cyan line f(x) = x + 2 lies above the violet parabola g(x) = x² throughout the entire interval from x = −1 to x = 2. This means the integrand f(x) − g(x) = (x + 2) − x² is nonnegative on this interval, so we can integrate it directly without worrying about sign issues. The pink intersection points serve as the natural bounds of integration — they are found by solving x + 2 = x², which yields x = −1 and x = 2. The amber dashed segment at x = 1 represents a single vertical strip of height f(1) − g(1) = 3 − 1 = 2; the integral sums infinitely many such strips to produce the exact enclosed area.

Mathematical Framework

The formula for the area between two curves expressed as functions of x rests on the Riemann sum interpretation of the definite integral. Consider a partition of [a, b] into n subintervals, each of width Δx = (b − a)/n. On the i-th subinterval, the height of the enclosed region is approximately f(xᵢ*) − g(xᵢ*), where xᵢ* is a sample point. The area of the i-th rectangular strip is [f(xᵢ*) − g(xᵢ*)]Δx, and summing over all strips yields a Riemann sum whose limit as n → ∞ is the definite integral.

AREA BETWEEN CURVES — BASIC FORM
A = ∫ₐᵇ [f(x) − g(x)] dx, where f(x) ≥ g(x) on [a, b]
Here f(x) is the upper curve, g(x) is the lower curve, and a and b are the left and right boundaries of the region (often intersection points of the two curves).
GENERAL FORM WITH ABSOLUTE VALUE
A = ∫ₐᵇ |f(x) − g(x)| dx
When the curves cross within [a, b], the absolute value ensures every strip contributes positive area. In practice, you split the integral at each crossing point cᵢ and integrate the appropriate difference on each subinterval.
SPLIT-INTERVAL FORM
A = ∫ₐᶜ [f(x) − g(x)] dx + ∫꜀ᵇ [g(x) − f(x)] dx
If f(x) ≥ g(x) on [a, c] and g(x) ≥ f(x) on [c, b], where c is the crossing point, then each integral uses the correct 'top minus bottom' order. This avoids negative contributions and is the standard computational approach.

A critical step in applying these formulas is finding the intersection points of the two curves. Setting f(x) = g(x) and solving for x gives the x-coordinates where the curves meet. These values become the limits of integration (or the points where you split the integral). Once you have determined the correct ordering of functions on each subinterval, the computation reduces to routine antidifferentiation followed by evaluation via the Fundamental Theorem of Calculus.

⚠️ Common Pitfall
A frequent mistake is to integrate f(x) − g(x) over the entire interval without checking which function is on top throughout. If the curves cross, the integral ∫ₐᵇ [f(x) − g(x)] dx gives the net signed area, which may be less than the geometric area. Always sketch the curves or test sample points to verify the ordering on each subinterval.

Step-by-Step Procedure & Classification of Cases

Area-between-curves problems fall into several common configurations. Recognizing which case you are dealing with streamlines the solution process and prevents errors. The following diagram classifies these cases visually, and the table below summarizes the corresponding computational strategies.

Three common configurations: Case 1 (cyan) — one function stays on top throughout; Case 2 (amber) — curves cross once, requiring a split; Case 3 (red) — multiple crossings, requiring multiple splits. The five-step procedure below the cases summarizes the systematic approach.
Classification of area-between-curves configurations
CaseDescriptionFormula
Single intervalf(x) ≥ g(x) on the entire interval [a, b]. No crossings inside the interval.A = ∫ₐᵇ [f(x) − g(x)] dx
One crossing at cf(x) ≥ g(x) on [a, c] and g(x) ≥ f(x) on [c, b] (or vice versa).A = ∫ₐᶜ [f − g] dx + ∫꜀ᵇ [g − f] dx
Multiple crossingsCurves cross at c₁, c₂, …, cₙ. Split into n + 1 subintervals and determine top/bottom in each.A = Σ ∫ each subinterval |f − g| dx
Bounds givenLimits a and b are explicitly specified (e.g., vertical lines x = a and x = b bound the region).Use given bounds; still check for crossings inside [a, b].

An important practical note: even when the problem specifies explicit bounds x = a and x = b, you should still check whether the curves cross within [a, b]. If they do, you must split the integral at each crossing point to avoid sign cancellation. A quick way to check is to evaluate f(x) − g(x) at the endpoints and at a midpoint — if the sign changes, there is at least one crossing in the interior.

Worked Example

Let us compute the area of the region enclosed between the curves y = x + 2 and y = x². This is a classic example that illustrates every step of the standard procedure.

Area Between y = x + 2 and y = x²
1
Step 1 — Find the Intersection PointsSet the two functions equal: x + 2 = x². Rearranging gives x² − x − 2 = 0, which factors as (x − 2)(x + 1) = 0.
Intersection points: x = −1 and x = 2
2
Step 2 — Determine Which Function Is on TopTest a sample point between x = −1 and x = 2, say x = 0. We have f(0) = 0 + 2 = 2 and g(0) = 0² = 0. Since f(0) > g(0), the line y = x + 2 is the upper curve and y = x² is the lower curve on the interval [−1, 2].
Top: f(x) = x + 2 ; Bottom: g(x) = x²
3
Step 3 — Set Up the IntegralThe area is given by A = ∫₋₁² [(x + 2) − x²] dx = ∫₋₁² (x + 2 − x²) dx. Note that the integrand is a simple polynomial, so antidifferentiation is straightforward.
A = ∫₋₁² (x + 2 − x²) dx
4
Step 4 — Compute the AntiderivativeThe antiderivative of x + 2 − x² is F(x) = x²/2 + 2x − x³/3.
F(x) = x²/2 + 2x − x³/3
5
Step 5 — Evaluate at the BoundsEvaluate F(2) − F(−1). We compute F(2) = (4/2) + 4 − (8/3) = 2 + 4 − 8/3 = 18/3 − 8/3 = 10/3. Then F(−1) = (1/2) − 2 − (−1/3) = 1/2 − 2 + 1/3 = 3/6 − 12/6 + 2/6 = −7/6. Therefore A = 10/3 − (−7/6) = 20/6 + 7/6 = 27/6.
A = 27/6 = 9/2 = 4.5 square units
💡 Verification Tip
You can verify your answer by checking the sign of the integrand: x + 2 − x² = −(x² − x − 2) = −(x − 2)(x + 1). For x ∈ (−1, 2), both factors (x − 2) and (x + 1) have opposite signs, so the product (x − 2)(x + 1) is negative and −(x − 2)(x + 1) is positive — confirming a nonnegative integrand and thus a valid single-integral setup.

Common Pitfalls, Strengths & Limitations

The area-between-curves technique is both powerful and broadly applicable, but several pitfalls can lead to incorrect results if you are not careful. The table below summarizes the most frequent errors alongside best-practice remedies.

Common pitfalls and remedies for area-between-curves problems
Pitfall / LimitationWhy It Goes WrongRemedy
Ignoring crossingsIntegrating (f − g) over the full interval when the curves swap yields net signed area, which is smaller than geometric area.Always solve f(x) = g(x) and split the integral at every crossing point inside [a, b].
Wrong 'top' functionChoosing the wrong function as the upper curve produces a negative integral (or an area that is too small).Test a sample x-value in each subinterval. If f(x*) > g(x*), then f is on top there.
Algebra errors in finding intersectionsMissing a root or introducing extraneous roots leads to incorrect limits of integration.Factor carefully, use the quadratic formula when needed, and verify by substitution.
Forgetting absolute valueWhen both curves dip below the x-axis, students sometimes try to handle signs relative to the x-axis, which is irrelevant for area between curves.Remember: the x-axis plays no special role. Only the relative position of the two curves matters.
Curves better expressed as y-functionsSome regions are more naturally bounded horizontally. Using x-functions forces awkward splits or multiple integrals.Consider switching to integration with respect to y (right minus left) if the region is simpler in that orientation.
STRENGTH OF THE METHOD
The area-between-curves formula generalizes the single-curve area formula in a natural and elegant way: it simply replaces the x-axis (y = 0) with an arbitrary lower boundary function g(x). This same 'difference of functions' idea reappears in volumes of revolution (washer method), work done against a variable force, and consumer/producer surplus in economics — making it one of the most transferable tools in your integration toolkit.

Connections to Advanced Topics

The area-between-curves framework is not an isolated technique — it is the gateway to a family of applications that exploit the same 'integrate a difference' or 'integrate a cross-section' strategy. Understanding how this foundational idea extends will help you see the structural unity across Calculus 2 applications and beyond.

How area between curves connects to advanced topics
This Lesson: Area Between x-CurvesAdvanced Extension
Integrate (top − bottom) with respect to x over [a, b].Area between y-functions: Integrate (right − left) with respect to y over [c, d].
Each vertical strip has height f(x) − g(x) and infinitesimal width dx.Volumes by slicing: Each cross-section has area A(x) and infinitesimal thickness dx. Integrate A(x) to get volume.
Region is flat (2D); integral computes area.Disk/Washer method: Revolve the region about an axis; integrate π(R² − r²) to get volume. The 'top − bottom' becomes 'outer radius − inner radius.'
Single integral in one variable.Double integrals (Multivariable Calculus): Area of more complex regions computed as ∬_R 1 dA; the single-variable formula is the iterated inner integral.
Difference of two functions gives geometric area.Consumer/Producer Surplus (Economics): Area between demand and supply curves represents economic surplus — a direct real-world application of this formula.

As you continue in Calculus 2, you will encounter the shell method and the washer method for volumes of revolution, both of which build directly on the geometric reasoning you have developed here. In each case, the essential strategy remains the same: decompose a region into infinitesimal pieces, express each piece's contribution in terms of a function of the integration variable, and sum via integration. Mastering the area-between-curves setup — correctly identifying bounds, determining top vs. bottom, and splitting at crossings — ensures you have the foundational skills to handle these more advanced applications confidently.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain in your own words why ∫ₐᵇ [f(x) − g(x)] dx can give a smaller value than the geometric area between the curves when f and g cross on (a, b). What is the correct approach to obtain the geometric area?
PROBLEM 2BASIC CALCULATION
Find the area of the region enclosed between y = x² and y = x on the interval where x² ≤ x.
PROBLEM 3INTERMEDIATE
Find the total area enclosed between the curves y = x³ − x and y = x on the interval [−1, 1]. Note that the curves cross within this interval.
PROBLEM 4APPLIED
A company's revenue rate (in thousands of dollars per month) is modeled by R(t) = 12 + 2t and its cost rate by C(t) = 3 + t², where t is measured in months on [0, 3]. Find the total net profit (revenue minus cost) over the first 3 months by computing the area between the revenue and cost curves. Determine whether the company is profitable overall and find any break-even point(s).
PROBLEM 5CRITICAL THINKING
Let f(x) = sin(x) and g(x) = cos(x). Derive a general formula for the total area enclosed between these two curves over one full period, say [0, 2π]. Then generalize: what is the area between sin(x) and cos(x) over [0, 2nπ] for any positive integer n?

Lesson Summary

The area between two curves expressed as functions of x is computed by integrating the top function minus the bottom function over the relevant interval: A = ∫ₐᵇ [f(x) − g(x)] dx when f(x) ≥ g(x). The limits of integration are typically the intersection points of the two curves, found by solving f(x) = g(x). When the curves cross within the interval, you must split the integral at each crossing point and use the correct top-minus-bottom ordering on each subinterval to avoid sign cancellation.

The systematic procedure involves five steps: sketch the curves, find intersection points, determine which function is on top in each subinterval, set up the definite integral(s), and evaluate using the Fundamental Theorem of Calculus. This technique extends naturally to volumes of revolution (disk/washer methods), area between y-functions, double integrals in multivariable calculus, and economic surplus calculations — making it one of the most versatile applications of integration.

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