What is it?
Differentiation and integration are inverse operations. Accumulating a rate of change recovers the total change: , and the derivative of an accumulated quantity is the rate.
Why does it exist?
Areas were computed by exhausting them with thin pieces since Archimedes — slow, one curve at a time. Tangents were a separate problem. Newton and Leibniz (with Barrow before them) discovered they are the same problem run in opposite directions, so a table of derivatives is also a table of areas.
Intuition
Let be the area accumulated up to . Move a little to the right by : the area grows by a thin strip of height about and width . So — the rate at which area accumulates is the height of the curve. If is a velocity, accumulating it gives distance travelled.
Statement
Part 1. If is continuous on , then is differentiable and .
Part 2 (Barrow's rule). If is an antiderivative of a continuous on , then
Idea of the proof
Part 1: is an average of over a tiny interval, which tends to by continuity. Part 2: and have the same derivative, so they differ by a constant (MVT).
Proof
Part 1. For , by the mean value theorem for integrals there is with . Hence as , because and is continuous. The case is identical.
Part 2. on , so by the MVT is constant: . Since , and .
Formulas
- position from velocity
Example
Area under on : an antiderivative is , so the area is . Compare with the Riemann sums in the Riemann sums demo, which need hundreds of rectangles to get three digits.
Why does it matter?
It links the two halves of the subject and explains why physics engines and ODE solvers are "integrators": they turn rates (forces, velocities) into states (positions). In probability it is the link between a density and its cumulative distribution, .
Where it shows up in computing
Integrating velocity gives position: every simulation step is a tiny application of the FTC.
CAS evaluate definite integrals by finding an antiderivative (Risch algorithm) and applying Barrow's rule.
Where is it used?
Computing topics reachable from here, through the chain of ideas that leads to them:
ℒ AI and machine learning
- Improper integrals→Probability density function→Bayesian inference★★★★★
- Improper integrals→Probability density function→Generative models★★★★★
- Improper integrals→Probability density function→Expectation→Loss function★★★★★
- Improper integrals→Probability density function→Maximum likelihood estimation→Logistic regression★★★★★
- Improper integrals→Probability density function→Expectation→Stochastic gradient descent (SGD)★★★★★
- Improper integrals→Probability density function→Expectation→Reinforcement learning★★★★★
- +6
∿ Signals, media and vision
- Improper integrals→Fourier transform→Signal processing★★★★★
- Improper integrals→Fourier transform→Sampling theorem (Nyquist–Shannon)★★★★★
- Improper integrals→Fourier transform→Fast Fourier transform (FFT)★★★★★
- Improper integrals→Fourier transform→Telecommunications (modulation, OFDM)★★★★★
- Improper integrals→Laplace transform→Z-transform→Digital filters★★★★★
- Improper integrals→Fourier transform→Signal processing→Media compression (JPEG, MP3, video)★★★★★
- +1
What depends on it
Exercises
Compute .
Solution
By the FTC and the chain rule: .
A sensor reports velocity every 0.1 s. How do you estimate position, and which theorem justifies it?
Solution
Position is (FTC). With samples, approximate the integral by a sum, e.g. the trapezoidal rule . Errors accumulate (drift), which is why IMUs are fused with GPS.