Sub topic 8
Multiplying probabilities of independent events
This chapter assumes you can compute a simple probability as favorable over total outcomes, and that you are comfortable multiplying fractions and decimals. You should also know the complement rule and how "and" differs from "or" in compound events. Here you will learn when the multiplication rule applies, how to use it for two or more events, and the mistakes that cost points on the GRE.
The rule
Two events are independent when the outcome of one does not change the probability of the other. For independent events A and B:
P(A and B) = P(A) × P(B)
The rule extends to any number of independent events. For A, B, and C, multiply all three probabilities:
P(A and B and C) = P(A) × P(B) × P(C)
Why multiplying works
Suppose you flip a fair coin and roll a fair die. There are 2 × 6 = 12 equally likely outcomes. Only one of them is "heads and 5". So P(heads and 5) = 1/12.
Multiplying gives the same answer: 1/2 × 1/6 = 1/12. The first event keeps half of the outcomes, and the second event keeps one sixth of those. Multiplying a fraction by a fraction means "take that part of that part."
Worked examples
Example 1: a coin and a die
A fair coin is flipped and a fair die is rolled. What is the probability of tails and an even number?
- P(tails) = 1/2
- P(even) = 3/6 = 1/2
- The two devices do not affect each other, so the events are independent.
P(tails and even) = 1/2 × 1/2 = 1/4.
Example 2: repeated trials
A basketball player makes 80% of free throws, and each shot is independent of the others. What is the probability that she makes all three of her next three shots?
P = 0.8 × 0.8 × 0.8 = 0.512
The answer is 51.2%, which is lower than 80%. Each extra "and" can only keep the probability the same or lower it, because you multiply by a number no greater than 1.
Example 3: different probabilities per event
A bag has 3 red and 2 blue marbles. You draw one marble, record its color, and put it back. Then you draw again. What is the probability of red first and blue second?
- P(red) = 3/5
- P(blue) = 2/5, because the marble was replaced and the bag is unchanged
P(red then blue) = 3/5 × 2/5 = 6/25.
Replacement is what makes the two draws independent. Drawing without replacement changes the second probability, and the chapter on the general multiplication rule covers that case.
Checking the rule by listing outcomes
You can confirm the rule by counting outcomes. This program lists all 12 outcomes of a coin and a die. It compares the direct count with the product of the separate probabilities.
from fractions import Fraction
from itertools import product
space = list(product(["H", "T"], range(1, 7))) # 12 outcomes
def prob(event):
return Fraction(sum(1 for o in space if event(o)), len(space))
heads = lambda o: o[0] == "H"
five = lambda o: o[1] == 5
print(prob(lambda o: heads(o) and five(o))) # 1/12
print(prob(heads) * prob(five)) # 1/12Both lines print 1/12.
Testing whether events are independent
Sometimes a problem does not tell you whether events are independent. You then test the definition. Events A and B are independent exactly when P(A and B) = P(A) × P(B).
The next program applies this test to two pairs of events on two fair dice. For the first pair, "first die is even" and "sum is 7", the test passes. For the second pair, "first die is even" and "sum is 8", it fails.
from fractions import Fraction
from itertools import product
space = list(product(range(1, 7), repeat=2))
def prob(event):
return Fraction(sum(1 for o in space if event(o)), len(space))
first_even = lambda o: o[0] % 2 == 0
sum_is_7 = lambda o: o[0] + o[1] == 7
sum_is_8 = lambda o: o[0] + o[1] == 8
for name, other in [("sum is 7", sum_is_7), ("sum is 8", sum_is_8)]:
both = prob(lambda o: first_even(o) and other(o))
product_of_parts = prob(first_even) * prob(other)
print(name, both, product_of_parts, both == product_of_parts)The output is:
sum is 7 1/12 1/12 True
sum is 8 1/12 5/72 FalseFor "sum is 7", whatever the first die shows, exactly one value on the second die makes the sum 7. Knowing the first die is even therefore tells you nothing new. For "sum is 8", the first die matters: a first roll of 1 makes a sum of 8 impossible, and a first roll of 2 through 6 each leaves exactly one value on the second die. The events are dependent, so multiplying the separate probabilities would give a wrong answer.
A decision path
Use this sequence before you multiply on any problem that says "and."
Common errors
- Adding instead of multiplying. "And" calls for multiplication. "Or" calls for addition, with a correction if the events overlap. If P(A) = 1/2 and P(B) = 1/3, then P(A and B) is 1/6 for independent events, not 5/6.
- Assuming independence without a reason. Independence needs a justification. Good reasons are separate coins or dice, repeated trials of the same process, or draws with replacement. If the problem does not say the events are independent, look for a structural reason or test the definition.
- Ignoring replacement. "Without replacement" makes the second probability depend on the first draw. Multiplying the original fractions then gives the wrong answer.
- Mixing up the language. "At least one" is not a product of the individual probabilities. Use the complement for it, as a later chapter shows.
- Arithmetic slips with decimals. Converting to fractions often keeps the work cleaner. For example, 0.5 × 0.2 = 0.10, and the result must be smaller than both factors.
Reading GRE phrasing
GRE questions often signal independence in words. These phrases usually mean you can multiply:
- "A fair coin is flipped three times."
- "Each of the two machines operates independently."
- "A card is drawn, replaced, and the deck shuffled."
- "The outcome of one trial does not affect the next."
Watch for phrases that mean the events are dependent, such as "without replacement," "the first item is not returned," or "given that." In quantitative comparison questions, the rule also gives a quick size check. A product of two probabilities is never larger than either of them, which can settle a comparison without full calculation.
Summary of what to remember
| Situation | Rule |
|---|---|
| A and B independent | P(A and B) = P(A) × P(B) |
| Several independent events | Multiply every probability |
| Draws with replacement | Same probabilities each draw, so multiply |
| Draws without replacement | Probabilities change, so not independent |
| Unsure about independence | Test P(A and B) = P(A) × P(B) |
Exercise
A fair die is rolled three times. What is the probability that all three rolls are 6? What is the probability that the first roll is even and the second roll is greater than 4?
Show answer
The rolls are independent. For three 6s, the probability is 1/6 × 1/6 × 1/6 = 1/216. For the second part, P(first even) = 3/6 = 1/2 and P(second greater than 4) = 2/6 = 1/3 (rolls of 5 or 6). The product is 1/2 × 1/3 = 1/6.
Exercise
A factory part passes inspection with probability 0.9, and the parts are inspected independently. What is the probability that four parts in a row all pass? Is the answer greater or less than 0.9, and why?
Show answer
P = 0.9 × 0.9 × 0.9 × 0.9 = 0.6561. It is less than 0.9. Each extra independent event multiplies by a number below 1, so the probability that all of them occur can only get smaller.
Exercise
A bag has 4 green and 6 yellow marbles. You draw one marble, put it back, and draw again. What is the probability that both marbles are green? Would the answer be the same if you did not put the first marble back?
Show answer
With replacement, P = 4/10 × 4/10 = 16/100 = 4/25. Without replacement, the second draw would have 3 green marbles out of 9, so P = 4/10 × 3/9 = 2/15. The answers differ because the draws are no longer independent.