In each batch of pralines that a chocolate factory produces, they are packed into boxes of 16. Due to the new health guidelines regarding sugar content, quality control tests are implemented and show that on average, the proportion of pralines that exceed the recommended sugar content is pp. The number of pralines in a box that exceed the recommended sugar content is denoted by $X. For each batch of pralines produced, the chocolate factory implements the following quality control system by testing the first random sample of 16 pralines in a box:
  • If there are at most 1 praline that exceed the recommended sugar content in a box, the batch is accepted.
  • If there are 3 or more pralines that exceed the recommended sugar content in a box, the batch is rejected.
  • If there are 2 pralines that exceed the recommended sugar content in a box, a second box of 16 pralines is tested. The batch will be accepted if there are at most 1 praline that exceed the recommended sugar content in the second box, otherwise the batch will be rejected.
It is given that $p = 0.15.

  1. (a)
    1. (i)

      State, in context of the question, two assumptions needed for XX to be well-modelled by a binomial distribution.

    2. (ii)

      Assume now that XX is modelled by a binomial distribution.

      It is known that the most probable number of pralines that exceed the recommended sugar content is 2. Find the exact range of values that pp can take.

  2. (b)
    1. (i)

      Find the probability that the batch of pralines is accepted under this quality control system.

    2. (ii)

      Given that the batch of pralines is accepted, find the probability that a second box of pralines is tested.

Work through it with AI →

It won't just hand you the answer — it asks where you're stuck.How the checker works

Worked solution

8(a)(i)

1. State the independence assumption in context

The probability that a praline exceeds the recommended sugar content must be independent of whether any other praline exceeds the recommended sugar content.

2. State the constant probability assumption in context

The probability of a praline exceeding the recommended sugar content is constant for all pralines in the box.

Answer
  1. Whether a praline exceeds the recommended sugar content is independent of whether any other praline in the box exceeds it.
  2. The probability that a praline exceeds the recommended sugar content is constant for all pralines.

8(a)(ii)

1. Formulate the conditions for $X=2$ to be the unique most probable outcome.

For X=2X=2 to be the most probable number of successes, its probability must be strictly greater than its adjacent probabilities:
P(X=2)>P(X=1)P(X=2) > P(X=1)
P(X=2)>P(X=3)P(X=2) > P(X=3)

2. Set up and solve the inequality $P(X=2) > P(X=1)$ for $p$.

(162)p2(1−p)14>(161)p(1−p)15\binom{16}{2}p^2(1-p)^{14} > \binom{16}{1}p(1-p)^{15}
120p2(1−p)14>16p(1−p)15120p^2(1-p)^{14} > 16p(1-p)^{15}
Since 0<p<10 < p < 1, we can divide both sides by 16p(1−p)1416p(1-p)^{14}:
152p>1−p\frac{15}{2}p > 1-p
15p>2−2p15p > 2 - 2p
17p>2  ⟹  p>21717p > 2 \implies p > \frac{2}{17}

3. Set up and solve the inequality $P(X=2) > P(X=3)$ and combine the results.

(162)p2(1−p)14>(163)p3(1−p)13\binom{16}{2}p^2(1-p)^{14} > \binom{16}{3}p^3(1-p)^{13}
120p2(1−p)14>560p3(1−p)13120p^2(1-p)^{14} > 560p^3(1-p)^{13}
Divide both sides by 40p2(1−p)1340p^2(1-p)^{13}:
3(1−p)>14p3(1-p) > 14p
3−3p>14p3 - 3p > 14p
17p<3  ⟹  p<31717p < 3 \implies p < \frac{3}{17}
Combining the two inequalities gives the exact range for pp:
217<p<317\frac{2}{17} < p < \frac{3}{17}

Answer

217<p<317\frac{2}{17} < p < \frac{3}{17}

8(b)(i)

1. Formulate the total probability of accepting the batch

Let X∼B(16,0.15)X \sim \mathrm{B}(16, 0.15).

The batch is accepted if X≤1X \le 1 in the first box, or if X=2X = 2 in the first box and X≤1X \le 1 in the second box.
P(accepted)=P(X≤1)+P(X=2)×P(X≤1)\mathrm{P}(\text{accepted}) = \mathrm{P}(X \le 1) + \mathrm{P}(X = 2) \times \mathrm{P}(X \le 1)

2. Evaluate the probability using the binomial distribution

Using a graphing calculator:
P(X≤1)≈0.28391\mathrm{P}(X \le 1) \approx 0.28391
P(X=2)≈0.27748\mathrm{P}(X = 2) \approx 0.27748

P(accepted)=0.283907+0.277484×0.283907\mathrm{P}(\text{accepted}) = 0.283907 + 0.277484 \times 0.283907
=0.362687= 0.362687
≈0.363 (to 3 s.f.)\approx 0.363 \text{ (to 3 s.f.)}

Answer

0.3630.363

8(b)(ii)

1. Set up the conditional probability using events from the problem

Let AA be the event that the batch is accepted, and BB be the event that a second box is tested.
P(B∣A)=P(B∩A)P(A)P(B \mid A) = \frac{P(B \cap A)}{P(A)}
From the context, the batch is accepted after a second box is tested if the first box has exactly 2 defectives and the second box has ≤1\le 1 defective.
P(B∩A)=P(X1=2)×P(X2≤1)P(B \cap A) = P(X_1 = 2) \times P(X_2 \le 1)
The total probability of acceptance is:
P(A)=P(X1≤1)+P(X1=2)×P(X2≤1)P(A) = P(X_1 \le 1) + P(X_1 = 2) \times P(X_2 \le 1)

2. Substitute the binomial probabilities and calculate the final probability

Using X∼B(16,0.15)X \sim \text{B}(16, 0.15):
P(X≤1)≈0.28391P(X \le 1) \approx 0.28391
P(X=2)≈0.27748P(X = 2) \approx 0.27748

Substituting these values:
P(B∣A)=0.27748×0.283910.28391+(0.27748×0.28391)P(B \mid A) = \frac{0.27748 \times 0.28391}{0.28391 + (0.27748 \times 0.28391)}
=0.0787800.36269= \frac{0.078780}{0.36269}
=0.21721…= 0.21721 \dots
≈0.217 (3 s.f.)\approx 0.217 \text{ (3 s.f.)}

Answer

0.2170.217

AI analysis — may contain mistakes.

Worked this one out on paper? Snap your steps and Gigle's AI math checker will circle the step where it went wrong.

More questions on this topic

  1. 1Two brothers Kai and Leo are duathlon (running and cycling) athletes who train regularly. For each day, the probability…
  2. 2In a standardized assessment test conducted annually, it is found that, on average, 1 in 5 students who sit for the test…
  3. 3A fruit seller sources his oranges from a supplier with a large plantation where 1% of the oranges are rotten. The suppl…
  4. 4A credit card company has a special 24-hour telephone hotline for customers to either report a lost credit card or to re…
  5. 5By the end of 2022, the percentages of a population who has received V dose(s) of Covid-19 vaccine are shown in the tabl…