Coloured balls are distributed in four boxes as shown in the following table:
| Box | Black | White | Red | Blue |
|---|---|---|---|---|
| I | 3 | 4 | 5 | 6 |
| II | 2 | 2 | 2 | 2 |
| III | 1 | 2 | 3 | 1 |
| IV | 4 | 3 | 1 | 5 |
A box is selected at random and then a ball is randomly drawn from the selected box. The colour of the ball is black, what is the probability that ball drawn is from the box III?
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)
We need P(Box III∣Black).
Step 1 – Prior probabilities
Each box is equally likely: P(I)=P(II)=P(III)=P(IV)=41.
Step 2 – Likelihoods (probability of drawing a black ball from each box)
- Box I: 3 black out of 3+4+5+6=18 balls → P(Black∣I)=183=61
- Box II: 2 black out of 8 balls → P(Black∣II)=82=41
- Box III: 1 black out of 1+2+3+1=7 balls → P(Black∣III)=71
- Box IV: 4 black out of 4+3+1+5=13 balls → P(Black∣IV)=134
Step 3 – Total probability of black
P(Black)=41(61+41+71+134)
Compute common denominator (LCM of 6,4,7,13 = 1092):
61=1092182,41=1092273,71=1092156,134=1092336
Sum = 1092182+273+156+336=1092947
Thus P(Black)=41⋅1092947=4368947
Step 4 – Bayes’ Theorem
P(III∣Black)=P(Black)P(III)⋅P(Black∣III)=436894741⋅71=281⋅9474368=947156
The probability that the black ball came from Box III is 947156.
By Bayes' theorem, given the drawn ball is black, P(Box III)=947156.
Let B1,B2,B3,B4 be the events of selecting boxes I–IV, and K the event of drawing a black ball. A box is chosen at random, so P(Bi)=41.
Black-ball probability in each box:
- Box I: 3+4+5+6=18 balls, 3 black ⇒P(K∣B1)=183=61
- Box II: 2+2+2+2=8 balls, 2 black ⇒P(K∣B2)=82=41
- Box III: 1+2+3+1=7 balls, 1 black ⇒P(K∣B3)=71
- Box IV: 4+3+1+5=13 balls, 4 black ⇒P(K∣B4)=134
Total probability of a black ball:
P(K)=41(61+41+71+134)=41⋅1092947=4368947.
Bayes' theorem:
P(B3∣K)=P(K)P(K∣B3)P(B3)=436894771⋅41=7⋅9471092=947156.
The probability that the black ball was drawn from Box III is 947156.
Method: Bayes' Theorem (finding the cause from the observed outcome)
Use this when an item is drawn from one of several containers and, given its property, you want the probability of a particular container. You know the chance of the colour given each box, but want the box given the colour — reversed conditioning.
Steps
Step 1: Set up the partition of possible causes.
List the mutually exclusive, exhaustive hypotheses (here: the ball came from box I, II, III or IV) and write their prior probabilities P(Ei) (these must sum to 1).
Step 2: Write each likelihood.
For each cause, state P(A∣Ei) — the probability of the observed outcome (here: the drawn ball is black) under that cause.
Step 3: Get the total probability of the outcome (the denominator).
By the law of total probability,
P(A)=∑iP(Ei)P(A∣Ei).
Step 4: Apply Bayes' theorem for the cause you want.
P(Ek∣A)=∑iP(Ei)P(A∣Ei)P(Ek)P(A∣Ek).
The numerator is just the one term of the denominator that belongs to the cause you are asked about — so the answer is that cause's share of the total chance of the outcome.
Key subtlety: compute each likelihood against that box's own total number of balls (the boxes here hold different totals), and weight by the equal prior P(box)=41 for random box selection — do not simply pool all black balls across boxes.
Common Mistakes
Mistake 1: Pooling all black balls over all balls.
Why it's wrong: computing total balls3+2+1+4 ignores that a box is chosen first (each with probability 41) and that the boxes hold different totals. Correct approach: use Bayes' theorem over the four equally likely boxes.
Mistake 2: Not dividing each black count by that box's own total.
Why it's wrong: box III has 7 balls, box I has 18 — the black probability differs even for similar counts. Correct approach: P(black∣box)=total in boxblack in box.
Mistake 3: Forgetting the equal prior 41 per box.
Why it's wrong: the box is selected at random, so each prior is 41 and must appear in every term. Correct approach: weight each likelihood by 41 in both numerator and denominator.
- CA Foundation 2026Set jan-20261 markMCQQ.If in a class, 50% of the student study mathematics and science and 70% of the student study mathematics, then the probability of a student studying science given that he/she is already studying mathematics is (A) 73 (B) 76 (C) 74 (D) 75
›Reveal solutionSolution
Conditional probability P(S∣M)=P(M)P(M∩S).
Step 1 — identify the probabilities
50% study both maths and science, so P(M∩S)=0.5; 70% study maths, so P(M)=0.7.
Step 2 — apply the conditional-probability formula
P(S∣M)=P(M)P(M∩S)=0.70.5=75.
Watch outDivide by the given event's probability: since maths is given, the denominator is P(M)=0.7, not P(S) or the total. Dividing the other way (0.7/0.5) gives a value above 1, which is impossible for a probability.
Tip"Given that" tells you the denominator. Here it is "given studying mathematics," so put P(M) on the bottom: 0.5/0.7=5/7.
✓Final answer(D) 5/7
- CA Foundation 2026Set jan-20261 markMCQQ.If two dice are rolled, then the probability of getting a greater number on the first die than the one on the second, given that the sum should be equal to 7 is (A) 21 (B) 31 (C) 61 (D) 32
›Reveal solutionSolution
Conditional probability on a reduced sample space: P(A∣B)=n(B)n(A∩B).
Step 1 — list the outcomes with sum 7.
(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)⇒n(B)=6.
Step 2 — count first die greater than second, among those.
(4,3),(5,2),(6,1) → 3 outcomes.
Step 3 — conditional probability.
P=63=21.
Watch outThe condition "sum = 7" shrinks the sample space to those 6 outcomes — divide by 6, not by the full 36. Using 3/36 gives 1/12, which isn't even an option.
TipNone of the sum-7 pairs are ties, so by symmetry "first > second" and "first < second" split the 6 outcomes evenly — the answer is simply half.
✓Final answer(A) 1/2
- CA Foundation 2023Set jun-20231 markMCQQ.If P(A)=31,P(B)=41,P(A/B)=61, the probability P(B/A) is (A) 81 (B) 41 (C) 83 (D) 21
›Reveal solutionSolution
P(B/A) = P(A∩B)/P(A) = (1/24)/(1/3) = 1/8.
Step 1 — Find the joint probability
P(A∩B)=P(A/B)P(B)=61×41=241
Step 2 — Apply the definition of conditional probability
P(B/A)=P(A)P(A∩B)=1/31/24=243=81
Watch outP(A/B) and P(B/A) are not equal — you must recompute the joint probability first, then divide by P(A), not P(B).
TipAnchor everything on P(A∩B): both conditionals flow from it via division by the conditioning event's probability.
✓Final answer(A) 81
NoteThis answer is verified — independently worked and reviewed by our experienced subject lecturers before we published it.
- CA Foundation 2022Set dec-20221 markMCQQ.If P(A)=31, P(B)=43 and P(A∪B)=1211 then P(AB) is: (A) 61 (B) 94 (C) 21 (D) 81
›Reveal solutionSolution
P(A∩B)=1/6, so P(B|A)=(1/6)/(1/3)=1/2.
Step 1 — Intersection via the addition rule
P(A∩B)=P(A)+P(B)−P(A∪B)=31+43−1211=124+9−11=122=61
Step 2 — Apply the conditional-probability formula
P(AB)=P(A)P(A∩B)=1/31/6=21
Watch outOption (A) 1/6 is just P(A∩B) — you must still divide by P(A) to get the conditional probability.
TipConditional probability always divides the joint probability by the probability of the given (conditioning) event.
✓Final answer(C) 21
NoteThis answer is verified — independently worked and reviewed by our experienced subject lecturers before we published it.
- CA Foundation 2021Set dec-20211 markMCQQ.For any two dependent events A and B, P(A)=5/9 and P(B)=6/11 and P(A∩B)=10/33. What are the values of P(A/B) and P(B/A)? (A) 5/9, 6/11 (B) 5/6, 6/11 (C) 1/9, 2/9 (D) 2/9, 4/9
›Reveal solutionSolution
Divide the joint probability by the conditioning event's probability: P(A∣B)=5/9, P(B∣A)=6/11.
Step 1 — Apply the conditional probability formula for P(A∣B)
P(A∣B)=P(B)P(A∩B)=6/1110/33=3310×611=198110=95
Step 2 — Apply it for P(B∣A)
P(B∣A)=P(A)P(A∩B)=5/910/33=3310×59=16590=116
Step 3 — Sanity check
Since P(A)P(B)=(5/9)(6/11)=10/33=P(A∩B), the conditionals collapse to the marginals — consistent with the computed values.
Watch outThe trap is to multiply P(A∩B) by P(B) instead of dividing (giving small fractions like 1/9, 2/9 in options C/D). Always divide by the given/conditioning event.
TipP(A∣B) = joint over the second letter's probability; P(B∣A) = joint over the first letter's probability.
✓Final answer(A) 5/9, 6/11
NoteThis answer is verified — independently worked and reviewed by our experienced subject lecturers before we published it.
- CA Foundation 2021Set dec-20211 markMCQQ.In a group of 20 males and 15 females, 12 males and 8 females are service holders. What is the probability that a person selected at random from the group is a service holder given that the selected person is a male? (A) 0.40 (B) 0.60 (C) 0.45 (D) 0.55
›Reveal solutionSolution
Condition on males only: 12 service holders out of 20 males = 0.60.
Step 1 — Identify the reduced sample space
Given the person is male, only the 20 males matter.
Step 2 — Apply the conditional formula
P(service∣male)=total malesmale service holders=2012=0.60
Watch outDo not divide by the full group of 35 — the condition 'given male' shrinks the denominator to 20.
Tip'Given that ...' problems: throw away everyone outside the given category, then take the simple fraction.
✓Final answer(B) 0.60
NoteThis answer is verified — independently worked and reviewed by our experienced subject lecturers before we published it.
🎓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.