Find p from the mean, then a binomial probability

Question MM3-257 Complex familiar 4 marks Technology-active

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.

Figure for question MM3-257A bar chart of the binomial distribution with n equals 24 and p equals 0.05. The bars for 0, 1 and 2 are tallest. The small bars for 3 or more are highlighted; together they make about 0.116. A dashed line marks the mean at 1.2.0.10.20.30.4012345678number of underfilled bottles in a carton of 24

The answer, one mark at a time

  1. 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]

  2. Divide by 24 to find the probability that one bottle is underfilled.

    \[p = \frac{1.2}{24}\]
    \[p = 0.05\]

    determines \(p\) [1 mark]

  3. 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]

  4. 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

\(\displaystyle P(X > 2) = 0.1159\)

Watch for. More than 2 does not include 2. Working out \(P(X \ge 2)\) instead gives 0.3392.