Conditional Probability: Narrowing the Sample Space
Knowing that one event has happened can change the probability of another. This lesson defines conditional probability, shows how the condition narrows the sample space, and gives a test for independence.
This lesson is written in original English from the topic explanations in our Turkish library.
What the condition changes
If you learn that a ball drawn from a bag is red, the set of outcomes you still need to consider becomes smaller, and the probabilities must be recalculated. This is conditional probability: P(A given B) means the probability of A when B is already known to have occurred.
The formula
The definition is P(A | B) = P(A ∩ B) divided by P(B), with P(B) not equal to zero. The condition narrows the sample space and becomes the denominator, so outcomes outside B are no longer counted at all. The practical order is to write the new, reduced set of outcomes first and then count the favourable ones inside it.
- P(A | B) = P(A ∩ B) / P(B), P(B) ≠ 0.
- The condition becomes the denominator.
- Write the reduced sample space before counting.
Testing independence
Two events are independent when knowing one does not change the probability of the other, which is tested by asking whether P(A | B) equals P(A). If the two are equal the events are independent; if not, they are dependent. For independent events the probability of both occurring is the product of their separate probabilities, P(A ∩ B) = P(A) × P(B). Drawing without replacement makes events dependent, because the pool shrinks after each draw.
- Independent if P(A | B) = P(A).
- Then P(A ∩ B) = P(A) × P(B).
- Without replacement: dependent.
Worked example
A bag holds five red and three blue balls. One red ball is taken out and not replaced. What is the probability that a second ball drawn is also red?
- After the first draw, four red and three blue balls remain.
- The reduced sample space has seven balls.
- Favourable outcomes are the four remaining red balls.
Answer: P(second red | first red) = 4 / 7.
Common mistakes
A probability calculated without a condition may stop being valid once a condition is given. The most common error is forgetting to shrink the denominator; in draws without replacement the total number of outcomes falls at every step.
Keep learning
Frequently asked questions
What does P(A | B) mean?
The probability of A given that B has already occurred. It is P(A ∩ B) divided by P(B).
How can you test whether two events are independent?
Compare P(A | B) with P(A). If they are equal the events are independent; otherwise they are dependent.
Why are draws without replacement dependent?
Because the pool becomes smaller after each draw, so earlier outcomes change the probabilities of later ones.