Open Mathhh

The binomial distribution

Statistics · worksheets 13 to 18 · 2 min read

I can

  • say when X ~ B(n, p) fits a situation
  • find P(X = r) for a binomial distribution
  • give the answer as a fraction in lowest terms

Key idea

X ~ B(n, p) means there are n trials, each one has chance p of success, and X counts the successes. The chance of failure is q = 1 − p.

P(X = r) = nCr × p^r × q^(n − r)

Here nCr is the number of ways to choose which r trials succeed. For example 4C2 = 6, and nC0 = nCn = 1.

Worked examples

Example 1: X ~ B(4, 1/2), find P(X = 1)

Watch it: X ~ B(4, 1/2): P(X = 1), step by step:

  1. There are 4 places for the one success.
  2. (1/2)¹ × (1/2)³ = 1/16.
  3. 4 × 1/16 = 4/16 = 1/4.
  4. The answer is 1/4.
  5. The green bar is P(X = 1) = 4/16.
  1. 4C1 = 4.
  2. (1/2)^1 × (1/2)^3 = 1/16.
  3. 4 × 1/16 = 4/16.

P(X = 1) = 1/4

Example 2: X ~ B(3, 1/3), find P(X = 2)

Watch it: X ~ B(3, 1/3): P(X = 2), step by step:

  1. There are 3 places for the 2 successes.
  2. (1/3)² × (2/3) = 2/27.
  3. 3 × 2/27 = 6/27 = 2/9.
  4. The answer is 2/9.
  5. The green bar is P(X = 2) = 6/27.
  1. 3C2 = 3.
  2. (1/3)² × (2/3) = 2/27.
  3. 3 × 2/27 = 6/27.

P(X = 2) = 2/9

Example 3: X ~ B(5, 1/2), find P(X = 5)

Watch it: X ~ B(5, 1/2): P(X = 5), step by step:

  1. There is only 1 way for all 5 to succeed.
  2. (1/2)⁵ = 1/32.
  3. The answer is 1/32.
  4. The green bar is P(X = 5) = 1/32.
  1. 5C5 = 1.
  2. (1/2)^5 = 1/32.

P(X = 5) = 1/32

Try it

X ~ B(3, 1/2). Find P(X = 1). Give your answer as a fraction.
Show answer3/8
X ~ B(4, 1/3). Find P(X = 0). Give your answer as a fraction.
Show answer16/81
X ~ B(5, 1/2). Find P(X = 2). Give your answer as a fraction.
Show answer5/16
X ~ B(4, 2/3). Find P(X = 4). Give your answer as a fraction.
Show answer16/81
X ~ B(4, 1/2). Find P(X = 2). Give your answer as a fraction.
Show answer3/8

Common mistakes

  • Forgetting nCr. P(X = 1) is not just p × q^(n − 1).
  • Using p in the wrong place. The failures use q = 1 − p, so for p = 1/3 the failure chance is 2/3.
  • Leaving the fraction unsimplified. Divide top and bottom by the same number.

Remember

  • P(X = r) = nCr × p^r × q^(n − r).
  • The powers always add up to n.

Practise this

Worksheets 13 to 18 of Statistics practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.

Open Mathhh

More Statistics notes

Keep learning

All Statistics notes · All study notes