A two-way table organizes a group by two categories at once. Conditional probability asks for a probability within a specified part of that group. The condition changes which total belongs in the denominator.
Read intersections and totals
Consider 40 students classified by club membership and whether they walk to school:
| Walk | Do not walk | Total | |
|---|---|---|---|
| In club | 12 | 8 | 20 |
| Not in club | 6 | 14 | 20 |
| Total | 18 | 22 | 40 |
The 12 in the first row and column counts students who are both in the club and walkers. The row total 20 counts all club members; the column total 18 counts all walkers. The grand total is 40.
A table entry is a count at the intersection of two descriptions. Reading only its row or only its column loses part of its meaning.
Example: choose from the whole group
If one student is chosen uniformly from all 40, the probability the student is a club member who walks is The probability the student walks, with no membership condition, is
The denominator is 40 because every student is eligible for selection. Use the cell count when both conditions must hold and the appropriate marginal total when only one category is requested.
The probability of club or walking is The overlap is subtracted because the 12 club walkers were counted in both totals.
A condition narrows the eligible group
Now suppose the selected student is known to be in the club. Only the 20 club members remain possible. Of those, 12 walk, so the probability of walking given club membership is
The phrase “given that” means “restrict attention to.” You can cover the other row with your hand: its students cannot be the selected person under this condition.
The numerator is still 12, but the denominator changed from 40 to 20. A conditional probability is a share of the eligible subgroup, not of the entire table.
Restricting to club members leaves 20 students: 12 walk and 8 do not. The conditional probability is 12 out of 20.
Restricting to club members leaves 20 students: 12 walk and 8 do not. The conditional probability is 12 out of 20.
Describe this figure
Restricting to club members leaves 20 students: 12 walk and 8 do not. The conditional probability is 12 out of 20.
Walk: 12; Do not walk: 8.
Example: reverse the condition
What is the probability a student is in the club, given that the student walks? Now the eligible group is the 18 walkers. Twelve are club members, so the probability is
This differs from the probability of walking given club membership. Both calculations use the same overlap, but they ask about different subgroups. Reversing the wording generally changes the probability.
Write “wanted among eligible” in words before choosing the fraction. This habit is especially helpful when a question uses “of the students who...” instead of “given.”
Compare proportions, not just counts
Twelve club members walk compared with six nonmembers. Because both groups have 20 students here, their walking rates are and If group sizes differed, comparing the raw 12 and 6 alone would not establish which walking rate was higher.
A table can show an association between membership and walking, but it does not prove club membership causes walking. Other differences between students may matter.
Try it yourself
Using the table, find the probability a student does not walk, given that the student is not in the club.
Answer: Restrict to the 20 nonmembers. Fourteen do not walk, so the conditional probability is The grand total 40 is not the relevant denominator.
What to remember
The intersection supplies the favorable count. The condition supplies the denominator. Reverse conditions carefully, and use subgroup proportions when comparing groups.