Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Adding up tiny tiles
To find the area of a floor, count the tiles. To find how much paint covers a wall where the paint is thicker in some places, add up (thickness × tile area) over every tile. Making the tiles smaller and smaller gives an exact answer: a double integral, or a triple integral for volumes.
Square tiles are awkward for a round pizza. Ring-shaped slices fit it perfectly. Choosing tiles that match the shape is called a change of variables.
To know whether a robot will hit an obstacle, engineers add up the probability of the robot being at each tiny spot inside the obstacle. That’s a double integral of a probability map. To find a spacecraft’s centre of mass, they add up (mass × position) over its whole body: a triple integral.
- 1. A box 2 × 3 × 4 holds how many unit cubes?
- 2. To cover a round pizza neatly, the best tiles are…
- 3. Smaller tiles make the total…
Level 1: Beginner
★★☆☆☆ Basic⏱ 15 minSecondary-school mathematics: arithmetic and elementary algebra.Iterated integrals (Fubini)
Over a rectangle, integrate one variable at a time:
Example. .
- is the area of .
- is the volume under the surface (or a total mass, if is a density).
- does the same in 3-D.
- 1. ∬ over [0, 2] × [0, 3] of 1 dA = ?
- 2. ∫₀¹∫₀¹ (x + y) dy dx = ?
- 3. ∫₀²∫₀¹ x² dx dy = ?
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 45 minUndergraduate students and practising engineers.Non-rectangular regions
The inner limits can depend on the outer variable. For the triangle under :
Change of variables
If is a smooth, one-to-one map:
The Jacobian determinant (A3.2-5) is the exchange rate between the areas of tiny cells.
| Coordinates | Map | Area/volume element |
|---|---|---|
| polar | ||
| cylindrical | ||
| spherical | ||
| linear |
Examples.
- Disc area: .
- Sphere volume: .
- The Gaussian: .
- 1. In polar coordinates, dA = ?
- 2. ∬ over the unit disc of (x² + y²) dA = ?
- 3. The volume of the unit ball?
Level 3: Advanced
★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.Fubini’s theorem, and when it fails
If (or ), the iterated integrals in either order exist and equal the double integral.
Without absolute integrability, the order can matter. For on :
The singularity at the origin makes .
Why the Jacobian appears
Cut the domain into tiny rectangles of area . maps each one to an almost-parallelogram of area (A3.2-5). Summing these areas gives a Riemann sum for the right-hand side, and the errors vanish in the limit. ∎
Probability with several variables
A joint density satisfies , and . For , densities transform by . This is the multivariate version of A3.1-7, and the basis of normalizing flows.
Exercise 3.1: Find the centroid height of the upper half disc of radius 1
.
- 1. Swapping the order of integration is always safe when…
- 2. The magnitude of the counterexample's iterated integrals?
- 3. Under (x, y) = T(u, v), densities divide by…
Level 4: Expert
★★★★★ Expert⏱ 40 minResearchers: original papers and open problems.The curse of dimensionality
A grid with points per axis needs evaluations in dimensions. Ten points per axis in 10-D is . Monte Carlo averages at random points, with error whatever the dimension (Metropolis and Ulam, 1949). The unit ball also shows how strange high dimensions are: its volume peaks near , then vanishes, filling only of its bounding cube at .
Integrals that robots and models compute
- Collision probability. With a Gaussian belief about its position, a robot’s chance of being inside an obstacle is . Chance-constrained planners keep it below a threshold (Blackmore, Ono and Williams, 2011; Practice Code 5).
- Expected cost and reward. Stochastic control and RL optimize over noise and trajectories. These are high-dimensional integrals estimated by sampling (MPPI, Williams et al., 2017; policy gradients).
- Rendering and perception. Each pixel is an integral over light paths. Path tracing is Monte Carlo integration with importance sampling (Kajiya, 1986). It is now used for synthetic training data and differentiable rendering.
- Bayesian inference. Posterior normalizers and predictions are integrals over parameter space, attacked with MCMC, variational methods and the Laplace approximation (A3.1-8).
References
- G. Fubini (1907). “Sugli integrali multipli.” Rendiconti della Accademia dei Lincei, 16.
- N. Metropolis, S. Ulam (1949). “The Monte Carlo method.” JASA, 44.
- J. Kajiya (1986). “The rendering equation.” SIGGRAPH.
- L. Blackmore, M. Ono, B. Williams (2011). “Chance-constrained optimal path planning with obstacles.” IEEE Transactions on Robotics, 27(6).
- G. Williams, A. Aldrich, E. Theodorou (2017). “Model predictive path integral control: from theory to parallel computation.” Journal of Guidance, Control, and Dynamics, 40(2).
- C. Robert, G. Casella (2004). Monte Carlo Statistical Methods, 2nd ed. Springer.
- J. Stewart (2015). Calculus: Early Transcendentals, 8th ed. Chapter 15.