Discrete random variables

AS Level Mathematics · Probability & Statistics 1. A short explanation of the idea, the rules to remember, the mistake to avoid, a worked example and practice questions with answers.

Test this topic freeAll AS Level Mathematics topics

The idea

A discrete random variable X takes separate values, each with a probability. A probability distribution table lists the values and their probabilities, which must add up to 1. The expectation E(X) is the long-run mean and Var(X) measures the spread.

The binomial distribution B(n, p) counts the number of successes in a fixed number n of independent trials, each with the same probability p of success.

The geometric distribution Geo(p) counts the number of trials up to and including the first success, so its values are 1, 2, 3 and so on without end. Here q = 1 − p is the probability of failure.

Rules to remember

Common mistake

Forgetting to subtract [E(X)]2 when finding the variance, so that E(X2) is given as the answer. In the binomial formula, do not leave out C(n, r).

Worked example

X has the binomial distribution B(5, 0.2). Find P(X ≤ 1), to 3 significant figures.

  1. P(X = 0) = 0.85 = 0.32768.
  2. P(X = 1) = C(5, 1) × 0.2 × 0.84 = 5 × 0.2 × 0.4096 = 0.4096.
  3. P(X ≤ 1) = 0.32768 + 0.4096 = 0.73728.

Answer: 0.737

Practice questions

Try each one, then open the answer.

1. X has the binomial distribution B(10, 0.3). Find P(X = 2), to 3 significant figures.

  1. A
    0.233
  2. B
    0.0518
  3. C
    0.267
  4. D
    0.383
Show answer

Answer: A. P(X = 2) = C(10, 2) × 0.32 × 0.78 = 45 × 0.09 × 0.05765 = 0.233. Leaving out C(10, 2) gives 0.0518.

2. A fair die is thrown repeatedly. Find the probability that the first six appears on the third throw.

  1. A
    1/216
  2. B
    25/216
  3. C
    125/216
  4. D
    1/6
Show answer

Answer: B. Geometric distribution: two failures then a success: (5/6)2 × (1/6) = 25/216.

3. A random variable X takes the values 1, 2, 3 with probabilities 0.2, 0.5, 0.3 respectively, so E(X) = 2.1. Find Var(X).

  1. A
    4.9
  2. B
    0.7
  3. C
    0.49
  4. D
    2.8
Show answer

Answer: C. E(X2) = 1 × 0.2 + 4 × 0.5 + 9 × 0.3 = 4.9. Var(X) = E(X2) − [E(X)]2 = 4.9 − 4.41 = 0.49. Forgetting to subtract the mean squared gives 4.9.

More questions on this topic

Read the full notes

Keep going

← ProbabilityThe normal distribution →All rules on one pageStuck? Ask a question