Q.Suppose we have four boxes A,B,C and D containing coloured marbles as given below: BoxABCDMarble colourRed1680White6216Black3214 One of the boxes has been selected at random and a single marble is drawn from it. If the marble is red, what is the probability that it was drawn from box A?, box B?, box C?
🔒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 — we need P(Box∣Red), found using Bayes' theorem.
Step 1: Prior probabilities. Each box is equally likely:
P(A)=P(B)=P(C)=P(D)=41.
Step 2: Likelihoods (probability of drawing a red marble from each box).
Total marbles per box: A has 1+6+3=10, B has 6+2+2=10, C has 8+1+1=10, D has 0+6+4=10.
P(Red∣A)=101,P(Red∣B)=106,P(Red∣C)=108,P(Red∣D)=0.
Step 3: Total probability of drawing a red marble.
P(Red)=41(101+106+108+0)=41⋅1015=4015=83.
Step 4: Apply Bayes' theorem.
P(A∣Red)=P(Red)P(Red∣A)P(A)=83101⋅41=3/81/40=401⋅38=1208=151. …
We use Bayes’ theorem to reverse the conditional probability: given that the drawn marble is red, we find the probability it came from each box. The answer for box A is 151, for box B is 52, and for box C is 158.
The problem gives us four boxes with different compositions of red, white, and black marbles. One box is chosen at random, then one marble is drawn from it. We are told the marble is red, and we need the probability that it came from each specific box.
This is a classic case of inverse probability — we know the probability of drawing a red marble given a particular box, but we want the probability of that box given that the marble is red. The tool for this is Bayes’ theorem, which is built on conditional probability.
Why Bayes’ theorem works here:
We start with the prior probability of each box being chosen (all equal, since selection is random). Then we update that probability using the likelihood of observing a red marble from that box. The denominator normalises by the total probability of getting a red marble from any box.
Let’s go step by step.
1. Define the events and priors
Let R be the event that the drawn marble is red.
Let A, B, C, D be the events that the chosen box is A, B, C, D respectively.
Since one box is selected at random from four, each has equal prior probability:
P(A)=P(B)=P(C)=P(D)=41.
2. Find the probability of drawing a red marble from each box
From the table:
- Box A: 1 red out of 1+6+3=10 marbles → P(R∣A)=101
- Box B: 6 red out of 6+2+2=10 marbles → P(R∣B)=106=53
- Box C: 8 red out of 8+1+1=10 marbles → P(R∣C)=108=54
- Box D: 0 red out of 0+6+4=10 marbles → P(R∣D)=0
A common mistake is to forget that Box D has no red marbles at all. Since P(R∣D)=0, it contributes nothing to the numerator in Bayes’ theorem — so the posterior probability for Box D is automatically zero. Many students waste time calculating it, but it’s immediate.
3. Compute the total probability of drawing a red marble
Using the law of total probability:
P(R)=P(A)P(R∣A)+P(B)P(R∣B)+P(C)P(R∣C)+P(D)P(R∣D)
Substitute:
P(R)=41⋅101+41⋅53+41⋅54+41⋅0
Convert to a common denominator (20 works nicely):
- 41⋅101=401
- 41⋅53=203=406
- 41⋅54=204=408
So:
P(R)=401+406+408=4015=83
4. Apply Bayes’ theorem for each box
Bayes’ theorem says:
P(Box∣R)=P(R)P(Box)⋅P(R∣Box) …
Method: Bayes' Theorem across several boxes (watch the empty branch)
Use this when one of several containers is chosen at random, an item is drawn, and you must find the posterior probability for each container.
Steps
Step 1: Assign equal priors to the containers.
P(Hi)=n1 when the box is chosen at random.
Step 2: Compute each container's likelihood of the observed colour.
P(E∣Hi)=total items in box ifavourable items in box i. A box with none of the drawn colour has likelihood 0 — dismiss it immediately, its posterior is 0.
Step 3: Total probability of the evidence. …
Common Mistakes
Mistake 1: Spending effort on Box D instead of seeing P(R∣D)=0.
Why it's wrong: Box D has no red marbles, so its posterior is immediately 0. Correct approach: drop D from the numerator work once you note zero red.
Mistake 2: Forgetting to normalise by P(R).
Why it's wrong: the joint probabilities P(box∩R) are not the posteriors until divided by the total P(R)=83. Correct approach: divide each box's joint by 83.
Mistake 3: Misreading a box's red count or total. …
Showing the 12 most recent of 69 on this concept.
- AP EAPCET 2023Set eng-2023-05-17-AN1 markMCQQ.Three boxes B1, B2 and B3 contain balls with different colors as follows:A die is thrown. Box B1 is chosen if either 1 or 2 turns up. Box B2 is chosen if 3 or 4 turns up and box B3 is chosen if 5 or 6 turns up. Having chosen a box in this way, a ball is drawn at random from that box. If the ball drawn is found to be Red, then the probability that it is drawn from box B2 is (A) 127 (B) 125 (C) 121 (D) 263
White Black Red B1 2 1 2 B2 3 2 4 B3 4 3 2 ›Reveal solutionSolution
A Bayes'-theorem problem: reverse the conditional probability "ball is Red, which box?" using the total-probability formula.
Concept and Intuition
Bayes' theorem lets us "invert" a conditional probability. We know P(Red∣Bi) for each box and the prior P(Bi) (each 1/3 since the die is fair and each box corresponds to two faces); we want the posterior P(B2∣Red).
Step-by-Step Solution
- Totals in each box: B1: 2+1+2=5; B2: 3+2+4=9; B3: 4+3+2=9.
- P(Red∣B1)=52, P(Red∣B2)=94, P(Red∣B3)=92.
- Each box has prior probability 31 (each box corresponds to two die faces out of six).
- Total probability: P(Red)=31(52+94+92)=31(52+32)=31⋅1516=4516. …
- AP EAPCET 2025Set eng-2025-05-23-AN1 markMCQQ.A bag contains 5 balls of unknown colours. There are equal chances that out of these five balls, there may be 0 or 1 or 2 or 3 or 4 or 5 red balls. A ball is taken out from the bag at random and is found to be red. The probability that it is the only red ball in the bag is (A) 51 (B) 61 (C) 151 (D) 301
›Reveal solutionSolution
This is a Bayes'-theorem problem over the six equally likely compositions of red balls; the posterior probability that exactly one ball is red, given a red ball was drawn, is 1/15.
Concept and Intuition
Bayes' theorem updates the prior (uniform belief over how many red balls there are) using the evidence (a red ball was drawn) — compositions with more red balls make drawing red more likely, so they get more posterior weight, but we want specifically the R=1 case.
Step-by-Step Solution
- Prior: P(R=r)=61 for r=0,1,2,3,4,5.
- Likelihood of drawing red given R=r red balls among 5: P(red∣R=r)=5r.
- Total probability of drawing red: P(red)=∑r=0561⋅5r=301(0+1+2+3+4+5)=3015=21. …
- AP EAPCET 2026Set eng-2026-05-13-FN1 markMCQQ.Bag A contains 3 white and 4 black balls. Bag B contains 4 white and 3 black balls. Bag C contains 2 white and 5 black balls. A bag is randomly selected and then a ball is randomly drawn from that bag. If the ball drawn was found to be white, then the probability that the ball is drawn from bag C is (A) 61 (B) 92 (C) 41 (D) 132
›Reveal solutionSolution
This is a direct Bayes'-theorem (inverse probability) question. Answer: 92.
Concept and Intuition
We're given the outcome (a white ball was drawn) and asked for the probability of a particular cause (it came from bag C). This is exactly Bayes' theorem: P(C∣W)=∑iP(bagi)P(W∣bagi)P(C)P(W∣C).
Step-by-Step Solution
- Each bag is chosen with probability 31.
- P(W∣A)=73 (3 white out of 7 total in bag A).
- P(W∣B)=74 (4 white out of 7 in bag B).
- P(W∣C)=72 (2 white out of 7 in bag C).
- Total probability of white: P(W)=31(73+74+72)=31⋅79=219=73. …
- AP EAPCET 2024Set eng-2024-05-23-FN1 markMCQQ.Bag A contains 2 white and 3 red balls and bag B contains 4 white and 5 red balls. If one ball is drawn at random from one of the bags and is found to be red, then the probability that it was drawn from the bag B is (A) 5423 (B) 5125 (C) 5225 (D) 5527
›Reveal solutionSolution
A classic Bayes'-theorem problem: given the ball drawn is red, the probability it came from bag B is 5225.
Concept and Intuition
This is Bayes' theorem: we're given the outcome (red ball drawn) and want to find the probability of which "cause" (bag A or B) produced it, using the prior probability of choosing each bag (each 21) and each bag's own probability of yielding red.
Step-by-Step Solution
- Bag A: 2 white, 3 red (5 total) ⇒P(red∣A)=53.
- Bag B: 4 white, 5 red (9 total) ⇒P(red∣B)=95.
- P(A)=P(B)=21 (bag chosen at random).
- Total probability of red: P(red)=P(A)P(red∣A)+P(B)P(red∣B)=21⋅53+21⋅95=103+185.
- Common denominator 90: 103=9027, 185=9025, sum =9052=4526.
- Bayes: P(B∣red)=P(red)P(B)P(red∣B)=26/45(1/2)(5/9)=26/455/18. …
- AP EAPCET 2024Set eng-2024-05-19-AN1 markMCQQ.There are 2 bags each containing 3 white and 5 black balls and 4 bags each containing 6 white and 4 black balls. If a ball drawn randomly from a bag is found to be black, then the probability that this ball is from the first set of bags is (A) 5725 (B) 4125 (C) 52 (D) 53
›Reveal solutionSolution
A classic Bayes'-theorem (inverse-probability) question: given the ball drawn is black, find the probability it came from the first group of bags. Answer: 5725.
Concept and Intuition
When an experiment happens in two stages — first a bag is picked (from one of two groups of bags), then a ball is drawn from it — and we're told the result of the second stage (a black ball came out), Bayes' theorem lets us reverse the direction of reasoning and find the probability about the first stage (which group the bag was from). The prior probability of picking from a group is proportional to how many bags are in that group (each individual bag is equally likely to be picked), and then we weight by how likely that group is to produce the observed outcome.
Step-by-Step Solution
- Groups and priors. Group 1 (call it S1) has 2 bags (each 3 white, 5 black — 8 balls). Group 2 (S2) has 4 bags (each 6 white, 4 black — 10 balls). Total bags =6, each equally likely to be chosen, so
P(S1)=62=31,P(S2)=64=32.
- Likelihoods of drawing black. From a group-1 bag: P(B∣S1)=85. From a group-2 bag: P(B∣S2)=104=52.
- Total probability of drawing a black ball (law of total probability): P(B)=P(S1)P(B∣S1)+P(S2)P(B∣S2)=31⋅85+32⋅52=245+154. …
- AP EAPCET 2022Set eng-2022-07-05-FN1 markMCQQ.A bag contains 4 red and 3 black balls. A second bag contains 2 red and 3 black balls. One bag is selected at random. If from the selected bag, one ball is drawn at random, then the probability that the ball drawn is red is (A) 7039 (B) 7041 (C) 7029 (D) 3517
›Reveal solutionSolution
Total probability theorem over the two equally-likely bags gives 3517.
Concept and Intuition
Since the bag is chosen at random (each with probability 21), the overall probability of drawing red is the weighted average of the conditional probabilities of drawing red from each bag.
Step-by-Step Solution
- Bag 1: 4 red, 3 black (7 total) → P(red∣Bag1)=74.
- Bag 2: 2 red, 3 black (5 total) → P(red∣Bag2)=52.
- P(red)=21⋅74+21⋅52=144+102=72+51. …
- AP EAPCET 2026Set eng-2026-05-18-FN1 markMCQQ.Two balls are drawn at random from a box containing 4 white, 6 black balls one after the other without replacement. If it is known that second ball drawn is black, then the probability that the first ball drawn is also black is (A) 115 (B) 95 (C) 125 (D) 135
›Reveal solutionSolution
Conditional probability with sampling without replacement, solved with Bayes' theorem; answer is 95.
Concept and Intuition
When balls are drawn one after another without replacement, the marginal probability that any particular draw (say the 2nd) is black equals the overall proportion of black balls, 106 — position doesn't matter for the marginal event by symmetry. To find the conditional probability of the first draw given information about the second, we use Bayes' theorem: we need the joint probability of both events and divide by the marginal probability of the conditioning event.
Step-by-Step Solution
- Total balls: 4 white (W) + 6 black (B) = 10.
- P(2nd is black)=P(1st B, 2nd B)+P(1st W, 2nd B) =106⋅95+104⋅96=9030+9024=9054=53.
- P(1st black and 2nd black)=106⋅95=9030=31. …
- 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 2026Set eng-2026-05-18-FN1 markMCQQ.A box P contains 3 white and 7 red balls. A bag Q contains 4 green and 5 blue balls. Two balls are randomly drawn from box P. If both are of same color, one ball is drawn from bag Q and if the two balls are of different color, 2 balls are drawn from the bag Q. If it is known that there is exactly one green ball among the ball or balls drawn from bag Q, then the probability that the two balls drawn from box P are of different colors is (A) 6735 (B) 6221 (C) 4320 (D) 6732
›Reveal solutionSolution
A two-stage Bayes' theorem problem; conditioning on "exactly one green ball from Q" gives P(different colors from P)=6735.
Concept and Intuition
This is a compound experiment: the outcome in box P (same-color vs different-color) determines how many balls are drawn from bag Q, and hence changes the probability model for "exactly one green." We must compute, for each P-outcome, the probability of observing exactly one green from Q, then combine via Bayes' theorem using the P-outcome's prior probability.
Step-by-Step Solution
- Box P has 3 white + 7 red = 10 balls. P(same color)=10C23C2+7C2=453+21=4524=158. P(different colors)=1−158=157 (check: 10C23C17C1=4521=157 ✓).
- If same color (S): draw 1 ball from Q (4 green, 5 blue, 9 total). "Exactly one green" among 1 ball drawn just means that ball is green: P(1 green∣S)=94.
- If different colors (D): draw 2 balls from Q. P(exactly one green∣D)=9C24C1⋅5C1=3620=95.
- By Bayes' theorem: …
- AP EAPCET 2025Set eng-2025-05-22-AN1 markMCQQ.An urn A contains 4 white and 1 black ball; urn B contains 3 white and 2 black balls and urn C contains 2 white and 3 black balls. One ball is transferred randomly from A to B; later one ball is transferred randomly from B to C. Finally, if a ball is drawn randomly from C, then the probability that it is a black ball is (A) 127 (B) 18089 (C) 180101 (D) 3617
›Reveal solutionSolution
A two-stage transfer-then-draw problem, solved by branching over all four possible transfer outcomes: probability of black =180101.
Concept and Intuition
This is a sequential conditional-probability problem: each transfer changes the composition of the receiving urn, so we must branch over every possible outcome of each transfer and weight the final draw accordingly (total probability theorem, applied twice).
Step-by-Step Solution
- Urn A: 4W,1B. Transfer to B: P(W)=54, P(B)=51.
- If white moved to B: B becomes 4W,2B (6 balls). If black moved to B: B becomes 3W,3B (6 balls).
- From B (4W,2B): transfer white to C with P=64=32 (C becomes 3W,3B), or black with P=62=31 (C becomes 2W,4B).
- From B (3W,3B): transfer white to C with P=21 (C becomes 3W,3B), or black with P=21 (C becomes 2W,4B).
- Final draw from C: P(black∣3W3B)=21; P(black∣2W4B)=64=32.
- Combine all four branches:
- A-white, B-white: 54⋅32⋅21=308=154
- A-white, B-black: 54⋅31⋅32=458 …
- 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 2026Set eng-2026-05-15-FN1 markMCQQ.Box I contains 30 cards numbered 1 to 30 and Box II contains 20 cards numbered 31 to 50. A box is selected at random and a card is drawn from it randomly. If the number on the card is found to be a non-prime number, the probability that the card was drawn from Box I is (A) 174 (B) 178 (C) 52 (D) 32
›Reveal solutionSolution
Bayes' theorem with the counts of non-prime numbers in each box gives P(Box I∣non-prime)=8/17.
Concept and Intuition
This is a classic "which urn/box did it come from" Bayes' problem: we're given the outcome (a non-prime card) and asked to find the probability of the cause (which box). We need P(non-prime∣box) for each box, weighted by the prior P(box)=1/2.
Step-by-Step Solution
- Primes from 1 to 30: 2,3,5,7,11,13,17,19,23,29 — that's 10 primes, so 30−10=20 non-primes in Box I.
- Primes from 31 to 50: 31,37,41,43,47 — that's 5 primes, so 20−5=15 non-primes in Box II.
- P(non-prime∣Box I)=3020=32, P(non-prime∣Box II)=2015=43.
- P(Box I)=P(Box II)=21.
- P(Box I and non-prime)=21⋅32=31; P(Box II and non-prime)=21⋅43=83. …
🎓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.