Probability distributions
Discrete random variables, probability distribution tables and graphs, the condition that probabilities add to 1, and relative frequencies as estimates of probabilities.
In Year 11 you found the probability of single events: "a 6", "two heads". Now we look at all the possible outcomes at once, as numbers, and ask how the probability is spread across them. That spread is called a distribution, and it is the starting point for averages and spread in the next two sections.
Random variables and distributions
A random variable $X$ is a number that comes out of a random experiment: the number of heads in three tosses, the score on a die, the number of customers in an hour. It is discrete when it takes separate values you can list, usually counts. (Heights and times, which can be any value in a range, are continuous: that is chapter 10.)
The probability distribution of $X$ lists every value $x$ with its probability $P(X = x)$.
Three fair coins are tossed and $X$ is the number of heads. Find the probability distribution of $X$.
| $x$ | $0$ | $1$ | $2$ | $3$ |
|---|---|---|---|---|
| $P(X = x)$ | $\tfrac18$ | $\tfrac38$ | $\tfrac38$ | $\tfrac18$ |
As a graph, a distribution is drawn as a column (bar) graph: one column per value, with height equal to the probability. For Example 1 the columns rise and fall symmetrically, with the two tallest at $x = 1$ and $x = 2$.
Finding an unknown probability
When a probability is missing, the sum-to-one condition gives you an equation.
Find $k$, then $P(X \ge 1)$.
| $x$ | $0$ | $1$ | $2$ | $3$ |
|---|---|---|---|---|
| $P(X = x)$ | $0.1$ | $2k$ | $0.3$ | $k$ |
A random variable has $P(X = x) = kx$ for $x = 1, 2, 3, 4$. Find $k$ and $P(X \ge 3)$.
Uniform distributions and the mode
A distribution is uniform when every value is equally likely, like the score on a fair die: each of the $6$ values has probability $\tfrac16$, and the column graph is flat. The mode of a distribution is the value with the highest probability, the tallest column. A uniform distribution has no single mode.
Relative frequency
When you can't work out probabilities from equally likely outcomes (a biased die, a real basketball player's free throws), you run the experiment many times. The relative frequency of a value is
Relative frequencies behave just like a probability distribution: each is between $0$ and $1$, and they add to $1$. They are estimates of the true probabilities, and the estimates usually improve as the number of trials grows.
A spinner with sections labelled $1$, $2$ and $3$ is spun $400$ times. It lands on $1$ a total of $92$ times, on $2$ a total of $188$ times and on $3$ a total of $120$ times. Estimate the probability distribution.
Your turn
$P(X = x) = \dfrac{x}{c}$ for $x = 2, 3, 5$. Find $c$.
Show the working
$\dfrac{2}{c} + \dfrac{3}{c} + \dfrac{5}{c} = \dfrac{10}{c} = 1$, so $c = 10$.
Which is a discrete random variable?
A count of emails takes separate whole-number values. The others can be any value in a range, so they are continuous.
Three fair coins are tossed. Find $P(X = 2)$, where $X$ is the number of heads.
HHT, HTH and THH give two heads: $3$ of the $8$ outcomes, so $\tfrac38 = 0.375$.
$X$ takes the values $1, 2, 3, 4$ with probabilities $0.15$, $0.25$, $k$ and $0.4$. Find $k$.
$0.15 + 0.25 + k + 0.4 = 1$, so $k = 1 - 0.8 = 0.2$.
$P(X = x) = kx$ for $x = 1, 2, 3, 4$. Find $k$.
$k(1 + 2 + 3 + 4) = 10k = 1$, so $k = 0.1$.
With $P(X = x) = 0.1x$ for $x = 1, 2, 3, 4$, find $P(X \gt 2)$.
$X \gt 2$ means $X = 3$ or $4$: $0.3 + 0.4 = 0.7$.
Which list could be the probabilities of a distribution?
Only $0.25, 0.45, 0.3$ has every value between $0$ and $1$ and a total of $1$.
A die is rolled $300$ times and shows a six $63$ times. Estimate the probability of a six.
Relative frequency $= \dfrac{63}{300} = 0.21$.
$X$ takes the values $1, 2, 3, 4$ with probabilities $0.2$, $0.25$, $0.35$, $0.2$. Find the mode of $X$.
The mode is the value with the highest probability: $P(X = 3) = 0.35$ is the largest.
Exam style: two fair dice are rolled and $X$ is the larger of the two numbers (or the common number, if they are equal). Find $P(X = 4)$ correct to two decimal places.
Both dice must be at most $4$ ($16$ outcomes), but not both at most $3$ ($9$ outcomes). That leaves $16 - 9 = 7$ of the $36$ outcomes, so $P(X = 4) = \tfrac{7}{36} \approx 0.19$.
Exam style: $P(X = x) = k(x^2 + 1)$ for $x = 0, 1, 2$. Find $k$.
The three probabilities are $k$, $2k$ and $5k$. So $8k = 1$ and $k = 0.125$.
Coaching Centre