‹ Back to the paper
Question 19(ii)
5 marks
MathematicsISC 2027 Specimen Mathematics Paper 1Short answerProbability
Answer the following.
In a large organisation, only 1 out of every 1,500 emails contains a harmful attachment. An…
In a large organisation, only 1 out of every 1,500 emails contains a harmful attachment. An automated filtering system is used to detect such emails.
The filtering system correctly marks a harmful email as dangerous 97% of the time.
It also correctly marks a safe email as safe 97% of the time.
(a)[1]
Find the probability that the email is safe.
(b)[2]
Find the probability that given the email is harmful the filter marks it safe.
(c)[2]
One particular email has been flagged as dangerous by the system. Find the probability that this email is actually safe.
Answer
Answer (a)
Official answer keyLet $A$ be the event that the email is harmful, so $P(A) = \frac{1}{1500}$.
$P(\text{safe}) = P(\bar{A}) = 1 - \frac{1}{1500} = \frac{1499}{1500}$.
Answer (b)
Official answer keyA harmful email is marked dangerous 97% of the time, so $P(\text{marked dangerous}\,|\,\text{harmful}) = 0.97$.
Hence $P(\text{marked safe}\,|\,\text{harmful}) = 1 - 0.97 = 0.03$.
Final answer: $0.03$
Answer (c)
Official answer keyLet $B$ be the event that the filter marks the email dangerous. $P(B|A) = 0.97$ and $P(B|\bar{A}) = 0.03$.
$P(B) = 0.97\times\frac{1}{1500} + 0.03\times\frac{1499}{1500} \approx 0.0306$.
$P(\bar{A}|B) = \frac{0.03\times\frac{1499}{1500}}{0.97\times\frac{1}{1500} + 0.03\times\frac{1499}{1500}} = \frac{44.97}{45.94} \approx 0.9789 \approx 0.98$.
Final answer: about $0.98$