Lesson 11

Conditional probability language

Theory and examples

Conditional probability sounds more complicated than it really is. Most of the work is just decoding the language.

Normal probability asks: What is the chance of an event happening out of everything that could possibly occur?

Conditional probability changes the rules. It asks: What is the chance of event A happening, given that we already know event B definitely happened?

Seeing it with a deck of cards

The moment we are given information, the total sample space is hijacked. We are no longer allowed to look at the whole group; we are locked inside a smaller sub-group.

Conditional probability with cards

See how the probability of pulling the king of hearts changes depending on the information we are given.

Full deck

Given information: none.

We are counting inside the entire deck, so the denominator is all 52 cards.

P(K♡)=152P(K\textcolor{red}{\heartsuit})=\frac{1}{52}
A♠2♠3♠4♠5♠6♠7♠8♠9♠10♠J♠Q♠K♠A♣2♣3♣4♣5♣6♣7♣8♣9♣10♣J♣Q♣K♣A♥2♥3♥4♥5♥6♥7♥8♥9♥10♥J♥Q♥K♥A♦2♦3♦4♦5♦6♦7♦8♦9♦10♦J♦Q♦K♦

Hearts

Given information: the card is a heart.

The sample space shrinks to the 13 hearts. Now we only ask whether that heart is the king.

P(K♡∣heart)=113P(K\textcolor{red}{\heartsuit}\mid \text{heart})=\frac{1}{13}
A♥2♥3♥4♥5♥6♥7♥8♥9♥10♥J♥Q♥K♥

Face cards

Given information: the card is a face card.

The sample space shrinks to the 12 jacks, queens, and kings. The king of hearts is one of those 12 cards.

P(K♡∣face card)=112P(K\textcolor{red}{\heartsuit}\mid \text{face card})=\frac{1}{12}
J♠J♣J♥J♦Q♠Q♣Q♥Q♦K♠K♣K♥K♦

The target card never changes. What changes is the sample space we are allowed to count inside: first the full deck, then only the hearts, then only the face cards. Conditional probability is really about choosing the correct smaller world before you count.

The vertical bar

In mathematics, we write conditional probability using a vertical line:

P(A∣B)=The probability of A, given BP(A\mid B)=\text{The probability of A, given B}

Think of that vertical bar as a wall. It tells you that everything on the right side has already happened. It represents your brand new denominator.

Reading it from a table

Let’s see how this works using a simple class survey of 50 students tracking how they get to school and whether they arrived on time.

TransportLateOn timeTotal
Bus61420
Walk21820
Car4610
Total123850

If we pick a student completely at random, the ordinary probability that they are late uses the grand total of 50 as our denominator:

P(late)=1250=625P(\text{late})=\frac{12}{50}=\frac{6}{25}

Now let us shift the question: what is the probability that a student is late, given that they catch the bus?

Given bus: only look inside the bus row

There are 20 bus students total. Out of those 20 bus students, 6 are late.

P(late∣bus)=620=310P(\text{late}\mid \text{bus})=\frac{6}{20}=\frac{3}{10}

Notice the denominator is not 50 anymore. The word given successfully narrowed our entire focus group down to 20.

Why order matters

Conditional phrases can sound very similar, but changing the order completely flips the group you are allowed to look at. Watch how the denominators change:

P(late | bus)

Condition: Bus Students

Zoom in on the Bus row only. Out of the 20 bus students, 6 are late.

P(late∣bus)=620=310P(\text{late}\mid \text{bus})=\frac{6}{20}=\frac{3}{10}

P(bus | late)

Condition: Late Students

Zoom in on the Late column only. Out of the 12 late students, 6 caught the bus.

P(bus∣late)=612=12P(\text{bus}\mid \text{late})=\frac{6}{12}=\frac{1}{2}

Key takeaways

  • Conditional probability calculates the likelihood of an event after another fact is already known.
  • The restricted conditional group always becomes your new, shrunken denominator.
  • The order matters completely: P(A∣B)P(A \mid B) and P(B∣A)P(B \mid A) evaluate entirely different sub-groups.

Optional mastery

Mastery questions

Do you want a high study score? Be disciplined. Do the mastery questions.

Open mastery questions

Checkpoint

Multiple-choice questions

Answer every question correctly to unlock the next lesson. If something is marked red, change your answer and check again.

Question 1
What does 'given that the student catches the bus' tell us to do?
Question 2
In a group, 20 students catch the bus and 6 of those students are late. What is P(late | bus)?
Question 3
Why are P(late | bus) and P(bus | late) usually different?