Course contentsShow
← Mathematics
Lesson 2792 of 3,12155. Probability — FoundationsFree lesson

The Conditional Probability Formula

Master the formula P(A|B) = P(A ∩ B) / P(B) and understand each component.

The Conditional Probability Formula

What You'll Learn

You'll master the formula P(A|B) = P(A ∩ B) / P(B), which calculates the probability of event A happening given that event B has already occurred.

Understanding the Formula

When we know that event B has happened, our effective sample space shrinks from the entire original space down to just B. The conditional probability formula captures this mathematically.

The notation P(A|B) reads as "the probability of A given B" or "the probability of A conditioned on B."

Breaking Down Each Component

  • P(A|B): The conditional probability we're calculating—the chance A occurs within the "universe" where B is already true
  • P(A ∩ B): The probability that both A and B occur together (the intersection)
  • P(B): The probability that B occurs—this must be greater than zero (we can't condition on impossible events)

Why It Works

Think of it this way: if B has occurred, we're now only concerned with outcomes inside B. Among those B-outcomes, we want the fraction where A also happens. That fraction is the intersection divided by B's probability:

P(A|B) = (outcomes favorable to both A and B) / (outcomes in B)

Example Structure

If 30% of all students own a laptop (B) and 15% own both a laptop and a tablet (A ∩ B), then among laptop owners specifically:

P(tablet|laptop) = 0.15 / 0.30 = 0.50

So 50% of laptop owners also have tablets.

Key Requirement

This formula only works when P(B) > 0. You cannot condition on an event that never happens.

Key Takeaway: The conditional probability formula P(A|B) = P(A ∩ B) / P(B) rescales probabilities to reflect a reduced sample space where B is known to have occurred.