Radon-Nikodym Theorem
When one distribution has a density against another, and the exact condition that guarantees the density exists.
Why Does This Exist?
Densities are quotients: behaves like divided by a base measure . Likelihood ratios, importance weights and ELBO densities all assume such a quotient exists. Sometimes it does not, as when a point mass meets Lebesgue measure.
Radon-Nikodym states the exact license: absolute continuity plus -finiteness yields a density, unique up to null sets. Singular parts are the obstruction.
This page states the condition and the ML reading. Base structure is in measure spaces and working densities in probability distributions.
The one idea you need first
(absolute continuity) means implies . No event null under carries mass under . This is strictly weaker than equality of measures.
Think of It Like This
Exchange rates between currencies
Two currencies price the same goods. Absolute continuity means no good free in euros costs dollars: zero in one is zero in the other. The density is the exchange rate varying by good.
A point mass is a good free in Lebesgue terms but priced under counting: no finite rate converts, so no density exists. Where the analogy stops: rates are single numbers, while Radon-Nikodym densities vary measurably across the space.
How It Actually Works
Theorem: if is -finite and is -finite, there is measurable with for all measurable . Write . Lebesgue decomposition splits general into an absolutely continuous plus a singular part.
ML reading: importance weight exists when ; KL needs the same; Bayes updates need the likelihood density against the dominating product.
Worked example
On , and . Ratios: , , . So and , matching . Add a point mass at to with : absolute continuity fails, no density exists.
Watch Out For
Writing densities across singular pairs
Symptom: a Dirac spike given a "density value" under Lebesgue, then KL computed as finite when it is infinite. Fix: test first; mixtures with atoms need a mixed base of Lebesgue plus counting.
Ignoring the null-set non-uniqueness
Symptom: two density versions differ at one point and are treated as different models, breaking likelihood comparisons. Fix: densities are unique only almost everywhere; pointwise differences on null sets carry no probabilistic meaning.
The Quick Version
- Densities exist exactly under absolute continuity with a -finite base.
- The density integrates back to the target: .
- General measures split into density plus singular parts.
- Ratios like are the discrete Radon-Nikodym derivative.
- Importance weights, likelihoods and KL all assume this license.