The Fundamental Theorem of Calculus
Learning Objectives
- State both parts of the Fundamental Theorem of Calculus with every hypothesis, and say which part answers "what is the derivative of an integral" and which answers "how do I evaluate an integral".
- Differentiate functions defined by integrals, including ones with variable limits, using the chain rule.
- Evaluate definite integrals as and explain why the constant of integration drops out.
- Separate displacement from total distance when a velocity changes sign.
- Show with a concrete case that dropping a hypothesis makes each part fail.
- Use accumulation functions for quantities with no elementary antiderivative, such as .
Context & Motivation
In the-definite-integral-and-riemann-sums an integral was a limit of sums, and the exact value of even needed a summation formula and a limit. Meanwhile antiderivatives-and-initial-value-problems reversed differentiation without any mention of area. The Fundamental Theorem of Calculus (FTC) says these two projects are the same project: accumulating a rate and undoing a derivative are inverse operations. It turns a limit of terms into two function evaluations.
In computing the theorem shows up in two ways. Any cumulative quantity (total bytes sent from a rate, a cumulative distribution function from a density) has the rate as its derivative. And when no antiderivative can be written down, as for the bell curve, the theorem still tells you the derivative of the accumulated quantity, which is what numerical methods and gradient-based fitting need.
A note on naming: OpenStax calls the derivative statement Part 1 and the evaluation statement Part 2, as this lesson does. MIT 18.01SC and Active Calculus call the evaluation statement the first theorem and the derivative statement the second. Check which convention a source uses before quoting "the first theorem".
Core Theory
Accumulation functions
For integrable on , define for . The integration variable is a dummy, so use a different letter () from the upper limit (). is the net area accumulated from up to .
Part 1: the derivative of an accumulation
Theorem. If is continuous on and , then is continuous on , differentiable on , and for every (one-sided at the endpoints).
The idea: is the average of on . As that interval collapses onto , and continuity forces the average to approach . Numerically, for at the averages are 0.7241 (), 0.8522 (), 0.87517 (), 0.87734 (), heading to .
With variable limits, and continuous, differentiable:
Part 2: evaluation
Theorem. If is continuous on and is any antiderivative of on (that is, there), then
Why: is an antiderivative by Part 1. Two antiderivatives on an interval differ by a constant (a zero derivative on an interval means constant, see the-mean-value-theorem-and-monotonicity), so , and . If you write the cancels in the subtraction, so definite integrals need no constant.
Continuity of is the simple sufficient condition. The theorem holds more generally when is integrable and is continuous on with except at finitely many points. For example, with has for and , which is bounded but discontinuous at , and .
Net change
Read Part 2 with as a quantity and as its rate: , the net change. For velocity , is displacement and is distance travelled. They differ whenever changes sign.
Programs use the discrete twin of this idea all the time. With a prefix-sum array , the sum of any range is : the sum of the rate, taken as a difference of two cumulative values, with no loop over the range. Part 2 is the same trade for continuous , and the difference plays the role of .
When the hypotheses fail
- Part 2 with an unbounded . On take and . Then for , but is not continuous at and is unbounded there. The mechanical subtraction gives , a negative number for a positive function. The function is unbounded at , so it has no Riemann integral. Midpoint sums with are 47.4, 491.5, 4932.8, 49346.0: they grow about like and never settle (sympy reports ).
- Part 1 without continuity. Let for and . Changing one value does not change any integral, so , whose derivative at is , not . Likewise gives , with no derivative at .
Integrals with no elementary antiderivative
is continuous, so exists and Part 1 gives its derivative, but no combination of elementary functions has as its derivative. The accumulation is a new function, , with . Values come from numerical integration.
Worked Examples
Example 1: variable limits
Let . Both limits depend on :
At the formula gives . A central difference of numerical integrals gives . For a single variable limit, , the factor coming from the chain rule.
Example 2: evaluating with an antiderivative
Differentiating returns , and quadrature gives . The is legitimate because lies in , where is continuous.
Example 3: displacement versus distance
A particle has on , with antiderivative . The sign changes at and , so split there:
Displacement is ; distance is . Integrating over the whole interval and calling it "distance" would report , off by a factor of 3.
Example 4: reading an accumulation function
Let . By Part 1, , which is positive for , negative on , and positive for . So rises, then falls, then rises: a local maximum at with and a local minimum at with . Numerical integration gives and , and . The shape of was read from the sign of without computing .
Example 5: a function without a formula
By Part 1, , and a finite difference of the library agrees to . Midpoint sums of with give 0.84487, 0.84324, 0.84284, 0.842709, 0.842701, against . Values like those in the Z-table of the-normal-distribution come from this kind of numerical integration: , the roughly 68% of the 68-95-99.7 rule.
Common Misconceptions & Pitfalls
- "Any with off a few points will do." must also be continuous on . Take and on : except at the integers, yet while . The jump in at (Core Theory) is the same failure. A corner is harmless: with on gives .
- "The derivative of is ." The inner derivative is missing: it is . And if both limits are constants, the derivative is , because the integral is a number.
- "Definite integrals need ." The constant cancels. Writing it does no harm, but it is not part of the answer.
- "Integral of velocity is distance." It is displacement. Distance needs , split at sign changes.
- "Part 1 and Part 2 are the same fact." Part 1 produces antiderivatives for every continuous (including ones with no formula); Part 2 uses an antiderivative you already have to compute a number.
- Reusing as both limit and variable, as in . It runs, but invites mistakes in differentiation. Rename the inner variable.
Summary
For continuous on , Part 1 says the accumulation is differentiable with , and with variable limits the chain rule adds factors. Part 2 says for any antiderivative , so definite integrals become two evaluations and the constant of integration cancels. Read as net change, the integral of a rate is the change in the quantity, which is why velocity gives displacement and gives distance. Part 1 needs continuity of at the point in question (a single changed value breaks it there). Part 2 needs integrable and continuous on : on fails both, and with shows that a jump in breaks the formula. When no elementary antiderivative exists, as with , the accumulation function is still well defined and has a known derivative, and its values come from numerical integration. The next lesson, integration-by-substitution-and-by-parts, builds the techniques for finding antiderivatives.
Documentation Links
- Strang, Herman et al. (2016): Calculus Volume 1, 5.3 The Fundamental Theorem of Calculus
- Strang, Herman et al. (2016): Calculus Volume 1, 5.4 Integration Formulas and the Net Change Theorem
- Active Calculus: 4.4 The Fundamental Theorem of Calculus
- Active Calculus: 5.2 The Second Fundamental Theorem of Calculus
- MIT OCW 18.01SC: Unit 3 Part B