Skip to content

Mathematics · Ch 10 — Random Variables and Probability Distributions

Probability Distribution of a Discrete Random Variable

10.2

Probability Distribution of a Discrete Random Variable

A discrete random variable is one whose range is either a finite list of numbers or a list that can be written out one after another (countably infinite), such as 0,1,2,3,…0, 1, 2, 3, \dots. (A random variable that can take any real value in some interval, such as a height or a time, is called continuous instead — that case is not treated here.)

Suppose a discrete random variable XX has possible values x1,x2,x3,…x_1, x_2, x_3, \dots. For each value xix_i, write P(X=xi)P(X = x_i), often shortened to P(xi)P(x_i), for the probability that XX equals xix_i. These numbers must obey two conditions, exactly like any set of probabilities attached to mutually exclusive, exhaustive events:

P(xi)≥0P(x_i) \ge 0 for every ii, and ∑iP(xi)=1\sum_i P(x_i) = 1.

The rule that lists every possible value of XX alongside its probability is called the probability distribution of XX. It is usually displayed as a table:

X=xiX = x_ix1x_1x2x_2x3x_3…\dotsxnx_n
P(X=xi)P(X = x_i)P(x1)P(x_1)P(x2)P(x_2)P(x3)P(x_3)…\dotsP(xn)P(x_n)

This is the probability analogue of a frequency table: instead of splitting a total count among the different values a variable takes, it splits the total probability of 11 among them.

Worked Example. Continue the two-dice experiment from the previous section, where XX is the sum of the two numbers shown. Since each of the 3636 equally likely outcomes has probability 136\frac{1}{36}, and we just count how many outcomes give each sum, the full distribution of XX is:

XX23456789101112
P(X)P(X)136\frac{1}{36}236\frac{2}{36}336\frac{3}{36}436\frac{4}{36}536\frac{5}{36}636\frac{6}{36}536\frac{5}{36}436\frac{4}{36}336\frac{3}{36}236\frac{2}{36}136\frac{1}{36}