© 2026 Neckpinch · www.neckpinch.com · All rights reserved.
Course 3Book 3A: Measure, Integration and LᵖChapter 4
Measures, Probability and Weights
Abstract measures, densities, and the weighted measures e^(−f) dV that Perelman uses.
Read with Tao, An Introduction to Measure Theory, §1.4 "Abstract measure spaces" (Boolean algebras and σ-algebras, countably additive measures, measurable functions and integration, the convergence theorems) and §2.3 "Probability spaces". The Radon–Nikodym theorem is in Tao, An Epsilon of Room I, §1.2; read its statement now and its proof when you need it.
In this chapter · 10 sections
- 4.1From Lebesgue measure to measures in general
- 4.2Simulating rare events
- 4.3Measure spaces
- 4.3.1Generating σ-algebras
- 4.3.2Distribution functions
- 4.3.3Three kinds of measure
- 4.3.4Measures on a manifold, previewed
- 4.3.5Sums are integrals
- 4.4Pushforward measures
- 4.5Densities
- 4.5.1The Dirac mass as a limit of densities
- 4.5.2Signed measures and total variation
- 4.5.3Measures as linear functionals
- 4.5.4Weak convergence: what it sees and what it misses
- 4.6Probability as measure theory
- 4.6.1The Gaussian measure in many dimensions
- 4.6.2Variance, Chebyshev and Monte Carlo
- 4.6.3The Gaussian's tails
- 4.6.4The uniform measure on a sphere
- 4.7Weighted measures e−fe^{-f}e−f
- 4.7.1Relative entropy, previewed
- 4.7.2Why write a density as e−fe^{-f}e−f
- 4.8From one measure to products and changes of variables
- 4.8.1The partition function knows the averages
- 4.9History
- 4.10Exercises
- ↗Free resources
Everything in 3A.2 Lebesgue Measure and 3A.3 The Lebesgue Integral used only a few properties of Lebesgue measure: it assigns sizes to the sets of a σ-algebra, and it is countably additive. Translation invariance and boxes were needed to build it, but not to integrate against it. So the whole theory works for any countably additive measure on any set. This chapter makes that step, and it pays off at once: sums become integrals, probability becomes measure theory, and changing one measure into another becomes multiplication by a density.
The last idea is the one the guidebook needs most. Perelman never integrates against plain volume. He integrates against the weighted measure , a probability measure written with its density in exponential form, exactly as physicists write the Boltzmann distribution . The reasons are the same in both cases: energy and entropy live in the exponent, and normalising the total mass to makes the measure a probability. This chapter sets up that language.
By the end of this chapter you will be able to:
- define σ-algebras, measures and integrals on an abstract measure space, and recognise sums as integrals against counting measure;
- compute pushforward measures and use the change-of-variables formula for them;
- work with measures given by densities, state the Radon–Nikodym theorem, and recognise the Dirac mass as a limit of densities;
- translate between probability and measure theory: random variables, laws, expectation;
- reweight a measure by , normalise it, and explain why both statistical mechanics and Perelman write densities this way.
From Lebesgue measure to measures in general
3A.3 The Lebesgue Integral built the Lebesgue integral on and proved its three limit theorems, then observed that the proofs never used boxes or translations, only countable additivity. It ended with two examples that are not Lebesgue measure at all: a series of non-negative numbers, which is an integral over the integers with each point of size , and the expectation of a random variable, which is an integral against a probability. This chapter takes the observation seriously.
A warm-up shows three integrals that are not integrals against length, computed with nothing but the definition of the integral of a simple function. A fair die is a measure on the set giving each point mass ; the integral of the function against it is , the expected value of a roll. Counting measure on the positive integers integrates the function to . And the measure that puts mass at the origin and nothing elsewhere integrates any function to the single number , since the only simple function that matters is times the indicator of a set containing the origin. Expectation, summation and evaluation at a point are all integration, against three different measures.
The chapter sets up the general framework, a σ-algebra on any set and a countably additive measure on it, checks that the integral and its limit theorems carry over, and then develops the operations that produce new measures from old. A map pushes a measure forward; a non-negative function reweights it, producing a measure with a density; and the Radon–Nikodym theorem says when a measure has a density at all. The pace is calmer than in 3A.2 Lebesgue Measure: little needs proving, because most proofs are the ones already given, read in a new setting. What is new is a way of thinking, in which a measure is an object that can be transformed, compared and normalised, and that view leads directly to Perelman's probability measures .
Simulating rare events
Engineers estimating the probability that a structure fails, or banks estimating the probability of an extreme loss, often can't compute it exactly and estimate it by simulation instead: draw many random samples and count how often the bad event happens. The trouble is that the event is rare. For a quantity with the standard normal distribution, the probability that is . To estimate it to within (relative standard error) by plain sampling, you need about million samples, because almost all of them land nowhere near the event.
Importance sampling draws from a different distribution instead, one that puts the samples where they matter, and corrects by a weight. Sample from a normal distribution centred at , and average , where the weight is the ratio of the two densities,
The average is an unbiased estimate of , because . Computing the variance shows that about samples now give the same accuracy, a saving by a factor of about . The method dates from the early days of Monte Carlo computation (Kahn and Marshall described it in 1953) and is standard in reliability engineering and financial risk. Mathematically it is a single identity: changing the measure you integrate against, and multiplying by the density of one measure with respect to the other. That density is what the Radon–Nikodym theorem below guarantees exists.
The numbers behind the saving. The figures in the box can be checked with Gaussian integrals. Plain sampling averages , whose variance is ; for a relative error of , the standard error must be , which needs samples. The reweighted estimator averages , whose second moment is . Completing the square, , and the integral equals , so the variance is about . The relative standard deviation per sample is then about , and a relative error of needs about samples. The ratio, about , is the saving.
Measure spaces
A σ-algebra on a set is a collection of subsets of that contains and is closed under complements and countable unions. A measure on is a function with that is countably additive: for disjoint . The triple is a measure space. If it is a probability space.
The examples that matter:
- Lebesgue measure on with the Lebesgue measurable sets (3A.2 Lebesgue Measure), or its restriction to the Borel sets.
- Counting measure on any set: is the number of elements of (possibly ), with every subset measurable.
- The Dirac mass at a point : if , and otherwise. All the mass at one point.
- Restrictions and sums. If is a measure and is measurable, is a measure; positive combinations of measures are measures.
- Riemannian volume. On a Riemannian manifold, the volume measure (9A.1 Riemannian Metrics and Model Spaces), built from Lebesgue measure in coordinate charts.
A function is measurable if for all . The integral is defined exactly as in 3A.3 The Lebesgue Integral: by simple functions, then by supremum, then by splitting into positive and negative parts. The monotone convergence theorem, Fatou's lemma and the dominated convergence theorem hold, with the same proofs; Tao states them in this generality in §1.4.5. From now on "integrable" means , and is the space of such functions (modulo equality -almost everywhere).
Generating σ-algebras
A σ-algebra is usually described by naming a few sets it must contain and taking the smallest σ-algebra that does, the one generated by them: the intersection of all σ-algebras containing the named sets, which is again a σ-algebra. The Borel σ-algebra on is generated by the open sets, but equally by the open intervals, or by the half-lines , because each of these collections can be built from the others by countable operations. That is why a function is measurable as soon as every set is: those sets generate the preimages of all Borel sets.
Generators also decide uniqueness. Two finite measures on that agree on every half-line agree on every Borel set. The proof, Dynkin's π–λ theorem, shows that the sets on which the two measures agree form a class closed under the operations needed to reach the whole σ-algebra from the half-lines, which are closed under intersections. The practical consequence is that a measure on the line is determined by much less information than its values on all sets, as the next section uses.
Distribution functions
A finite Borel measure on is determined by its distribution function , by the uniqueness just stated. The function is nondecreasing, continuous from the right (by continuity of measure from above), with and . Conversely every function with these properties is the distribution function of exactly one measure, the Lebesgue–Stieltjes measure of , built as in 3A.2 Lebesgue Measure with the length of an interval replaced by . Four examples show the range:
- on , constant outside: Lebesgue measure on , the uniform distribution.
- for : the exponential distribution, with density .
- for and for : the Dirac mass at . A jump in is a point of positive mass.
- the Cantor function of 3A.2 Lebesgue Measure: a measure on with no point masses, since is continuous, and no density either, since it lives on the Cantor set, which has Lebesgue measure zero. This is the Cantor measure, the uniform distribution on the Cantor set.
Three kinds of measure
The examples are the three pure types, and every σ-finite measure on is a sum of them: an absolutely continuous part with a density, a pure point part made of Dirac masses, and a singular continuous part, like the Cantor measure, that has neither. This is Lebesgue's decomposition. In the analysis of this guide only the first kind appears as a measure one integrates against, and the second as a limit, the Dirac mass that densities concentrate to; the third is a reminder that "no atoms" does not mean "has a density".
Measures on a manifold, previewed
The Riemannian volume in the list above is built with the tools of this chapter. In a coordinate chart, the metric has components , and the volume measure is the measure with density with respect to Lebesgue measure in the coordinates. Two charts give the same measure on their overlap, because the change of coordinates multiplies by exactly the inverse of the Jacobian determinant by which it changes Lebesgue measure, the density transformation rule below. A partition of unity (8A.8 Differential Forms and Stokes’ Theorem) glues the local measures into one measure on the whole manifold. So is a measure with a density in each chart, and the weighted measures of Perelman's work are measures with density in coordinates. Everything proved in this chapter for measures on applies to them chart by chart.
Sums are integrals
Against counting measure on , a function is a sequence , and
So every theorem about integrals is also a theorem about series. Monotone convergence says that sums of non-negative terms can be computed by increasing truncations. Dominated convergence gives Tannery's theorem: if as for each , and with , then . (For example, , with .) And 3A.5 Product Measures and Change of Variables's Tonelli theorem, applied to counting measure twice, says double series of non-negative terms can be summed in either order (2A.8 Infinite Sets).
Pushforward measures
A measurable map carries a measure from one space to another.
Let be measurable (preimages of measurable sets are measurable) and a measure on . The pushforward is the measure on given by .
For every measurable (or ),
Proof. For this is the definition: both sides equal . By linearity it holds for simple , by monotone convergence for non-negative , and by splitting into positive and negative parts for integrable .
This proof pattern, indicators, then simple functions, then monotone limits, then differences, proves almost every identity about integrals. It is worth recognising on sight.
Let be Lebesgue measure on and . For , . A measure on whose distribution function is has density . So if is uniform on , then has density on : squares of uniform numbers pile up near .
Two pushforwards that are used constantly. Lebesgue measure on , pushed forward by , is arclength on the unit circle divided by , the uniform probability on the circle. And if is a continuous, strictly increasing distribution function, the uniform measure on pushed forward by is the measure with distribution function : indeed . This is inverse transform sampling, the way a computer turns uniform random numbers into samples from any distribution: for the exponential law, .
A pushforward with two preimages. If is a standard normal random variable, with density , the law of has a density on found by adding the contributions of the two preimages of each value : each contributes , by the Jacobian rule below, so the density is
This is the chi-squared distribution with one degree of freedom. The density is infinite at but integrable there, like , an example of a perfectly good probability density that is unbounded.
Densities
If is measurable on a measure space , the formula defines a measure (countable additivity is monotone convergence). We write and call the density of with respect to . Then for every non-negative measurable .
The last identity is again proved by indicators, simple functions and monotone limits. Integrating against is the same as weighting the integrand by . For probability densities on , and is the probability that a random point lands in .
Which measures have densities? A necessary condition is that whenever : a density can't put mass on a set that doesn't see. This is called absolute continuity, . The Dirac mass is not absolutely continuous with respect to Lebesgue measure ( but ), so it has no density, however tempting it is to write "". The converse is the theorem.
Absolute continuity in examples. The uniform probability on is absolutely continuous with respect to Lebesgue measure on , but not conversely: the interval has Lebesgue measure and uniform probability . The standard Gaussian and Lebesgue measure are absolutely continuous with respect to each other, since the Gaussian density is positive everywhere, so they have exactly the same null sets, and "almost everywhere" means the same thing for both. The Dirac mass and Lebesgue measure are mutually singular: each lives on a set the other ignores, the point and its complement. Perelman's measure has a positive density with respect to , so its null sets are those of the Riemannian volume: reweighting by changes how much each region counts, never whether it counts at all.
Let and be σ-finite measures on the same σ-algebra, with . Then there is a measurable , unique -almost everywhere, with . It is written .
(σ-finite means the space is a countable union of sets of finite measure, as is for Lebesgue measure.) The shortest proof, due to John von Neumann, uses one tool from later in the route: the Riesz representation theorem for Hilbert spaces (4A.5 Hilbert Spaces and Lax–Milgram, whose proof doesn't use this chapter), applied to (3A.7 Lᵖ Spaces and Jensen’s Inequality). Read it now for the idea, or come back after Course 4.
Proof. Uniqueness. If and both work and is finite, let . Then with a positive integrand on , so (3A.3 The Lebesgue Integral); likewise . (If , intersect with sets of finite -measure first.)
Existence, for finite and . Let , a finite measure. The map is linear on and bounded, since by Cauchy–Schwarz . By the Riesz representation theorem there is with
With , for every ; since , this forces -almost everywhere (if on a set of positive measure, then ). Rewrite as
On , taking gives , hence by absolute continuity. Now take , which is bounded: . As , off , so the left side tends to (dominated convergence), and the right side increases to with off (monotone convergence). So .
σ-finite case. Cut into countably many disjoint sets on which both and are finite, find the density on each, and add them up, using countable additivity.
In importance sampling, the weight is , and the identity that makes the method unbiased is .
Densities transform with a Jacobian. When a measure with a density is pushed forward by a smooth invertible map, the result has a density too, and the formula anticipates 3A.5 Product Measures and Change of Variables. If on and is a diffeomorphism, then
For the squaring map on with , and , so the density is , as in the example above. The Jacobian factor records how much the map stretches volume: where it stretches, the same mass is spread thinner, and the density drops.
Chain rules for densities. Radon–Nikodym derivatives behave like ordinary derivatives. If , then , and if and are mutually absolutely continuous, . In importance sampling, the weight is , and reversing the roles of the two distributions inverts it. Both rules are proved by checking them on indicators and passing to limits, the pattern above.
Why σ-finiteness is needed. The Radon–Nikodym theorem assumes σ-finite measures, and the hypothesis cannot be dropped. On , let be counting measure, which is not σ-finite since is uncountable, and Lebesgue measure. Then , since the only set of counting measure zero is the empty set. A density would have to satisfy , that is for every , and then would be zero. So there is no density. The σ-finite hypothesis rules out measures like counting measure on an uncountable set, which see every point but cannot be cut into countably many pieces of finite size.
Conditional expectation. The Radon–Nikodym theorem defines one of the central notions of probability. If is an integrable random variable and is a smaller σ-algebra, representing partial information, the formula for defines a signed measure on that is absolutely continuous with respect to restricted to . Its density is a -measurable random variable, the conditional expectation , the best guess of given the information in . The martingales and stochastic integrals of 6D.2 Martingales and the Itô Integral, and through them the mathematics of finance, are built on it.
A density is defined only almost everywhere. Changing a density on a null set does not change the measure it defines, so "the value of the density at a point" has no meaning in general: the density of the uniform distribution on could be on , or on the irrationals and on the rationals, and both define the same measure. The Radon–Nikodym theorem accordingly asserts uniqueness only almost everywhere. There is nevertheless a canonical value at almost every point, the limit of as , the mass of a small ball divided by its volume; Lebesgue's differentiation theorem of 3A.6 Modes of Convergence and Differentiation shows that this limit exists and equals the density almost everywhere. So a density is recovered, almost everywhere, by measuring small balls, which is how a physicist would define it in the first place.
The Dirac mass as a limit of densities
The Dirac mass has no density, but it is a limit of densities in a precise sense.
Let be integrable on with , and . Then for every bounded continuous ,
Proof. Substituting (the scaling rule of 3A.2 Lebesgue Measure, extended to integrals in 3A.5 Product Measures and Change of Variables), . The integrand converges to and is dominated by , which is integrable. By dominated convergence the integral tends to .
The rescaled family is the approximate identity of 2B.5 Uniform Convergence and Arzelà–Ascoli and 2B.7 Fourier Series and the First Heat Equation, now seen as a family of measures converging to a point mass. This kind of convergence, testing against continuous functions, is called weak convergence of measures. The heat kernel at time converges to in exactly this sense (6A.3 The Heat Equation on ℝⁿ), which is what it means for the heat equation to start from given initial data. In 12A.9 Pseudolocality, Perelman's conjugate heat kernel starts as a Dirac mass at a point and spreads backwards in time.
Signed measures and total variation
Differences of measures are useful too. A signed measure is a countably additive function on a σ-algebra with values in ; the standard example is for an integrable of either sign. The Hahn–Jordan decomposition splits any finite signed measure as , a difference of two measures living on disjoint sets, and for these are and . The total variation measures the size of regardless of sign.
For two probability measures with densities and with respect to , the total variation distance
is the largest difference in probability that any event can show between them. It is bounded by the relative entropy of the end of this chapter through Pinsker's inequality, : small relative entropy forces small total variation. Entropy is the stronger measure of difference, and controlling it, as the log-Sobolev inequalities of 6A.12 Entropy, Information and Diffusion do, controls everything weaker.
Measures as linear functionals
A measure can be recovered from its integrals of continuous functions, and this is the deepest reason weak convergence is natural. On , or any reasonable space, every positive linear map from continuous functions of compact support to , positive meaning that when , is integration against exactly one measure that is finite on compact sets: . This is the Riesz–Markov representation theorem. The Dirac mass is the functional , Lebesgue measure is the Riemann integral of continuous functions, and a probability density is the functional . Seen this way, a measure is an object that eats continuous functions and returns numbers linearly and positively, and convergence of measures is naturally convergence of what they return, which is weak convergence. Functional analysis (4A.5 Hilbert Spaces and Lax–Milgram) takes this point of view systematically.
Weak convergence: what it sees and what it misses
The convergence of densities to the Dirac mass tests measures against continuous functions, and its examples clarify what it means. The Dirac masses converge weakly to , since for continuous , yet for every while . Weak convergence does not give convergence on every set; it gives convergence on sets whose boundary carries no mass of the limit, and is all boundary. The Dirac masses at the integers converge to nothing as probability measures: tested against a continuous function that vanishes at infinity, they converge to , but the total mass has escaped. That is the horizontal escape of 3A.3 The Lebesgue Integral for measures, and the condition that excludes it is tightness: for every there is a compact set carrying all but of the mass of every measure in the family. Prokhorov's theorem says that a tight family of probability measures always has a weakly convergent subsequence, the measure-theoretic counterpart of the compactness theorems of 2B.5 Uniform Convergence and Arzelà–Ascoli.
Point masses in physics. The Dirac mass entered physics as the density of a point charge or a point mass. A charge at the origin has charge density , a measure rather than a function, and the electrostatic potential it produces solves Poisson's equation with that measure on the right-hand side; the solution, in three dimensions, is the Green's function of the Laplacian. Paul Dirac's "delta function" of the 1920s was a convenient fiction until Laurent Schwartz's theory of distributions made it rigorous, and in measure theory it was never a fiction at all: it is the simplest measure there is. The heat kernel started from a point, in 3A.8 Convolution and Mollifiers and 6A.3 The Heat Equation on ℝⁿ, is the solution of the heat equation with initial value , and its convergence to as is the weak convergence above.
Probability as measure theory
Kolmogorov's 1933 axioms identify probability with measure theory of total mass .
| Probability | Measure theory |
|---|---|
| sample space , events, probability | measure space with |
| random variable | measurable function |
| law (distribution) of | pushforward on |
| density of | Radon–Nikodym derivative |
| expectation | |
| almost surely | -almost everywhere |
| independence | product measure (3A.5 Product Measures and Change of Variables) |
What the axioms leave to construct. Kolmogorov's axioms say what a probability space is, but they do not by themselves produce the spaces that probability needs. A sequence of independent fair coin tosses requires a probability measure on the set of all infinite sequences of heads and tails, consistent with the probabilities of every finite string, and its existence is a theorem, Kolmogorov's extension theorem, proved by building an outer measure from the finite strings and applying Carathéodory's criterion of 3A.2 Lebesgue Measure. For coin tosses, the binary-digit model of 3A.2 Lebesgue Measure gives the measure directly as Lebesgue measure on . Brownian motion, a random continuous path, needs the same kind of construction on a space of functions (6D.1 Brownian Motion). Measure theory is what makes these objects exist; the axioms only say what to require of them.
Let have the exponential law, density on (Exercise 4.10). Its mean is (integrate by parts, or differentiate under the integral sign at , 3A.3 The Lebesgue Integral), and , so the variance is . Markov's inequality gives ; the truth is . Markov is crude, but it needs only the mean, and that is its virtue: it is the inequality that turns integral bounds into bounds on the size of exceptional sets, all through Book 4A.
The pushforward formula, Proposition 4.3, is the statement that the expectation of can be computed either on the sample space or on the real line using the law of . Markov's inequality (3A.3 The Lebesgue Integral) becomes for , and applied to it becomes Chebyshev's inequality, from which the weak law of large numbers follows in a line (Exercise 4.12).
The Gaussian measure in many dimensions
The standard Gaussian measure on is , a probability measure whose normalisation is computed in 3A.5 Product Measures and Change of Variables. Since , it is the product of one-dimensional Gaussians: its coordinates are independent standard normal random variables. Since is unchanged by rotations, it is rotation invariant: pushed forward by any orthogonal map, it is unchanged. These two properties characterise it among product measures, and they are why the Gaussian appears in every rotation-invariant problem, including the heat kernel.
In high dimensions it behaves unexpectedly. The expected value of is , the sum of unit variances, and its fluctuations are of order , so is close to for most of the mass: the Gaussian measure in high dimension concentrates near the sphere of radius , not near the origin where its density is largest. The density is largest at the origin, but there is so little volume near the origin that almost none of the mass lives there. This concentration of measure is a first warning that, in high dimensions, densities and volumes compete, and the balance between them is what an entropy measures.
Variance, Chebyshev and Monte Carlo
The variance of a random variable with mean is . Markov's inequality applied to gives Chebyshev's inequality,
which says a random variable rarely strays far from its mean by more than a few standard deviations. For the average of independent copies of , the variance is , so the average is within about of the mean, with the standard deviation. That is the accuracy of a Monte Carlo estimate, and it explains the importance sampling example: the cost of an estimate is set by the variance of what is averaged, and reweighting reduces that variance. The strong law of large numbers says more, that almost surely, a statement about a null set of exceptional infinite sequences of samples, exactly the kind of statement measure theory was built to make.
The Gaussian's tails
The importance sampling example estimated the probability that a standard normal variable exceeds . Measure theory gives a quick bound. For and any , Markov's inequality applied to gives , and completing the square in the Gaussian integral gives . Choosing ,
At this is , an overestimate by a factor of about ten of the true value, about , but of the right exponential type. This Chernoff bound is the simplest instance of a large deviation estimate: rare events for sums of random variables have probabilities that decay exponentially, at a rate given by an optimisation over , and the optimising tilt is exactly the reweighting that importance sampling uses.
The uniform measure on a sphere
Rotation invariance of the Gaussian gives a clean description of the uniform probability on the sphere . Push the Gaussian measure on forward by , defined except at the origin, a null set. The result is a probability measure on the sphere that is invariant under every rotation, because the Gaussian is, and the uniform measure is the only rotation-invariant probability on the sphere. So a uniformly random point on a sphere of any dimension can be produced from independent normal samples by normalising. The same idea, writing a rotation-invariant measure on as a radial part times the uniform measure on spheres, is polar coordinates, the subject of 3A.5 Product Measures and Change of Variables.
Expectations from tails. For a non-negative random variable, the layer cake formula of 3A.3 The Lebesgue Integral reads
For the exponential law, , and the integral is , the mean computed above. The formula turns tail estimates into estimates of expectations, and it is how bounds like Chebyshev's and Chernoff's below are converted into bounds on moments.
Weighted measures
A positive density can always be written as , with . There are good reasons to do so.
In a physical system in equilibrium with its surroundings at temperature , the probability of finding it in a state of energy is proportional to , where is Boltzmann's constant. As a measure on the space of states, the equilibrium distribution is
the normalising constant being the partition function. Writing the density as an exponential puts the energy in the exponent, where it adds: two independent systems have energies that add and densities that multiply. Low-energy states are exponentially favoured, and temperature sets the exchange rate. Quantities like the entropy and the free energy then become integrals of and against the measure, which is how thermodynamics is computed from statistical mechanics.
In Bayesian statistics, beliefs about an unknown parameter are a probability measure, the prior . Observing data with likelihood replaces it by the posterior
The posterior has density with respect to the prior: Bayes' rule is a Radon–Nikodym reweighting. Writing (with the negative log-likelihood) puts the data in the exponent, and the posterior is a Boltzmann distribution with as its energy, which is exactly how sampling algorithms for posteriors treat it.
In 12A.2 Ricci Flow as a Gradient Flow Perelman considers a Riemannian manifold with metric and a function , and the measure . His first move is to fix the measure: he lets evolve so that stays constant in time, and with that normalisation Ricci flow becomes the gradient flow of the functional . In 12A.3 The 𝓦-Entropy the weight becomes
a probability measure with a scale parameter , and the -entropy is an integral against it. The factor is the normalisation of the Gaussian (computed in 3A.5 Product Measures and Change of Variables): on flat , with , is exactly the Gaussian probability measure, the heat kernel. The language of this chapter (densities, normalisation, reweighting, integrals against a probability measure) is the language in which Perelman's entropy is written. Thread E runs from here through entropy and the log-Sobolev inequality (3A.7 Lᵖ Spaces and Jensen’s Inequality, 6A.12 Entropy, Information and Diffusion) to .
Relative entropy, previewed
Given two probability measures with and density , the relative entropy of with respect to is
It is non-negative, and zero only when , by Jensen's inequality (3A.7 Lᵖ Spaces and Jensen’s Inequality, where it is proved). It measures how far is from in a way adapted to densities: a measure concentrated on a small part of the space has a large density there and a large relative entropy. Perelman's measure fits this directly. Its density with respect to is , so , and
The term in his entropy is therefore, up to sign and a constant, the entropy of relative to the volume. Writing densities as makes this term appear in its simplest form, which is one more reason for the convention.
Why write a density as
The world boxes give physical and statistical reasons; there are mathematical ones too. A density of the form is automatically positive, so no constraint needs to be imposed when is varied, which matters when the density is an unknown in a variational problem, as Perelman's is. Its logarithmic derivative is simple: , so integration by parts against the weighted measure produces the term , the drift of the weighted Laplacian of 11B.1 Ricci Solitons. Products of densities become sums of potentials, so independent pieces combine additively. And the normalising constant becomes a shift of by a constant, which changes no derivative of . Each property simplifies a computation that Perelman performs.
From one measure to products and changes of variables
The chapter has generalised the integral to any measure space and developed the operations on measures: pushforward along maps, reweighting by densities, the Radon–Nikodym theorem, weak limits that produce Dirac masses, and the dictionary between probability and measure theory. It has also used, more than once, facts that it has not proved: the normalising constant of the Gaussian measure, the scaling of integrals under , and the Jacobian factor in the density of a pushforward.
The Gaussian is the example to keep in mind. Its density on factors as a product of one-dimensional densities, and to integrate it one would like to integrate one coordinate at a time, which needs a theorem about integrals over products. Its normalisation in one dimension, , is classically computed by squaring the integral and changing to polar coordinates in the plane, which needs a change of variables formula for Lebesgue integrals. And the factor in Perelman's measure is exactly this normalisation, rescaled.
3A.5 Product Measures and Change of Variables supplies both tools. It builds product measures, proves the Fubini and Tonelli theorems that let a double integral be computed one variable at a time, and proves the change of variables formula with its Jacobian, including polar coordinates. Then it computes the Gaussian integral, the volumes of balls and spheres in every dimension, and the scaling rules that every later estimate uses. What to carry forward from this chapter: measure spaces and the integral on them; counting measure and Dirac masses; distribution functions and the three kinds of measure; pushforwards and the change of variables formula for them; densities, absolute continuity and the Radon–Nikodym theorem; weak convergence and tightness; the probability dictionary; and the weighted measures , with their normalisation and relative entropy.
The partition function knows the averages
The normalising constant of a weighted measure is not just a nuisance; it contains information. For the family , with and an inverse temperature, differentiating under the integral sign (3A.3 The Lebesgue Integral) gives
minus the average energy, and a second derivative gives its variance. Statistical mechanics computes averages this way, from a single function . Perelman's normalisation plays the same role for a family indexed by the scale : it is the factor that keeps the total mass as changes, and the way it depends on enters every derivative of his entropy with respect to the scale. On flat space, where , the normalisation is the Gaussian integral of 3A.5 Product Measures and Change of Variables, and the average of against is exactly , a value that reappears as the constant in his functional.
History
Johann Radon proved the density theorem for measures on in 1913, and Otto Nikodym extended it to abstract measure spaces in 1930. Maurice Fréchet had already defined integrals on abstract sets in 1915. Andrei Kolmogorov's Grundbegriffe der Wahrscheinlichkeitsrechnung (1933) founded probability on measure theory. Ludwig Boltzmann introduced the exponential distribution of energies in the 1860s and 1870s, and J. Willard Gibbs systematised it as the canonical ensemble in his Elementary Principles in Statistical Mechanics (1902). Importance sampling appears in Herman Kahn and Andy Marshall's 1953 paper on reducing sample sizes in Monte Carlo computations.
A measure space is a σ-algebra with a countably additive measure, and integration and its convergence theorems work in that generality. Counting measure turns sums into integrals; Dirac masses put all the mass at a point; measurable maps push measures forward, and expectations can be computed on either side. A measure with a density is ; the Radon–Nikodym theorem gives densities for absolutely continuous measures; concentrating densities converge to Dirac masses. Probability is measure theory with total mass . Writing densities as puts energy in the exponent, as in the Boltzmann distribution, Bayes' rule and Perelman's weighted measures. 3A.5 Product Measures and Change of Variables builds product measures, proves Fubini–Tonelli and the change-of-variables formula in , and computes the Gaussian integral that normalises .
Exercises
Compute for (a) and ; (b) (on ) and ; (c) and . Which of these measures have a density with respect to Lebesgue measure?
Solution
(a) . (b) . (c) . None of them: each puts positive mass on a Lebesgue-null set of points.
(a) Let be uniform on . Find the density of . (b) Let be uniform on . Find the density of on . (c) Explain why (a) is how computers generate exponentially distributed random numbers from uniform ones.
Solution
(a) , so the density is on , the exponential distribution. (b) , the arcsine density. (c) A uniform random number pushed forward by has exactly the exponential law (inverse transform sampling).
Use the dominated convergence theorem for counting measure to show , checking the domination carefully. (Show .)
Solution
Let for and for . Then , which lies in and tends to as for each fixed . Since , dominated convergence (Tannery) gives . The left side is by the binomial theorem.
Let be random variables with mean , variance , and for (for instance, independent). Let . Show , and use Chebyshev's inequality to show . Explain how this predicts that plain Monte Carlo needs about samples for accuracy on an event of probability .
Solution
Expanding the square, the cross terms vanish, leaving . For an indicator of an event of probability , , so the relative standard error is ; setting it to gives .
Let be σ-finite. Show that -almost everywhere. (Integrate an indicator against both sides.) In importance sampling, what are , and when one first changes from the true distribution to a proposal and then evaluates against Lebesgue measure?
Solution
For a measurable , , using for non-negative (Definition 4.5). So the product is a density of with respect to , and by uniqueness in Radon–Nikodym it equals almost everywhere. In importance sampling, is the true law , the proposal , and Lebesgue measure: , that is, .
(a) On , let . Find and (on ). (b) Let and on . Show and find .
Solution
(a) , and on (both measures give measure zero). (b) If then and , so . The density is at the point and elsewhere: check .
Let be smooth on (or on a closed manifold) and , so that . Show that
Deduce that . (On , assume enough decay for the integrals to converge.) In 12A.2 Ricci Flow as a Gradient Flow this substitution turns Perelman's into with , a Rayleigh quotient, so its infimum is the lowest eigenvalue of the operator ; the same substitution rewrites the -entropy in 12A.3 The 𝓦-Entropy. The quantity for a probability density is the Fisher information, and this identity says it equals .
Solution
, so . Integrate.
Free resources for this chapter
Chosen for what this chapter covers, and all free to read or watch. Links checked Nov 6, 2026.
Read
- Book Abstract measure spacesTerence Tao, An Introduction to Measure Theory (free PDF from the author) · §1.4σ-algebras, measures and integration on a general measure space.
- Book Probability spacesTerence Tao, An Introduction to Measure Theory (free PDF from the author) · §2.3Probability theory as measure theory.
- Reference Pushforward measureWikipediaMeasures transported by a map, as in the chapter.
Watch 2 lectures and talks
- Video Lecture 21: Radon-Nikodym TheoremClaudio Landim, IMPA Measure Theory courseWhen one measure has a density with respect to another: the theorem behind weighted measures like e^(−f) dV.
- Video Master Program: Probability Theory, Lecture 1: IntroductionClaudio Landim, IMPA Probability Theory courseThe opening lecture of Landim’s measure-theoretic probability course: probability as a measure of total mass one.
© 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.