© 2026 NeckPinch · www.neckpinch.com · All rights reserved.
Course 3Book 3A: Measure, Integration and LᵖChapter 5
Product Measures and Change of Variables
Fubini–Tonelli, polar coordinates, volumes of balls and the Gaussian integral.
Read with Tao, An Introduction to Measure Theory, §1.7.4 "Product measure" (Tonelli's and Fubini's theorems); the earlier parts of §1.7 (outer measures, pre-measures, Lebesgue–Stieltjes measure) can be skimmed. Tao does not prove the change-of-variables formula; for it, read Munkres, Analysis on Manifolds, chapter "Changing Variables", or Stein and Shakarchi, Real Analysis, chapter 2.
Two computations dominate the rest of this guidebook's analysis. One is splitting an integral over a product space into iterated integrals: integrate over , then over . The other is changing variables, as when an integral over is done in polar coordinates, or a metric is pulled back by a diffeomorphism. Course 1 did both by computation (1A.9 Multiple Integrals and Change of Variables). This chapter says when they are legitimate. The answers are Tonelli's and Fubini's theorems, which say iterated integrals may be taken in either order provided the integrand is non-negative or absolutely integrable, and the change-of-variables formula, in which the Jacobian determinant records how a map stretches volume.
With those in hand we compute the most important integral in the guidebook:
It normalises the heat kernel (6A.3 The Heat Equation on ℝⁿ), and it normalises Perelman's weighted measure (12A.3 The 𝓦-Entropy), in which flat space is the case of equality. Along the way come the volumes of balls in every dimension, which turn out to have a surprise in store.
By the end of this chapter you will be able to:
- state Tonelli's and Fubini's theorems and check their hypotheses, with counterexamples when they fail;
- use the change-of-variables formula, including polar and spherical coordinates;
- compute and its -dimensional and scaled versions;
- compute the volume of the unit ball and the area of the unit sphere in ;
- use the scaling rule to see how integrals behave under dilation.
Seeing inside by integrating along lines
An X-ray passing through the body is attenuated by the tissue it crosses. If is the attenuation coefficient at the point of a cross-section, the Beer–Lambert law says the intensity falls from to along the line . So each measurement gives a line integral of :
A CT scanner measures these integrals for many parallel lines at each of many angles. The collection of all line integrals of a function is its Radon transform, after Johann Radon, who showed in 1917 how a function can be recovered from it. Allan Cormack worked out the mathematics for medical imaging in the early 1960s, and Godfrey Hounsfield built the first clinical CT scanner at EMI in the early 1970s; they shared the 1979 Nobel Prize in Physiology or Medicine.
The bookkeeping behind the method is Fubini's theorem. Integrating the measurements across all parallel lines at one angle gives , the total attenuation in the slice, whatever the angle (Figure 5.1). That is a consistency check on the data, and the reconstruction formulas are built from the same exchange of integration orders.
Product measures
Let and be measure spaces. A measurable rectangle is a set with , . The product σ-algebra is the smallest σ-algebra containing the measurable rectangles.
If and are σ-finite, there is exactly one measure on with for all measurable rectangles.
Tao builds it in §1.7 by the Carathéodory extension theorem: define the measure on finite unions of rectangles, check countable additivity there, and extend. For Lebesgue measure, agrees with on Borel sets, and is its completion (add all subsets of null sets).
Tonelli and Fubini
Let , be σ-finite and measurable for the product σ-algebra. Then and are measurable, and
Let , be σ-finite and . Then for -almost every , is -integrable; is -integrable; and the same three integrals are equal. The same holds with the roles of and exchanged.
Architecture of the proofs (Tao, §1.7.4). For both iterated integrals equal . The class of sets for which the theorem holds for is closed under increasing unions (monotone convergence) and under differences of nested sets of finite measure (subtraction), and it contains finite unions of rectangles; a "monotone class" argument then shows it contains the whole product σ-algebra. From indicators, Tonelli follows by simple functions and monotone convergence, the pattern of 3A.4 Measures, Probability and Weights. Fubini follows by applying Tonelli to and , which are both integrable because Tonelli applied to says so.
In practice: to exchange the order of integration, check that by computing it in either order, which Tonelli always allows. Then Fubini permits any order for itself.
When the order matters
Both hypotheses are needed.
On with counting measure, let if , if , and otherwise. Each row has one and one , so every row sums to , and summing the row sums gives . The first column has a single and every other column a and a , so the column sums are , totalling . The two iterated sums differ because .
On , take Lebesgue measure in and counting measure in (not σ-finite on ), and , the indicator of the diagonal . For each , , so integrating in gives . For each , , so integrating in gives .
Slicing
Applied to an indicator function, Tonelli says the measure of a set is the integral of the measures of its slices: if and , then . This is Cavalieri's principle: solids with slices of equal area at every height have equal volume. It gives, for example, the volume of a solid of revolution, and it gives the layer-cake formula for an integral, Lebesgue's horizontal slicing (3A.3 The Lebesgue Integral) made exact:
by applying Tonelli to the region under the graph of (Exercise 5.10).
Change of variables
The derivative of a map is its best linear approximation (2B.8 Calculus in Several Variables), so the first case to understand is a linear map.
If is linear and is measurable, then is measurable and .
Proof. If is singular, lies in a hyperplane, which is null. Otherwise, by translation invariance and countable additivity, is a translation-invariant measure, so it is a constant multiple of Lebesgue measure (Tao, Exercise 1.2.23, uniqueness of Lebesgue measure). Clearly . Every invertible matrix is a product of elementary matrices (row operations), and for those can be computed directly: scaling one coordinate by multiplies volumes by ; swapping two coordinates preserves the unit cube; and a shear preserves volume by Cavalieri (each slice is translated). In each case , and is multiplicative too.
Let be open and a diffeomorphism (a bijection with inverse). Then for every measurable on (or ),
Architecture of the proof (Munkres, "Changing Variables"; Stein–Shakarchi, chapter 2). Near a point , is approximately the affine map , which by Proposition 5.6 maps a small cube to a parallelepiped of volume . Uniform continuity of on compact sets makes the error small relative to , uniformly over a fine grid of cubes. Summing over the grid proves the formula for indicators of cubes, then of open sets, and then for all non-negative measurable by the usual monotone-class and simple-function route.
The factor is the Jacobian. In one variable it is the of 2A.11 The Riemann Integral's substitution rule. On a manifold it becomes the way the volume form changes between charts (8A.8 Differential Forms and Stokes’ Theorem), and under a flow of diffeomorphisms it is the divergence that measures the rate of change of volume (8A.6 Flows and the Lie Derivative).
Polar coordinates
In the plane, maps onto the plane minus a ray (a null set), with . So
In , every non-zero is with and , and Lebesgue measure splits as
where is surface measure on the unit sphere. For a radial function this gives
with the area of the unit sphere. The factor says that a thin shell of radius and thickness has volume : surface area times thickness (Figure 5.2). For the purposes of this guidebook, can be taken as the definition of (surface measure is constructed properly on manifolds in 8A.8 Differential Forms and Stokes’ Theorem); its value is computed below.
The Gaussian integral
Proof. Let , which is finite since for . By Tonelli (the integrand is non-negative) and polar coordinates,
Since , . In , , and Tonelli splits the integral into factors of . For the last formula, substitute , a linear map with determinant .
The trick of squaring a one-dimensional integral to make it two-dimensional, where polar coordinates apply, is attributed to Poisson. It works only because Tonelli permits the exchange.
The function is the heat kernel of : it solves and, by the theorem, has total mass at every time, concentrating to the Dirac mass as (3A.4 Measures, Probability and Weights, 6A.3 The Heat Equation on ℝⁿ). In 12A.3 The 𝓦-Entropy Perelman's entropy is an integral against normalised to mass , and on flat with the measure is the heat kernel; Exercise 5.14 computes the second moment that makes the entropy of this flat Gaussian equal to . Perelman's reduced volume (12A.5 Reduced Distance and Reduced Volume) is built the same way and equals exactly for flat space, which is how his monotonicity results detect flatness.
Volumes of balls and spheres
Apply to :
where is Euler's gamma function (substitute ), which satisfies , and . So
Check: , , and .
The volume of the unit ball rises from to a maximum and then falls: , , and (Figure 5.3). The unit ball takes up a smaller and smaller fraction of the cube that contains it.
More striking is where the volume is. The ball of radius has a fraction of the volume of the unit ball, so the outer shell holds of it. In dimension , the outer of the radius holds of the volume. A point chosen at random in a high-dimensional ball is almost certainly near its surface, and two random points are almost certainly far apart, at nearly the same distance. This concentration of measure is part of what makes nearest-neighbour methods unreliable on data with many features (the "curse of dimensionality"), and the same phenomenon, for Gaussians instead of balls, underlies the dimension-free log-Sobolev inequality of 6A.10 Entropy, Information and Diffusion that Perelman's entropy builds on.
Scaling
A special case of change of variables is used so often it deserves its own line. For ,
Combined with how derivatives scale, , it predicts the exponents in every inequality that is invariant under dilation. For instance, and scale the same way under exactly when , which is the exponent in the Sobolev inequality of 4A.10 Sobolev Embeddings and Critical Exponents. This kind of dimensional analysis is thread S, and it is how one sees that Perelman's noncollapsing estimate is scale-invariant (3A.1 The Problem of Measure, 12A.4 κ-Noncollapsing).
History
Bonaventura Cavalieri published his principle of comparing solids by slices in 1635. Guido Fubini proved his theorem for Lebesgue integrals in 1907, and Leonida Tonelli the version for non-negative functions in 1909. Carl Jacobi studied the functional determinants that bear his name in 1841. The value of the Gaussian integral goes back to de Moivre and Laplace in the 18th century; Gauss used the bell curve for errors of observation in 1809. Johann Radon's paper on recovering a function from its line integrals appeared in 1917, and computed tomography put it to clinical use in the 1970s.
Product measures exist and are unique for σ-finite factors. Tonelli lets non-negative integrals be computed in either order; Fubini does the same for absolutely integrable functions; without those hypotheses, iterated integrals can disagree. Linear maps scale volume by , and diffeomorphisms by the Jacobian . Polar coordinates split , giving the Gaussian integral , the normalisation , and the volumes . Dilation scales integrals by . 3A.6 Modes of Convergence and Differentiation studies the different ways sequences of functions can converge, and proves that averaging over shrinking balls recovers a function almost everywhere.
Exercises
(a) Verify the two iterated sums in Example 5.4. (b) Show that while the integral in the other order is . (Use .) Which hypothesis fails?
Solution
(b) The inner integral in is , whose integral over is . By the antisymmetry , the other order gives . The function is not absolutely integrable near the origin: in polar coordinates , and diverges at .
Let be measurable on a σ-finite measure space. Apply Tonelli to on to show . Deduce for .
For , show , and use it to recompute the volume of a ball of radius in and the area of the unit sphere.
Show that the ellipse has area , and that the ellipsoid (with symmetric positive definite) has volume .
Solution
The ellipse is the image of the unit disc under . For the ellipsoid, maps the unit ball onto it, and .
Using , show . Deduce that exactly when , and that . (Comparing neighbouring dimensions takes a little more work; the computed values show the maximum is at .)
Solution
, so , which is at least exactly when , that is, . Along each of the even and odd chains, is a product of factors , which tend to , so .
Let . Show that (a) ; (b) , so ; (c) with , .
Part (c) is the computation that the -entropy of the Gaussian soliton on flat is (12A.3 The 𝓦-Entropy; the scalar curvature is there). Flat space is the reference case: the entropy is normalised so that it vanishes exactly for this Gaussian, and the noncollapsing theorem of 12A.4 κ-Noncollapsing works by comparing other geometries with it.
Solution
(a) The integrand is odd in . (b) For , odd again. For , by Tonelli the other coordinates integrate to , and (substitute and use , 3A.3 The Lebesgue Integral). (c) , so , and the integrand is . Its integral is .
(a) What fraction of the volume of the unit ball in lies within of the surface? (b) Show that for the standard Gaussian measure on , , so a typical point has : Gaussian measure in high dimensions concentrates on a thin shell too.
© 2026 NeckPinch (www.neckpinch.com). All content in the guidebook (text, mathematics, figures and exercises) is protected by copyright. All rights reserved. No part may be copied, republished or redistributed without written permission.