Math Error Lab

Check 31 · Statistics

Two-way table probability: how to pick the right total

The table is right there, and every number you need is in it. You find the count, divide by a total, and your answer is one of the choices. The trouble is that a two-way table has several totals, and the wrong one is often the easiest to grab.

In this guide

The short answer

How do you find conditional probability from a two-way table?

To find a conditional probability from a two-way table, divide by the total of the group named in the condition, not the whole table or a different row. If 60 students play a sport and 42 of them are tenth graders, then P(tenth grader, given plays a sport) = 42/60 = 7/10. Dividing by all 80 tenth graders answers a different question.

Prefer video? Watch the 1-minute lesson

Chosen from the students who play a sport, so divide by that column’s total.
GradeSportNo sportTotal
10th grade423880
11th grade185270
Total6090150
Out of all tenth graders42/80 = 21/40Trap: wrong group
Out of all students who play a sport42/60 = 7/10The right group

The 42 on top is the same both times. The condition after “selected from” decides the bottom.

What you’ll practice

  • Find the group a person or item is chosen from.
  • Use that group’s total as the denominator.
  • Tell P(A given B) apart from P(B given A) and P(A and B).

Before you start: You can add whole numbers and simplify a fraction.

An original worked example

Chosen from students who play a sport: use that column

A school surveyed 150 students. Of the 80 tenth graders, 42 play a school sport and 38 do not. Of the 70 eleventh graders, 18 play a school sport and 52 do not. A student who plays a school sport is selected at random. What is the probability that the student is a tenth grader?

The tempting wrong path
  1. Tenth graders who play a sport: 42.
  2. Tenth graders in all: 80.
  3. Probability: 42/80 = 21/40.

Tempting answer21/40

Where it goes wrong

The 42 on top is right. The bottom is not. The student was picked from the students who play a sport, so only that group could be chosen. Dividing by 80 answers a different question, which is what fraction of tenth graders play a sport.

The correct method

  1. Finish the sentence “out of all the ___.” Here it is out of all the students who play a sport.

  2. Add that column to get the group’s total.

    42 + 18 = 60
  3. Put the tenth graders inside that group on top and the group’s total on the bottom.

    P = 42/60 = 7/10
  4. Check the other part of the same group. The two probabilities add to 1.

    18/60 = 3/10
    7/10 + 3/10 = 1
The answer: 7/10

Watch it worked out

The same slip in a short video lesson

Lesson 30 of the SAT Math Study System shows this trap on an SAT-style question, then works a harder one. It runs under a minute.

The check to keep

Check 31

Say “out of all the ___” and divide by that group’s total.

Before you divide, finish the sentence “out of all the ___.” The words after “given,” “among,” “of the” or “selected from” fill that blank. Find that row or column in the table and use its total. Then check that the probabilities inside that group add to 1.

Flipped conditions, “and” vs “given”, and drawing without replacement

Probability is favorable outcomes over eligible outcomes, when every outcome is equally likely. Eligible means everything that could be picked. A bag with 5 red, 8 green and 7 yellow marbles has 20 marbles, so P(green) = 8/20 = 2/5. Dividing by 7 or 12 leaves out marbles that could be drawn.

Flipping a condition changes the answer. In the survey, P(tenth grader, given plays a sport) = 42/60 = 7/10. But P(plays a sport, given tenth grader) = 42/80 = 21/40. The 42 on top is the same, and the bottom changes. The group named after “given” is always the bottom.

With no condition, the whole table is eligible. P(tenth grader and plays a sport) = 42/150 = 7/25, because any of the 150 students could be picked. For “or,” add the two groups and subtract the overlap so it isn’t counted twice. P(tenth grader or plays a sport) = (80 + 60 − 42)/150 = 98/150 = 49/75.

When you draw twice without replacement, the group shrinks after the first draw. A bag has 5 green and 7 white marbles. P(green, then green) = (5/12)(4/11) = 20/132 = 5/33, because after one green is gone there are 4 greens among 11 marbles. With replacement, the marble goes back, so the answer is (5/12)(5/12) = 25/144.

Every probability is between 0 and 1, so a result like 60/42 means the fraction is upside down. The same probability can be written as a fraction, a decimal or a percent, so 7/10, 0.7 and 70% are equal. The complement gives a fast check, since P(not A) = 1 − P(A). If 7/10 of the athletes are tenth graders, the other 3/10 are not.

Your turn. Keep the answer closed.

Three questions to try

Work each one on paper first. Then type your answer and check it. If it is off, you get a hint about the likely slip, not the answer.

Practice 1

A library surveyed 120 visitors. Of the 50 adults, 24 borrowed a book and 26 did not. Of the 70 teens, 36 borrowed a book and 34 did not. A visitor who borrowed a book is chosen at random. What is the probability that the visitor is a teen?

See the worked answer to practice 1

3/5

  1. The visitor comes from the people who borrowed a book. Add that group.

    24 + 36 = 60
  2. Put the teens in that group over the group’s total.

    P = 36/60 = 3/5
  3. Check with the adults in the same group.

    24/60 = 2/5
    3/5 + 2/5 = 1

Practice 2

A box holds 6 lemon, 10 cherry and 9 grape candies. One candy is taken at random. What is the probability that it is cherry?

See the worked answer to practice 2

2/5

  1. Any candy can be taken, so the eligible total is 6 + 10 + 9 = 25.
  2. Cherry candies: 10.
  3. P(cherry) = 10/25 = 2/5, or 0.4.
  4. Check: not cherry is 15/25 = 3/5, and 2/5 + 3/5 = 1.

Practice 3

A club has 80 students. 50 take Spanish and 30 take French, and no one takes both. Of the Spanish students, 26 are seniors. Of the French students, 14 are seniors. A senior from the club is chosen at random. What is the probability that the senior takes French?

See the worked answer to practice 3

7/20

  1. The student comes from the seniors in the club.
  2. That group has 26 + 14 = 40 students.
  3. Seniors who take French: 14.
  4. P = 14/40 = 7/20, or 0.35.
  5. Check: Spanish seniors are 26/40 = 13/20, and 7/20 + 13/20 = 1.

Common questions about probability and two-way tables

What is the difference between P(A given B) and P(B given A)?

They use the same overlap on top but different totals on the bottom. If 42 students are tenth graders who play a sport, P(tenth grader, given sport) = 42/60, out of 60 athletes. P(sport, given tenth grader) = 42/80, out of 80 tenth graders. The group after “given” is the denominator.

Which total do I use in a two-way table?

Use the total of the group the person is picked from. “Selected from the students who play a sport” means the sport column total. If a student is simply selected at random from everyone, use the grand total. For 42 tenth-grade athletes out of 150 students, that gives 42/150 = 7/25.

How do you find the probability of A or B from a two-way table?

Add the two groups, subtract the overlap, then divide by the grand total. With 80 tenth graders, 60 athletes and 42 in both, out of 150 students, P(tenth grader or athlete) = (80 + 60 − 42)/150 = 98/150 = 49/75. Subtracting 42 stops those students from being counted twice.

What does without replacement mean in probability?

Without replacement means the first item is not put back, so the second draw comes from a smaller group. With 5 green and 7 white marbles, P(green, then green) = (5/12)(4/11) = 5/33. With replacement, the marble goes back, so the second draw is 5/12 again.

Can a probability be a decimal or a percent?

Yes, a probability can be written as a fraction, a decimal or a percent, and they mean the same thing, so 3/10, 0.3 and 30% are equal. On the SAT, enter a fraction or a decimal, because symbols like % are not entered. Every probability is between 0 and 1.

Put the checks to work

Can you catch it on a new question?

Try five original questions. See every worked answer and keep the checks you want to practice.

Try the free check

About 3 minutes. No email needed.