Rejected boxes: a binomial inside a binomial

Question MM3-041 Complex familiar 4 marks Technology-active

Unit 3 Topic 5: Discrete random variables

The question

A factory packs phone batteries in boxes of 25. Each battery has a 3% chance of being defective, independently of the others. A box is rejected if it contains 2 or more defective batteries.

Determine the probability that more than 8 boxes in a shipment of 40 boxes are rejected.

The idea. First find the chance one box is rejected, from the batteries in it. Then each box in the shipment is a trial with that chance, which gives a second binomial.

Figure for question MM3-041A bar chart of the binomial distribution with n equals 40 and p about 0.172. The tallest bars are at 6 and 7, near the mean of about 6.9. The bars for 9 or more are highlighted; together they make about 0.24.0.050.100.150.200246810121416rejected boxes in a shipment of 40
Each bar is a number of rejected boxes in the shipment of 40.

The answer, one mark at a time

  1. Let \(X\) be the number of defective batteries in a box of 25. A box is rejected with 2 or more, which is the complement of at most 1.

    \[X \sim \text{Bin}(25,\, 0.03)\]
    \[P(\text{rejected}) = P(X \ge 2)\]
    \[P(X \ge 2) = 1 - P(X \le 1)\]

    identifies the binomial model for a box [1 mark]

  2. Use binomial CDF with upper bound 1, take it from 1, and store the unrounded value in your calculator.

    \[P(X \le 1) = 0.8280\]
    \[P(\text{rejected}) = 1 - 0.8280 = 0.1720\]

    determines the probability a box is rejected [1 mark]

  3. Now each of the 40 boxes is one trial, and a success is a rejected box.

    \[Y = \text{number of rejected boxes}\]
    \[Y \sim \text{Bin}(40,\, 0.1720)\]

    identifies the second binomial model [1 mark]

  4. More than 8 means 9 or more. Use binomial CDF with upper bound 8 and the stored probability, then take it from 1.

    \[P(Y > 8) = 1 - P(Y \le 8)\]
    \[P(Y > 8) = 1 - 0.7593 = 0.2407\]

    determines the probability [1 mark]

Answer

\(\displaystyle P(Y > 8) = 0.2407\)

Watch for. Store the unrounded rejection probability rather than retyping a rounded one. And more than 8 does not include 8.