Book 3A

© 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.

27 min read · Updated Oct 2, 2026

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.

In this chapter · 7 sections
  1. 5.1Seeing inside by integrating along lines
  2. 5.2Product measures
  3. 5.3Tonelli and Fubini
  4. 5.3.1When the order matters
  5. 5.3.2Slicing
  6. 5.4Change of variables
  7. 5.4.1Polar coordinates
  8. 5.5The Gaussian integral
  9. 5.5.1Volumes of balls and spheres
  10. 5.5.2Scaling
  11. 5.6History
  12. 5.7Exercises

Two computations dominate the rest of this guidebook's analysis. One is splitting an integral over a product space into iterated integrals: integrate over xx, then over yy. The other is changing variables, as when an integral over Rn\mathbb{R}^n 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:

∫Rn(4πτ)−n/2e−∣x∣2/4τ dx=1.\int_{\mathbb{R}^n}(4\pi\tau)^{-n/2}e^{-|x|^2/4\tau}\,dx = 1.

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 ∫e−x2dx=π\int e^{-x^2}dx = \sqrt\pi and its nn-dimensional and scaled versions;
  • compute the volume of the unit ball and the area of the unit sphere in Rn\mathbb{R}^n;
  • use the scaling rule dx↦λn dxdx \mapsto \lambda^n\,dx to see how integrals behave under dilation.

Seeing inside by integrating along lines

In the world In use Computed tomography

An X-ray passing through the body is attenuated by the tissue it crosses. If μ(x)\mu(x) is the attenuation coefficient at the point xx of a cross-section, the Beer–Lambert law says the intensity falls from I0I_0 to I=I0exp⁡(−∫Lμ ds)I = I_0\exp\big(-\int_L\mu\,ds\big) along the line LL. So each measurement gives a line integral of μ\mu:

−log⁡II0=∫Lμ ds.-\log\frac{I}{I_0} = \int_L\mu\,ds.

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 ∬μ dx dy\iint\mu\,dx\,dy, 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.

Figure 5.1. Left: a simple phantom (three ellipses of different attenuation) crossed by parallel rays at 30°30°. Right: the line integrals along those rays, computed numerically, plotted against the ray's offset. By Fubini's theorem the area under the profile is ∬μ\iint\mu, the same at every angle.

Product measures

Let (X,BX,μ)(X, \mathcal{B}_X, \mu) and (Y,BY,ν)(Y, \mathcal{B}_Y, \nu) be measure spaces. A measurable rectangle is a set A×BA \times B with A∈BXA \in \mathcal{B}_X, B∈BYB \in \mathcal{B}_Y. The product σ-algebra BX×BY\mathcal{B}_X \times \mathcal{B}_Y is the smallest σ-algebra containing the measurable rectangles.

Theorem 5.1 Product measure

If μ\mu and ν\nu are σ-finite, there is exactly one measure μ×ν\mu \times \nu on BX×BY\mathcal{B}_X \times \mathcal{B}_Y with (μ×ν)(A×B)=μ(A) ν(B)(\mu \times \nu)(A \times B) = \mu(A)\,\nu(B) 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, md1×md2m^{d_1} \times m^{d_2} agrees with md1+d2m^{d_1 + d_2} on Borel sets, and md1+d2m^{d_1+d_2} is its completion (add all subsets of null sets).

Tonelli and Fubini

Theorem 5.2 Tonelli's theorem

Let μ\mu, ν\nu be σ-finite and f:X×Y→[0,+∞]f : X \times Y \to [0, +\infty] measurable for the product σ-algebra. Then x↦∫Yf(x,y) dν(y)x \mapsto \int_Yf(x, y)\,d\nu(y) and y↦∫Xf(x,y) dμ(x)y \mapsto \int_Xf(x, y)\,d\mu(x) are measurable, and

∫X×Yf d(μ×ν)=∫X(∫Yf(x,y) dν(y))dμ(x)=∫Y(∫Xf(x,y) dμ(x))dν(y).\int_{X\times Y}f\,d(\mu\times\nu) = \int_X\Big(\int_Yf(x, y)\,d\nu(y)\Big)d\mu(x) = \int_Y\Big(\int_Xf(x, y)\,d\mu(x)\Big)d\nu(y).
Theorem 5.3 Fubini's theorem

Let μ\mu, ν\nu be σ-finite and f∈L1(μ×ν)f \in L^1(\mu \times \nu). Then for μ\mu-almost every xx, y↦f(x,y)y \mapsto f(x, y) is ν\nu-integrable; x↦∫Yf(x,y) dν(y)x \mapsto \int_Yf(x, y)\,d\nu(y) is μ\mu-integrable; and the same three integrals are equal. The same holds with the roles of xx and yy exchanged.

Architecture of the proofs (Tao, §1.7.4). For f=1A×Bf = 1_{A\times B} both iterated integrals equal μ(A)ν(B)\mu(A)\nu(B). The class of sets EE for which the theorem holds for 1E1_E 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 f+f^+ and f−f^-, which are both integrable because Tonelli applied to ∣f∣|f| says so.

In practice: to exchange the order of integration, check that ∬∣f∣<∞\iint|f| < \infty by computing it in either order, which Tonelli always allows. Then Fubini permits any order for ff itself.

When the order matters

Both hypotheses are needed.

Example 5.4 Without integrability

On N×N\mathbb{N} \times \mathbb{N} with counting measure, let am,n=1a_{m,n} = 1 if m=nm = n, am,n=−1a_{m,n} = -1 if n=m+1n = m + 1, and 00 otherwise. Each row has one 11 and one −1-1, so every row sums to 00, and summing the row sums gives 00. The first column has a single 11 and every other column a 11 and a −1-1, so the column sums are 1,0,0,…1, 0, 0, \ldots, totalling 11. The two iterated sums differ because ∑∣am,n∣=∞\sum|a_{m,n}| = \infty.

Example 5.5 Without σ-finiteness

On [0,1]×[0,1][0, 1] \times [0, 1], take Lebesgue measure in xx and counting measure in yy (not σ-finite on [0,1][0, 1]), and f=1Df = 1_D, the indicator of the diagonal D={x=y}D = \{x = y\}. For each xx, ∫1D(x,y) d#(y)=1\int1_D(x, y)\,d\#(y) = 1, so integrating in xx gives 11. For each yy, ∫1D(x,y) dx=0\int1_D(x, y)\,dx = 0, so integrating in yy gives 00.

Slicing

Applied to an indicator function, Tonelli says the measure of a set is the integral of the measures of its slices: if E⊆Rn+1E \subseteq \mathbb{R}^{n+1} and Et={x:(x,t)∈E}E_t = \{x : (x, t) \in E\}, then m(E)=∫m(Et) dtm(E) = \int m(E_t)\,dt. 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:

∫f dμ=∫0∞μ({f>t}) dt(f≥0),\int f\,d\mu = \int_0^\infty\mu(\{f > t\})\,dt \qquad (f \geq 0),

by applying Tonelli to the region under the graph of ff (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.

Proposition 5.6 Linear maps scale volume by ∣det⁡∣|\det|

If T:Rn→RnT : \mathbb{R}^n \to \mathbb{R}^n is linear and EE is measurable, then T(E)T(E) is measurable and m(T(E))=∣det⁡T∣ m(E)m(T(E)) = |\det T|\,m(E).

Proof. If TT is singular, T(E)T(E) lies in a hyperplane, which is null. Otherwise, by translation invariance and countable additivity, E↦m(T(E))E \mapsto m(T(E)) is a translation-invariant measure, so it is a constant multiple c(T) mc(T)\,m of Lebesgue measure (Tao, Exercise 1.2.23, uniqueness of Lebesgue measure). Clearly c(TS)=c(T)c(S)c(TS) = c(T)c(S). Every invertible matrix is a product of elementary matrices (row operations), and for those cc can be computed directly: scaling one coordinate by λ\lambda multiplies volumes by ∣λ∣|\lambda|; swapping two coordinates preserves the unit cube; and a shear x1↦x1+x2x_1 \mapsto x_1 + x_2 preserves volume by Cavalieri (each slice is translated). In each case c=∣det⁡∣c = |\det|, and det⁡\det is multiplicative too.

Theorem 5.7 Change of variables

Let U,V⊆RnU, V \subseteq \mathbb{R}^n be open and ϕ:U→V\phi : U \to V a C1C^1 diffeomorphism (a C1C^1 bijection with C1C^1 inverse). Then for every measurable f≥0f \geq 0 on VV (or f∈L1(V)f \in L^1(V)),

∫Vf(y) dy=∫Uf(ϕ(x)) ∣det⁡Dϕ(x)∣ dx.\int_Vf(y)\,dy = \int_Uf(\phi(x))\,|\det D\phi(x)|\,dx.

Architecture of the proof (Munkres, "Changing Variables"; Stein–Shakarchi, chapter 2). Near a point x0x_0, ϕ\phi is approximately the affine map x↦ϕ(x0)+Dϕ(x0)(x−x0)x \mapsto \phi(x_0) + D\phi(x_0)(x - x_0), which by Proposition 5.6 maps a small cube QQ to a parallelepiped of volume ∣det⁡Dϕ(x0)∣ m(Q)|\det D\phi(x_0)|\,m(Q). Uniform continuity of DϕD\phi on compact sets makes the error small relative to m(Q)m(Q), 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 ff by the usual monotone-class and simple-function route.

The factor ∣det⁡Dϕ∣|\det D\phi| is the Jacobian. In one variable it is the ∣ϕ′∣|\phi'| 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, ϕ(r,θ)=(rcos⁡θ,rsin⁡θ)\phi(r, \theta) = (r\cos\theta, r\sin\theta) maps (0,∞)×(0,2π)(0, \infty) \times (0, 2\pi) onto the plane minus a ray (a null set), with det⁡Dϕ=r\det D\phi = r. So

∫R2f(x,y) dx dy=∫02π∫0∞f(rcos⁡θ,rsin⁡θ) r dr dθ.\int_{\mathbb{R}^2}f(x, y)\,dx\,dy = \int_0^{2\pi}\int_0^\infty f(r\cos\theta, r\sin\theta)\,r\,dr\,d\theta.

In Rn\mathbb{R}^n, every non-zero xx is rωr\omega with r=∣x∣>0r = |x| > 0 and ω∈Sn−1\omega \in S^{n-1}, and Lebesgue measure splits as

dx=rn−1 dr dσ(ω),dx = r^{n-1}\,dr\,d\sigma(\omega),

where σ\sigma is surface measure on the unit sphere. For a radial function f(x)=g(∣x∣)f(x) = g(|x|) this gives

∫Rng(∣x∣) dx=∣Sn−1∣∫0∞g(r) rn−1 dr,(∗)\int_{\mathbb{R}^n}g(|x|)\,dx = |S^{n-1}|\int_0^\infty g(r)\,r^{n-1}\,dr, \tag{$*$}

with ∣Sn−1∣=σ(Sn−1)|S^{n-1}| = \sigma(S^{n-1}) the area of the unit sphere. The factor rn−1r^{n-1} says that a thin shell of radius rr and thickness drdr has volume ∣Sn−1∣rn−1dr|S^{n-1}|r^{n-1}dr: surface area times thickness (Figure 5.2). For the purposes of this guidebook, (∗)(*) can be taken as the definition of ∣Sn−1∣|S^{n-1}| (surface measure is constructed properly on manifolds in 8A.8 Differential Forms and Stokes’ Theorem); its value is computed below.

Figure 5.2. Polar coordinates: a thin ring at radius rr and thickness drdr has area 2πr dr2\pi r\,dr. In Rn\mathbb{R}^n a thin shell has volume ∣Sn−1∣ rn−1dr|S^{n-1}|\,r^{n-1}dr, and integrating a radial function means adding up shells.

The Gaussian integral

Theorem 5.8 The Gaussian integral
∫−∞∞e−x2 dx=π,∫Rne−∣x∣2 dx=πn/2,∫Rn(4πτ)−n/2e−∣x∣2/4τ dx=1(τ>0).\int_{-\infty}^\infty e^{-x^2}\,dx = \sqrt\pi, \qquad \int_{\mathbb{R}^n}e^{-|x|^2}\,dx = \pi^{n/2}, \qquad \int_{\mathbb{R}^n}(4\pi\tau)^{-n/2}e^{-|x|^2/4\tau}\,dx = 1 \quad (\tau > 0).

Proof. Let I=∫Re−x2dxI = \int_{\mathbb{R}}e^{-x^2}dx, which is finite since e−x2≤e−∣x∣e^{-x^2} \leq e^{-|x|} for ∣x∣≥1|x| \geq 1. By Tonelli (the integrand is non-negative) and polar coordinates,

I2=∫R∫Re−x2e−y2 dx dy=∫R2e−(x2+y2) dx dy=∫02π∫0∞e−r2 r dr dθ=2π⋅12=π.I^2 = \int_{\mathbb{R}}\int_{\mathbb{R}}e^{-x^2}e^{-y^2}\,dx\,dy = \int_{\mathbb{R}^2}e^{-(x^2+y^2)}\,dx\,dy = \int_0^{2\pi}\int_0^\infty e^{-r^2}\,r\,dr\,d\theta = 2\pi\cdot\tfrac12 = \pi.

Since I>0I > 0, I=πI = \sqrt\pi. In Rn\mathbb{R}^n, e−∣x∣2=∏ie−xi2e^{-|x|^2} = \prod_ie^{-x_i^2}, and Tonelli splits the integral into nn factors of π\sqrt\pi. For the last formula, substitute x=4τ yx = \sqrt{4\tau}\,y, a linear map with determinant (4τ)n/2(4\tau)^{n/2}.

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.

Where this goes The normalisation that runs to Perelman

The function H(x,t)=(4πt)−n/2e−∣x∣2/4tH(x, t) = (4\pi t)^{-n/2}e^{-|x|^2/4t} is the heat kernel of Rn\mathbb{R}^n: it solves ∂tH=ΔH\partial_tH = \Delta H and, by the theorem, has total mass 11 at every time, concentrating to the Dirac mass as t→0t \to 0 (3A.4 Measures, Probability and Weights, 6A.3 The Heat Equation on ℝⁿ). In 12A.3 The 𝓦-Entropy Perelman's entropy is an integral against (4πτ)−n/2e−fdV(4\pi\tau)^{-n/2}e^{-f}dV normalised to mass 11, and on flat Rn\mathbb{R}^n with f=∣x∣2/4τf = |x|^2/4\tau the measure is the heat kernel; Exercise 5.14 computes the second moment that makes the entropy of this flat Gaussian equal to 00. Perelman's reduced volume (12A.5 Reduced Distance and Reduced Volume) is built the same way and equals 11 exactly for flat space, which is how his monotonicity results detect flatness.

Volumes of balls and spheres

Apply (∗)(*) to e−∣x∣2e^{-|x|^2}:

πn/2=∣Sn−1∣∫0∞e−r2rn−1 dr=∣Sn−1∣⋅12Γ(n2),\pi^{n/2} = |S^{n-1}|\int_0^\infty e^{-r^2}r^{n-1}\,dr = |S^{n-1}|\cdot\tfrac12\Gamma\big(\tfrac n2\big),

where Γ(s)=∫0∞ts−1e−t dt\Gamma(s) = \int_0^\infty t^{s-1}e^{-t}\,dt is Euler's gamma function (substitute t=r2t = r^2), which satisfies Γ(s+1)=sΓ(s)\Gamma(s+1) = s\Gamma(s), Γ(1)=1\Gamma(1) = 1 and Γ(12)=π\Gamma(\tfrac12) = \sqrt\pi. So

∣Sn−1∣=2πn/2Γ(n/2),ωn=m(B(0,1))=∫01∣Sn−1∣rn−1 dr=πn/2Γ(n/2+1).|S^{n-1}| = \frac{2\pi^{n/2}}{\Gamma(n/2)}, \qquad \omega_n = m(B(0, 1)) = \int_0^1|S^{n-1}|r^{n-1}\,dr = \frac{\pi^{n/2}}{\Gamma(n/2 + 1)}.

Check: ω2=π\omega_2 = \pi, ω3=π3/2Γ(5/2)=π3/234π=43π\omega_3 = \frac{\pi^{3/2}}{\Gamma(5/2)} = \frac{\pi^{3/2}}{\frac34\sqrt\pi} = \frac43\pi, and ∣S2∣=4π|S^2| = 4\pi.

In the world Model Most of a high-dimensional ball is near its surface

The volume of the unit ball rises from ω1=2\omega_1 = 2 to a maximum ω5≈5.264\omega_5 \approx 5.264 and then falls: ω10≈2.55\omega_{10} \approx 2.55, ω20≈0.026\omega_{20} \approx 0.026, and ωn→0\omega_n \to 0 (Figure 5.3). The unit ball takes up a smaller and smaller fraction of the cube [−1,1]n[-1, 1]^n that contains it.

More striking is where the volume is. The ball of radius 1−ε1 - \varepsilon has a fraction (1−ε)n(1 - \varepsilon)^n of the volume of the unit ball, so the outer shell 1−ε<∣x∣<11 - \varepsilon < |x| < 1 holds 1−(1−ε)n1 - (1 - \varepsilon)^n of it. In dimension 100100, the outer 5%5\% of the radius holds 99.4%99.4\% 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.

Figure 5.3. The volume ωn=πn/2/Γ(n/2+1)\omega_n = \pi^{n/2}/\Gamma(n/2 + 1) of the unit ball in Rn\mathbb{R}^n, computed for n=1,…,20n = 1, \ldots, 20. It peaks at n=5n = 5 and tends to 00.

Scaling

A special case of change of variables is used so often it deserves its own line. For λ>0\lambda > 0,

∫Rnf(λx) dx=λ−n∫Rnf(y) dy.\int_{\mathbb{R}^n}f(\lambda x)\,dx = \lambda^{-n}\int_{\mathbb{R}^n}f(y)\,dy.

Combined with how derivatives scale, ∇[f(λx)]=λ(∇f)(λx)\nabla[f(\lambda x)] = \lambda(\nabla f)(\lambda x), it predicts the exponents in every inequality that is invariant under dilation. For instance, ∫∣∇u∣2\int|\nabla u|^2 and (∫∣u∣p)2/p\big(\int|u|^p\big)^{2/p} scale the same way under u(x)↦u(λx)u(x) \mapsto u(\lambda x) exactly when p=2nn−2p = \frac{2n}{n-2}, 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 vol B(x,r)≥κrn\mathrm{vol}\,B(x, r) \geq \kappa r^n 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 π\sqrt\pi 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.

Recall Where we stand

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 ∣det⁡∣|\det|, and C1C^1 diffeomorphisms by the Jacobian ∣det⁡Dϕ∣|\det D\phi|. Polar coordinates split dx=rn−1dr dσdx = r^{n-1}dr\,d\sigma, giving the Gaussian integral πn/2\pi^{n/2}, the normalisation ∫(4πτ)−n/2e−∣x∣2/4τ=1\int(4\pi\tau)^{-n/2}e^{-|x|^2/4\tau} = 1, and the volumes ωn=πn/2/Γ(n/2+1)\omega_n = \pi^{n/2}/\Gamma(n/2 + 1). Dilation scales integrals by λ−n\lambda^{-n}. 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

Exercise 5.9 Checking Fubini

(a) Verify the two iterated sums in Example 5.4. (b) Show that ∫01∫01x2−y2(x2+y2)2 dy dx=π4\int_0^1\int_0^1\frac{x^2 - y^2}{(x^2 + y^2)^2}\,dy\,dx = \frac\pi4 while the integral in the other order is −π4-\frac\pi4. (Use ∂∂yyx2+y2=x2−y2(x2+y2)2\frac{\partial}{\partial y}\frac{y}{x^2 + y^2} = \frac{x^2 - y^2}{(x^2 + y^2)^2}.) Which hypothesis fails?

Solution

(b) The inner integral in yy is [yx2+y2]01=1x2+1\big[\frac{y}{x^2+y^2}\big]_0^1 = \frac{1}{x^2 + 1}, whose integral over [0,1][0, 1] is π4\frac\pi4. By the antisymmetry f(y,x)=−f(x,y)f(y, x) = -f(x, y), the other order gives −π4-\frac\pi4. The function is not absolutely integrable near the origin: in polar coordinates ∣f∣=∣cos⁡2θ∣r2|f| = \frac{|\cos 2\theta|}{r^2}, and ∫1r2 r dr\int\frac{1}{r^2}\,r\,dr diverges at 00.

Exercise 5.10 The layer-cake formula

Let f≥0f \geq 0 be measurable on a σ-finite measure space. Apply Tonelli to 1{(x,t):0<t<f(x)}1_{\{(x, t) : 0 < t < f(x)\}} on X×(0,∞)X \times (0, \infty) to show ∫f dμ=∫0∞μ({f>t}) dt\int f\,d\mu = \int_0^\infty\mu(\{f > t\})\,dt. Deduce ∫fp dμ=p∫0∞tp−1μ({f>t}) dt\int f^p\,d\mu = p\int_0^\infty t^{p-1}\mu(\{f > t\})\,dt for p>0p > 0.

Exercise 5.11 Spherical coordinates

For ϕ(r,θ,φ)=(rsin⁡θcos⁡φ,rsin⁡θsin⁡φ,rcos⁡θ)\phi(r, \theta, \varphi) = (r\sin\theta\cos\varphi, r\sin\theta\sin\varphi, r\cos\theta), show ∣det⁡Dϕ∣=r2sin⁡θ|\det D\phi| = r^2\sin\theta, and use it to recompute the volume of a ball of radius RR in R3\mathbb{R}^3 and the area 4π4\pi of the unit sphere.

Exercise 5.12 Area by a linear map

Show that the ellipse {x2/a2+y2/b2≤1}\{x^2/a^2 + y^2/b^2 \leq 1\} has area πab\pi ab, and that the ellipsoid {xTAx≤1}\{x^{\mathsf T}Ax \leq 1\} (with AA symmetric positive definite) has volume ωn/det⁡A\omega_n/\sqrt{\det A}.

Solution

The ellipse is the image of the unit disc under diag(a,b)\mathrm{diag}(a, b). For the ellipsoid, x=A−1/2yx = A^{-1/2}y maps the unit ball onto it, and det⁡A−1/2=(det⁡A)−1/2\det A^{-1/2} = (\det A)^{-1/2}.

Exercise 5.13 A recursion for ball volumes

Using ωn=πn/2/Γ(n/2+1)\omega_n = \pi^{n/2}/\Gamma(n/2 + 1), show ωn=2πnωn−2\omega_n = \frac{2\pi}{n}\omega_{n-2}. Deduce that ωn≥ωn−2\omega_n \geq \omega_{n-2} exactly when n≤6n \leq 6, and that ωn→0\omega_n \to 0. (Comparing neighbouring dimensions takes a little more work; the computed values show the maximum is at n=5n = 5.)

Solution

Γ(n/2+1)=n2Γ(n/2)\Gamma(n/2 + 1) = \frac n2\Gamma(n/2), so ωn/ωn−2=π/n2=2πn\omega_n/\omega_{n-2} = \pi/\frac n2 = \frac{2\pi}{n}, which is at least 11 exactly when n≤2πn \leq 2\pi, that is, n≤6n \leq 6. Along each of the even and odd chains, ωn\omega_n is a product of factors 2πk\frac{2\pi}{k}, which tend to 00, so ωn→0\omega_n \to 0.

Exercise 5.14 Rehearsal: the moments of the heat kernel

Let dμτ=(4πτ)−n/2e−∣x∣2/4τ dxd\mu_\tau = (4\pi\tau)^{-n/2}e^{-|x|^2/4\tau}\,dx. Show that (a) ∫xi dμτ=0\int x_i\,d\mu_\tau = 0; (b) ∫xixj dμτ=2τδij\int x_ix_j\,d\mu_\tau = 2\tau\delta_{ij}, so ∫∣x∣2dμτ=2nτ\int|x|^2d\mu_\tau = 2n\tau; (c) with f=∣x∣2/4τf = |x|^2/4\tau, ∫(τ∣∇f∣2+f−n) dμτ=0\int\big(\tau|\nabla f|^2 + f - n\big)\,d\mu_\tau = 0.

Part (c) is the computation that the W\mathcal{W}-entropy of the Gaussian soliton on flat Rn\mathbb{R}^n is 00 (12A.3 The 𝓦-Entropy; the scalar curvature RR is 00 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 xix_i. (b) For i≠ji \neq j, odd again. For i=ji = j, by Tonelli the other coordinates integrate to 11, and ∫x2(4πτ)−1/2e−x2/4τdx=2τ\int x^2(4\pi\tau)^{-1/2}e^{-x^2/4\tau}dx = 2\tau (substitute x=2τyx = 2\sqrt\tau y and use ∫y2e−y2=π2\int y^2e^{-y^2} = \frac{\sqrt\pi}2, 3A.3 The Lebesgue Integral). (c) ∇f=x2τ\nabla f = \frac{x}{2\tau}, so τ∣∇f∣2=∣x∣24τ=f\tau|\nabla f|^2 = \frac{|x|^2}{4\tau} = f, and the integrand is 2f−n2f - n. Its integral is 24τ⋅2nτ−n=0\frac{2}{4\tau}\cdot2n\tau - n = 0.

Exercise 5.15 Concentration in a shell

(a) What fraction of the volume of the unit ball in R1000\mathbb{R}^{1000} lies within 1%1\% of the surface? (b) Show that for the standard Gaussian measure (2π)−n/2e−∣x∣2/2dx(2\pi)^{-n/2}e^{-|x|^2/2}dx on Rn\mathbb{R}^n, ∫∣x∣2=n\int|x|^2 = n, so a typical point has ∣x∣≈n|x| \approx \sqrt n: 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.