Jugami › Calculus › The Fundamental Theorem
The Fundamental Theorem of Calculus
Slopes and areas are two sides of one coin.
Derivatives measure how fast something changes. Integrals add up tiny pieces into a total. They look like separate problems, but they undo each other. The rate at which area under a curve grows is the height of the curve, and that one fact turns hard limits of sums into quick subtraction.
On this page: accumulation functions with a graph you can drag, both parts of the theorem and why they are true, evaluating integrals, derivatives of integrals with variable limits, net change and average value, six worked examples, nine practice problems and an eight-question quiz.
Section IAccumulation functions
Fix a starting point a and let the right edge x move. The signed area under f from a to x is a new function of x, the accumulation function:
A(x) = ∫ax f(t) dtThe letter t is just a placeholder inside the integral, so that x can name the moving edge. Pieces above the axis add to A; pieces below subtract.
Try the interactive version at jugami.com/calculus/ftc/
Things to notice: A increases wherever f is positive and decreases wherever f is negative. Where f crosses zero, A has a peak or a valley. The steeper the bottom graph, the taller the top one.
Section IIThe Fundamental Theorem, Part 1
Part 1
If f is continuous on a ≤ x ≤ b, then A(x) = ∫ax f(t) dt is differentiable there, and
A′(x) = f(x)Why it is true. Nudge the right edge from x to x + h. The area grows by a thin strip. Its width is h and its height is almost exactly f(x), so
A(x + h) − A(x) ≈ f(x) · hDivide by h: the difference quotient of A is about f(x). As h → 0 the strip becomes a perfect rectangle, and the approximation becomes exact. In words: the rate at which area accumulates is the height of the curve.
So every continuous function has an antiderivative: its own accumulation function. Integration and differentiation undo each other.
Section IIIThe Fundamental Theorem, Part 2
Part 2
If f is continuous on a ≤ x ≤ b and F is any antiderivative of f, then
∫ab f(x) dx = F(b) − F(a)Why it is true. By Part 1, A(x) = ∫ax f(t) dt is an antiderivative of f. Two antiderivatives of the same function differ by a constant, so F(x) = A(x) + C. Then
F(b) − F(a) = (A(b) + C) − (A(a) + C) = A(b) − A(a) = A(b)because A(a) = ∫aa f(t) dt = 0. And A(b) is exactly the integral from a to b. The constant C always cancels, so any antiderivative works.
We write the subtraction with brackets: [F(x)]ab = F(b) − F(a).
Section IVEvaluating definite integrals
Part 2 turns a limit of Riemann sums into three steps:
- Find an antiderivative F of the integrand (no + C needed).
- Evaluate it at the upper limit and at the lower limit.
- Subtract: upper minus lower.
For example, ∫02 x² dx = [x³/3]02 = 8/3 − 0 = 8/3. That is the exact area the Riemann sums in the Integrals unit were closing in on. The answer is still a signed area: parts below the axis subtract, just as before.
Section VDerivatives of integrals with variable limits
Part 1 handles an upper limit of plain x. When the upper limit is a function g(x), combine Part 1 with the chain rule:
d over dx ∫ag(x) f(t) dt = f(g(x)) · g′(x)When x is in the lower limit, flip the limits first, which changes the sign. With variables in both limits, split at a constant c:
d over dx ∫g(x)h(x) f(t) dt = f(h(x)) h′(x) − f(g(x)) g′(x)The constant starting point never shows up in the answer, because shifting where the area starts only adds a constant to A.
Section VINet change and average value
Part 2 has a direct reading for any quantity Q with rate of change Q′:
∫ab Q′(t) dt = Q(b) − Q(a)The integral of a rate is the net change. Integrate velocity and you get displacement; integrate a flow rate and you get the volume added. For total distance travelled, integrate speed |v(t)| instead, so backwards motion counts too.
The average value of f on a ≤ x ≤ b is the height of the rectangle with the same width and the same signed area:
favg = 1 over b − a ∫ab f(x) dxIf f is continuous, it actually reaches its average at some point c in the interval (the Mean Value Theorem for integrals).
Section VIIWorked examples
Example 1: evaluating an integral
Evaluate ∫13 (3x² − 2x) dx.
✓ Numerical check: a midpoint sum with n = 1000 gives 17.999998, within 0.000002 of 18.
Example 2: Part 1
Find d over dx ∫2x √(1 + t³) dt.
✓ This integral has no simple formula, yet its derivative is easy. At x = 2, a difference quotient with h = 0.0001 gives 3.000, matching √9 = 3.
Example 3: chain rule with a variable limit
Find d over dx ∫0x² cos t dt.
✓ Check: the integral is sin(x²), and (sin(x²))′ = 2x cos(x²).
Example 4: variables in both limits
Find d over dx ∫xx² 1 over t dt for x > 0.
✓ Check: the integral is ln(x²) − ln x = ln x, whose derivative is 1/x.
Example 5: displacement and distance
A particle moves with velocity v(t) = t² − 4t + 3 m/s for 0 ≤ t ≤ 3. Find its displacement and the total distance travelled.
✓ A midpoint sum of |v(t)| with n = 1000 gives 2.666667.
Example 6: average value
Find the average value of f(x) = x² on 0 ≤ x ≤ 3, and where it is reached.
✓ The rectangle of height 3 and width 3 has area 9, the same as the area under the curve.
Section VIIICommon mistakes
- Subtracting in the wrong order. It is F(upper) − F(lower), even when the upper limit is smaller.
- Forgetting the chain rule. d/dx of an integral up to x² is f(x²) · 2x, not just f(x²).
- Dropping the sign for a lower limit. x in the lower limit gives −f(x).
- Using Part 2 across a break. The integrand must be continuous on the whole interval: 1/x² from −1 to 1 has no finite area.
- Confusing displacement with distance. Integrate |v| for distance.
Section IXPractice problems
Try each one on paper first, then open the answer to check your steps.
Evaluate ∫02 (x³ + 1) dx. FTC Part 2
Show answer and steps
F(x) = x⁴/4 + xAn antiderivativeF(2) − F(0) = (4 + 2) − 0 = 6Answer✓ A midpoint sum with n = 1000 gives 5.999998, within 0.000002 of the exact answer.
Evaluate ∫0π/2 cos x dx. FTC Part 2
Show answer and steps
F(x) = sin xSince (sin x)′ = cos xsin(π/2) − sin 0 = 1 − 0 = 1Answer✓ The region is one quarter of a cosine arch, all above the axis, so a positive answer makes sense.
Evaluate ∫14 √x dx. FTC Part 2
Show answer and steps
F(x) = ⅔ x3/2Power rule with n = ½⅔(8 − 1) = 14/3 ≈ 4.666667Answer✓ 43/2 = 8 and 13/2 = 1. A midpoint sum with n = 1000 gives 4.666667.
Evaluate ∫1e 1 over x dx. FTC Part 2
Show answer and steps
F(x) = ln xFor x > 0ln e − ln 1 = 1 − 0 = 1Answer✓ The area under 1/x from 1 to e is exactly 1, which is one way to define e.
Find d over dx ∫1x (t² + 1)⁵ dt. FTC Part 1
Show answer and steps
The integrand is continuous and the upper limit is xPart 1 applies directly(x² + 1)⁵Answer✓ No need to expand or integrate: replace t with x.
Find d over dx ∫0x³ sin t dt. Chain rule
Show answer and steps
Upper limit u = x³, du/dx = 3x²The limit is a function of xsin(x³) · 3x² = 3x² sin(x³)Answer✓ Check: the integral equals 1 − cos(x³), whose derivative is sin(x³) · 3x².
Find d over dx ∫x5 et² dt. Lower limit
Show answer and steps
∫x5 = −∫5xFlip the limits to put x on top−ex²Answer✓ Moving x to the right makes the region narrower, so the integral shrinks: the minus sign is expected.
Water flows into a tank at r(t) = 20 − 2t litres per minute for 0 ≤ t ≤ 10. The tank starts with 50 litres. How much is in it at t = 10? Net change
Show answer and steps
∫010 (20 − 2t) dt = [20t − t²] = 200 − 100 = 100Litres added50 + 100 = 150 litresAnswer✓ The rate falls from 20 to 0 L/min, so the inflow is a triangle with area ½ · 10 · 20 = 100.
Find the average value of sin x on 0 ≤ x ≤ π. Average value
Show answer and steps
1 over π − 0 ∫0π sin x dx = 2 over πAverage = integral ÷ width2/π ≈ 0.63662Answer✓ The average lies between the minimum 0 and maximum 1, a little below ⅔.
Section XSelf-guided quiz: eight quick questions
Choose one answer for each question, then press “Check my answers.” Your best score is saved only in this browser.
Section XIBarrow, Newton and Leibniz
By the 1660s, mathematicians could find many tangents and many areas, but by separate tricks. Isaac Barrow, the first Lucasian Professor of Mathematics at Cambridge, developed a method of tangents that came close to calculus; his geometry lectures were published as Lectiones Geometricae in 1670. He is credited with being the first to recognise that integration and differentiation are inverse operations, although he never stated the Fundamental Theorem explicitly.
Isaac Newton wrote a tract on fluxions in October 1666. In it he calculated areas by reversing differentiation, and historians regard it as containing the first clear statement of the Fundamental Theorem. For Newton, integrating meant finding the quantity (the “fluent”) whose rate of change was given.
Gottfried Wilhelm Leibniz reached the same connection independently, thinking of an integral as a sum of infinitely thin pieces. By 1675 he had settled on writing ∫ y dy = ½ y², exactly as we do today. His notation, d and ∫, made the inverse relationship easy to see and to use, which is why it is the notation on this page.
NotesSources and credits
- J. J. O’Connor and E. F. Robertson, MacTutor History of Mathematics, University of St Andrews: A history of the calculus, on Barrow’s awareness of the inverse relationship without an explicit statement, Newton’s October 1666 tract and its first clear statement of the theorem, and Leibniz’s notation by 1675.
- MacTutor: Isaac Barrow (biography), on the Lucasian chair, Lectiones Geometricae (1670) and integration and differentiation as inverse operations.
- MacTutor: Isaac Newton (biography), on the method of fluxions and integration as the inverse of differentiation.
- MacTutor: Gottfried Wilhelm Leibniz (biography).
Credits: every graph and diagram on this page is original SVG, computed from the actual functions, made for Jugami. The interactive graphs are drawn live in your browser with plain JavaScript, no outside libraries.