Independence &
Conditioning
Master the fundamental identities of probabilistic independence and conditional probability: the building blocks of modern statistics and inference.
What Is Conditional Probability?
Conditional probability measures how the likelihood of an event changes when we learn new information. Given that event \(B\) has occurred, the probability of \(A\) is:
This definition anchors everything: Bayes' theorem, independence, and conditioning identities all flow from this single ratio.
Visualizing the Conditioning Operation
What Is Independence?
Two events \(A\) and \(B\) are independent if learning that one occurred tells you nothing about the other. Formally:
Equivalently, \(P(A \mid B) = P(A)\) and \(P(B \mid A) = P(B)\). These three statements are logically equivalent whenever the conditioning events have positive probability.
Core Conditioning Identities
Bayes' Theorem: Reversing the Conditioning
Independence vs Conditional Independence
| Independence | Conditional Independence | |
|---|---|---|
| Notation | \(A \perp\!\!\!\perp B\) | \(A \perp\!\!\!\perp B \mid C\) |
| Definition | \(P(A \cap B) = P(A)P(B)\) | \(P(A \cap B \mid C) = P(A \mid C)\,P(B \mid C)\) |
| Equivalent form | \(P(A \mid B) = P(A)\) | \(P(A \mid B, C) = P(A \mid C)\) |
| Implication | Neither implies the other | Neither implies the other |
Why Neither Implies the Other
How to Verify Independence
Example 1: Rolling Two Dice
Let \(A = \{\text{die 1 shows 3}\}\) and \(B = \{\text{sum} \ge 8\}\). Are \(A\) and \(B\) independent?
Example 2: Conditional Independence
A factory has two machines. A machine is chosen to make a batch (\(M_1\) with prob 0.6, \(M_2\) with prob 0.4). Two items are drawn from this batch. Defect rates are 5% for \(M_1\) and 8% for \(M_2\). Let:
Example 2: Computing the Joint
We find the joint probability using the Law of Total Probability, conditioning on the machine choice. Let \(M_i\) be the event that Machine \(i\) was chosen.
Example 3: Chain Rule in Action
Draw three cards from a standard 52-card deck without replacement. Find the probability that all three are hearts.
Common Mistakes
Identity Summary Table
| Identity | Formula | When to Use |
|---|---|---|
| Conditional Probability | \(P(A \mid B) = \frac{P(A \cap B)}{P(B)}\) | Finding prob. given info |
| Multiplication Rule | \(P(A \cap B) = P(A \mid B)\,P(B)\) | Joint from conditionals |
| Independence | \(P(A \cap B) = P(A)\,P(B)\) | Events don't interact |
| Chain Rule | \(P(\bigcap_i A_i) = \prod_i P(A_i \mid \bigcap_{j | Sequential events |
| Bayes' Theorem | \(P(B \mid A) = \frac{P(A \mid B)\,P(B)}{P(A)}\) | Reversing conditioning |
| Total Probability | \(P(A) = \sum_i P(A \mid B_i)\,P(B_i)\) | Marginalizing over partitions |
Question 1 of 5
If \(P(A) = 0.3\), \(P(B) = 0.5\), and \(A\) and \(B\) are independent, what is \(P(A \cup B)\)?
Question 2 of 5
If events \(A\) and \(B\) are mutually exclusive with \(P(A) = 0.4\) and \(P(B) = 0.3\), are they independent?
Question 3 of 5
Given \(P(A \mid B) = 0.6\), \(P(B) = 0.5\), and \(P(A) = 0.4\), find \(P(B \mid A)\).
Question 4 of 5
If \(A \perp\!\!\!\perp B\), which of the following is always true?
Question 5 of 5
Three cards are drawn without replacement from a standard deck. Using the chain rule, what is \(P(\text{all three are aces})\)?