Q.A bag contains 4 red and 4 black balls, another bag contains 2 red and 6 black balls. One of the two bags is selected at random and a ball is drawn from the bag which is found to be red. Find the probability that the ball is drawn from the first bag.
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 (Bayes' Theorem)
Let E1 = choosing first bag, E2 = choosing second bag, and A = drawing a red ball.
Step 1: Prior probabilities are equal:
P(E1)=P(E2)=21
Step 2: Probability of drawing a red ball from each bag:
P(A∣E1)=84=21
P(A∣E2)=82=41
Step 3: By Bayes' Theorem:
P(E1∣A)=P(E1)⋅P(A∣E1)+P(E2)⋅P(A∣E2)P(E1)⋅P(A∣E1)
=21⋅21+21⋅4121⋅21=41+8141=8341=41×38=32
The probability that the red ball came from the first bag is 32.
Using Bayes’ theorem, the probability that the red ball came from the first bag is 32.
We have two bags, each with a different mix of red and black balls. A bag is chosen at random, then a ball is drawn and turns out to be red. The question asks: given that we saw a red ball, what is the chance it came from the first bag?
This is a classic case of inverse probability — we know the outcome (red ball) and want to trace back to which bag it likely came from. The tool for this is Bayes’ theorem, which flips conditional probabilities using the law of total probability.
Let’s define the events clearly:
- B1: first bag is chosen
- B2: second bag is chosen
- R: a red ball is drawn
We are asked for P(B1∣R).
- Prior probabilities Since the bag is chosen at random, each bag is equally likely:
P(B1)=21,P(B2)=21
-
Likelihoods — probability of drawing a red from each bag
- First bag: 4 red out of 8 total balls → P(R∣B1)=84=21
- Second bag: 2 red out of 8 total balls → P(R∣B2)=82=41
-
Total probability of drawing a red ball
By the law of total probability:
P(R)=P(B1)⋅P(R∣B1)+P(B2)⋅P(R∣B2)
P(R)=21⋅21+21⋅41=41+81=83
- Apply Bayes’ theorem
P(B1∣R)=P(R)P(B1)⋅P(R∣B1)=8321⋅21=8341=41×38=32
A common mistake is to forget that the denominator must be the total probability of the observed event (red ball), not just the probability from one bag. Always compute P(R) using both bags.
Notice that the first bag has a higher proportion of red balls (1/2 vs 1/4), so seeing a red ball makes it more likely we picked the first bag — and indeed the posterior probability (2/3) is greater than the prior (1/2).
The probability that the red ball came from the first bag is 32.
Method: Bayes' Theorem — reversing a conditional probability
Reach for Bayes' theorem whenever you are told an outcome (a red ball, a positive test, a defect) and asked which underlying cause or category produced it — the "given the effect, find the cause" pattern.
Steps
Step 1: Name the competing causes (a partition) and their priors.
List the mutually exclusive, exhaustive hypotheses H1,H2,… — which bag/box/machine was chosen — with prior probabilities P(Hi) (equal, if the choice is "at random").
Step 2: Write the likelihood of the observed evidence under each cause.
For each hypothesis find P(E∣Hi): the chance of the observed evidence E if that cause were true (e.g. the fraction of red balls in that bag).
Step 3: Get the total probability of the evidence.
P(E)=∑iP(Hi)P(E∣Hi).
Step 4: Apply Bayes' theorem for the cause you want.
P(Hk∣E)=P(E)P(Hk)P(E∣Hk).
The numerator is just one branch of the denominator's sum — so the posteriors across all causes always add to 1, a handy self-check.
Common Mistakes
Mistake 1: Answering P(red∣bag 1) instead of P(bag 1∣red).
Why it's wrong: the question asks the reverse conditional — which bag, given a red ball. Correct approach: invert with Bayes' theorem, P(B1∣R)=P(R)P(B1)P(R∣B1).
Mistake 2: Forgetting the second bag in the denominator.
Why it's wrong: P(R) must count red draws from both bags, not just bag 1. Correct approach: P(R)=21⋅21+21⋅41=83.
Mistake 3: Miscounting a bag's total.
Why it's wrong: each bag holds 8 balls, so P(R∣B1)=84=21 and P(R∣B2)=82=41; using 4 or 6 as the total corrupts every later step.
Showing the 12 most recent of 45 on this concept.
- 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
- COMEDK 2024Set 2024-E1 markMCQQ.Suppose we have three cards identical in form except that both sides of the first card are coloured red, both sides of the second are coloured black, and one side of the third card is coloured red and the other side is coloured black. The three cards are mixed and a card is picked randomly. If the upper side of the chosen card is coloured red, what is the probability that the other side is coloured black. (A) 61 (B) 21 (C) 0 (D) 31
›Reveal solutionSolution
This is a classic conditional probability problem (often called the "three cards" or "Bertrand's box" variant). The key is that seeing a red side updates the probability space to only the red sides, and among those, only one belongs to the mixed card. The answer is 1/3.
We are asked: given that the visible side is red, what is the probability that the other side is black? This is not simply "one of the two remaining cards has a black other side" because the cards are not equally likely once we condition on the observation.
Concept and Intuition
The pitfall is to think: "We see red, so the card is either the all-red or the mixed card. That's two possibilities, so the chance is 1/2." But this ignores that the all-red card has two red sides, while the mixed card has only one red side. When we pick a card at random and then look at a random side, each of the six sides is equally likely to be the one we see. Seeing red eliminates the three black sides, leaving only the three red sides. Among those three red sides, two belong to the all-red card and only one belongs to the mixed card. So the probability that the other side is black is 1/3.
Step-by-step reasoning
-
Label the sides.
Let the cards be:
- Card A: both sides red (sides R1,R2)
- Card B: both sides black (sides B1,B2)
- Card C: one red, one black (sides R3,B3)
-
Count equally likely outcomes.
When we pick a card uniformly at random and then look at a random side, there are 3×2=6 equally likely side-views. Each of the six sides has probability 1/6 of being the one we see.
-
Condition on seeing a red side.
The red sides are: R1,R2 (from card A) and R3 (from card C). That's 3 red sides. So the conditional space has 3 equally likely possibilities.
-
Identify which of these have the other side black.
Only the red side R3 (from card C) has a black other side. The other two red sides (R1,R2) have red on the other side.
-
Compute the conditional probability.
P(other side black∣top side red)=total number of red sidesnumber of favorable red sides=31.
Watch outThe common mistake is to forget that the all-red card contributes two red sides to the sample space, making it twice as likely as the mixed card once we condition on seeing red.
TipA neat way to think: "Probability = (number of red sides with black opposite) / (total number of red sides)." This avoids the card-counting trap entirely.
✓Final answerThe correct option is (D).
ANSWER: D
-
- 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
- COMEDK 2021Set 2021-B1 markMCQQ.An urn contains 5 red and 5 black coloured balls. A ball is picked at random, its colour noted and then is put back into the urn. Now, additional two balls of the same colour are put into the urn and then a ball is drawn at random. What is the probability that the ball now chosen is red. (A) 7/24 (B) 1/2 (C) 5/8 (D) 2/3
›Reveal solutionSolution
By symmetry the second-draw red probability averages to 21.
Start: 5 red, 5 black (10 total). First ball is drawn, replaced, then 2 more of the same colour are added, so the urn always has 12 balls before the second draw.
- First ball red (P=105=21): urn now 7R, 5B ⇒ P(red)=127.
- First ball black (P=21): urn now 5R, 7B ⇒ P(red)=125.
Total probability:
21⋅127+21⋅125=247+5=2412=21.
✓Final answerThe correct option is (B) — 1/2
- COMEDK 2025Set 2025-E1 markMCQQ.A pot contains 5 red and 2 green balls. A ball is drawn at random from this pot. If a drawn ball is green, then a red ball is added to the pot. If a drawn ball is red, then a green ball is added to the pot, while the original ball drawn is not replaced in the pot. Now a second ball is drawn at random from the pot, what is the probability that the second ball drawn is a red ball? (A) 4912 (B) 4932 (C) 73 (D) 4927
›Reveal solutionSolution
Condition on the first draw: P(2nd red)=72⋅76+75⋅74=4932.
Start: 5 red, 2 green, total 7. The first ball is not replaced, and a ball of the other colour is added.
Case 1 — first ball is green. P=72.
Remove that green (5R,1G), then add a red ⇒6R,1G (total 7).
P(2nd red∣green first)=76
Case 2 — first ball is red. P=75.
Remove that red (4R,2G), then add a green ⇒4R,3G (total 7).
P(2nd red∣red first)=74
Total probability:
P(2nd red)=72⋅76+75⋅74=4912+4920=4932
✓Final answerP(second ball red)=4932 — option (B).
- 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 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 2025Set 2025-E1 markMCQQ.Two numbers are selected at random from integers 1 to 9 . If their sum is even, what is the probability that both the numbers are odd? (A) 94 (B) 85 (C) 61 (D) 32
›Reveal solutionSolution
This is a conditional probability problem: given that the sum of two numbers from 1–9 is even, we want the probability both are odd. The answer is 5/8, option (B).
We are selecting two numbers from 1 to 9 without replacement (since "selected at random" from distinct integers usually implies no repetition). The sum is even only if both numbers are odd or both are even. So the condition restricts us to those pairs. The question asks: among those pairs with an even sum, what fraction consists of two odd numbers?
1. Count total possible pairs (without replacement)
From 1 to 9, there are 9 numbers. The number of ways to choose any two distinct numbers is
(29)=36.
2. Count pairs with an even sum
A sum is even when both numbers have the same parity.
-
Odd numbers from 1 to 9: 1, 3, 5, 7, 9 → 5 odds.
Number of odd–odd pairs: (25)=10.
-
Even numbers from 1 to 9: 2, 4, 6, 8 → 4 evens.
Number of even–even pairs: (24)=6.
So total pairs with an even sum:
10+6=16.
3. Apply conditional probability
We want
P(both odd∣sum even)=Number of even-sum pairsNumber of odd–odd pairs=1610=85.
TipA common mistake is to treat this as an unconditional probability and compute 3610, which gives 185 — not even among the options. The condition "given sum is even" changes the denominator from 36 to 16.
Watch outAnother pitfall: forgetting that selection is without replacement. If replacement were allowed, the counts would differ, but here the problem implies distinct integers.
✓Final answerThe correct option is (B).
ANSWER: B
-
- 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
- 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
- COMEDK 2025Set 2025-A1 markMCQQ.A bag contains (n+1) coins. It is known that one of these coins has a head on both sides, whereas the other coins are fair. One of these coins is selected at random and tossed. If the probability that the toss results in heads is 127, then the value of n is : (A) 5 (B) 3 (C) 2 (D) 4
›Reveal solutionSolution
The key idea is to treat the coin selection as a two‑case partition (two‑headed coin vs. fair coins) and apply the law of total probability. Solving the resulting equation gives n=5, so the correct option is (A).
Concept and intuition
We have a mixed bag: one trick coin that always lands heads, and n fair coins that land heads with probability 21. When we pick a coin at random and toss it, the overall chance of heads is a weighted average of the two cases. The weight for the trick coin is n+11 (since there are n+1 coins total), and for any fair coin it’s n+1n. The problem gives that overall probability as 127, so we set up an equation and solve for n.
Step‑by‑step solution
- Define the events Let T be the event that the two‑headed coin is selected, and F the event that a fair coin is selected. Since selection is random,
P(T)=n+11,P(F)=n+1n.
- Conditional probabilities for heads If the trick coin is chosen, heads is certain:
P(heads∣T)=1.
If a fair coin is chosen, the chance of heads is 21:
P(heads∣F)=21.
- Apply the law of total probability The overall probability of heads is
P(heads)=P(T)⋅P(heads∣T)+P(F)⋅P(heads∣F).
Substituting the values:
P(heads)=n+11⋅1+n+1n⋅21.
- Simplify the expression
P(heads)=n+11+2(n+1)n=2(n+1)2+n.
- Set equal to the given probability The problem states this equals 127:
2(n+1)2+n=127.
- Solve for n Cross‑multiply:
12(2+n)=7⋅2(n+1)⇒24+12n=14n+14.
Bring terms together:
24−14=14n−12n⇒10=2n.
Hence
n=5.
TipA quick sanity check: with n=5, there are 6 coins total. The trick coin contributes 61 to the overall heads probability, and the five fair coins contribute 65⋅21=125. Sum: 61+125=122+125=127. Perfect.
Watch outA common mistake is forgetting that the denominator is n+1, not n. Always count all coins, including the trick coin.
✓Final answerThe correct option is (A).
ANSWER: A
- 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
🎓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.