Skip to main content
Skip to main content

What is Conditional Probability?

Conditional probability in action with marbles
Conditional probability in action with marbles

Conditional probability is the chance of something happening given that something else has already happened. It's like asking "What's the probability of B happening if we know that A happened?"

Imagine you have a bag with 3 red marbles and 2 blue marbles. If you take out one red marble and don't put it back, the probability of getting a blue marble next has changed because there are now fewer marbles in the bag. That's conditional probability!

We write conditional probability as P(B|A), which means "the probability of B given A." This helps us understand how probabilities change when we have new information.

Conditional Probability Formula

The formula for conditional probability is:

Conditional Probability Formula

P(A|B) = P(A ∩ B) ÷ P(B)

Where:
P(A|B) = Probability of A given B
P(A ∩ B) = Probability of both A and B happening
P(B) = Probability of B

This formula tells us that to find the probability of A happening when we know B has happened, we divide the probability of both events happening by the probability of B.

Example: In a class of 30 students, 15 play soccer, 10 play basketball, and 5 play both. What's the probability a student plays basketball given they play soccer?
P(Basketball|Soccer) = P(Both) ÷ P(Soccer) = (5/30) ÷ (15/30) = 1/3

Joint and Marginal Probability

Joint Probability (P(A ∩ B)) is the probability of two events happening together. It's represented by the overlapping area in a Venn diagram.

Marginal Probability is the probability of a single event happening without considering other events. It's the total probability of an event.

Bayes' Theorem

P(A|B) = [P(B|A) × P(A)] ÷ P(B)

Bayes' Theorem helps us "reverse" conditional probabilities when we have limited information.

This powerful formula helps doctors diagnose diseases. For example, if a test is positive, Bayes' theorem can calculate the actual probability of having the disease.

Independent Events

Coin flips are independent events
Coin flips are independent events

Two events are independent if the occurrence of one doesn't affect the probability of the other. For independent events:

Independent Events Formula

P(A|B) = P(A)

This means the probability of A happening doesn't change whether B happens or not.

Examples of independent events:
  • Flipping a coin and rolling a die
  • Choosing a card from a deck and then choosing another card after replacement
  • Rain today and your favorite team winning tomorrow
Dependent events are when one event affects the other. For example, drawing two cards from a deck without replacement.

Tree Diagrams

Tree diagrams help us visualize conditional probabilities and calculate probabilities of multiple events. Here's how they work:

Start
Heads (50%)
Tails (50%)
Heads (50%) → P = 0.25
Tails (50%) → P = 0.25
Heads (50%) → P = 0.25
Tails (50%) → P = 0.25
To use a tree diagram:
  1. Start from the initial event
  2. Draw branches for each possible outcome
  3. Write probabilities on each branch
  4. Multiply probabilities along the branches to find joint probabilities
Tree diagrams are especially helpful when dealing with sequences of events or when probabilities change after each step.

Real-World Examples

Conditional probability in everyday life
Conditional probability in everyday life

Example 1: Weather Forecasting

Meteorologists use conditional probability to predict weather. For example, if it's cloudy in the morning (A), what's the probability of rain in the afternoon (B)? P(B|A) might be 70% based on historical data.

Example 2: Medical Testing

If a disease test is positive (A), what's the actual probability of having the disease (B)? This uses Bayes' theorem: P(B|A) = [P(A|B) × P(B)] ÷ P(A)

Example 3: Game Strategy

In a game with two dice, what's the probability of rolling a sum of 7 given that the first die shows 4? P(sum=7 | first=4) = P(second=3) = 1/6

Example 4: Card Games

In a deck of cards, what's the probability of drawing a king given that you've drawn a face card? P(King|Face) = P(King and Face)/P(Face) = (4/52) ÷ (12/52) = 1/3

Conditional Probability Quiz

Test your understanding with these 5 questions. Choose the best answer for each.

1. What does P(A|B) mean?
2. In a bag with 3 red and 2 blue marbles, if you draw a red marble first and don't replace it, what's the probability the next is blue?
3. Two events are independent if:
4. What is the formula for conditional probability?
5. In a deck of cards, what's P(King | Face Card)?

Frequently Asked Questions

Here are answers to common questions about conditional probability:

Probability Trivia

Discover interesting facts about probability:

Copyright © 2025 Workybooks. Made with ♥ in California.