The Binomial Mean and Variance, and Expected Frequencies | Analysis and Approaches IB Maths notes

Free preview: The Binomial Mean and Variance, and Expected Frequencies

The Mean of a Binomial Distribution

Analysis and approaches and Applications and interpretation: SL and HL (common content, SL 4.8)

Let's start with a quick question: if you roll a fair die 60 times, how many sixes do you expect?

  • Most people say 10 straight away: one sixth of 60.
  • That instinct, (number of trials) × (probability), is exactly the mean of a binomial distribution.
  • This note turns that instinct into a formula, shows what it does and does not promise, and uses it to check whether a binomial model fits real data.

If X~B(n,p), then the mean is E(X)=np

💡 In plain words

  • n is the number of trials and p is the probability of success on each trial.
  • E(X) is the expected value, or mean: the long-run average number of successes if the whole set of n trials were repeated many times.
  • Die example: 60×16=10.

Why np makes sense

  • Think of each trial on its own. It gives 1 success with probability p and 0 successes with probability 1−p.
  • So on average one trial gives 1×p+0×(1−p)=p successes.
  • n trials, each giving p on average, give np on average.

👀 Watch me do it: check np for a tiny case, X~B(2,p)

What I writeWhy I do it
x012
P(X = x)(1−p)22p(1−p)p2


Write out the distribution using the binomial formula.
mean=0(1−p)2+1·2p(1−p)+2p2A mean is each value times its probability, added up.
=2p−2p2+2p2=2pExpand and simplify.
That is np with n = 2. ✓The formula agrees with the long way.

Using the mean

👀 Watch me do it: a quiz has 10 questions with 4 options each. A student guesses every answer. Find the expected number correct

What I writeWhy I do it
Let X = number correct. X~B(10,0.25).Each guess is right with probability 14, independently.
E(X)=np=10×0.25=2.5Use the formula.
On average the student gets 2.5 questions right.Say it in context. The mean need not be a whole number.

✏️ YOUR TURN 1

Try this first:

Find the missing value in each case.

  1. X~B(40,0.35). Find E(X).
  2. X~B(n,0.2) and E(X) = 7. Find n.
  3. X~B(18,p) and E(X) = 4.5. Find p.

Answer:

  1. 40×0.35=14.
  2. 0.2n=7, so n=35.
  3. 18p=4.5, so p=0.25.

What the Mean Does and Does Not Tell You

  • It is an average, so it need not be a whole number.
  • Example: with X~B(10,0.25), E(X)=10×0.25=2.5, even though X can never equal 2.5.
  • It does not mean you will get exactly np successes. With 60 rolls of a die, P(X=10) is only about 0.137.

Diagram: The bars show X B(60, 16), the number of sixes in 60 rolls.

What the picture shows

  1. The bars show X~B(60,16), the number of sixes in 60 rolls.
  2. The mean is np=60×16=10, and the tallest bar is at 10.
  3. But the pink bar is only P(X=10)=0.137. About 86% of the time you get some other number of sixes.
  4. So the mean tells you the centre and the long-run average, not what will happen in one go.

The variance of a binomial distribution

  • The spread of a binomial distribution also has a simple formula.

If X~B(n,p), then Var(X)=np(1−p)

💡 In plain words

  • Var(X) is the variance. The standard deviation is its square root, σ=np(1−p).
  • Die example: Var(X)=60×16×56=253=8.33, so σ=2.89 (3 s.f.).
  • The spread is largest when p = 0.5 and smallest when p is near 0 or 1.
  • Notice that the mean is close to the peak: the tallest bars of a binomial bar chart sit near np.

📝 Common mistake: treating the mean as a promise

Wrong: "E(X) = 10, so the probability of 10 sixes is high" or "so we will get 10 sixes". Right: "on average we expect 10 sixes; the actual number varies from one set of 60 rolls to the next, and 10 itself has probability only 0.137".

👀 Watch me do it: explain why P(X=10) is small even though 10 is the mean

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in Random variables, binomial and normal (SL 4.7–4.9, 4.12)

  1. Discrete Random Variables: Probability Functions, Cumulative Distributions and Expectation
  2. The Binomial Distribution: Conditions, Notation and the Probability Formula
  3. Cumulative Binomial Probabilities: At Most, At Least and Between
  4. The Binomial Mean and Variance, and Expected Frequencies
  5. The Normal Distribution: Shape, Symmetry and the 68–95–99.7 Rule
  6. Normal Probabilities: Standardising and the Inverse Normal
  7. Finding an Unknown Mean or Standard Deviation of a Normal Distribution

What's inside for this topic

7 teacher notes, 70 practice questions, 40 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Previous note: Cumulative Binomial Probabilities: At Most, At Least and Between Next note: The Normal Distribution: Shape, Symmetry and the 68–95–99.7 Rule

The Binomial Mean and Variance, and Expected Frequencies on other exam boards

All Analysis and Approaches IB Maths topics · IB Maths