The First Fundamental Theorem of Calculus
Suppose you know the instantaneous speed of a car at every moment. Now build a function that reports total distance traveled up to time . Is that distance function differentiable? If so, does its derivative give back the speed? This is the question the First Fundamental Theorem of Calculus answers. It is the theorem that finally links two ideas invented for entirely different purposes. One is the derivative, born from tangent lines and instantaneous rates. The other is the integral, born from areas and accumulation. Before this theorem, differentiation and integration are just two separate limiting processes. One is a limit of difference quotients, the other a limit of Riemann sums. There is no a priori reason the two should be inverse operations. The First Fundamental Theorem supplies that reason. It shows that accumulating a function via the integral, then differentiating the result, recovers the original function. This holds at every point of continuity. This is what makes antiderivatives a practical tool for computing integrals. It is not merely a lucky coincidence. The big picture is this: the theorem builds a bridge. It connects the global averaging behavior of the integral (captured by the Mean Value Theorem for Integrals) to local differential behavior. It uses almost nothing exotic. It needs just the definition of the derivative as a limit, additivity of the integral over adjacent intervals, and continuity of at a single point. The proof is short, but every hypothesis is load-bearing. Understanding exactly where continuity is used is the real content of the theorem. This article states the precise hypotheses. It gives a complete proof using the Mean Value Theorem for Integrals. It works through two nontrivial examples, including a function with a jump discontinuity. It also exhibits a genuine counterexample showing what fails without continuity. It closes with the theorem's role as the launching point for the Second Fundamental Theorem and for integration by substitution.
- Define for Riemann integrable on .
- Main claim: is continuous on , and at any point where is continuous, .
- The proof reduces the difference quotient of to an average value of over a shrinking interval, using additivity.
- Continuity of at is essential — the theorem does not claim everywhere, only at continuity points of .
- If is continuous everywhere on , is an antiderivative of , the crucial fact enabling the Second Fundamental Theorem.
- Key idea: integrating "smooths out" a function, converting mere integrability into differentiability of the accumulation function at every point of continuity.
Where this lives today
The theorem is the computational engine behind essentially all elementary techniques for evaluating integrals, most directly the Second Fundamental Theorem of Calculus, which uses the existence of an antiderivative (guaranteed here) to reduce to evaluating any antiderivative at the endpoints. It also underlies Integration by Substitution, where differentiating a composed accumulation function via the chain rule and this theorem yields the change-of-variables formula. In physics, it justifies computing displacement from velocity, work from force, and charge from current, by treating physical accumulation functions as literal Riemann integrals whose derivative recovers the instantaneous rate. In probability and statistics, the cumulative distribution function of a continuous random variable is differentiable with (the density) at every point of continuity of the density — a direct instance of this theorem, essential for deriving likelihoods and for change-of-variables formulas for random variables. In numerical analysis and control theory, the theorem justifies why numerically accumulating a signal (e.g. via a running sum or an analog integrator circuit) and then differentiating recovers the original signal, up to the smoothness constraints on the input. In complex analysis, the analogous statement for contour integrals of holomorphic functions is a cornerstone in proving that holomorphic functions have primitives locally, feeding into Cauchy's theorem.
:::quiz[Which prerequisite fact is used to guarantee is well-defined for every when is Riemann integrable on ?]
- The Mean Value Theorem for derivatives
- Restriction of an integrable function to a subinterval remains integrable ✓
- The chain rule
- L'Hôpital's rule
Ask the tutor: Can you show me why being Lipschitz (not just continuous) matters in applications?
Let be Riemann integrable on . Define by
where by convention (the integral over a degenerate interval). This is well-defined because is integrable on for every (restriction of an integrable function to a subinterval is integrable). is called the indefinite integral of with basepoint , or the accumulation function of .
Intuition
Think of as a velocity and as the total signed distance traveled from time to time . The derivative asks: as we nudge the endpoint away from , how fast does accumulated distance change per unit of ? Intuitively this should be exactly the instantaneous velocity — but this intuition silently assumes doesn't jump around near . The key algebraic move is additivity: . Dividing by turns this into the average value of over the interval from to . As , this shrinking window's average value should converge to itself — precisely because is continuous at , so nearby values of cluster around . If jumps at , the average taken from one side can differ from , and the derivative can fail to exist or match.
The shaded region's area is ; dividing that area by the base length gives the average height of the curve over , which visibly hugs the red line as the window narrows — provided doesn't jump near .
Let be Riemann integrable on , and define
Then: 1. (Continuity) is continuous on . 2. (Differentiability at continuity points) If is continuous at a point (one-sided continuity if or ), then is differentiable at and
Part 1: is continuous on . Since is Riemann integrable on , it is bounded: there exists such that for all (boundedness is part of the definition of Riemann integrability). Let with . By additivity of the integral over adjacent intervals (Basic Properties: Linearity and Additivity),
By the standard estimate for integrals of bounded functions,
(This estimate follows because every Riemann sum for is bounded in absolute value by , hence so is the limiting integral.) The same bound holds if by symmetry of the argument (swap roles and use ). Thus for all ,
This is a Lipschitz condition with constant . Given , choose (the avoids division by zero if ); then implies . Hence is (uniformly) continuous on .
Part 2: Differentiability at a point of continuity of . Fix at which is continuous (meaning: for every there is such that and imply ; if is an endpoint this is one-sided continuity within ). We must show
Let , . By additivity as above,
Also, since the constant function integrates over an interval of length to give (this is the integral of a constant, a special case of linearity/additivity applied to a constant integrand), we may write
Therefore
(Here we use linearity of the integral to combine , valid whether or , using the orientation convention .) We now bound the right-hand side. Let . By continuity of at , choose such that for all with ,
Suppose . Then every between and satisfies (since lies in the interval with endpoints , and that whole interval is within distance of ), so for all such . By the standard bound on integrals (the absolute value of the integral of a bounded function over an interval is at most the bound times the interval's length, applied here to the integrand , bounded by in absolute value on the relevant interval):
Dividing by ,
This holds for every with , and was arbitrary. Hence
that is, (a one-sided limit/derivative if is an endpoint of ). This completes the proof; the technique used is a direct – estimate on the difference quotient, reducing it via additivity to controlling the size of using continuity — no circularity, as we invoke only the definition of the Riemann integral, additivity, linearity, and the standard bound , none of which presuppose the Fundamental Theorem.
∎If is continuous on all of , then is differentiable on with everywhere, i.e. is an antiderivative of on . This guarantees every continuous function has an antiderivative, setting up the Second Fundamental Theorem of Calculus, which uses this fact to evaluate integrals via any antiderivative.
Worked examples
Example 1: An asymmetric, non-symmetric piecewise integrand. Let be defined by
Note is continuous at from the left () and from the right (), so in fact is continuous on all of (this is deliberately not a symmetric or "nice round number" example — check it doesn't accidentally hide a jump). Compute for . For :
For : using additivity,
Check continuity of at : from the first branch, ; from the second branch as , . They match, confirming Part 1 of the theorem. Now differentiate. For : . For : . At itself, since is continuous there, the theorem guarantees exists and equals ; indeed the one-sided derivatives from the two formulas are and , agreeing. So is differentiable everywhere on with , exactly as guaranteed — and note we verified it both via the theorem and via brute-force computation, confirming the theorem's prediction.
Example 2: A jump discontinuity — where the theorem correctly stays silent. Let be
This is a step function, integrable (bounded, one discontinuity), continuous everywhere on except at . Let . For : . For : . Check continuity at : left limit gives ; right-hand formula as gives . Continuous, as Part 1 guarantees regardless of 's discontinuity. Now examine differentiability at . The left-hand derivative:
The right-hand derivative:
The one-sided derivatives disagree (), so does not exist. This is completely consistent with the theorem: is discontinuous at , so the theorem simply makes no claim there — and indeed the claim would be false if extended blindly, since doesn't even exist, let alone equal some single value . Away from , is continuous, and correspondingly for all in , exactly matching the theorem's guarantee at continuity points.
The theorem requires to be continuous at the specific point where we claim . Example 2 above already shows what happens at a jump: fails to exist entirely. To sharpen the point further, modify by simply reassigning its value exactly at the jump point, showing can also fail even when does exist, if is redefined at an isolated point of discontinuity. Let be
Changing a Riemann integrable function's value at a single point does not change its integral (a single point has "measure zero" effect on Riemann sums — formally, for any partition, the contribution of one point to any Riemann sum can be made arbitrarily small by choosing sample points appropriately, and one shows by a direct partition argument bounding the discrepancy by ). So for every , hence is differentiable everywhere with for all , including at : . But . The conclusion fails at , precisely because is discontinuous (in fact wildly so) at . This shows the hypothesis " continuous at " cannot simply be dropped and replaced by " integrable" — integrability alone guarantees is differentiable almost everywhere in nice cases and satisfies off a small exceptional set, but pointwise at an isolated bad point, integrability provides no control whatsoever on the relationship between and .
Scope, edge cases & common traps
| Situation | What the theorem says | Common error |
|---|---|---|
| continuous at | , full proof above | Assuming this holds at every point of without checking continuity there |
| has a jump at | No claim; may not exist (Example 2) | Claiming equals "the average of the two one-sided limits" — false in general, and undefined as a concept here |
| continuous everywhere on | is an antiderivative of on all of | Forgetting needs a fixed basepoint ; a different basepoint changes by a constant, never changes |
| merely Riemann integrable, discontinuous at | is still continuous at (Part 1 never needs continuity of ) | Confusing "F is continuous" (always true) with "F is differentiable with " (needs continuity of ) |
| an endpoint of | One-sided derivative of equals , using one-sided continuity | Trying to form a two-sided limit at an endpoint where isn't even defined outside |
The mathematician behind it
Origins · 1 minIsaac Newton and Gottfried Wilhelm Leibniz and how this was discovered
Newton, working at Cambridge and later at the Royal Mint, developed his "method of fluxions" around 1665–1671, treating derivatives (fluxions) and integrals (fluents) as inverse processes tied to continuously varying quantities in motion. Leibniz, a philosopher, diplomat, and polymath in Germany, independently arrived at the same inverse relationship around 1675–1676, introducing the notation and still used today. Both understood, in geometric and physical terms, that the "area so far" function and the original curve were linked by differentiation — but the fully rigorous – proof, with the precise role of continuity isolated, awaited the 19th-century arithmetization of analysis by Cauchy and Riemann.
Does the First Fundamental Theorem require to be continuous on the whole interval?
No. The theorem is stated for merely Riemann integrable on — this already guarantees is continuous everywhere. The stronger conclusion, , is only claimed pointwise, at any where itself is continuous. If happens to be continuous on all of , then of course everywhere, and is a genuine antiderivative on the whole interval. But the theorem is deliberately more flexible: it applies to functions with isolated jump discontinuities too, telling you exactly where the derivative relationship holds and, implicitly, where it might not.
What exactly breaks if has a jump discontinuity at ?
The proof's key estimate uses continuity to guarantee that stays close to for near , which lets the average of over a shrinking window converge to . At a jump, approaches different limits from the left and right, so the average from the left window converges to one value and from the right to another (generally). The two one-sided difference quotients of then converge to these two different averages, so the two-sided derivative typically fails to exist, as shown explicitly in Example 2 where the one-sided derivatives were and .
Is the converse of the theorem true — if , must be continuous at ?
No, this converse is false, and it is not claimed by the theorem. It's straightforward to construct integrable discontinuous at for which is still differentiable at with by coincidence — for instance, oscillatory discontinuities whose average effect still washes out in the limit. The theorem gives a sufficient condition (continuity of at ) for , not a necessary one. Determining exactly which integrable functions satisfy almost everywhere in general is the subject of the deeper Lebesgue differentiation theorem, beyond Riemann integration.
Why is continuous even when is not continuous everywhere?
Part 1 of the proof only uses that is bounded, a consequence of Riemann integrability, not continuity. The Lipschitz-type bound holds purely because integrating a bounded function over a short interval produces a small integral — bounded integrand times short interval length. No pointwise regularity of is needed for this global smoothing effect; integration is inherently "averaging," and averaging a bounded (even wildly discontinuous) function still yields a continuous, in fact Lipschitz, running total.
How does this theorem connect to the Second Fundamental Theorem of Calculus?
The First Fundamental Theorem proves that, when is continuous on , the function is an antiderivative of . The Second Fundamental Theorem of Calculus then shows that if is any antiderivative of (i.e. ), then . The two theorems work together: the first guarantees antiderivatives exist for continuous functions and identifies one explicitly; the second shows any antiderivative computes the integral, which is what makes evaluating by finding a closed-form antiderivative valid.
Does the basepoint in the definition of matter for the conclusion ?
No. If and for two different basepoints , then by additivity , a constant independent of . Differentiating, for all , so the derivative relationship at continuity points is completely unaffected by the choice of basepoint — only the specific numerical value of shifts by a constant.
Can this theorem be extended to functions of several variables?
Yes, in spirit, though the direct statement is one-dimensional. Multivariable analogues include the gradient theorem (line integrals of gradients depend only on endpoints, mirroring antiderivatives), Green's theorem, and the general Stokes' theorem, all of which relate an integral over a region to boundary values, generalizing the idea that integration and a suitable derivative-like operation are inverses. The precise "differentiate the accumulation function" statement generalizes to differentiating under the integral sign and to results like the divergence theorem, but these require substantially more machinery than the single-variable case treated here.