Probability Density Functions of Continuous Random Variables

Introduces probability density functions (PDFs) for continuous random variables: the two defining properties, finding a normalizing constant, and computing probabilities by integration.

Step 1 of 119%

Tutorial

Probability Density Functions

A continuous random variable XX can take any value in some interval of R.\mathbb{R}. Unlike a discrete random variable, the probability that XX equals any single value is zero. Instead, the distribution of XX is described by a probability density function (PDF) f(x),f(x), which must satisfy two properties:

  1. f(x)0f(x) \geq 0 for all xR.x \in \mathbb{R}.
  2. f(x)dx=1.\displaystyle\int_{-\infty}^{\infty} f(x)\, dx = 1.

Property 1 ensures that densities are never negative; property 2 ensures that the total probability is 1.1.

For instance, consider

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

The function is non-negative on [0,1],[0,1], and

f(x)dx=012xdx=x201=1.\int_{-\infty}^{\infty} f(x)\, dx = \int_0^1 2x\, dx = x^2 \Big|_0^1 = 1.

Both properties hold, so ff is a valid PDF.

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