Discrete random variables and the binomial distribution

Maths: Applications and Interpretation · Statistics and probability. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Maths: Applications and Interpretation topics

The idea

A discrete random variable X takes separate values, such as 0, 1, 2, 3, each with its own probability. The table of values and probabilities is its probability distribution, and the probabilities must add up to 1.

The expected value E(X) is the long-run average of X over many trials. A game is fair when the expected gain of the player is zero, which means the expected winnings equal the cost of playing.

The binomial distribution B(n, p) counts the number of successes in n trials. It needs a fixed number of trials, two outcomes for each trial, the same probability p each time and independent trials. Use your calculator for the probabilities.

In simpler words

A discrete random variable takes separate values, like 0, 1, 2 or 3. Each value has a probability, and they must add to 1. The expected value is the average you would get over many tries. A game is fair if you expect to win nothing overall. The binomial counts successes in a fixed number of independent tries.

An everyday comparison

Expected value is like a market stall owner's average takings per day over a year. Some days are great and some bad, but the long-run average is steady. The comparison stops working because a single day can never actually take the expected value, which may be a decimal like 2.4 customers.

Rules to remember

Common mistake

For "at least r" students use 1 − P(X ≤ r), which removes r as well. The correct form is P(X ≥ r) = 1 − P(X ≤ r − 1), for example P(X ≥ 4) = 1 − P(X ≤ 3).

In the exam

Show the probabilities add to 1 if finding an unknown. Write E(X) = Σ x × P(X = x), list each product and add. For a fair game, set expected gain to 0. For a binomial, state X ~ B(n, p) and justify the conditions. Use binomial pdf or cdf and write what you entered. For at least r, write 1 − P(X ≤ r − 1). Give answers to 3 significant figures.

Worked example

A game costs $3 to play. A player wins $8 with probability 0.2, wins $4 with probability 0.3 and wins nothing otherwise. Is the game fair?

  1. P(win nothing) = 1 − 0.2 − 0.3 = 0.5
  2. Expected winnings = 8 × 0.2 + 4 × 0.3 + 0 × 0.5 = 1.6 + 1.2 + 0 = 2.8
  3. Expected gain = 2.8 − 3 = −0.2

Answer: Not fair: the player expects to lose $0.20 per game.

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← Probability: Venn diagrams, tree diagrams and conditional probabilityThe normal distribution →Take a Maths: Applications and Interpretation test