Sub topic 8
Multiplying Probabilities of Independent Events
Prerequisites and the basic rule
Assume you can simplify fractions, use the multiplication principle for counting, and read the words “and” and “or” in probability statements.
Two events are independent if knowing that one event occurred does not change the probability of the other event. For independent events A and B:
P(A and B) = P(A) × P(B)
The word “and” usually signals multiplication, but multiply directly only when the events are independent or when you use the appropriate conditional probability.
For example, suppose a fair coin is flipped twice. Let A be “the first flip is heads” and B be “the second flip is heads.” The flips are independent, so:
P(A and B) = 1/2 × 1/2 = 1/4
The probability of getting heads on both flips is 1/4.
Recognizing independent events
Repeated trials are often independent when the result of one trial does not affect the next trial:
- Flipping a fair coin several times.
- Rolling a die several times.
- Choosing a card, replacing it, and then choosing again.
Events can also be independent even when they describe different features of the same experiment. For two fair dice, let A be “the first die is even” and B be “the sum is 7.” Then P(A) = 1/2 and P(B) = 1/6. The outcomes where both occur are (2, 5), (4, 3), and (6, 1), so P(A and B) = 3/36 = 1/12.
Because 1/2 × 1/6 = 1/12, these events are independent.
from fractions import Fraction
from itertools import product
space = list(product(range(1, 7), repeat=2))
def prob(event):
return Fraction(sum(event(outcome) for outcome in space), len(space))
first_even = lambda outcome: outcome[0] % 2 == 0
sum_is_7 = lambda outcome: outcome[0] + outcome[1] == 7
both = prob(lambda outcome: first_even(outcome) and sum_is_7(outcome))
product_of_probabilities = prob(first_even) * prob(sum_is_7)
print(both) # 1/12
print(product_of_probabilities) # 1/12
print(both == product_of_probabilities) # TrueA useful test for independence
Events A and B are independent exactly when:
P(A and B) = P(A)P(B)
You can also test independence by checking whether:
P(A given B) = P(A)
If the probability of A remains the same after learning that B occurred, the events are independent.
| Situation | Are the events independent? | Reason |
|---|---|---|
| Two coin flips | Yes | The first flip does not affect the second |
| Two dice rolls | Yes | Each roll has the same probabilities |
| Drawing two cards without replacement | Usually no | The first card changes the deck |
Common GRE traps
A question may describe events that look separate but are not independent. Drawing two marbles without replacement is the main example. After the first marble is removed, both the number of marbles and the number of favorable marbles may change.
Also distinguish “and” from “or.” Multiplication generally handles “and” for independent events. Addition generally handles “or,” with an adjustment if the events overlap.
Exercise
A fair die is rolled twice. What is the probability that the first roll is greater than 4 and the second roll is even?
Show answer
The events are independent. P(first roll > 4) = 2/6 = 1/3, and P(second roll is even) = 3/6 = 1/2. Therefore, P(both) = 1/3 × 1/2 = 1/6.