Conditional Probability: Choose the Right Denominator
Choose the correct denominator in conditional probability. Work two original counting examples, reverse the condition, use complements and test independence.

| Topic | Exam Prep |
|---|---|
| Focus | Mathematics |
| Read time | 5 min |
| Words | 859 |
| Published | 28 Nov 2026 |
| Best for | Parents & students |
Someone hands you a table and asks for the probability of a blue slip, given that it carries a star. You find the blue-and-star cell correctly, then divide by every slip in the box. The arithmetic works. The answer belongs to a different question.
Conditional probability changes the group you are allowed to count. The useful first move is to finish this sentence: "The selected slip is already known to be ___." That blank decides the denominator.
Set up one complete counting model
The following counts are invented for practice, not collected survey data. A box contains 120 individual slips. Each slip is either blue or white, and either carries a star or has no star. One slip is selected uniformly at random, so every individual slip has the same chance.
Write the counts as a two-way table in your notebook. Blue slips: 18 with stars and 42 without stars, total 60. White slips: 12 with stars and 48 without stars, total 60. Column totals: 30 with stars and 90 without stars. The grand total is 120.
Check both directions: 18 + 42 = 60 and 12 + 48 = 60; also 18 + 12 = 30 and 42 + 48 = 90. Each direction recovers 120. Define A as "blue" and B as "star". For the earlier ideas of events, intersections and complements, review our probability practice page.
Read the condition before the requested event
Find P(A|B), read as "probability of blue given star". We already know B happened. Only the 30 starred slips remain eligible; the 90 unstarred slips are outside this conditional group.
Of those 30 starred slips, 18 are blue. Therefore P(A|B) = 18/30 = 3/5. Say the result as a sentence: three-fifths of the starred slips are blue. That wording checks that the fraction answers the requested question.
The general rule is P(A|B) = P(A and B)/P(B), provided P(B) is positive. Here it becomes (18/120)/(30/120) = 18/30. The grand-total denominators cancel. Counting directly within B is shorter, but it is the same calculation.
Reverse the question without changing the box
Now find P(B|A): star given blue. This time the selected slip is already known to be blue, so the eligible group contains 60 slips. Eighteen of those carry stars.
P(B|A) = 18/60 = 3/10. The numerator stayed 18 because "blue and star" describes the same overlap in either order. The denominator changed because the supplied information changed. The answers 3/5 and 3/10 need not agree.
Neither answer is P(A and B). With no condition supplied, blue-and-star has probability 18/120 = 3/20. A useful check is to recover this intersection from either direction: (30/120)(18/30) = 18/120, and (60/120)(18/60) = 18/120.
Keep a complement inside the same condition
What is the probability of white, given star? Stay in the 30-slip starred group. Twelve are white, so the answer is 12/30 = 2/5. It also equals 1 - 3/5. Blue and white exhaust this same conditional group.
Changing the condition is different. Blue given no star uses the 90 unstarred slips: 42/90 = 7/15. It is not 1 - P(blue given star). That subtraction changes the requested colour while keeping star fixed; it does not switch star to no star.
Test independence instead of assuming it
Before any information is supplied, P(A) = 60/120 = 1/2. After learning that the slip carries a star, P(A|B) = 3/5. Those are unequal, so A and B are not independent in this model.
The product test agrees: P(A)P(B) = (1/2)(1/4) = 1/8, while P(A and B) = 3/20. Do not multiply the two unconditional probabilities merely because the word "and" appears.
This comparison describes the supplied counts. It does not prove that a colour causes a star, or explain how the slips were made.
Try a different table before checking
A second invented box contains 80 equally likely slips. There are 32 blue slips, 20 starred slips and 8 that are both. Find blue given star, star given blue, and whether blue and star are independent.
The answers are 8/20 = 2/5 and 8/32 = 1/4. Here P(blue) = 32/80 = 2/5, unchanged by the star condition. Also (32/80)(20/80) = 8/80, so these events are independent. Different conditional answers alone do not establish dependence.
Frequently asked questions
Which total belongs below the fraction?
Use the total matching the supplied condition, then count the requested event inside that group. Check that the condition has positive probability.
Does reversing the condition change the overlap?
No. The overlap is the same set of outcomes, but the denominator usually changes. Read the event after the bar before choosing a total.
Can conditional probability have a zero denominator?
Not in this elementary definition. If the conditioning event has probability zero, this ratio is undefined, not automatically zero.
Are unequal reverse probabilities proof of dependence?
No. Test whether conditioning changes the corresponding unconditional probability, or compare the intersection with the product of the marginals.
Sources and photo
Definitions: NCERT Exemplar Probability. Table method: OpenStax contingency tables. Both slip examples are original. Photo: Phuc Tran via Pexels, cropped under the Pexels licence. Dice illustrate chance; they are not the slips counted here.
Related articles
- Lexicographic Rank with Repeated Letters: Count Prefix Blocks
- Singular Matrix Parameters: Find Every Real Value of k
- Arithmetic Progression Word Problems: Method with Worked Examples
- Cubes and Dice: Method with Worked Examples
- Quadratic Word Problems: Method with Worked Examples
Explore related tuition services: maths tuition · online tuition