Discrete random variables and the binomial distribution

Maths: Analysis and Approaches · 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: Analysis and Approaches topics

The idea

A discrete random variable X takes separate values, each with its own probability. A table of the values and their probabilities is the probability distribution, and the probabilities must add up to 1.

The expected value E(X) is the long-run average of X: multiply each value by its probability and add. A game is fair when the expected gain is zero, so the expected winnings equal the cost of playing.

The binomial distribution B(n, p) counts the number of successes in n trials. It fits only when the number of trials is fixed, each trial has two outcomes, the trials are independent, and the probability of success p stays the same.

Rules to remember

Common mistake

Leaving out the nCr term in a binomial probability. pr(1 − p)n − r is the probability of only one order of successes and failures, so multiply by the number of orders.

Worked example

X ~ B(4, 0.3). Find P(X = 1), and the mean and variance of X.

  1. P(X = 1) = 4C1 × 0.31 × 0.73 = 4 × 0.3 × 0.343
  2. 4 × 0.3 = 1.2 and 1.2 × 0.343 = 0.4116
  3. Mean = np = 4 × 0.3 = 1.2
  4. Variance = np(1 − p) = 1.2 × 0.7 = 0.84

Answer: P(X = 1) = 0.4116 (0.412 to 3 significant figures), mean 1.2, variance 0.84

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

← Conditional probability and independenceThe normal distribution →Take a Maths: Analysis and Approaches test