Skip to content

Quantile Function

Definition

For a CDF FF and 0<u<10<u<1, its generalized inverse is

F−1(u)=inf⁡{x∈R ⁣:F(x)≥u}.F^{-1}(u)=\inf\{x\in\mathbb{R}\colon F(x)\ge u\}.

It need not be an ordinary inverse: FF can have flat portions or jumps. Endpoint values at u=0,1u=0,1 are irrelevant when using a continuous uniform input.


Interpretation

The quantile function answers the reverse question of the CDF. The CDF asks for the probability of being at most xx; the quantile function asks for the threshold below which a fraction uu of the probability lies. It converts a probability level into a value of XX.

An S-shaped CDF read backwards: from the probability u = 0.8 on the vertical axis across to the curve and down to the quantile Q(u) on the horizontal axis.

To read the figure, start at the level u=0.8u=0.8 on the vertical axis, move right until the curve is reached, then move down to the horizontal axis: the value found there is Q(0.8)Q(0.8), about 1.391.39 for this CDF. Here QQ is the F−1F^{-1} of the Definition; when FF is continuous and strictly increasing, as here, it is the ordinary inverse, and F(Q(u))=uF(Q(u))=u.

Pick a level uu and read the CDF backwards. At a jump many levels share one quantile, and where FF is flat the infimum picks the left end.

The infimum handles the two cases in which no ordinary inverse exists. If FF jumps over the level uu, no xx has F(x)=uF(x)=u, and F−1(u)F^{-1}(u) is the location of the jump. If FF equals uu on a whole interval, many xx have F(x)=uF(x)=u, and the infimum picks the left end. In the Bern⁡(0.3)\operatorname{Bern}(0.3) example the two cases together give F−1(u)=0F^{-1}(u)=0 for 0<u≤0.70<u\le0.7. By right-continuity of FF, F−1(u)F^{-1}(u) is the smallest xx with F(x)≥uF(x)\ge u.

Special levels have their own names: F−1(12)F^{-1}(\tfrac{1}{2}) is a median, and F−1(0.25)F^{-1}(0.25) and F−1(0.75)F^{-1}(0.75) are the lower and upper quartiles. Feeding a uniform input into F−1F^{-1} produces a variable with CDF FF, the universality of the uniform used to simulate a distribution.

Despite the notation, F−1F^{-1} is an inverse function, not the reciprocal 1/F1/F.


Key Results

  • For 0<u<10<u<1, F−1(u)≤xF^{-1}(u)\le x if and only if u≤F(x)u\le F(x).
  • Consequently, if U∼Unif⁡(0,1)U\sim\operatorname{Unif}(0,1), P(F−1(U)≤x)=F(x)\mathbb{P}(F^{-1}(U)\le x)=F(x).

Examples

  • For Exp⁡(2)\operatorname{Exp}(2), F−1(u)=−log⁡(1−u)/2F^{-1}(u)=-\log(1-u)/2.
  • For Bern⁡(0.3)\operatorname{Bern}(0.3), F−1(u)=0F^{-1}(u)=0 for 0<u≤0.70<u\le0.7 and 11 for 0.7<u<10.7<u<1.

Further Properties

The median is a quantile at probability level 1/21/2. Other probability levels define percentiles. The generalized inverse is useful even when an ordinary inverse does not exist.

Prerequisites

Sources

Aliases: Quantile Function (Generalized Inverse CDF), generalized inverse CDF, inverse distribution function, inverse CDF, percent-point function, percentile function, distributional inverse, Quantile Function Symbols: element of, real numbers

Last updated: 20 October 2026 03:02