Chapter 6 - Binomial Distribution
Chapter 6 - Binomial Distribution
Conditions:
There is a fixed number of trials (𝑛).
A single trial has two possible outcomes, (success and failure).
The outcome of each trial is independent of the outcome of all the other trials.
The probability of success at each trial is constant.
𝑛
𝑃(𝑋 = 𝑥) = ( ) 𝑝 𝑥 𝑞 𝑛−𝑥
𝑥
Terms:
Solution:
(i) P(0, 1, 2)
= (0.85)6 + (0.15)(0.85)5 6 C1 + (0.15)2 (0.85)4 6 C2
= 0.953
(ii) 𝐺
0.75
0.1
𝐷
𝐵
0.6 0.15 𝑀
𝐺
0.3
0.4
𝐺 0.55
𝐷
0.15 𝑀
0.6×0.1 3
𝑃(𝐵|𝐷) = (0.6×0.1)+(0.4×0.55) = 14
𝑋~𝐵(5 , 3⁄14)
𝑃(𝑋 ≥ 1) = 1 − 𝑃(𝑋 = 0)
3 0 11 5
= 1 − 5𝐶5 (14) × (14)
= 0.701
Example 2 –
The Fair Choc Company makes small chocolate eggs, 48% of which are milk chocolate
and the remainder of which are plain chocolate. The eggs are mixed before being put into
identical foil wrappings and placed at random into boxes, each containing 12 eggs.
(i) A box is chosen at random. Show that the probability that this box contains exactly
6 milk chocolate eggs is 0.223 correct to 3 significant figures.
(ii) The manager takes a random sample of 10 boxes of eggs from the production line.
Find the probability that at least two of these boxes contain exactly 6 milk chocolate
eggs.
Solution:
(i) Let 𝑋 be the number of milk chocolate eggs in a box of 12 chocolate eggs.
𝑋~𝐵(12, 0.48) with 𝑛 = 12, 𝑝 = 0.48, 𝑞 = 1 − 𝑝 = 0.52
12
P(𝑋 = 6) = ( ) × 0.486 × 0.526
6
= 0.2234 …
= 0.223 (3 s.f.)
(ii) Let 𝑌 be the number of boxes that contain exactly 6 milk chocolate eggs in a
random sample of 10 boxes.
𝑌~𝐵(10, 0.2234 … ) with 𝑛 = 10, 𝑝 = 0.2234 …, 𝑞 = 1 − 𝑝 = 0.7765 …
𝑃(𝑌 ≥ 2) = 1 − 𝑃(𝑌 ≤ 1)
10
= 1 − ((0.7765 … )10 + ( ) × (0.2234 … )1 × (0.7765 … )9 )
1
= 1 − 0.30925 …
= 0.69074 …
= 0.691 (3 s.f.)
Expectation and variance of a binomial distribution:
E(𝑋) = 𝑛𝑝
Var(𝑋) = 𝑛𝑝𝑞
𝜇 = E(𝑋) = ∑𝑥 𝑝(𝑋 = 𝑥)
1 1 1
= (1 × 4) + (2 × 2) + (3 × 4)
Var(𝑋) = ∑𝑥 2 𝑝(𝑋 = 𝑥) − 𝜇 2
1 1 1
= [12 × (4) + 22 (2) + 32 (4) ] − 22
= 0.5