Skip to content

Business Mathematics and Statistics · Ch 6 — Random Variable and Mathematical Expectation

Cumulative Distribution Function

4

Cumulative Distribution Function

The cumulative distribution function, denoted F(x)F(x), gives the probability that a random variable takes a value less than or equal to a given number xx:

F(x)=P(X≤x)F(x) = P(X \leq x)

The c.d.f. is defined identically in spirit for both discrete and continuous random variables, though it looks different in each case.

c.d.f. of a discrete random variable

For a discrete random variable, F(x)F(x) is obtained by adding up the probabilities of every value up to and including xx:

F(x)=∑xi≤xpiF(x) = \sum_{x_i \leq x} p_i

The result is a step function — it jumps up by pip_i at each possible value xix_i and stays flat in between.

Illustration. Take the distribution:

xix_i1234
pip_i0.10.30.40.2

The c.d.f. is built by accumulating probabilities from the left:

xxF(x)=P(X≤x)F(x) = P(X \leq x)
10.1
20.1 + 0.3 = 0.4
30.4 + 0.4 = 0.8
40.8 + 0.2 = 1.0

Notice F(4)=1F(4) = 1, since XX is certain to be at most its largest value.

c.d.f. of a continuous random variable

For a continuous random variable, the sum is replaced by an integral of the p.d.f.:

F(x)=∫−∞xf(t) dtF(x) = \int_{-\infty}^{x} f(t)\, dt

Here F(x)F(x) is a smooth (not stepped) function, and the p.d.f. can be recovered back from it by differentiation: f(x)=F′(x)f(x) = F'(x).

Key properties of any c.d.f.

  • 0≤F(x)≤10 \leq F(x) \leq 1 for every xx — it is a probability, so it can never go below 00 or above 11.
  • F(x)F(x) is non-decreasing — as xx increases, F(x)F(x) never falls; it only stays the same or rises.
  • F(x)→0F(x) \to 0 as x→−∞x \to -\infty, and F(x)→1F(x) \to 1 as x→∞x \to \infty. …
Definition 1Cumulative Distribution Function (c.d.f.)

The function F(x)=P(X≤x)F(x) = P(X \leq x) giving the probability that a random variable takes a value up to and including xx; non-decreasing, with $F(-\in …