Course contentsShow
← Data Science
Lesson 105 of 2,1453. Probability FoundationsFree lesson

Independence in Conditional Probability

Explore how P(A|B) = P(A) characterizes independence and when conditional probabilities equal unconditional probabilities.

Independence in Conditional Probability

What you'll learn: How to recognize when conditioning on an event doesn't change a probability—the hallmark of independence.

The Core Idea

You've learned that two events A and B are independent when knowing B occurs doesn't affect the probability of A. Mathematically, this means P(A|B) = P(A).

This is the conditional probability version of independence, and it's incredibly powerful. When this equation holds, it tells you that the extra information "given B" is irrelevant to A. The conditional probability equals the unconditional probability.

When Does This Happen?

Independence in conditional probability works both ways:

  • If P(A|B) = P(A), then A and B are independent
  • If P(B|A) = P(B), then A and B are independent

Think of flipping two fair coins. Let A = "first coin is heads" and B = "second coin is heads." The probability of A is 0.5. Now, if I tell you B happened (the second coin was heads), does that change the probability of A? No! P(A|B) still equals 0.5. The coins don't influence each other.

Contrast this with drawing cards without replacement. If A = "first card is an Ace" and B = "second card is an Ace," then P(A|B) ≠ P(A) because knowing you already drew an Ace changes the deck composition.

Checking Independence with Conditional Probability

Whenever you see P(A|B) = P(A), you've found independence. This also implies:

  • P(A and B) = P(A) × P(B) (the multiplication rule you learned)
  • P(B|A) = P(B)

Key Takeaway: Independence means conditioning doesn't matter—P(A|B) equals P(A), showing that knowing B tells you nothing new about A's likelihood.