Cookmath

Conditional Probability in Tables

P(A given B), written P(A|B), asks for the share of B outcomes that also satisfy A. The denominator is the B group, not the entire population: P(A|B)=P(A and B)/P(B), provided P(B)>0. Reversing the condition usually changes the denominator and therefore the answer. A two-way table makes those reference groups visible.

Before you begin

Read a two-way table; distinguish a subgroup count from the full total.

What you will learn

Understand the idea

P(A given B), written P(A|B), asks for the share of B outcomes that also satisfy A. The denominator is the B group, not the entire population: P(A|B)=P(A and B)/P(B), provided P(B)>0. Reversing the condition usually changes the denominator and therefore the answer. A two-way table makes those reference groups visible.

Worked example 1

Of 50 students, 20 ride a bus. Of those bus riders, 12 bring lunch. What is P(brings lunch | bus rider)?

  1. Restrict the sample space to the 20 bus riders. Among them, 12 bring lunch.
  2. The probability is 12/20=3/5=0.6, not 12/50.

Worked example 2

In the same group, 30 students bring lunch in total. Compare P(bus | lunch) with P(lunch | bus).

  1. The shared count remains 12, but lunch is now the conditioning group of 30.
  2. P(bus|lunch)=12/30=0.4, while P(lunch|bus)=12/20=0.6.

Diagnose an error

“12 of 50 are bus riders who bring lunch, so 24% of bus riders bring lunch.” Diagnose.

Compare your reasoning

“12 of 50 are bus riders who bring lunch, so 24% of bus riders bring lunch.” Diagnose.

  1. 12/50 is the joint proportion in the full population, not the conditional share among bus riders.
  2. For a conditional share, divide 12 by the total number of bus riders.

Independent practice

Submit your answer in the interactive lesson to unlock the worked solution. Type your reasoning or build it with clickable tiles.

Practice 1

A club has 16 juniors; 10 of them play a sport. Find P(sport | junior).

Solution locked until submission.

Practice 2

P(A and B)=0.12 and P(B)=0.3. Find P(A|B).

Solution locked until submission.

Practice 3

Can P(A|B) be calculated by this formula when P(B)=0?

Solution locked until submission.

Practice 4

Of 80 orders, 20 are express. Among express orders, 18 arrive on time; 48 of the 60 regular orders are on time. Compare the on-time rates.

Solution locked until submission.

Connect and reflect

Say the condition aloud: among B, what fraction also satisfies A? That identifies the denominator.

Original Cookmath explanations and exercises. Scope reference: IM v.360 Geometry · scope reference. Cookmath units are smaller study groups, not publisher chapter counts.

Continue learning

Conditional Probability