For , , the quantile function is a monotone function and is left-continuous. The distribution function is right-continuous, giving exactly when . If , a point between them has and contradicts this equivalence for some . A jump just to the right of is possible when is flat on an interval.
Monotone rearrangement Created 2026-10-05 Updated 2026-10-06
For an atomless measure on with cumulative distribution function , the monotone transport to a target with quantile function is , defined -almost everywhere. It minimizes well-defined costs for convex continuous . With atoms in the source, the common-quantile transport plan remains available but need not be induced by a map.
Put for . This is the quantile function, rather than an ordinary inverse requiring strict increase. The limits of the distribution function at infinity make finite, and the fact that is a right-continuous function ensures . Consequently
Increasing shrinks the set in the infimum, so the quantile function is a monotone function. To prove the left continuity of the quantile function, fix and let . If , choose . Then , so some satisfies , a contradiction. Thus as . At a flat stretch of the distribution function, the quantile function may jump immediately to the right, consistent with this left-continuous convention.
For the uniform order statistic, count the observations at most . That count has the binomial distribution with parameters , giving
Differentiating makes adjacent terms telescope: use and . The probability density function is therefore
In particular, has the Beta distribution with parameters .
Write for the specified median. Continuity of the distribution function gives and no mass at , even if the distribution function has a flat stretch there. Thus has the binomial distribution with parameters . Except on a null event, the order-statistic confidence interval for a median covers exactly when . Symmetry of the binomial distribution makes its two failure probabilities equal. Alternatively, the probability integral transform gives
Hence the coverage is exactly , with
The asymmetric open/closed endpoint convention does not change the coverage because the continuous probability distribution assigns no mass to the median.
The generalized quantile function is
The tail limits of a cumulative distribution function make the defining set nonempty and its infimum finite. Monotonicity and right continuity imply exactly when . To see the direction involving the infimum, let points in the defining set decrease towards it; right continuity gives , so every larger also qualifies. Consequently, for a uniform distribution variable ,
The probability-zero endpoints can be assigned arbitrary outputs. This proves inverse transform sampling even for distributions with atoms or flat portions; continuity or strict monotonicity of is not required.
Write for Lebesgue measure on . The Prékopa–Leindler inequality says that if and nonnegative measurable functions satisfy
then their Lebesgue integrals satisfy
It suffices initially to take . Zero integrals give a trivial bound; infinite integrals can be handled by truncating and and applying the monotone convergence theorem. As usual, a zero factor makes the asserted lower bound zero.
Here is a one-dimensional proof using quantile functions. Put , , and let , , be the quantile functions of the probability density functions and . At almost every the quantile derivative identity gives
For completeness, these reciprocal derivative identities follow by differentiating the corresponding cumulative distribution functions at their Lebesgue points and then differentiating the inverse function relation. Sampling a quantile function at a uniform argument samples the density itself, so the exceptional set, including locations where the density vanishes or is infinite, has probability zero. Gaps in a density's support can give jumps in its quantile function; they do not invalidate the argument below.
The monotone function obeys the monotone substitution inequality:
This form uses the ordinary derivative of a monotone function, rather than any jump or singular part: its weighted image measure is dominated by Lebesgue measure. One can see this first for intervals, where , and then extend to nonnegative measurable functions by simple function approximation. Thus no assumption of strictly positive smooth probability density functions is hidden in the proof.
Using the hypothesis and the weighted arithmetic-geometric mean inequality, we obtain
Integrating over proves the one-dimensional Prékopa–Leindler inequality.
For higher dimensions, use mathematical induction and Tonelli theorem. Write and set
Apply the one-dimensional Prékopa–Leindler inequality to the last-coordinate slices, with . It gives
Apply the induction hypothesis in and use Tonelli theorem once more. For finite total integrals, infinite slice integrals occur only on null sets and may be replaced by zero there; this only weakens the displayed premise. If the data are only Lebesgue measurable rather than Borel measurable, the exceptional nonmeasurable slices can be handled in the same way for , and by setting on its exceptional null set. The total integrals are unchanged, and the slice premise holds everywhere it is needed. The result therefore holds for general nonnegative measurable functions.
The intended monotone rearrangement is
Here is the quantile function of , agreeing with the ordinary inverse when is continuous and strictly increasing. With an atomless measure , its cumulative distribution function is continuous, and the probability integral transform makes uniform on for . Thus . The one-dimensional monotone rearrangement theorem says this transport map minimizes the cost for convex continuous , whenever the cost integrals are well defined. Values at exceptional endpoints may be chosen arbitrarily.
The printed assumptions omit an essential source condition. Invertibility of alone does not ensure an admissible transport map. For example, and a standard normal distribution satisfy the stated condition on , but is always a Dirac measure. There is no solution to the Monge optimal transport problem in this example. The boxed answer therefore requires the additional assumption that is an atomless measure, or an equivalent condition making the displayed map admissible. For arbitrary sources the always admissible monotone transport plan is , which need not be induced by a map.
The quantile function is nondecreasing, hence a Borel measurable function. More explicitly, for every ,
Thus is a random variable, and because Lebesgue measure is being used on ,
Its cumulative distribution function is therefore , so
This is inverse transform sampling.
For a cumulative distribution function , its quantile function is the generalized inverse
with the infimum allowed to be . For observations , the empirical distribution function is
If are the order statistics, then
The Bennett inequality says that if are independent, , almost surely, and , then
To prove it, convexity of on , followed by the power-series bound for centered , gives
Independence and the Chernoff bound therefore yield
The minimizing value satisfies , namely . Substitution gives the stated exponent.
For independent , the uniform order statistic satisfies
Set . The event means that at least sample points lie in . If this occurs, some -element subset consists entirely of such points. The union bound gives
This is exactly the required inequality for .
Let be the quantile function. For ,
The reverse implication is immediate from the infimum defining . For the forward implication, if there is a point with . If , choose with ; monotonicity and right continuity give
The endpoint values have zero probability under a continuous uniform variable.
Consequently
Thus the inverse transform sampling identity is