Skip to content

Conditional Cumulative Distribution Function

Definition

Let XX and YY be continuous random variables with joint density fX,Yf_{X,Y}, and let yy satisfy 0<fY(y)<∞0<f_Y(y)<\infty. The conditional CDF of XX given Y=yY=y is

FX∣Y(x∣y)=∫−∞xfX∣Y(t∣y) dt.\begin{aligned} F_{X\mid Y}(x\mid y) =\int_{-\infty}^x f_{X\mid Y}(t\mid y)\,\mathrm{d}t. \end{aligned}

Here

fX∣Y(t∣y)=fX,Y(t,y)fY(y).\begin{aligned} f_{X\mid Y}(t\mid y)=\frac{f_{X,Y}(t,y)}{f_Y(y)}. \end{aligned}

We write FX∣Y(x∣y)=P(X≤x∣Y=y)F_{X\mid Y}(x\mid y)=\mathbb{P}(X\leq x\mid Y=y). Note that for continuous YY, this cannot be defined by the elementary formula P(A∣B)=P(A∩B)/P(B)\mathbb{P}(A\mid B)=\mathbb{P}(A\cap B)/\mathbb{P}(B), because P(Y=y)=0\mathbb{P}(Y=y)=0.

The integrand is the Conditional Probability Density Function. Integrating it up to xx gives the conditional threshold probability in exactly the same way that an unconditional PDF gives a CDF.


Interpretation

A conditional CDF gives threshold probabilities within a specified conditional distribution: FX∣Y(x∣y)F_{X\mid Y}(x\mid y) is the probability that X≤xX\le x once Y=yY=y is known. For each fixed yy it is an ordinary CDF in xx, obtained from the conditional density just as a CDF is obtained from a PDF.

Two conditional CDFs of X given Y = y, straight lines from 0 to 1 over the interval from 0 to y, for y = 1/2 and y = 1; each reaches 1/2 at x = y/2.

The diagram shows the conditional CDFs of X∣Y=y∼Unif⁡(0,y)X\mid Y=y\sim\operatorname{Unif}(0,y) for y=12y=\tfrac{1}{2} (blue) and y=1y=1 (red). Each graph rises in a straight line from 00 at x=0x=0 to 11 at x=yx=y, following FX∣Y(x∣y)=x/yF_{X\mid Y}(x\mid y)=x/y, and passes 12\tfrac{1}{2} at x=y/2x=y/2: at x=14x=\tfrac{1}{4} for y=12y=\tfrac{1}{2} and at x=12x=\tfrac{1}{2} for y=1y=1. Changing yy changes the whole conditional distribution, not just one value.

The notation P(X≤x∣Y=y)\mathbb{P}(X\le x\mid Y=y) cannot be read through the elementary formula P(A∣B)=P(A∩B)/P(B)\mathbb{P}(A\mid B)=\mathbb{P}(A\cap B)/\mathbb{P}(B), because P(Y=y)=0\mathbb{P}(Y=y)=0 for continuous YY. It is defined through the conditional density instead, and the condition 0<fY(y)<∞0<f_Y(y)<\infty makes the ratio fX,Y(t,y)/fY(y)f_{X,Y}(t,y)/f_Y(y) meaningful. For independent XX and YY, the conditional CDF equals the unconditional FXF_X for YY-almost every conditioning value yy. One may choose a version equal to FXF_X for every yy; other versions can differ on conditioning values of probability zero.

Averaging the conditional CDFs over YY gives back FXF_X: integrating the continuous law of total probability in xx gives FX(x)=∫FX∣Y(x∣y)fY(y) dyF_X(x)=\int F_{X\mid Y}(x\mid y)f_Y(y)\,\mathrm{d}y. In the triangle model of the conditional density page, fY(y)=2yf_Y(y)=2y on (0,1)(0,1) and FX∣Y(x∣y)=1F_{X\mid Y}(x\mid y)=1 when y≤xy\le x, so for 0<x<10<x<1

FX(x)=∫0x2y dy+∫x1xy 2y dy=x2+2x(1−x)=2x−x2.F_X(x)=\int_0^x 2y\,\mathrm{d}y+\int_x^1\frac{x}{y}\,2y\,\mathrm{d}y =x^2+2x(1-x)=2x-x^2.

Key Results

  • For every yy with 0<fY(y)<∞0<f_Y(y)<\infty, it is a nondecreasing, right-continuous CDF in xx.
  • Where differentiation is justified, ∂FX∣Y(x∣y)/∂x=fX∣Y(x∣y)\partial F_{X\mid Y}(x\mid y)/\partial x=f_{X\mid Y}(x\mid y) except possibly on a set of zero length.

Examples

  • For the uniform conditional law on (0,y)(0,y), FX∣Y(x∣y)=x/yF_{X\mid Y}(x\mid y)=x/y for 0<x<y0<x<y, so FX∣Y(y/2∣y)=1/2F_{X\mid Y}(y/2\mid y)=1/2.
  • If X∼Exp⁡(2)X\sim\operatorname{Exp}(2) is independent of YY, then FX∣Y(x∣y)=1−e−2xF_{X\mid Y}(x\mid y)=1-\mathrm{e}^{-2x} for x≥0x\ge0.

Prerequisites

Sources

Aliases: conditional CDF, conditional distribution function Symbols: infinity, integral, intersection, partial

Last updated: 27 October 2026 11:52