The binomial distribution

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Statistics (AP-aligned) › Random variables

To save a PDF, choose “Save as PDF” in the print dialog.

Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

The binomial distribution

Random variables.

Warm-up

Three quick questions from earlier lessons.

  1. Two independent machines fail with probabilities 0.2 and 0.2. Find the probability that both fail.
  2. P(A) = 3/10, P(B) = 6/10 and P(A and B) = 18/100. Are A and B independent?
    1. Yes: P(A and B) = P(A)·P(B)
    2. No, because P(A and B) > 0
    3. It cannot be decided
  3. A bag has 3 red and 3 blue marbles. Two are drawn without replacement. Find P(both red).

Discover

A coin is tossed 3 times. How many sequences have exactly one head?

  1. 3
  2. 1

Key idea

Count the successes in a fixed number of independent trials.

Binomial setting: nn fixed trials, two outcomes, independent, same probability pp of success. Then P(X=k)=(nk)pk(1−p)n−kP(X = k) = \binom{n}{k}p^k(1 - p)^{n - k}, where (nk)\binom{n}{k} counts the arrangements: (n1)=n\binom{n}{1} = n, (n2)=n(n−1)2\binom{n}{2} = \tfrac{n(n - 1)}{2}.

Worked example

n=5n = 5, p=0.2p = 0.2: P(X=2)P(X = 2).

(52)=10\binom{5}{2} = 10
Arrangements.
0.22×0.83=0.020480.2^2 \times 0.8^3 = 0.02048
One arrangement.
P(X=2)=0.2048P(X = 2) = 0.2048
Multiply.

Your turn, guided

Your turn: n=4n = 4, p=12p = \tfrac{1}{2}. P(X=1)P(X = 1).

14\tfrac{1}{4}
4 × (½)⁴.

Practice ★

  1. A free throw is made with probability 1/3. In 3 independent shots, find P(exactly one is made).
  2. A free throw is made with probability 1/8. In 12 independent shots, find P(exactly one is made).
  1. Which situation fits a binomial model?
    1. The number of heads in 9 tosses of a fair coin
    2. The number of tosses until the first head
    3. The number of aces in 9 cards dealt from one deck

Watch out!

Practice ★★

  1. A seed sprouts with probability 1/3, independently. 4 seeds are planted. Find P(exactly two sprout).
  2. A seed sprouts with probability 1/8, independently. 12 seeds are planted. Find P(exactly two sprout).

Exit ticket

Three questions to check you have got it.

  1. A free throw is made with probability 1/3. In 3 independent shots, find P(exactly one is made).
  2. A free throw is made with probability 1/8. In 12 independent shots, find P(exactly one is made).
  3. A free throw is made with probability 1/3. In 4 independent shots, find P(exactly one is made).

Summary card

Binomial probabilities

P(X=k)=(nk)pk(1−p)n−kP(X = k) = \binom{n}{k}p^k(1 - p)^{n - k} in a binomial setting.

Watch out: multiply by the number of arrangements.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. XX is binomial with n=10n = 10 and p=12p = \dfrac{1}{2}. For which kk is P(X=k)P(X = k) largest?
Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits