Ⅶ Logic, Analysis & Beyond · Stage 37 — Beyond · 37.1 The Definite Integral & the FTCAll lessons →
Stage 37 · Beyond

Integrals: the Definite Integral & the Fundamental Theorem

Run differentiation backwards, add up infinitely many thin strips, and watch the two halves of calculus snap together.

Ages 16–99 · A first look beyond · Reasoning, one step at a time
The definite integral ∫₀³ x² dx is the green area under the curve — and it is the limit of those amber strips as they grow thinner. Its exact value is 9.

In the last stage you learned to differentiate: given a position, you found a speed; given a curve, you found its slope. This lesson asks the reverse question — given the speed, can you recover the distance? Given a curve, can you find the area beneath it? The answer is integration, and it is built by slicing a region into countless thin strips and adding them up. The astonishing part — the Fundamental Theorem of Calculus — is that this area is just a difference of an antiderivative, so the two operations you are about to meet, differentiation and integration, are inverses of each other. Here is the keystone of the whole calculus arch.

37.1.1 From derivatives to integrals

Suppose a car drives at a steady 60 miles per hour for 2 hours. How far did it go? You multiply: 60 × 2 = 120 miles. On a graph of speed against time, that product is exactly the area of the rectangle under the speed line — height (the speed) times width (the time).

But what if the speed keeps changing? In Stage 36 you ran this the other way: from a position function you took a derivative to get the speed. Integration runs that arrow backwards. If you know the speed at every instant and you want the total distance, you have to add up "speed × tiny bit of time" over and over — and that sum, in the limit, is the integral.

Key idea

Differentiation turns distance into speed (and a curve into its slope). Integration turns speed back into distance (and a curve into the area beneath it). They are two directions on the same road.

37.1.2 Area under a curve & Riemann sums

To find the area under a curve y = f(x) from x = a to x = b, we do the only thing we know how to do exactly — find rectangle areas — and we do it many times. Cut [a, b] into n thin strips, each of width Δx = (b − a)/n. On each strip pick a sample point xᵢ, build a rectangle of height f(xᵢ), and add the areas:

Riemann sum  =  f(x₁)·Δx + f(x₂)·Δx + ⋯ + f(xₙ)·Δx  =  Σ f(xᵢ)·Δx

The thinner the strips — the larger the n — the better the staircase of rectangles hugs the curve, and the closer the sum comes to the true area. That limiting value, written with a long stretched-S, is the definite integral:

ab f(x) dx  =  limn→∞  Σ f(xᵢ)·Δx

The is a stretched "S" for sum; the dx is the ghost of the width Δx after it has shrunk to nothing.

Example · midpoint rectangles converge

Take f(x) = x² on [0, 3]. With just n = 5 midpoint rectangles the sum is 8.91; with n = 20 it is 8.994; with n = 60 it is 8.999. It is marching toward the exact value 9.

Try it WATCH THE STRIPS CONVERGE
Add strips and switch the sample rule. Left rectangles under-shoot, right rectangles over-shoot, midpoints are best — and all three close in on the exact ∫₀³ x² dx = 9 as n grows.
strips n 4
rule

37.1.3 The definite integral & signed area

The limit of those strip areas is the definite integral — but with one important twist. A rectangle whose top dips below the x-axis has a negative height f(xᵢ), so it contributes a negative area. The integral therefore measures net (signed) area: area above the axis counts as positive, area below counts as negative, and they can cancel.

Watch out — signed, not total

The integral is not the same as the total amount of ink under the curve. A piece below the axis subtracts. If a function is below the axis as much as it is above, the net integral can even be 0 while the actual geometric area is large.

Try it NET AREA vs TOTAL AREA
Here f(x) = x² − 2x = x(x − 2) on [0, b]. The green piece sits above the axis, the red piece below. Slide b and compare the signed integral with the total geometric area.
right end b

37.1.4 Basic properties of the integral

Before we can compute anything quickly, four properties — each obvious once you picture the strips — make integrals easy to handle.

Four rules for the definite integral
PropertyIn symbolsWhy
Zero widthaa f = 0no strip has any width
Flip the limitsab f = −ba fwalking backwards reverses sign
Split the intervalab f = ac f + cb ftwo slabs make the whole
Constant pulls outab k·f = k·ab fevery strip scales by k
Example · splitting matches the picture

For f(x) = x² − 2x, the split rule says ∫₀³ = ∫₀² + ∫₂³. The first piece is −1.33 (below the axis), the second is +1.33 (above), and they sum to 0 — exactly the net you saw in the slider above.

37.1.5 Antiderivatives & the indefinite integral

Here is the move that makes everything practical. An antiderivative of f is any function F whose derivative is f: that is, F′ = f. Differentiation read backwards. Since the derivative of is 2x, we know is an antiderivative of 2x; running the power rule in reverse, an antiderivative of is x³/3.

But the derivative forgets constants: (x³/3 + 7)′ and (x³/3 − 4)′ are both . So an antiderivative is never unique — you can always add a constant. We write the whole family as the indefinite integral, and we must not forget the + C:

x² dx  =  x³/3 + C

Watch out — keep f and F straight, and never drop the + C

The indefinite integral asks for the whole family of antiderivatives, so it always carries a + C; dropping it is the single most common slip. And do not confuse the function f with its antiderivative F — the next theorem lives or dies on getting the right one (F′ = f).

37.1.6 The Fundamental Theorem of Calculus

Now the two strands tie together. We built the definite integral as a limit of strip areas — slow, infinite, geometric. We built the antiderivative as differentiation in reverse — fast, algebraic. The Fundamental Theorem of Calculus says these are the same thing: to find the area, just take any antiderivative and subtract its values at the endpoints.

ab f(x) dx  =  F(b) − F(a)   (where F′ = f)

No strips, no limits — just a difference of two numbers. The + C cancels in the subtraction, which is why the definite integral has a single, definite value. Differentiation and integration genuinely undo one another.

Example · the FTC in three lines

∫₀³ x² dx  =  [ x³/3 ]₀³  =  3³/30³/3  =  90  =  9. The same 9 the amber strips were crawling toward — now found in one step.

Try it THE FTC EVALUATOR
Pick a function and slide the upper limit b (with a = 0). The shaded green/red region is the signed area, and the readout evaluates it in one step by the FTC formula F(b) − F(0).
f(x)
upper b

37.1.7 Using integrals: area and distance

Two everyday questions are now one calculation. Area under a curve is the integral, as we have seen. And distance from a varying speed is the integral of the speed: if v(t) is the speed (in metres per second) and you travel from t = 0 to t = 4 seconds, the distance is the area under the speed curve — and the units agree, metres-per-second × seconds = metres.

Example · distance from a speeding-up car

A car starts from rest with speed v(t) = t m/s. Distance over the first 4 seconds is ∫₀⁴ t dt = [ t²/2 ]₀⁴ = 16/2 − 0 = 8 metres. If instead v(t) = 2t + 1, the distance over the first 3 seconds is ∫₀³ (2t + 1) dt = [ t² + t ]₀³ = 9 + 3 = 12 metres.

Try it SPEED → DISTANCE
A car speeds up as v(t) = 2t + 1 m/s. The area under the speed curve from 0 to your chosen second is the distance travelled — computed by the FTC, never read off the picture.
elapsed time t 3

What to carry forward

The keystone of calculus, in one glance
IdeaWhat it says
Riemann sumΣ f(xᵢ)·Δx — add thin strips; thinner strips → better
Definite integralab f dx = the limit of those sums = net (signed) area
Signed areabelow the axis counts negative — net ≠ total
AntiderivativeF with F′ = f; the indefinite integral f dx = F + C
Fundamental Theoremab f = F(b) − F(a) — area is a difference of an antiderivative

Exercises

  1. Use the Fundamental Theorem to evaluate ∫₀² x² dx.
    Show the steps
    An antiderivative of is x³/3. So ∫₀² x² dx = [x³/3]₀² = 8/3 − 0 = 8/3 ≈ 2.667.
  2. Evaluate ∫₀² x³ dx.
    Show the steps
    An antiderivative of is x⁴/4. So [x⁴/4]₀² = 16/4 − 0 = 4.
  3. Find the net integral ∫₀³ (x² − 2x) dx, then the total geometric area between the curve and the axis on [0, 3].
    Show the steps
    Antiderivative: x³/3 − x². Net = [x³/3 − x²]₀³ = (9 − 9) − 0 = 0. The curve is below the axis on (0, 2) and above on (2, 3): ∫₀² = −4/3, ∫₂³ = +4/3. Total geometric area = |−4/3| + |4/3| = 8/3 ≈ 2.667. Net 0, total 8/3 — they differ because of signed area.
  4. A particle moves with speed v(t) = 2t + 1 m/s. How far does it travel in the first 3 seconds?
    Show the steps
    Distance = ∫₀³ (2t + 1) dt. Antiderivative: t² + t. So [t² + t]₀³ = (9 + 3) − 0 = 12 metres.
  5. Write the indefinite integral ∫ (3x² − 2) dx, and say why the answer is not a single function.
    Show the steps
    Reverse the power rule term by term: an antiderivative of 3x² is , of −2 is −2x. So ∫ (3x² − 2) dx = x³ − 2x + C. It is a whole family because the derivative forgets constants — every choice of C has the same derivative 3x² − 2.
  6. Using the split rule, check that ∫₀² x² dx + ∫₂³ x² dx equals ∫₀³ x² dx.
    Show the steps
    ∫₀² x² dx = 8/3 ≈ 2.667 and ∫₂³ x² dx = [x³/3]₂³ = 9 − 8/3 = 19/3 ≈ 6.333. Their sum is 8/3 + 19/3 = 27/3 = 9 = ∫₀³ x² dx. The two slabs make the whole.

🎯 Quick check

Six questions to lock it in. Tap the answer you think is right.

§ For teachers and parents

This lesson is a first, honest look at the core of AP Calculus AB: Riemann sums, the definite integral as a limit and as signed area, antiderivatives and the indefinite integral, and the Fundamental Theorem of Calculus (it also touches HSF-IF, interpreting functions). The widgets are computed, not cosmetic — every strip sum equals the program's Riemann sum and every quoted integral comes from an exact antiderivative — so a learner can verify that the staircase really does converge and that the FTC really does reproduce the area. From here the road forks toward techniques of integration, differential equations, and ultimately the rigorous limits of real analysis — a door opening, not a curtain falling.

eastmath.com · Stage 37 · 37.1 The Definite Integral & the FTC · Reasoning, one step at a time