Skip to content

Continuous Random Variable

Definition

Under the course's absolutely continuous convention, a real-valued random variable XX is continuous if it has a nonnegative integrable density fXf_X such that

P(X∈A)=∫AfX(x) dx\mathbb{P}(X\in A)=\int_A f_X(x)\,\mathrm{d}x

for every interval A⊆RA\subseteq\mathbb{R}. Necessarily ∫RfX(x) dx=1\int_{\mathbb{R}}f_X(x)\,\mathrm{d}x=1. A continuous CDF by itself does not guarantee the existence of a density.


Interpretation

A continuous random variable has its probability spread over intervals rather than concentrated on single values. Probabilities are areas under its density fXf_X, and every single value has probability zero.

A density curve with the area between a and b shaded as the probability that X lies between them, and a vertical line at a point c, which has no area and so probability 0.

In the figure the shaded region between aa and bb has area P(a≤X≤b)\mathbb{P}(a\le X\le b), the integral of fXf_X from aa to bb. At the point cc the vertical line under the curve has no width and therefore no area: P(X=c)=0\mathbb{P}(X=c)=0, although fX(c)f_X(c) is positive.

Two consequences follow. Endpoints do not matter, so P(a<X<b)=P(a≤X≤b)\mathbb{P}(a<X<b)=\mathbb{P}(a\le X\le b). And fX(x)f_X(x) is not a probability: it is probability per unit length, and it may exceed 11; the uniform distribution on (0,12)(0,\tfrac{1}{2}) has density 22 there. Where fXf_X is continuous, a short interval of length hh starting at xx has probability approximately fX(x) hf_X(x)\,h.

Compared with a discrete random variable, sums of masses become definite integrals of a density: the PMF value pX(x)p_X(x) is a probability, while fX(x)f_X(x) is not. The normal distribution is another standard example. Probability zero does not mean impossible: in each experiment XX takes some value, although every single value had probability zero.


Key Results

  • P(X=x)=0\mathbb{P}(X=x)=0 for every real xx.
  • Its CDF is absolutely continuous and equals the integral of its density.

Examples

  • A uniform variable on (0,1)(0,1) has density 11 there and no atom at 1/21/2.
  • An exponential waiting time has P(a<X<b)=∫abλe−λx dx\mathbb{P}(a<X<b)=\int_a^b\lambda \mathrm{e}^{-\lambda x}\,\mathrm{d}x for 0≤a<b0\le a<b.

Prerequisites

Sources

Aliases: continuous r.v., absolutely continuous random variable, Continuous rv, continuously distributed random variable Symbols: element of, integral, lambda, real numbers, subset

Last updated: 20 October 2026 03:02