Part (i)
1 markA random sample in this context means that each of the pens tested is selected from the box of pens in such a way that every pen has an equal chance of being chosen, and the pens are chosen independently of one another (so that whether one pen is faulty does not affect the chance that another is chosen).
Part (ii)
1 markLet be the number of faulty pens in a random sample of pens from a box. Since each pen is independently faulty with probability ,
The box is accepted if or fewer faulty pens are found, so
.
Part (iii)
4 marksApproach
“More than of these boxes are rejected” is a statement about the number of boxes out of , so we need a second binomial variable, , counting rejected boxes among the , with success probability found in part (ii).
From part (ii), the probability that a box is rejected is
Let be the number of rejected boxes among the boxes tested. Since the boxes are tested independently,
of boxes is boxes, so “more than of these boxes are rejected” means , i.e. . Converting the tail to cumulative form,
.
Part (iv)
5 marksApproach
The alternative procedure has three outcomes after the first sample of (accept outright, reject outright, or take a second sample), so is built up as a sum over these cases rather than as a single binomial tail.
Let be the number of faulty pens in the first sample of pens, so . The box is accepted immediately if . If or , a second sample of pens is taken; let be the number of faulty pens in this second sample, so independently of , and the box is accepted if .
- If , the box is accepted when .
- If , the box is accepted when .
By GC,
Therefore
.
Part (v)
1 markExplanation: Under the alternative procedure a second sample of pens is only needed when the first sample gives or faulty pens; otherwise testing stops after just pens. The expected number of pens tested per box is therefore
which is fewer than the pens always tested under the original procedure, while the probability of accepting a good box () is about the same as before (). The factory manager might prefer the alternative procedure because it tests fewer pens on average, reducing the cost, time and product wasted in testing, without materially changing the chance that a box is correctly accepted.