I can
- find E(X) and Var(X) for X ~ B(n, p)
- find probabilities such as P(X ≤ 2) and P(X ≥ 4) by adding
- give exact answers as fractions
Key idea
For X ~ B(n, p), the mean is E(X) = np and the variance is Var(X) = npq, where q = 1 − p.
To find P(X ≤ 2), add P(X = 0), P(X = 1) and P(X = 2). To find P(X ≥ 5) in B(6, 1/2), add P(X = 5) and P(X = 6). Use P(X = r) = nCr × p^r × q^(n − r) for each part. When p = 1/2, every part has the same bottom: 2^n.
Worked examples
Example 1: X ~ B(20, 0.3), find E(X) and Var(X)
Watch it: X ~ B(20, 0.3): E(X) and Var(X), step by step:
- E(X) = n × p = 20 × 0.3 = 6.
- q = 1 − 0.3 = 0.7.
- Var(X) = n × p × q = 20 × 0.3 × 0.7 = 4.2.
- Both answers.
- E(X) = 20 × 0.3 = 6.
- q = 0.7, so Var(X) = 20 × 0.3 × 0.7 = 4.2.
E(X) = 6, Var(X) = 4.2
Example 2: X ~ B(6, 1/2), find P(X ≤ 1)
Watch it: X ~ B(6, 1/2): P(X ≤ 1), step by step:
- The binomial formula gives each one.
- Add: 1/64 + 6/64 = 7/64.
- The answer is 7/64.
- P(X ≤ 1) is the sum of the two green bars.
- P(X = 0) = 1/64.
- P(X = 1) = 6/64.
- Add: 7/64.
P(X ≤ 1) = 7/64
Example 3: X ~ B(6, 1/2), find P(X ≥ 4)
Watch it: X ~ B(6, 1/2): P(X ≥ 4), step by step:
- The binomial formula gives each one.
- Add the three: 22/64.
- Divide the top and bottom by 2.
- The answer is 11/32.
- P(X ≥ 4) is the sum of the three green bars.
- P(X = 4) = 15/64, P(X = 5) = 6/64, P(X = 6) = 1/64.
- Add: 22/64.
P(X ≥ 4) = 11/32
Try it
X ~ B(40, 0.5). Find E(X).
Show answer
20X ~ B(10, 0.6). Find Var(X).
Show answer
2.4X ~ B(20, 0.1). Find Var(X).
Show answer
1.8X ~ B(5, 1/2). Find P(X ≤ 1). Give your answer as a fraction.
Show answer
3/16X ~ B(6, 1/2). Find P(X ≥ 5). Give your answer as a fraction.
Show answer
7/64Common mistakes
- Using npq for the mean. The mean is np; npq is the variance.
- Forgetting a term. P(X ≤ 2) includes X = 0.
- Using q = p for the variance. Take p away from 1 first.
Remember
- E(X) = np and Var(X) = np(1 − p).
- At most means add from 0 upward; at least means add to the top.
Practise this
Worksheets 19 to 24 of Statistics practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.
Open Mathhh