Find p from the mean, then a binomial probability
Unit 3 Topic 5: Discrete random variables
The question
A machine fills bottles of juice.
Each bottle is underfilled with the same probability, independently of the other bottles.
The bottles are packed in cartons of 24.
The expected number of underfilled bottles in a carton is 1.2.
Determine the probability that a carton contains more than 2 underfilled bottles.
The idea. The expected number in a binomial distribution is \(np\), so \(24p = 1.2\) gives you \(p\). Then more than 2 means 3 or more, which is the complement of at most 2.
The answer, one mark at a time
-
Let \(X\) be the number of underfilled bottles in a carton. Each of the 24 bottles is one independent trial, so \(X\) is binomial, and its mean is \(np\).
\[X \sim \text{Bin}(24,\, p)\]\[E(X) = np = 24p = 1.2\]recognises that the expected number is \(np\) [1 mark]
-
Divide by 24 to find the probability that one bottle is underfilled.
\[p = \frac{1.2}{24}\]\[p = 0.05\]determines \(p\) [1 mark]
-
More than 2 means 3 or more. That is everything except 0, 1 and 2, so use the complement.
\[P(X > 2) = P(X \ge 3)\]\[P(X \ge 3) = 1 - P(X \le 2)\]interprets "more than 2" correctly [1 mark]
-
Use binomial CDF on your calculator with \(n = 24\), \(p = 0.05\) and upper bound 2, then take it from 1.
\[P(X \le 2) = 0.8841\]\[P(X \ge 3) = 1 - 0.8841 = 0.1159\]determines the probability [1 mark]
Answer
Watch for. More than 2 does not include 2. Working out \(P(X \ge 2)\) instead gives 0.3392.