Cumulative Distribution Functions for Continuous Random Variables

Defines the cumulative distribution function (CDF) F(x)=P(Xx)F(x) = P(X \le x) for a continuous random variable, computes the CDF from a PDF via integration, computes interval probabilities and tail probabilities using F(b)F(a)F(b)-F(a) and 1F(a)1-F(a), recovers the PDF from a given CDF by differentiation, and solves for unknown constants in a CDF using the boundary condition F(upper)=1F(\text{upper}) = 1.

Step 1 of 157%

Tutorial

Defining the CDF of a Continuous Random Variable

The cumulative distribution function (CDF) of a continuous random variable XX with probability density function ff is the function FF defined by

F(x)=P(Xx)=xf(t)dt.F(x) = P(X \le x) = \int_{-\infty}^{x} f(t)\,dt.

In words, F(x)F(x) is the probability that XX takes a value at most xx. As xx sweeps from left to right, F(x)F(x) accumulates area under the PDF.

For example, suppose XX has PDF

f(x)={2xif 0x1,0otherwise.f(x) = \begin{cases} 2x & \text{if } 0 \le x \le 1, \\ 0 & \text{otherwise.} \end{cases}

For 0x1,0 \le x \le 1, we compute

F(x)=0x2tdt=t20x=x2.F(x) = \int_0^x 2t\,dt = t^2 \Big|_0^x = x^2.

Outside the support of X,X, FF is constant: F(x)=0F(x) = 0 for x<0x < 0 and F(x)=1F(x) = 1 for x>1.x > 1.

Every CDF satisfies limxF(x)=0,\lim_{x \to -\infty} F(x) = 0, limx+F(x)=1,\lim_{x \to +\infty} F(x) = 1, and is non-decreasing.

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle