Lesson 12.2 · Probability
Independent events
If you flip a coin and it lands heads, does that change what a number cube will do next? Of course not. The two results have nothing to do with each other, and that makes the probability of getting both easy to find: just multiply. This lesson makes "nothing to do with each other" precise and shows you how to test for it.
What independence means
Definition
Independent events
Two events and are independent if knowing that one of them happened does not change the probability of the other. Otherwise they are dependent.
Some examples:
- Flipping a coin and rolling a cube: independent. The coin has no effect on the cube.
- Drawing a marble, putting it back, and drawing again: independent. The bag is the same for both draws.
- Drawing a marble, keeping it, and drawing again: dependent. The first draw changes what's left in the bag.
The multiplication rule for independent events
Think about flipping a coin and rolling a cube. The sample space has equally likely outcomes, and exactly one of them is (heads, ). So . Notice that
That's no accident. Heads happens in half the outcomes, and among those outcomes a happens one-sixth of the time. Half of one-sixth is one-twelfth.
Multiplication rule (independent events)
If and are independent, then
This extends to more events: if , and are independent, .
Worked example: Drawing with replacement
A bag holds green marbles and yellow marbles. You draw one, note its color, put it back, and draw again. What is the probability that both marbles are green?
Because the first marble is replaced, the bag is the same for the second draw, so the draws are independent.
Testing for independence
Sometimes it isn't obvious whether two events are related. The multiplication rule works in reverse as a test.
Independence test
Events and are independent exactly when . Compute both sides. If they're equal, the events are independent; if not, they're dependent.
Worked example: Two tests with one number cube
Roll one number cube. Let = "even," = "at most ," and = "at most ." Is independent of ? Of ?
and . and . The outcomes in both are , so .
The two sides match, so and are independent. Knowing the roll is at most leaves the chance of even at exactly one-half ( of the outcomes).
and . . The only outcome in both is , so . But
So and are dependent. Knowing the roll is at most drops the chance of even to .
Common mistake
Independent does not mean mutually exclusive. In fact, mutually exclusive events (with nonzero probabilities) are always dependent: if happens, then definitely didn't, so knowing about changes the probability of all the way to . For independent events, use . For mutually exclusive events, .
"At least one" problems
Questions that ask for "at least one" success over several independent trials have many cases: exactly one, exactly two, and so on. The complement has only one case: no successes at all.
Worked example: At least one six
You roll a number cube times. What is the probability of rolling at least one ?
The complement of "at least one " is "no on any roll." Each roll misses with probability , and the rolls are independent, so
It's slightly better than a coin flip.
Tip
When you see "at least one," reach for the complement: .
Practice
You flip a coin and roll a number cube. What is the probability of getting tails and a number greater than ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A bag has red and blue marbles. You draw a marble, replace it, and draw again. What is the probability that both marbles are red?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Events and are independent, with and . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
, and . Are and independent?
A basketball player makes of her free throws, and each shot is independent of the others. What is the probability that she makes all of her next free throws?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
You flip a coin times. What is the probability of getting at least one head?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Events and are independent, with and . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
You draw one card from a standard -card deck. Let = "the card is a heart" and = "the card is a king." Which statement is true?