Rosetta Stone · 3 of 30
Integral
Operator: it does something
In plain English
A sum over a continuum. The elongated S literally stands for "sum". chops the interval from to into many thin slices of width , multiplies each by the height , and adds them, taking the limit as the slices get infinitely thin. Geometrically it is the (signed) area under the curve. Whenever a paper replaces with , it is treating a quantity as continuous rather than discrete.
As code
// Riemann sum: an approximation that becomes exact as dx → 0
const f = (x) => x * x;
let area = 0, a = 0, b = 1, N = 100000;
const dx = (b - a) / N;
for (let i = 0; i < N; i++) area += f(a + i * dx) * dx;
// area ≈ 1/3Where the analogy bends: The loop is a numerical approximation. The integral itself is the limit, and many integrals in physics are evaluated analytically rather than by looping.
See it
What it means, field by field
Work = ∫F·dx; total charge or mass from a density; the action ∫L dt; path integrals in quantum mechanics.
Area, accumulation, and the inverse of differentiation (Fundamental Theorem of Calculus).
Expectations over continuous distributions, 𝔼[f] = ∫ f(x) p(x) dx; marginalising latent variables in VAEs and diffusion models.
Total dose from a concentration-time curve (pharmacokinetic "AUC"); cumulative growth.
In a research paper
The average value of f, weighting each possible x by how likely it is, over a continuous range of x.
Common misreadings
Thinking dx is decoration. It names the variable being summed over and carries units.
Assuming every integral can be solved in closed form. Most integrals in research are estimated numerically or by sampling.
Reading ∫ as "area" when the integrand is negative. Areas below the axis count negatively.