Q.Of the students in a college, it is known that 60% reside in hostel and 40% are day scholars (not residing in hostel). Previous year results report that 30% of all students who reside in hostel attain A grade and 20% of day scholars attain A grade in their annual examination. At the end of the year, one student is chosen at random from the college and he has an A grade, what is the probability that the student is a hostlier?
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).
- If P(A∣B)=P(A), then knowing B tells you nothing about A — the events are independent. That is a special case, not the general rule.
Conditional probability is the foundation of the multiplication theorem, independence, and Bayes' theorem — every "given that" question in this chapter rests on it.
Conditional Probability opens the CBSE Class 12 Probability chapter and is foundational for everything that follows in that unit, including Bayes' theorem and the multiplication rule — making "conditional probability formula class 12 with examples" one of the most searched topics in Class 12 Mathematics. It is equally important for JEE Main and CUET, where conditional probability questions are set almost every year.
Concept: Conditional Probability — we need P(Hostel∣A grade), found using Bayes' theorem.
Step 1 — Define events and given probabilities
Let H = student is a hosteller, D = day scholar, A = attains A grade.
P(H)=0.6, P(D)=0.4, P(A∣H)=0.3, P(A∣D)=0.2.
Step 2 — Find total probability of A grade
P(A)=P(H)P(A∣H)+P(D)P(A∣D)=(0.6)(0.3)+(0.4)(0.2)=0.18+0.08=0.26.
Step 3 — Apply Bayes' theorem
P(H∣A)=P(A)P(H)P(A∣H)=0.260.18=2618=139.
The probability that the student is a hosteller is 139.
We use Bayes’ theorem to reverse the conditional probability: given that a student got an A grade, the chance they are a hosteller is 139.
Why Bayes’ theorem?
We are told two things about the college:
- 60% of students are hostellers, 40% are day scholars.
- Among hostellers, 30% get A grade; among day scholars, 20% get A grade.
But the question flips the direction: given that a randomly chosen student has an A grade, what is the probability they are a hosteller? That is a classic inverse probability problem — we know P(A∣Hostel) and want P(Hostel∣A).
Bayes’ theorem is the tool for exactly this: it lets us “reverse” the condition using the overall probabilities.
P(Hostel∣A)=P(A)P(A∣Hostel)⋅P(Hostel)
The denominator P(A) is the total probability of getting an A grade, which we find by the law of total probability — summing over the two groups.
Step-by-step solution
1. Define events clearly
Let H = student is a hosteller, D = student is a day scholar, and A = student gets A grade.
From the problem:
- P(H)=0.6, P(D)=0.4
- P(A∣H)=0.3, P(A∣D)=0.2
2. Find the total probability of A grade
A student can get an A either as a hosteller or as a day scholar. These are mutually exclusive and cover all students, so:
P(A)=P(A∣H)⋅P(H)+P(A∣D)⋅P(D)
Substitute:
P(A)=(0.3)(0.6)+(0.2)(0.4)=0.18+0.08=0.26
So 26% of all students get an A grade.
Think of it as a weighted average: the overall A-grade rate is the weighted mean of the two group rates, with weights equal to the group sizes.
3. Apply Bayes’ theorem
We want P(H∣A):
P(H∣A)=P(A)P(A∣H)⋅P(H)=0.260.3×0.6=0.260.18
Simplify the fraction:
0.260.18=2618=139
4. Interpret the result
Even though hostellers are a majority (60%), their A-grade rate (30%) is only moderately higher than day scholars’ (20%). So when we see an A-grade student, the chance they are a hosteller is 139≈0.6923, or about 69.2%.
A common mistake is to ignore the base rates and simply compare 30% vs 20%, concluding the answer is 60% or 3/5. But Bayes’ theorem shows the correct probability is higher than 60% because the hosteller group is larger — the “prior” matters.
The probability that the student is a hosteller is 139.
Method: Bayes' Theorem for a "reverse the direction" question
Use this when a problem hands you probabilities in one direction — group membership → outcome rate — but asks the opposite direction, outcome → which group.
Steps
Step 1: Split the population into its groups and record the priors.
Identify the exhaustive categories Hi (hosteller / day scholar) and their shares P(Hi).
Step 2: Record the conditional rate of the observed trait in each group.
Write P(E∣Hi) — the rate of the observed event (A grade) inside each group. These are the "forward" numbers the problem gives directly.
Step 3: Build the overall rate of the trait (law of total probability).
P(E)=∑iP(Hi)P(E∣Hi),
a weighted average of the group rates, weighted by group size.
Step 4: Invert with Bayes' theorem.
P(Hk∣E)=P(E)P(Hk)P(E∣Hk).
Because the larger group's prior sits in the numerator, the answer usually differs from a naive comparison of the raw group rates — the priors genuinely matter.
Common Mistakes
Mistake 1: Ignoring the base rates and comparing only the A-grade rates.
Why it's wrong: taking 0.3+0.20.3=0.6 throws away the 60%/40% group sizes. Correct approach: weight each rate by its group's prior before dividing — that is what Bayes' theorem does, giving 139.
Mistake 2: Leaving the day-scholar term out of P(A).
Why it's wrong: an A grade can come from either group, so the total must include both. Correct approach: P(A)=(0.6)(0.3)+(0.4)(0.2)=0.26.
Mistake 3: Inverting the wrong conditional.
Why it's wrong: P(H∣A) is asked, not P(A∣H)=0.3. Correct approach: keep the target direction "given A grade, find hosteller" and apply Bayes' theorem.
Showing the 12 most recent of 45 on this concept.
- KCET 2021Set A-11 markMCQQ.A car manufacturing factory has two plants X and Y. Plant X manufactures 70% of cars and plant Y manufactures 30% of cars. 80% of cars at plant X and 90% of cars at plant Y are rated as standard quality. A car is chosen at random and is found to be of standard quality. The probability that it has come from plant X is (A) 7356 (B) 8456 (C) 8356 (D) 7956
›Reveal solutionSolution
This is a reverse-probability question (effect → cause), so use Bayes' theorem with the total probability of a standard-quality car in the denominator.
Step 1 — Define the events.
- X: the car came from plant X — P(X)=0.70
- Y: the car came from plant Y — P(Y)=0.30
- S: the car is of standard quality
The conditional (likelihood) data given:
P(S∣X)=0.80,P(S∣Y)=0.90
Note X and Y are mutually exclusive and exhaustive (0.7+0.3=1), which is exactly what Bayes' theorem needs.
Step 2 — Why Bayes and not simple conditioning.
We are told the effect (the chosen car is standard) and asked for the probability of the cause (it came from X). That inversion — P(X∣S) from P(S∣X) — is precisely Bayes' theorem:
P(X∣S)=P(X)P(S∣X)+P(Y)P(S∣Y)P(X)P(S∣X)
Step 3 — Compute the numerator.
P(X)P(S∣X)=0.70×0.80=0.56
Step 4 — Compute the denominator (total probability of a standard car).
P(S)=0.70×0.80+0.30×0.90=0.56+0.27=0.83
Step 5 — Divide.
P(X∣S)=0.830.56=8356
Step 6 — Sanity check. The posterior 56/83≈0.675 is a little below the prior 0.70 — which makes sense, because plant Y has the higher standard-quality rate (90%>80%), so learning the car is standard shifts a little belief towards Y. ✓
(The distractors 73, 84, 79 are what you get by mis-adding 0.56+0.27; the denominator must be the total probability 0.83.)
✓Final answerThe correct option is (C) 8356.
ANSWER: C
- COMEDK 2025Set 2025-M1 markMCQQ.In an entrance test, there are multiple choice questions. There are four possible answers to each question of which only one is correct. The probability that a student knows the answer to a question is 90%. If he gets the correct answer to a question, then the probability that he was guessing is (A) 3736 (B) 91 (C) 371 (D) 4037
›Reveal solutionSolution
We use Bayes’ theorem to reverse the conditional probability: given that the student answered correctly, we want the probability that he was guessing. The answer is 371, so the correct option is (C).
Concept and intuition
This is a classic Bayes’ theorem problem. We have two ways a student can get a correct answer: either he knows the answer (and thus answers correctly for sure), or he guesses (and has a 1 in 4 chance of being correct). We are told the prior probability that he knows the answer is 90%. The question asks: given that he got it right, what’s the chance he was actually guessing? Bayes’ theorem lets us “flip” the conditional probability, using the known likelihoods.
Step-by-step reasoning
- Define events clearly Let K = “student knows the answer”, and G = “student guesses” (so G is the complement of K). Let C = “student gives the correct answer”. We are given:
P(K)=0.9,P(G)=0.1.
-
Conditional probabilities for answering correctly
- If the student knows the answer, he is certain to be correct: P(C∣K)=1.
- If he guesses, he picks randomly among 4 options, so P(C∣G)=41.
-
Find the total probability of a correct answer
By the law of total probability:
P(C)=P(C∣K)P(K)+P(C∣G)P(G)=(1)(0.9)+(41)(0.1)=0.9+0.025=0.925.
- Apply Bayes’ theorem We want P(G∣C), the probability that he was guessing given that he answered correctly:
P(G∣C)=P(C)P(C∣G)P(G)=0.925(0.25)(0.1)=0.9250.025.
- Simplify the fraction
0.9250.025=92525=371.
TipNotice that the 90% “knows” probability is huge, so a correct answer is overwhelmingly likely to come from knowledge — hence the probability of guessing given a correct answer is very small (1/37). Many students mistakenly pick 91 because they forget to account for the 1-in-4 chance of guessing correctly.
Watch outA common error is to compute P(G∣C)=P(C)P(G) or to ignore the factor P(C∣G). Always include the likelihood of the evidence under each hypothesis.
✓Final answerThe correct option is (C).
ANSWER: C
- COMEDK 2021Set 2021-B1 markMCQQ.At a certain university 4% of male students are over 6 feet tall and 1% of female students are over 6 feet tall. The total student population is divided in the ratio 3 : 2, in favor of female students. If a student is selected at random from amongst all those over 6 feet tall, what is the probability that the student is a female? (A) 1/3 (B) 2/5 (C) 3/11 (D) 3/5
›Reveal solutionSolution
Bayes' theorem gives P(female∣>6ft)=0.0220.006=113.
Population split 3:2 in favour of females ⇒ P(F)=53=0.6, P(M)=52=0.4.
Tall fractions: P(T∣F)=0.01, P(T∣M)=0.04.
By Bayes' theorem:
P(F∣T)=P(T∣F)P(F)+P(T∣M)P(M)P(T∣F)P(F)=0.01×0.6+0.04×0.40.01×0.6.
=0.006+0.0160.006=0.0220.006=226=113.
✓Final answerThe correct option is (C) — 3/11
- COMEDK 2026Set 2026-M1 markMCQQ.Advika chooses one of three scarves every morning: Red, Blue, or Green. The probability she chooses Red is 20%. The probability she chooses Blue is twice the probability of choosing Red. On the remaining days she wears a Green scarf. Once a scarf is chosen, she decides whether to wear a Hat (H) and Sunglasses (S). These choices are independent of each other but depend on the scarf colour: Scarf colour Red Blue Green P(H)0.50.40.1P(S)0.80.50.5 Advika is spotted outdoors wearing both a Hat and Sunglasses. What is the probability that she is wearing the Red scarf? (A) 31313 (B) 218 (C) 94 (D) 138
›Reveal solutionSolution
Bayes' theorem on scarf colour given that both a hat and sunglasses are worn. Priors P(R)=0.2, P(B)=0.4, P(G)=0.4; likelihoods P(H∩S∣colour)=P(H)P(S). The posterior P(R∣H∩S)=94 — option (C).
Concept. Hat and sunglasses are independent given the scarf, so P(H∩S∣colour)=P(H∣colour)⋅P(S∣colour). Bayes' theorem then reverses the conditioning to give the probability of the scarf colour from the observed accessories.
Step 1 — Priors.
P(R)=20%=0.2,P(B)=2P(R)=0.4,P(G)=1−0.2−0.4=0.4.
Step 2 — Likelihood of wearing both accessories for each colour.
P(H∩S∣R)=0.5×0.8=0.40,
P(H∩S∣B)=0.4×0.5=0.20,
P(H∩S∣G)=0.1×0.5=0.05.
Step 3 — Total probability of both accessories (denominator).
P(H∩S)=(0.2)(0.40)+(0.4)(0.20)+(0.4)(0.05)=0.08+0.08+0.02=0.18.
Step 4 — Posterior for Red.
P(R∣H∩S)=P(H∩S)P(R)P(H∩S∣R)=0.180.08=188=94.
✓Final answerP(Red∣H∩S)=94 — option (C).
ANSWER: C
- COMEDK 2026Set 2026-A1 markMCQQ.Vishnu has two jars of marbles, Jar A and Jar B. Jar A contains 3 yellow marbles and 2 green marbles. Jar B contains 4 yellow marbles and 3 green marbles. Vishnu flips a fair coin. If it lands heads, he picks two marbles at random without replacement from Jar A. If it lands tails, he picks two marbles at random with replacement from Jar B. Given that Vishnu picked one yellow and one green marble, what is the probability that they came from Jar B? (A) 4121 (B) 8949 (C) 8940 (D) 4120
›Reveal solutionSolution
P(E∣A)=53 (without replacement), P(E∣B)=4924 (with replacement); Bayes gives P(B∣E)=8940 — option (C).
Likelihoods of drawing one yellow and one green (E).
Jar A (3 yellow, 2 green; two draws without replacement):
P(E∣A)=(25)(13)(12)=106=53.
Jar B (4 yellow, 3 green; two draws with replacement):
P(E∣B)=2⋅74⋅73=4924.
Bayes' theorem with P(A)=P(B)=21 (the 21 cancels):
P(B∣E)=P(E∣A)+P(E∣B)P(E∣B)=53+49244924.
Combine the denominator over 245:
53+4924=245147+120=245267.
P(B∣E)=4924⋅267245=26724⋅5=267120=8940.
✓Final answerP(B∣E)=8940, which is option (C).
- COMEDK 2023Set 2023-E1 markMCQQ.Bag A contains 3 white and 2 red balls. Bag B contains only 1 white ball. A fair coin is tossed. If head appears then 1 ball is drawn at random from bag A and put into bag B. However if tail appears then 2 balls are drawn at random from bag A and put into bag B. Now one ball is drawn at random from bag B. Given that the drawn ball from B is white, the probability that head appeared on the coin is (A) 3023 (B) 2312 (C) 2311 (D) 3019
›Reveal solutionSolution
Computing P(white drawn∣H)=54 and P(white∣T)=1511, Bayes' theorem gives P(H∣white)=2312.
Head (transfer 1 ball from A(3W,2R) to B(1W), then draw from B's 2 balls):
P(white)=53(1)+52(21)=53+51=54.
Tail (transfer 2 balls from A to B(1W), then draw from B's 3 balls):
P(WW)=103⇒P(white)=1,P(WR)=106⇒32,P(RR)=101⇒31.
P(white∣T)=103+106⋅32+101⋅31=103+104+301=3022=1511.
With P(H)=P(T)=21:
P(H∣white)=21⋅54+21⋅151121⋅54=54+151154=15231512=2312.
✓Final answerThe correct option is (B) — 2312
- KCET 2025Set A-11 markMCQQ.Meera visits only one of the two temples A and B in her locality. Probability that she visits temple A is 52. If she visits temple A, 31 is the probability that she meets her friend, whereas it is 72 if she visits temple B. Meera met her friend at one of the two temples. The probability that she met her at temple B is (A) 167 (B) 165 (C) 163 (D) 169
›Reveal solutionSolution
The friend has already been met (the effect); we want the probability of the cause (temple B) — that reversal of conditioning is exactly Bayes' theorem.
Step 1 — Name the events.
Let A = "Meera visits temple A", B = "Meera visits temple B", F = "she meets her friend".
She visits only one of the two temples, so A and B are mutually exclusive and exhaustive:
P(A)=52⟹P(B)=1−52=53.
Given: P(F∣A)=31, P(F∣B)=72.
Step 2 — Why Bayes.
We are told the outcome (F happened) and asked for the probability of a cause (B). Bayes' theorem inverts the conditioning:
P(B∣F)=P(A)P(F∣A)+P(B)P(F∣B)P(B)P(F∣B).
The denominator is P(F) by the law of total probability — the friend can be met on either branch.
Step 3 — Compute the two branch probabilities.
P(A∩F)=52×31=152,P(B∩F)=53×72=356.
Step 4 — Total probability of meeting the friend.
LCM of 15 and 35 is 105:
152=10514,356=10518,
P(F)=10514+10518=10532.
Step 5 — Apply Bayes.
P(B∣F)=32/10518/105=3218=169.
(Check: P(A∣F)=3214=167, and 169+167=1 ✓. Note option (A) 167 is the trap — it is the probability for temple A.)
✓Final answerThe correct option is (D) — 169.
ANSWER: D
- KCET 2020Set A-11 markMCQQ.If A and B are two events such that P(A)=31, P(B)=21 and P(A∩B)=61, then P(A′/B) is (A) 32 (B) 31 (C) 21 (D) 121
›Reveal solutionSolution
Use P(A′∣B)=1−P(A∣B) (equivalently P(B)P(B)−P(A∩B)), which gives 32.
Step 1 — The definition of conditional probability.
For P(B)>0,
P(A′∣B)=P(B)P(A′∩B)
Conditioning on B means we restrict the sample space to B and ask what fraction of B lies outside A.
Step 2 — Split B into the part inside A and the part outside A.
The events A∩B and A′∩B are disjoint and their union is exactly B:
P(B)=P(A∩B)+P(A′∩B)
⇒P(A′∩B)=P(B)−P(A∩B)=21−61=63−1=62=31
Step 3 — Divide by P(B).
P(A′∣B)=P(B)P(A′∩B)=2131=31×12=32
Step 4 — Cross-check with the complement rule.
First find P(A∣B)=P(B)P(A∩B)=1/21/6=31. Since A and A′ partition the space, P(A∣B)+P(A′∣B)=1, so
P(A′∣B)=1−31=32
Both routes agree. (Note P(A)=31 was not even needed — a useful reminder that a conditional probability given B depends only on how B is split.)
✓Final answerThe correct option is (A) — 32.
ANSWER: A
- COMEDK 2024Set 2024-M1 markMCQQ.An urn contains 2 white and 2 black balls. A ball is drawn at random. If it is white it is not replaced into the urn. Otherwise it is replaced along with another ball of the same colour. The process is repeated. The probability that the third ball drawn is black is (A) 3017 (B) 6037 (C) 6031 (D) 3023
›Reveal solutionSolution
Conditioning on the first two draws (white -> not replaced; black -> replaced plus one extra black) and using total probability gives P(3rd black)=3023 — option (D).
Rules. Start with 2 white, 2 black (total 4). Drawing white removes it (whites −1, total −1). Drawing black puts it back and adds one more black (blacks +1, total +1).
First two draws and the composition just before the 3rd draw
- WW: 42⋅31=61; urn becomes W0, B2 (total 2) ⇒P(black)=1.
- WB: 42⋅32=31; urn becomes W1, B3 (total 4) ⇒P(black)=43.
- BW: 42⋅52=51; urn becomes W1, B3 (total 4) ⇒P(black)=43.
- BB: 42⋅53=103; urn becomes W2, B4 (total 6) ⇒P(black)=32.
(The four path probabilities sum to 61+31+51+103=1.)
Total probability
P(3rd black)=61(1)+31⋅43+51⋅43+103⋅32
=6010+6015+609+6012=6046=3023
✓Final answerP(third ball is black)=3023 — option (D).
ANSWER: D
- COMEDK 2024Set 2024-A1 markMCQQ.P and Q are considering to apply for a job. The probability that P applies for the job is 41. The probability that P applies for the job given that Q applies for the job is 21, and the probability that Q applies for the job given that P applies for the job is 31. Then the probability that P does not apply for the job given that Q does not apply for the job is (A) 54 (B) 87 (C) 65 (D) 1211
›Reveal solutionSolution
We are given conditional probabilities and need to find P(P∣Q). Using the definitions of conditional probability and the law of total probability, we compute P(Q) and P(Q), then apply Bayes' theorem to get 54, which corresponds to option (A).
Concept and intuition:
This is a classic problem of working backwards from conditional probabilities to find a joint probability table. We know P(P), P(P∣Q), and P(Q∣P). From these, we can find P(P∩Q) in two ways, which lets us solve for P(Q). Then we can compute the desired conditional probability P(P∣Q) using the complement rule and the definition of conditional probability.
Step-by-step solution:
- Write down what is given. Let P = event that P applies, Q = event that Q applies. We have:
P(P)=41,P(P∣Q)=21,P(Q∣P)=31.
- Use the definition of conditional probability to express P(P∩Q) in two ways. From P(P∣Q)=P(Q)P(P∩Q), we get
P(P∩Q)=P(P∣Q)⋅P(Q)=21P(Q).
From P(Q∣P)=P(P)P(P∩Q), we get
P(P∩Q)=P(Q∣P)⋅P(P)=31⋅41=121.
- Equate the two expressions for P(P∩Q) to find P(Q).
21P(Q)=121⇒P(Q)=61.
- Find P(Q) and P(P∩Q).
P(Q)=1−P(Q)=1−61=65.
Also, P(P∩Q)=P(P)−P(P∩Q)=41−121=123−121=122=61.
- Find P(P∩Q). Since P∩Q is the complement of P∪Q, we can use:
P(P∩Q)=1−P(P∪Q).
First, P(P∪Q)=P(P)+P(Q)−P(P∩Q)=41+61−121.
Common denominator 12: 123+122−121=124=31.
So P(P∩Q)=1−31=32.
- Compute the desired conditional probability.
P(P∣Q)=P(Q)P(P∩Q)=6532=32⋅56=1512=54.
Watch outA common mistake is to assume P(P∣Q) and P(Q∣P) are reciprocals or that P(P∩Q) can be found by multiplying P(P) and P(Q) directly — that only works for independent events, which is not the case here.
TipYou can also solve this by constructing a 2×2 probability table. From P(P)=41 and P(P∩Q)=121, fill in the rest systematically. The final answer is the same.
✓Final answerThe correct option is (A).
ANSWER: A
- COMEDK 2021Set 20211 markMCQQ.A student answers a multiple choice question with 5 alternatives, of which exactly one is correct. The probability that he knows the correct answer is p,0<p<1. If he knows the answer, he answers it correctly; if he does not know the answer, he guesses it, and the probability that he guesses correctly is 51. Given that he has answered the question correctly, the probability that he knew the correct answer is (A) 4p+33p (B) 3p+25p (C) 4p+15p (D) 3p+14p
›Reveal solutionSolution
By Bayes: P(K | correct) = P(K) P(correct | K) / P(correct) = p / [ (4p + 1)/5 ] = 5p/(4p + 1).
Concept: Bayes' theorem. (The stem is truncated, but this is the standard question: given that he answered correctly, find the probability that he actually knew the answer.)
Let K = he knows the answer, P(K) = p, so P(not K) = 1 - p.
If he knows it, he is certainly correct: P(correct | K) = 1.
If he does not know it, he guesses among 5 alternatives: P(correct | not K) = 1/5.
P(correct) = p1 + (1 - p)(1/5) = p + (1 - p)/5 = (5p + 1 - p)/5 = (4p + 1)/5.
By Bayes:
P(K | correct) = P(K) P(correct | K) / P(correct) = p / [ (4p + 1)/5 ] = 5p/(4p + 1).
✓Final answerThe correct option is (C) — 4p+15p
ANSWER: C
- COMEDK 2025Set 2025-A1 markMCQQ.Three bags contain a number of red and white balls are as follows. Bag I: 3 red balls Bag II: 2 red balls and 1 white ball Bag III: 3 White balls The probability that bag i will be chosen and a ball is selected from it is 6i,i=1,2,3. If a white ball is selected, what is the probablity that it came from Bag III (A) 119 (B) 112 (C) 0 (D) 111
›Reveal solutionSolution
This is a classic Bayes’ theorem problem: we are given prior probabilities for choosing each bag and the conditional probabilities of drawing a white ball from each bag; after observing a white ball, we want the posterior probability that it came from Bag III. The answer is 119.
We start by noting that the problem gives us three bags with different compositions, and a rule for choosing a bag: the probability of picking bag i is 6i. Then, from that bag, we pick a ball uniformly at random. We are told that a white ball was selected, and we need the probability that it came from Bag III. This is a textbook case for Bayes’ theorem, which lets us “reverse” conditional probabilities: we know P(white∣bag i), and we want P(bag i∣white).
Let’s work through it step by step.
- Define events and write down given probabilities. Let Bi be the event that bag i is chosen (i=1,2,3). We are told:
P(B1)=61,P(B2)=62,P(B3)=63.
Let W be the event that a white ball is drawn.
From the bag compositions:
- Bag I: 3 red, 0 white → P(W∣B1)=0.
- Bag II: 2 red, 1 white → P(W∣B2)=31.
- Bag III: 0 red, 3 white → P(W∣B3)=1.
- Compute the total probability of drawing a white ball. By the law of total probability:
P(W)=P(B1)P(W∣B1)+P(B2)P(W∣B2)+P(B3)P(W∣B3).
Substitute:
P(W)=61⋅0+62⋅31+63⋅1=0+182+63=91+21.
Get a common denominator (18):
P(W)=182+189=1811.
- Apply Bayes’ theorem to find P(B3∣W). Bayes’ theorem says:
P(B3∣W)=P(W)P(B3)P(W∣B3).
Plug in the numbers:
P(B3∣W)=181163⋅1=181121=21⋅1118=119.
TipNotice that Bag I contributes zero probability of a white ball, so it can be ignored entirely in the numerator — it only affects the denominator by adding zero. This often simplifies Bayes’ calculations: only bags that can produce the observed outcome matter.
Watch outA common mistake is to forget that the prior probabilities 6i are not equal — they favor higher-numbered bags. If you mistakenly treated all bags as equally likely, you would get 21 instead of 119.
Thus, given that a white ball was drawn, the probability it came from Bag III is 119.
✓Final answerThe correct option is (A).
ANSWER: A
🎓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.