The Second Fundamental Theorem of Calculus
Suppose you know a function . Suppose you also know some function whose derivative is . Can you compute without ever building a Riemann sum? This is the question the Second Fundamental Theorem of Calculus answers. The answer is a resounding yes: the integral collapses to the boundary values . This single fact converts integration, defined analytically as a limit of approximating sums, into an algebraic bookkeeping problem. That problem is simply "find an antiderivative and plug in endpoints." The result matters because it is the bridge between two theories developed for entirely different purposes. Differentiation measures instantaneous rate of change. Integration measures accumulated area. These are inverse operations. The inverse relationship can also be exploited computationally. This is one of the great unifications in mathematics. Without this theorem, every integral would require the full machinery of Riemann sums, upper and lower integrals, and limiting arguments. With it, computing becomes the one-line calculation . The theorem sits alongside the First Fundamental Theorem of Calculus as one half of a matched pair. The First Fundamental Theorem says the accumulation function is itself an antiderivative of . This holds when is continuous. The Second Fundamental Theorem runs in the reverse direction. Given any antiderivative of an integrable , the definite integral's value is determined. It is determined by evaluated at the endpoints. The two theorems are logically independent statements. They are often merged, though, in calculus courses. Here we isolate the evaluation theorem instead. We prove it carefully using Basic Properties: Linearity and Additivity of the Riemann integral. We also use the Mean Value Theorem. This article gives the precise hypotheses under which the evaluation formula holds. It offers a complete proof via Riemann sums and the Mean Value Theorem. It also includes a worked computation with an asymmetric integrand. A careful counterexample follows, showing why Riemann integrability of cannot be dropped from the hypotheses. It closes by placing the theorem in the broader landscape of techniques it makes possible. These include substitution, integration by parts, and beyond.
- The theorem states: if on and is Riemann integrable, then .
- It converts integration into antiderivative-finding, replacing limits of Riemann sums with algebra.
- The proof uses the Mean Value Theorem to match Riemann-sum pieces to 's increments exactly.
- Both hypotheses — differentiability of everywhere with , and integrability of — are essential.
- Dropping integrability of produces genuine counterexamples (a derivative that is unbounded, hence not Riemann integrable).
- Key idea: telescoping the difference against a partition turns it into a Riemann sum for , forcing equality in the limit.
Where this lives today
The evaluation theorem is the computational engine behind virtually all closed-form integral evaluation in physics and engineering: computing work done by a force, charge accumulated from current, or displacement from velocity all reduce to finding an antiderivative and subtracting endpoint values. It underlies Integration by Substitution, where a change of variable transforms into , and the evaluation theorem is what lets you convert the resulting antiderivative back into a definite integral value. It equally underlies Integration by Parts, derived by applying the evaluation theorem to the product rule . Beyond first-year calculus, the theorem generalizes in analysis to the Fundamental Theorem of Calculus for Lebesgue integrals, where need only be absolutely continuous (not necessarily differentiable everywhere) — a refinement designed precisely to handle pathologies like the counterexample above. In numerical analysis, quadrature methods (Simpson's rule, Gaussian quadrature) are justified as approximations to the right-hand side of the theorem when no closed-form antiderivative exists. In complex analysis, the theorem's structure reappears as the fundamental theorem of contour integration for holomorphic primitives. In probability and statistics, evaluating cumulative distribution functions from density functions (and vice versa) is a direct application. In control theory and signal processing, computing the state transition from a known rate function again reduces to this evaluation.
:::quiz[In the proof, what does the Mean Value Theorem supply on each subinterval [xᵢ₋₁, xᵢ]?]
- A bound on the oscillation of f
- A point tᵢ where F(xᵢ) − F(xᵢ₋₁) = f(tᵢ)Δxᵢ exactly ✓
- The exact value of the integral over that subinterval
- A proof that f is continuous at tᵢ
:::quiz[Why does the counterexample F(x) = x² sin(1/x²) (F(0)=0) fail to satisfy the theorem's conclusion on [0,1]?]
- F is not continuous at 0
- F is not differentiable at 0
- F'(x) is unbounded near 0, so f = F' is not Riemann integrable on [0,1] ✓
- The Mean Value Theorem fails on [0,1]
:::quiz[If f is continuous on [a,b], which prior theorem guarantees an antiderivative automatically exists?]
- The Second Fundamental Theorem of Calculus itself (circular)
- The First Fundamental Theorem of Calculus, via F(x) = ∫ₐˣ f(t) dt ✓
- The Extreme Value Theorem
- Rolle's Theorem
Ask the tutor: Can you show me why the Mean Value Theorem step actually requires to be differentiable at every interior point of every subinterval, not just at the tagged points ?
Let be a function. A function is called an antiderivative of on if is continuous on , differentiable on (with one-sided derivatives assumed to exist and match at the endpoints, in the strong version), and
We say is Riemann integrable on (written ) if the upper and lower Darboux integrals of over coincide; their common value is . The evaluation theorem (Second Fundamental Theorem of Calculus) asserts that when both of these hypotheses hold simultaneously — is an antiderivative of on , and is Riemann integrable on — then
Intuition
Picture the antiderivative as a "distance traveled" function and as a velocity function. The claim says: total displacement equals the integral of velocity over time. This is believable at the level of physical intuition — you cannot get from position to position except by accumulating the velocity along the way — but the theorem promotes this intuition to a theorem about limits of Riemann sums. The proof idea is a clever telescoping trick. Take any partition . Then trivially,
because the sum telescopes: every intermediate value of cancels. Now, on each tiny subinterval , the Mean Value Theorem hands us a point where
So is exactly equal to — a genuine Riemann sum for , for every partition, with a specific (Mean-Value-Theorem-supplied) choice of sample points. Since is assumed Riemann integrable, every Riemann sum (with any tags) converges to as the mesh shrinks. In particular these particular sums converge to . But they are all identically equal to . Hence .
The proof, in outline
The picture above is the entire proof: telescoping, then the Mean Value Theorem on each piece, then invoking integrability of to pass to the limit. We now write this out with full rigor.
Let with , and suppose: 1. (Integrability) , i.e. is Riemann (Darboux) integrable on ; 2. (Antiderivative) is continuous on , and for every , with the one-sided derivatives at the endpoints also equal to and respectively. Then
Technique: telescoping sum matched to Riemann sums via the Mean Value Theorem. Let be an arbitrary partition of .
Step 1 (Telescoping). By definition of a telescoping sum,
This is a purely algebraic identity: expanding the right side, every term for appears once with a sign (from the -th summand) and once with a sign (from the -th summand), so it cancels; only and survive.
Step 2 (Mean Value Theorem on each subinterval). Fix . On the subinterval , the function is continuous (being continuous on all of , hence on the subinterval) and differentiable on the open interval (since , where is assumed to exist). By the Mean Value Theorem, there exists a point such that
where and we used hypothesis (2) that on .
Step 3 (Recognizing a Riemann sum). Substituting Step 2 into the right-hand side of (1) gives
where the right side is precisely a Riemann sum for associated to the partition with tags (in fact lies in the open subinterval, but this is still an admissible tag). Crucially, identity (2) holds exactly, with no error term, for every partition — the specific tags depend on (they come from the Mean Value Theorem), but the equality is exact, not approximate.
Step 4 (Passing to the limit using integrability of ). Since , by the Riemann-sum characterization of the integral (equivalent to the Darboux definition): for every there exists such that for every partition with mesh , and for every choice of tags ,
(This equivalence of the Darboux integral and the tagged-Riemann-sum limit is a standard prior fact about the Riemann integral, following from squeezing Riemann sums between lower and upper Darboux sums; we take it as known, consistent with Basic Properties: Linearity and Additivity having already established the integral's basic apparatus.) Now choose, for each , a partition with mesh as (for instance the uniform partition into equal pieces, ). For each , Steps 1–3 produce tags with
By Step 4's Riemann-sum convergence (applied with , i.e. taking large enough that ), the right side satisfies
But the left side is a constant, not depending on at all. A sequence that is eventually within of for every , while also being constantly equal to , forces
This completes the proof.
∎If is an antiderivative of and , then applying the theorem on and on separately gives
recovering the additivity property of the integral (compare Basic Properties: Linearity and Additivity) as a consistency check on the theorem.
Worked examples
Example 1: An integral requiring a non-obvious antiderivative, with asymmetric bounds. Compute Step 1 — check integrability. The integrand is continuous on (no singularity, since keeps us away from ). A continuous function on a closed bounded interval is Riemann integrable, so hypothesis (1) of the theorem holds. Step 2 — find an antiderivative. Using linearity of differentiation,
satisfies for , in particular on , and is continuous on (and differentiable at the endpoints too, with the correct one-sided derivatives, since is continuous there). Hypothesis (2) holds. Step 3 — apply the theorem.
Compute each piece: , , so . And . Hence
As a sanity check, note throughout (since while there), so a positive answer is consistent with being positive over an interval of length 3.
Example 2: A piecewise antiderivative, testing additivity across a break point. Compute where
Step 1 — check integrability. First check continuity of at : from the left, ; from the right, . They match, and is a polynomial (hence continuous) on each piece, so is continuous on all of , hence Riemann integrable there. Step 2 — construct a global antiderivative. On , an antiderivative of is . On , an antiderivative of is . To glue these into one continuous, piecewise-differentiable we need to match at and have matching derivative there (which is automatic since both pieces reduce to at the junction from the formulas above, guaranteeing exists at too, provided the values agree). Choose , so the left piece is for , giving . For the right piece we need , i.e. , so . Thus
One checks directly that is continuous at (both formulas give ) and that from both sides (differentiate each piece and take the one-sided limit at ), so is a genuine antiderivative of on all of in the sense of the theorem. Step 3 — apply the theorem.
Compute . Compute . Hence
As a check via additivity, , and ; summing gives , matching. This confirms both the theorem's answer and the corollary on additivity across .
The theorem requires both that have everywhere on and that itself be Riemann integrable. It is tempting to think the second hypothesis is redundant — surely if is differentiable, its derivative is automatically integrable? This is false, and the failure is exactly what forces us to state integrability of as a separate, necessary hypothesis. Define by
is differentiable everywhere on . For , the product and chain rules give
At , we compute directly from the definition of the derivative:
since (squeeze theorem). So is differentiable on all of , with
is unbounded near , hence NOT Riemann integrable on . Take for , so that and . Then
as , while . So takes arbitrarily large-magnitude values arbitrarily close to ; is unbounded on . A basic prerequisite fact about the Riemann integral is that every Riemann integrable function on a closed bounded interval must be bounded (unbounded functions make upper Darboux sums infinite, or force the supremum/infimum defining the sums to be undefined on any subinterval containing points where ). Hence .
Conclusion. is a legitimate antiderivative of on — differentiable everywhere with — yet does not exist as a Riemann integral, so the formula is not merely false, it is meaningless (the left side is undefined). This shows the integrability hypothesis on cannot be removed or deduced from the existence of : differentiability of alone is not strong enough to guarantee is even bounded, let alone Riemann integrable.
Scope, edge cases & common traps
| Situation | What happens |
|---|---|
| continuous on | Theorem applies directly; can be built via the First Fundamental Theorem of Calculus as . |
| Riemann integrable but discontinuous at finitely many points | Theorem still applies as stated, provided a genuine antiderivative (differentiable everywhere with ) exists — such may fail to exist if has jump discontinuities, since derivatives satisfy the intermediate value property (Darboux's theorem on derivatives) and cannot jump. |
| differentiable everywhere but unbounded | Integrability hypothesis fails; conclusion can be literally undefined (see counterexample). |
| integrable, but merely continuous with only except at finitely many points | A stronger version of the theorem (using generalized/Lebesgue-style arguments) still often holds, but this exceeds the elementary Riemann-sum proof given here; treat as a distinct, more advanced result. |
| Improper integrals ( or unbounded near an endpoint) | Outside the scope of this theorem; requires the separate theory of improper integrals as a limit of proper ones. |
The mathematician behind it
Origins · 1 minIsaac Newton and how this was discovered
Newton developed the calculus of fluxions in the 1660s–1670s, treating derivatives ("fluxions") and what we now call antiderivatives as inverse operations from the start — his method of quadrature was built around finding a function whose fluxion matched the given curve, then reading off areas from the resulting formula. Independently, Gottfried Wilhelm Leibniz arrived at an equivalent formalism with his differential and integral notation, and the notation and that survives today is his. The rigorous – underpinnings that make the Mean-Value-Theorem-based proof above airtight came later, chiefly from Augustin-Louis Cauchy and Bernhard Riemann in the 19th century, who replaced the intuitive "infinitesimal" reasoning of Newton and Leibniz with limits of sums.
Do I need f to be continuous for the Second Fundamental Theorem to apply?
No. The theorem as proved here only requires to be Riemann integrable on , together with the existence of some antiderivative with everywhere on (and matching one-sided derivatives at the endpoints). Continuity of is a common and convenient special case — it guarantees integrability automatically and lets you construct via the First Fundamental Theorem of Calculus — but the evaluation formula itself works more generally, for instance when has finitely many jump discontinuities, as long as a genuine antiderivative still exists.
How is this different from the First Fundamental Theorem of Calculus?
The First Fundamental Theorem says that if is continuous on , then the accumulation function is differentiable with ; it produces an antiderivative from an integral. The Second Fundamental Theorem runs the other direction: given any antiderivative (found by any means, not necessarily by integrating ), it lets you evaluate by computing . They are converse-flavored statements that are logically distinct, though often taught together and sometimes both called "the Fundamental Theorem of Calculus."
Can two different antiderivatives of the same f give different answers?
No, and this is a useful consistency check. If and are both antiderivatives of on , then on , so by the Mean Value Theorem is constant on . Hence : the specific antiderivative you choose does not matter, only the endpoint difference does. This is why we speak of "an" antiderivative rather than "the" antiderivative.
What goes wrong if F fails to be differentiable at even one interior point?
The Mean Value Theorem step in the proof requires to be differentiable on the open subinterval for every subinterval in every partition. If fails to be differentiable at a single point , then any partition with strictly inside some subinterval breaks the Mean Value Theorem application on that piece, and the telescoping trick no longer produces an exact Riemann sum. In practice, one can often still recover the theorem by splitting the integral at (via additivity) and checking whether one-sided derivatives at still match , but this requires care and is not automatic.
Is the Second Fundamental Theorem still true for Lebesgue integrals?
A closely related but distinct statement holds: if is absolutely continuous on , then almost everywhere, is Lebesgue integrable, and . Absolute continuity is a strictly stronger condition than mere differentiability everywhere — it rules out pathologies like the Cantor function and like the counterexample in this article. The Riemann-integral version proved here is the classical, calculus-course statement; the Lebesgue version is the appropriate generalization studied in measure-theoretic real analysis.
Why does the proof need the tags tᵢ to come from the Mean Value Theorem specifically, rather than arbitrary tags?
The telescoping identity is exactly true for any partition, but to rewrite each summand as exactly (not approximately), we need a point where the average rate of change of on equals the instantaneous rate — that is precisely what the Mean Value Theorem guarantees. Without it, we would only have an approximate Riemann sum (using, say, ), and the argument would need an extra error-bounding step using uniform continuity, which the Mean Value Theorem approach elegantly avoids.