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:
- There are 4 places for the one success.
- (1/2)¹ × (1/2)³ = 1/16.
- 4 × 1/16 = 4/16 = 1/4.
- The answer is 1/4.
- The green bar is P(X = 1) = 4/16.
- 4C1 = 4.
- (1/2)^1 × (1/2)^3 = 1/16.
- 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:
- There are 3 places for the 2 successes.
- (1/3)² × (2/3) = 2/27.
- 3 × 2/27 = 6/27 = 2/9.
- The answer is 2/9.
- The green bar is P(X = 2) = 6/27.
- 3C2 = 3.
- (1/3)² × (2/3) = 2/27.
- 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:
- There is only 1 way for all 5 to succeed.
- (1/2)⁵ = 1/32.
- The answer is 1/32.
- The green bar is P(X = 5) = 1/32.
- 5C5 = 1.
- (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 answer
3/8X ~ B(4, 1/3). Find P(X = 0). Give your answer as a fraction.
Show answer
16/81X ~ B(5, 1/2). Find P(X = 2). Give your answer as a fraction.
Show answer
5/16X ~ B(4, 2/3). Find P(X = 4). Give your answer as a fraction.
Show answer
16/81X ~ B(4, 1/2). Find P(X = 2). Give your answer as a fraction.
Show answer
3/8Common 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