Q.By examining the chest X-ray, the probability that TB is detected when a person is actually suffering is 0.99. The probability of a healthy person diagnosed to have TB is 0.001. In a certain city, 1 in 1000 people suffers from TB. A person is selected at random and is diagnosed to have TB. What is the probability that he actually has TB?
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — Conditional Probability
Conditional Probability
Roll a die and ask "what is the chance of an even number?" — that is 3/6. But suppose someone tells you the result is greater than 3. Now you are no longer looking at all six faces, only at {4,5,6}, and two of those (4 and 6) are even, so the probability becomes 2/3. That change — from the probability of A to the probability of A given that B has already occurred — is conditional probability.
The Idea: Shrink the Sample Space
Conditioning on B throws away every outcome where B is false and treats B as the new "whole world." You measure A only against what is still possible.
Think of filtering a table of data: unconditional probability uses every row; conditional probability keeps only the rows where the condition is true.
The Definition
For events A and B with P(B)>0,
P(A∣B)=P(B)P(A∩B).
We divide by P(B) to rescale so that B itself has probability 1; the surviving part of A is the overlap A∩B. Checking the die: P(A∩B)=P({4,6})=62 and P(B)=63, so P(A∣B)=3/62/6=32, matching the intuition.
Rearranging gives the multiplication rule P(A∩B)=P(A∣B)P(B), which is usually the easier way to compute a joint probability when a problem says "given that."
Two Cautions
- P(A∣B) and P(B∣A) are generally not equal; swapping them is the classic mistake. They are linked by Bayes' theorem, P(A∣B)=P(B)P(B∣A)P(A). …
Concept: Conditional Probability (Bayes' Theorem)
Let T be the event that a person has TB, and D be the event that the test diagnoses TB.
Given:
P(D∣T)=0.99,
P(D∣Tc)=0.001,
P(T)=10001=0.001.
We need P(T∣D).
Step 1: Find P(D) using the law of total probability:
P(D)=P(D∣T)P(T)+P(D∣Tc)P(Tc)
=(0.99)(0.001)+(0.001)(0.999)=0.00099+0.000999=0.001989.
Step 2: Apply Bayes' Theorem: …
Using Bayes' theorem, we update the prior probability of having TB (0.001) with the test's likelihoods. The probability that a person diagnosed with TB actually has it is approximately 0.4975, or about 49.75%.
Why Bayes' theorem is the natural tool here
We are given a test (chest X-ray) that has two kinds of accuracy: it catches true cases with high sensitivity (99%), but it also occasionally gives false alarms — a healthy person gets wrongly diagnosed 0.1% of the time. The real twist is that TB is rare: only 1 in 1000 people actually has it. So even a very good test will produce many false positives simply because there are so many more healthy people.
The question asks: Given that the test says "TB", what is the chance the person really has it? That is a classic inverse probability problem — we know P(positive∣TB) and P(positive∣healthy), but we want P(TB∣positive). Bayes' theorem is the only correct way to reverse the conditioning.
P(A∣B)=P(B)P(B∣A)⋅P(A)
Let's define the events clearly and apply it step by step.
Step-by-step solution
1. Define the events
Let T = "person has TB" and H = "person is healthy" (so H=Tc).
Let D = "person is diagnosed with TB (test positive)".
From the problem:
- P(T)=10001=0.001 (prior probability of TB in the city)
- P(H)=1−0.001=0.999
- P(D∣T)=0.99 (sensitivity: test catches 99% of true cases)
- P(D∣H)=0.001 (false positive rate: 0.1% of healthy people test positive)
2. What we need
We want P(T∣D) — the probability that a person actually has TB given that the test says so.
3. Apply Bayes' theorem
P(T∣D)=P(D)P(D∣T)⋅P(T)
We already have the numerator: 0.99×0.001=0.00099.
The denominator P(D) is the total probability of a positive test, which can happen in two ways: a true positive (TB person tests positive) or a false positive (healthy person tests positive). By the law of total probability:
P(D)=P(D∣T)⋅P(T)+P(D∣H)⋅P(H)
Substitute the numbers:
P(D)=(0.99×0.001)+(0.001×0.999)
Compute each term:
- 0.99×0.001=0.00099
- 0.001×0.999=0.000999
So P(D)=0.00099+0.000999=0.001989.
4. Compute the desired probability
P(T∣D)=0.0019890.00099
Do the division:
P(T∣D)≈0.4975 …
Method: Bayes' theorem with a rare base rate
Use this for diagnostic-test problems ("test is 99% accurate; given a positive result, what is the true chance of disease?") where the underlying condition is rare.
Steps
Step 1: Identify the three inputs
The prior/prevalence P(T), the sensitivity P(D∣T), and the false-positive rate P(D∣Tc).
Step 2: Total probability of a positive result
P(D)=P(D∣T)P(T)+P(D∣Tc)P(Tc).
Both a true positive and a false positive feed this denominator. …
Common Mistakes
Mistake 1: Base-rate neglect
Why it's wrong: a 99%-accurate test does not give a 99% chance of disease when only 1 in 1000 is affected — the rarity dominates. Correct approach: run full Bayes with the prevalence.
Mistake 2: Dropping the false-positive term …
Showing the 12 most recent of 69 on this concept.
- AP EAPCET 2025Set eng-2025-05-24-FN1 markMCQQ.An item is tested on a device for its defectiveness. The probability that such an item is defective is 0.3. The device gives accurate result in 8 out of 10 such tests. If the device reports that an item tested is not defective, then the probability that it is actually defective is (A) 152 (B) 293 (C) 313 (D) 514
›Reveal solutionSolution
A direct Bayes'-theorem inversion problem; the item is actually defective with probability 313 given a "not defective" report — option (C).
Concept and Intuition
The device's report can be wrong. To find the true state given an observed (possibly wrong) report, we must weigh both ways the report could have arisen: a genuinely non-defective item correctly reported as such, or a genuinely defective item incorrectly reported as non-defective. Bayes' theorem combines these.
Step-by-Step Solution
- Let D: item defective, P(D)=0.3; D′: item not defective, P(D′)=0.7.
- Device accuracy =0.8, so it errs with probability 0.2.
- "Reports not defective" while the item is defective means the device made an error: P(report ND∣D)=0.2.
- "Reports not defective" while the item is not defective means the device was accurate: P(report ND∣D′)=0.8. …
- AP EAPCET 2026Set eng-2026-05-12-FN1 markMCQQ.In a college, the heights of 4% of male and 1% of female students are more than 1.8 meters. If 60% of the total students are female and a student selected at random has height more than 1.8 meters, then the probability that this student is a female, is (A) 118 (B) 116 (C) 115 (D) 113
›Reveal solutionSolution
A direct application of Bayes' theorem: given the height is above 1.8m, find the probability the student is female.
Concept and Intuition
This is the classic "reverse conditional probability" setup — we know P(tall∣gender) for each gender and the gender proportions, and want P(gender∣tall). Bayes' theorem converts one direction of conditioning into the other by weighting each gender's tall-probability by its population share and normalizing.
Step-by-Step Solution
- Let M = male, F = female, H = height >1.8m. Given: P(F)=0.6, P(M)=0.4, P(H∣M)=0.04, P(H∣F)=0.01.
- Total probability of height >1.8m: P(H)=P(M)P(H∣M)+P(F)P(H∣F)=0.4(0.04)+0.6(0.01)=0.016+0.006=0.022. …
- AP EAPCET 2026Set eng-2026-05-14-FN1 markMCQQ.In a bolt factory, machines A, B, C manufacture 25%, 35%, 40% of the total output respectively. There is a chance of having 5%, 4%, 2% defective bolts manufactured by A, B, C respectively. If a bolt is drawn at random from the output, then the probability that it is defective is (A) 200069 (B) 200059 (C) 200079 (D) 200089
›Reveal solutionSolution
Classic total-probability ("law of total probability") setup: weight each machine's defect rate by its share of output and sum. The answer is (A).
Concept and Intuition
When an item can come from several mutually exclusive, exhaustive sources (here, machines A, B, C), and each source has its own conditional probability of producing a defect, the overall probability of a defect is the weighted average:
P(D)=∑iP(sourcei)P(D∣sourcei).
This is the law of total probability — it's the natural way to combine "how much each machine contributes" with "how likely each machine's own output is defective."
Step-by-Step Solution
- Let A,B,C denote drawing a bolt from each machine: P(A)=0.25, P(B)=0.35, P(C)=0.40 (these sum to 1, as they must).
- Conditional defect probabilities: P(D∣A)=0.05, P(D∣B)=0.04, P(D∣C)=0.02.
- By the law of total probability:
P(D)=P(A)P(D∣A)+P(B)P(D∣B)+P(C)P(D∣C).
- Compute each term: 0.25×0.05=0.0125; 0.35×0.04=0.014; 0.40×0.02=0.008. …
- AP EAPCET 2024Set eng-2024-05-20-AN1 markMCQQ.A person is known to speak false once out of 4 times. If that person picks a card at random from a pack of 52 cards and reports that it is a king, then the probability that it is actually a king is (A) 371 (B) 51 (C) 3712 (D) 3725
›Reveal solutionSolution
Classic Bayes'-theorem problem: weigh the prior probability of drawing a king against the person's truth-telling reliability. Answer: 1/5.
Concept and Intuition
The report 'it is a king' can arise two ways: the card really is a king and the person tells the truth, or the card is NOT a king and the person lies (falsely claims king). Bayes' theorem combines these into the posterior probability that it's actually a king.
Step-by-Step Solution
- Prior: P(K)=4/52=1/13 (king drawn), P(Kˉ)=12/13 (not a king).
- Truth-telling: P(truth)=3/4, P(lie)=1/4.
- P(reports king∣K)=P(truth)=3/4 (truthfully reports the actual king).
- P(reports king∣Kˉ)=P(lie)=1/4 (lies about a non-king, falsely calling it a king). …
- AP EAPCET 2023Set eng-2023-05-19-FN1 markMCQQ.A shopkeeper buys a particular type of electric bulbs from three manufacturers M1,M2 and M3. He buys 25% of his requirement from M1, 45% from M2 and 30% from M3. Based on past experience he found that 2% of type M3 bulbs are defective, where as only 1% of type M1 and type M2 are defective. If a bulb chosen by him at random is defective, then the probability that it was of type M3 is (A) 135 (B) 136 (C) 137 (D) 138
›Reveal solutionSolution
A direct application of Bayes' theorem with the law of total probability for the defective-bulb probability. Answer: (B).
Concept and Intuition
This is a classic "reverse conditional probability" problem: we know how likely a defect is given the source, and want the reverse — the probability the source was M3 given a defect was observed. Bayes' theorem converts one into the other via the law of total probability.
Step-by-Step Solution
- Given: P(M1)=0.25, P(M2)=0.45, P(M3)=0.30; P(D∣M1)=0.01, P(D∣M2)=0.01, P(D∣M3)=0.02.
- Total probability of a defective bulb: P(D)=P(M1)P(D∣M1)+P(M2)P(D∣M2)+P(M3)P(D∣M3) =0.25(0.01)+0.45(0.01)+0.30(0.02)=0.0025+0.0045+0.006=0.013. …
- AP EAPCET 2022Set eng-2022-07-07-FN1 markMCQQ.In a toy factory, the machines A, B and C are used to manufacture 30%, 40% and 30% of the output, respectively. The probabilities of toys made by machines A, B, and C to be defective are respectively 2%, 3% and 1%. A toy is taken from the factory and is found to be defective. The probability that it was manufactured by the machine B is (A) 4/5 (B) 2/9 (C) 3/4 (D) 4/7
›Reveal solutionSolution
This tests Bayes' theorem for finding the probability of a specific cause given an observed
effect (a defective toy); the answer is 4/7.
Concept and Intuition
When an outcome (a defective toy) could have come from several sources, each with its own prior
probability and its own conditional probability of producing that outcome, Bayes' theorem lets us
"invert" the conditioning: given that the outcome occurred, what's the probability it came from a
particular source? The key is to first find the total probability of the outcome by summing over
all sources (the law of total probability), then take the one source's contribution as a fraction of
that total.
Step-by-Step Solution
- Prior probabilities: P(A)=0.3, P(B)=0.4, P(C)=0.3.
- Conditional defect rates: P(D∣A)=0.02, P(D∣B)=0.03, P(D∣C)=0.01.
- Total probability of a defective toy (law of total probability):
P(D)=P(A)P(D∣A)+P(B)P(D∣B)+P(C)P(D∣C)=0.3(0.02)+0.4(0.03)+0.3(0.01)
=0.006+0.012+0.003=0.021.
- By Bayes' theorem: …
- AP EAPCET 2025Set eng-2025-05-21-AN1 markMCQQ.A manufacturing company of bulbs has 3 units A, B and C which produce 25%, 35% and 40% of the bulbs respectively. Out of the bulbs produced by A, B, C units, 5%, 4% and 2% are defective respectively. If a bulb is chosen at random and found to be defective, then the probability that it is produced by unit B is (A) 6928 (B) 7128 (C) 6729 (D) 6925
›Reveal solutionSolution
This tests Bayes' theorem: given the bulb is defective, find the (reversed) probability it came from unit B. Answer: 6928.
Concept and Intuition
We know the forward probabilities (which unit makes what fraction, and each unit's defect rate), but we're asked a reverse question: given the bulb turned out defective, which unit is it likely from? Bayes' theorem reweights the prior production shares by how likely each unit was to have produced this particular (defective) outcome.
Step-by-Step Solution
- Let A,B,C be the events "bulb from unit A/B/C", with P(A)=0.25, P(B)=0.35, P(C)=0.40.
- Conditional defect rates: P(D∣A)=0.05, P(D∣B)=0.04, P(D∣C)=0.02.
- Total probability of a defective bulb: P(D)=0.25(0.05)+0.35(0.04)+0.40(0.02)=0.0125+0.014+0.008=0.0345 …
- AP EAPCET 2025Set eng-2025-05-21-FN1 markMCQQ.A person is known to speak the truth in 3 out of 4 occasions. If he throws a die and reports that it is six, then the probability that it is actually six is (A) 83 (B) 72 (C) 91 (D) 54
›Reveal solutionSolution
A classic Bayes'-theorem problem: combine the prior P(six)=1/6 with the witness's reliability 3/4 to get the posterior probability it's actually six, given he reports six. The answer is 3/8.
Concept and Intuition
Before he speaks, the die has P(six)=1/6. His report is evidence, but he isn't perfectly reliable (truthful 3/4 of the time). Bayes' theorem updates the prior probability using how likely the report "six" is under each of the two possibilities (six actually occurred vs. it didn't).
Step-by-Step Solution
- Let E1 = the die actually shows six, E2 = it doesn't. P(E1)=61, P(E2)=65.
- Let A = he reports "six". If E1 occurred, he reports six truthfully with probability 43: P(A∣E1)=43.
- If E2 occurred, he reports "six" only if he lies, with probability 41: P(A∣E2)=41.
- By Bayes' theorem:
P(E1∣A)=P(A∣E1)P(E1)+P(A∣E2)P(E2)P(A∣E1)P(E1).
- Numerator: 43⋅61=243=81.
- Denominator's second term: 41⋅65=245.
- Sum =243+245=248=31. …
- AP EAPCET 2025Set eng-2025-05-24-FN1 markMCQQ.In a school there are 3 sections A, B and C. Section A contains 20 girls and 30 boys, section B contains 40 girls and 20 boys and section C contains 10 girls and 30 boys. The probabilities of selecting the section A, B and C are 0.2, 0.3 and 0.5 respectively. If a student selected at random from the school is a girl, then the probability that she belongs to section A is (A) 200121 (B) 12116 (C) 8114 (D) 8116
›Reveal solutionSolution
A three-section Bayes'-theorem problem; the answer is 8116, option (D).
Concept and Intuition
Given a randomly selected student is a girl, we want to reverse-condition on which section she came from. This requires the total probability of "selecting a girl" (summed over all three sections weighted by section-selection probability), then applying Bayes' theorem to isolate section A's contribution.
Step-by-Step Solution
- Conditional probabilities of picking a girl within each section: P(girl∣A)=5020=52; P(girl∣B)=6040=32; P(girl∣C)=4010=41.
- Section-selection probabilities: P(A)=51, P(B)=103, P(C)=21.
- Joint terms: P(A)P(girl∣A)=51⋅52=252; P(B)P(girl∣B)=103⋅32=51; P(C)P(girl∣C)=21⋅41=81. …
- AP EAPCET 2023Set eng-2023-05-17-AN1 markMCQQ.In a test a student either guesses or copies or knows the answer to answer a multiple choice question with four choices. The probability that he makes a guess is 1/3 and the probability that he copies the answer is 1/6. The probability that his answer is correct, given that he copied it is 1/8. The probability that he knew the answer to the question, given that he answered it correctly is (A) 2429 (B) 2922 (C) 2924 (D) 2923
›Reveal solutionSolution
A classic Bayes'-theorem problem with three mutually exclusive causes (guess/copy/know) for a correct answer. Answer: 24/29.
Concept and Intuition
This is a textbook application of Bayes' theorem: we're given the prior probabilities of three exhaustive, mutually exclusive ways of answering (guessing, copying, knowing) along with the conditional probability of being correct under each, and asked to reverse the conditioning — find the probability the student knew the answer, GIVEN that they got it right.
Step-by-Step Solution
- The three ways of answering are exhaustive: P(know)=1−P(guess)−P(copy)=1−31−61=1−21=21.
- Conditional correctness probabilities: P(C∣guess)=41 (one of four choices), P(C∣copy)=81 (given), P(C∣know)=1.
- Total probability of being correct: P(C)=31⋅41+61⋅81+21⋅1=121+481+21. …
- AP EAPCET 2024Set eng-2024-05-18-FN1 markMCQQ.The probability that a person goes to college by car is 51; by bus 52 and by train is 53 respectively. The probabilities that he reaches the college late if he takes car, bus, train are 72,74 and 71 respectively. If he reaches the college in time, the probability that he travelled by car is (A) 296 (B) 2924 (C) 295 (D) 2923
›Reveal solutionSolution
Bayes' theorem: weight each mode's "on-time" probability by its usage probability, then take the car-share of the total.
Concept and Intuition
This is a direct application of Bayes' theorem / total probability: to find P(cause∣effect), build the denominator as the weighted sum over every possible cause of reaching the observed effect (here, arriving on time), then take the numerator's share of it.
Step-by-Step Solution
- On-time probabilities per mode: car 1−72=75; bus 1−74=73; train 1−71=76.
- Total on-time probability: P(ontime)=51⋅75+52⋅73+53⋅76=355+356+3518=3529.
- Joint probability of taking the car AND being on time: 51⋅75=355. …
- AP EAPCET 2025Set eng-2025-05-21-FN1 markMCQQ.70% of the total employees of a factory are men. Among the employees of that factory, 30% of men and 15% of women are technical assistants. If an employee chosen at random is found to be a technical assistant, then the probability that this employee is a man is (A) 239 (B) 173 (C) 1714 (D) 2314
›Reveal solutionSolution
A direct Bayes'/total-probability computation using a convenient total of 100 employees. The answer is 1714.
Concept and Intuition
We want P(man∣technical assistant). Since we're given the proportion of men and women, and what fraction of each group are technical assistants, the cleanest approach is to work with actual counts (out of a convenient total like 100) rather than abstract probabilities — it avoids fraction juggling.
Step-by-Step Solution
- Assume 100 employees: Men =70, Women =30.
- Technical assistants among men: 30% of 70=21.
- Technical assistants among women: 15% of 30=4.5.
- Total technical assistants =21+4.5=25.5.
- P(man∣TA)=25.521=255210=5142=1714. …
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.