SOLVER7 Study. Nothing Else.
Exercise 13.3 Q5

A laboratory blood test is \(99\%\) effective in detecting a certain disease when it is in fact, present. However, the test also yields a false positive result for \(0.5\%\) of the healthy person tested (i.e. if a healthy person is tested, then, with probability \(0.005,\) the test will imply he has the disease). If \(0.1\) percent of the population actually has the disease, what is the probability that a person has the disease given that his test result is positive ?

CBSE Class 12 Maths · Probability

Solution

👶 Simple Explanation

Simple Explanation

Imagine a very rare disease exists in only 1 out of every 1000 people. A test can mostly detect it, but sometimes it wrongly flags healthy people too. So when your test says positive, most people in that positive group are actually healthy — because healthy people are so much more common. It is like a smoke alarm that occasionally goes off for burnt toast. Most alarms ringing in your neighbourhood are probably false alarms, not real fires. Only about 16 or 17 people out of every 100 who test positive truly have the disease.

Answer: The probability that the person actually has the disease given a positive test result is \( \dfrac{22}{133} \approx 0.1654 \), that is, about 16.5 percent.

📖 Bayes' Theorem: Disease Detection from a Positive Test

Detailed Explanation

This problem is solved using Bayes' theorem, which lets us reverse a conditional probability. We are told how the test behaves given the disease status (like the accuracy of the test), but we want the opposite: the disease status given the test result. Let \( E_1 \) be the event that a person has the disease and \( E_2 \) that a person does not have the disease. Let \( A \) be the event that the test result is positive. We know the prior probabilities \( P(E_1) \) and \( P(E_2) \), and the conditional probabilities \( P(A \mid E_1) \) (true positive) and \( P(A \mid E_2) \) (false positive). Bayes' theorem then gives us \( P(E_1 \mid A) \), the probability of actually having the disease when the test is positive.

Formula Used

\[ P(E_1 \mid A) = \frac{P(E_1)\, P(A \mid E_1)}{P(E_1)\, P(A \mid E_1) + P(E_2)\, P(A \mid E_2)} \]

Solution

  1. Step 1: Define the events. Let \( E_1 \) = the person has the disease, and \( E_2 \) = the person does not have the disease. Let \( A \) = the test result is positive. Since only 0.1 percent of the population has the disease, we get \( P(E_1) = \dfrac{0.1}{100} = 0.001 \) and \( P(E_2) = 1 - 0.001 = 0.999 \).
  2. Step 2: Write the conditional probabilities. The test is 99 percent effective when the disease is present, so \( P(A \mid E_1) = 0.99 \). The test gives a false positive for 0.5 percent of healthy people, so \( P(A \mid E_2) = 0.005 \).
  3. Step 3: We need \( P(E_1 \mid A) \), the probability of having the disease given a positive test. By Bayes' theorem: \[ P(E_1 \mid A) = \frac{P(E_1)\, P(A \mid E_1)}{P(E_1)\, P(A \mid E_1) + P(E_2)\, P(A \mid E_2)} \]
  4. Step 4: Substitute the values into the formula: \[ P(E_1 \mid A) = \frac{0.001 \times 0.99}{0.001 \times 0.99 + 0.999 \times 0.005} \]
  5. Step 5: Compute each product. The numerator is \( 0.001 \times 0.99 = 0.00099 \). In the denominator, \( 0.999 \times 0.005 = 0.004995 \), so the denominator is \( 0.00099 + 0.004995 = 0.005985 \).
  6. Step 6: Divide to get the final probability: \[ P(E_1 \mid A) = \frac{0.00099}{0.005985} = \frac{990}{5985} = \frac{22}{133} \approx 0.1654 \]

Final Answer

The probability that the person actually has the disease given a positive test result is \( \dfrac{22}{133} \approx 0.1654 \), that is, about 16.5 percent.

Common Mistake

A very common error is to think the answer must be close to 0.99 because the test is 99 percent effective. This confuses \( P(A \mid E_1) \) with \( P(E_1 \mid A) \). Because the disease is rare, most positive results actually come from false positives among the large healthy population, which is why the true probability is only about 16.5 percent.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Label the events clearly. Let \( E_1 \) be the event that a randomly chosen person has the disease, \( E_2 \) be the event that the person does not have the disease, and \( A \) be the event that the test returns a positive result. — Reason: Naming events precisely prevents confusion when applying Bayes' theorem, which involves multiple conditional probabilities.
  2. Step 2: Determine the prior probabilities. Since only 0.1% of the population carries the disease: \[ P(E_1) = \frac{0.1}{100} = 0.001 \] and therefore \[ P(E_2) = 1 - 0.001 = 0.999 \] — Reason: These are the baseline (prior) probabilities before any test result is observed; they reflect how rare the disease is in the population.
  3. Step 3: Write down the conditional (likelihood) probabilities. The test correctly detects the disease 99% of the time, so \( P(A \mid E_1) = 0.99 \). The test incorrectly flags a healthy person 0.5% of the time, so \( P(A \mid E_2) = 0.005 \). — Reason: These capture the test's accuracy: the true-positive rate and the false-positive rate, both of which feed into Bayes' formula.
  4. Step 4: Compute the numerator of Bayes' formula — the joint probability that the person has the disease AND tests positive: \[ P(E_1)\, P(A \mid E_1) = 0.001 \times 0.99 = 0.00099 \] — Reason: The numerator represents only the true-positive cases among all people tested.
  5. Step 5: Compute the second term in the denominator — the joint probability that a healthy person tests positive (false positive): \[ P(E_2)\, P(A \mid E_2) = 0.999 \times 0.005 = 0.004995 \] — Reason: Because the disease is rare, a large number of healthy people are tested, so even a small false-positive rate creates many false alarms.
  6. Step 6: Find the total probability of a positive test result by summing both terms (law of total probability): \[ P(A) = 0.00099 + 0.004995 = 0.005985 \] — Reason: A positive test can arise in two mutually exclusive ways — a true positive or a false positive — so we add their probabilities to get the overall chance of any positive result.
  7. Step 7: Apply Bayes' theorem to find the desired probability: \[ P(E_1 \mid A) = \frac{0.00099}{0.005985} = \frac{99}{5985} = \frac{22}{133} \approx 0.1654 \] — Reason: Dividing the true-positive probability by the total probability of a positive result scales our answer to account for how often the positive signal actually means disease versus a false alarm.

Final Answer

The probability that the person actually has the disease given a positive test result is \( \dfrac{22}{133} \approx 0.1654 \), that is, about 16.5 percent.

Common Mistake

One common mistake: Students often assume that because the test is 99% accurate, a positive result means a 99% chance of having the disease. They forget to account for the prior probability \( P(E_1) = 0.001 \) — when a disease is very rare, even a highly accurate test produces mostly false positives, which is exactly what Bayes' theorem corrects for.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Given: \( P(E_1) = 0.001 \), \( P(E_2) = 0.999 \), \( P(A \mid E_1) = 0.99 \), \( P(A \mid E_2) = 0.005 \)
  2. Step 2: Numerator: \( P(E_1) \cdot P(A \mid E_1) = 0.001 \times 0.99 = 0.00099 \)
  3. Step 3: Denominator: \( (0.001 \times 0.99) + (0.999 \times 0.005) = 0.00099 + 0.004995 = 0.005985 \)
  4. Step 4: \( P(E_1 \mid A) = \dfrac{0.00099}{0.005985} = \dfrac{22}{133} \approx 0.1654 \)

Answer: The probability that the person actually has the disease given a positive test result is \( \dfrac{22}{133} \approx 0.1654 \), that is, about 16.5 percent.

➕ More Examples

More Examples

Example 1

Question: A rapid screening test for a viral infection is 97% effective in detecting the infection when it is actually present. However, the test gives a false positive result for 2% of healthy individuals tested. It is known that 0.5% of the population is actually infected. If a randomly selected person tests positive, find the probability that the person is actually infected.

Solution: Let us define the following events: Let \( D \) = event that the person is infected, and \( H \) = event that the person is healthy. Let \( T \) = event that the test result is positive. Given information: \[P(D) = 0.005, \quad P(H) = 1 - 0.005 = 0.995\] Probability that the test is positive given the person is infected (true positive rate): \[P(T \mid D) = 0.97\] Probability that the test is positive given the person is healthy (false positive rate): \[P(T \mid H) = 0.02\] By the Law of Total Probability, the total probability that the test is positive is: \[P(T) = P(D) \cdot P(T \mid D) + P(H) \cdot P(T \mid H)\] Substituting the values: \[P(T) = (0.005)(0.97) + (0.995)(0.02)\] \[P(T) = 0.00485 + 0.0199 = 0.02475\] By Bayes' Theorem, the probability that the person is infected given that the test is positive is: \[P(D \mid T) = \frac{P(D) \cdot P(T \mid D)}{P(T)}\] Substituting: \[P(D \mid T) = \frac{(0.005)(0.97)}{0.02475} = \frac{0.00485}{0.02475}\] Simplifying by multiplying numerator and denominator by 100000: \[P(D \mid T) = \frac{485}{2475} = \frac{97}{495}\] Therefore, the probability that a person who tests positive is actually infected is \( \dfrac{97}{495} \).

Answer: \(P(D \mid T) = \dfrac{97}{495} \approx 0.196\)

Example 2

Question: A factory produces items using two machines, Machine A and Machine B. Machine A produces 60% of the total output and Machine B produces the remaining 40%. From past records, 3% of items from Machine A are defective and 5% of items from Machine B are defective. An item is chosen at random from the day's production and is found to be defective. What is the probability that the defective item was produced by Machine A?

Solution: Let us define the following events: Let \( A \) = event that the item is produced by Machine A. Let \( B \) = event that the item is produced by Machine B. Let \( D \) = event that the item is defective. Given information: \[P(A) = 0.60, \quad P(B) = 0.40\] \[P(D \mid A) = 0.03, \quad P(D \mid B) = 0.05\] By the Law of Total Probability, the total probability that a randomly chosen item is defective is: \[P(D) = P(A) \cdot P(D \mid A) + P(B) \cdot P(D \mid B)\] Substituting the values: \[P(D) = (0.60)(0.03) + (0.40)(0.05)\] \[P(D) = 0.018 + 0.020 = 0.038\] By Bayes' Theorem, the probability that the defective item came from Machine A is: \[P(A \mid D) = \frac{P(A) \cdot P(D \mid A)}{P(D)}\] Substituting: \[P(A \mid D) = \frac{(0.60)(0.03)}{0.038} = \frac{0.018}{0.038}\] Simplifying by multiplying numerator and denominator by 1000: \[P(A \mid D) = \frac{18}{38} = \frac{9}{19}\] Therefore, the probability that a defective item was produced by Machine A is \( \dfrac{9}{19} \).

Answer: \(P(A \mid D) = \dfrac{9}{19} \approx 0.474\)

🎯 Try a Similar Question

Try a Similar Question

Question: A medical screening test for a rare infection is 98% effective in detecting the infection when it is actually present. However, the test also gives a false positive result for 1% of healthy persons tested (i.e., if a healthy person is tested, the test will indicate infection with probability 0.01). If 0.5% of the population actually carries the infection, find the probability that a randomly selected person actually has the infection given that their test result is positive.

Solution

  1. Step 1: Define the Events: Let \( E_1 \) be the event that a person has the infection, and \( E_2 \) be the event that a person does not have the infection. Let \( A \) be the event that the test result is positive.
  2. Step 2: Write Down the Prior Probabilities: Since 0.5% of the population has the infection: \[ P(E_1) = 0.005 \] and \[ P(E_2) = 1 - 0.005 = 0.995 \]
  3. Step 3: Write Down the Conditional Probabilities: The test is 98% effective when infection is present, so: \[ P(A \mid E_1) = 0.98 \] The test gives a false positive for 1% of healthy persons, so: \[ P(A \mid E_2) = 0.01 \]
  4. Step 4: Apply the Total Probability Theorem: The total probability of a positive test result is: \[ P(A) = P(E_1)\,P(A \mid E_1) + P(E_2)\,P(A \mid E_2) \] Substituting the values: \[ P(A) = (0.005)(0.98) + (0.995)(0.01) \] \[ P(A) = 0.0049 + 0.00995 = 0.01485 \]
  5. Step 5: Apply Bayes' Theorem: Using Bayes' Theorem to find \( P(E_1 \mid A) \): \[ P(E_1 \mid A) = \frac{P(E_1)\,P(A \mid E_1)}{P(A)} \] Substituting: \[ P(E_1 \mid A) = \frac{(0.005)(0.98)}{0.01485} = \frac{0.0049}{0.01485} \]
  6. Step 6: Simplify the Fraction: Multiply numerator and denominator by 100000 to clear decimals: \[ P(E_1 \mid A) = \frac{490}{1485} \] Divide both numerator and denominator by 5: \[ P(E_1 \mid A) = \frac{98}{297} \] As a decimal, \( \dfrac{98}{297} \approx 0.3300 \), which is approximately 33%.

Answer: The probability that a person actually has the infection given a positive test result is \( \dfrac{98}{297} \approx 0.33 \), that is, about 33 percent.

Everything you get with Solver7

More questions in Probability

Chapter 13 Examples Q1 65/4/1 2022 / Section A Q1 Chapter 13 Examples Q2 65/4/1 2022 / Section A Q2(a) Chapter 13 Examples Q3 65/4/1 2022 / Section A Q2(b) 65/4/2 2024 / Section A Q3 Chapter 13 Examples Q4 65/2/3 2026 / Section A Q4 Chapter 13 Examples Q5 65/2/1 2022 / Section A Q4 Chapter 13 Examples Q6 65/2/1 2022 / Section A Q5 Chapter 13 Examples Q7 Chapter 13 Examples Q8 65/2/2 2023 / Section A Q8 Chapter 13 Examples Q9 Chapter 13 Examples Q10 Chapter 13 Examples Q11 65/1/1 2024 / Section A Q11 65/2/1 2024 / Section A Q11 65/3/1 2024 / Section A Q11 Chapter 13 Examples Q12 65/1/1 2023 / Section A Q12 Chapter 13 Examples Q13 Chapter 13 Examples Q14 65/3/1 2023 / Section A Q14 Chapter 13 Examples Q15 Chapter 13 Examples Q16 65(B) 2026 / Section A Q16 Chapter 13 Examples Q17 65(B) 2026 / Section A Q17 Chapter 13 Examples Q18 65(B) 2026 / Section A Q18 65/2/1 2022 / Section C Q14(a) 65/3/1 2026 / Section A Q18 65/4/1 2023 / Section A Q18 65/4/1 2026 / Section A Q18 65/5/1 2026 / Section A Q18 Chapter 13 Examples Q19 65/1/1 2026 / Section A Q19 65/2/1 2022 / Section C Q14(b) 65/4/1 2022 / Section C Q14(a) Chapter 13 Examples Q20 65(B) 2026 / Section A Q20 65/4/1 2022 / Section C Q14(b) Chapter 13 Examples Q21 Chapter 13 Miscellaneous Examples Q22 Chapter 13 Miscellaneous Examples Q23 Chapter 13 Miscellaneous Examples Q24 Exercise 13.1 Q1 Exercise 13.1 Q2 Exercise 13.1 Q3(i) Exercise 13.1 Q3(ii) 65/2/3 2026 / Section C Q26(a)i Exercise 13.1 Q3(iii) 65/2/3 2026 / Section C Q26(a)ii Exercise 13.1 Q4 65/2/3 2026 / Section C Q26(b) Exercise 13.1 Q5(i)