Math Core

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 AA and BB 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 2×6=122 \times 6 = 12 equally likely outcomes, and exactly one of them is (heads, 55). So P(heads and 5)=112P(\text{heads and } 5) = \dfrac{1}{12}. Notice that

112=12⋅16=P(heads)⋅P(5).\frac{1}{12} = \frac{1}{2} \cdot \frac{1}{6} = P(\text{heads}) \cdot P(5).

That's no accident. Heads happens in half the outcomes, and among those outcomes a 55 happens one-sixth of the time. Half of one-sixth is one-twelfth.

Multiplication rule (independent events)

If AA and BB are independent, then

P(A∩B)=P(A)⋅P(B).P(A \cap B) = P(A) \cdot P(B).

This extends to more events: if AA, BB and CC are independent, P(A∩B∩C)=P(A)⋅P(B)⋅P(C)P(A \cap B \cap C) = P(A) \cdot P(B) \cdot P(C).

Worked example: Drawing with replacement

A bag holds 44 green marbles and 66 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.

P(green, then green)=410⋅410=16100=425.P(\text{green, then green}) = \frac{4}{10} \cdot \frac{4}{10} = \frac{16}{100} = \frac{4}{25}.

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 AA and BB are independent exactly when P(A∩B)=P(A)⋅P(B)P(A \cap B) = P(A) \cdot P(B). 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 AA = "even," BB = "at most 44," and CC = "at most 33." Is AA independent of BB? Of CC?

AA and BB. P(A)=36=12P(A) = \dfrac{3}{6} = \dfrac{1}{2} and P(B)=46=23P(B) = \dfrac{4}{6} = \dfrac{2}{3}. The outcomes in both are {2,4}\{2, 4\}, so P(A∩B)=26=13P(A \cap B) = \dfrac{2}{6} = \dfrac{1}{3}.

P(A)⋅P(B)=12⋅23=13=P(A∩B).P(A) \cdot P(B) = \frac{1}{2} \cdot \frac{2}{3} = \frac{1}{3} = P(A \cap B).

The two sides match, so AA and BB are independent. Knowing the roll is at most 44 leaves the chance of even at exactly one-half (22 of the 44 outcomes).

AA and CC. P(C)=36=12P(C) = \dfrac{3}{6} = \dfrac{1}{2}. The only outcome in both is {2}\{2\}, so P(A∩C)=16P(A \cap C) = \dfrac{1}{6}. But

P(A)⋅P(C)=12⋅12=14≠16.P(A) \cdot P(C) = \frac{1}{2} \cdot \frac{1}{2} = \frac{1}{4} \ne \frac{1}{6}.

So AA and CC are dependent. Knowing the roll is at most 33 drops the chance of even to 13\dfrac{1}{3}.

Common mistake

Independent does not mean mutually exclusive. In fact, mutually exclusive events (with nonzero probabilities) are always dependent: if AA happens, then BB definitely didn't, so knowing about AA changes the probability of BB all the way to 00. For independent events, use P(A∩B)=P(A)⋅P(B)P(A \cap B) = P(A) \cdot P(B). For mutually exclusive events, P(A∩B)=0P(A \cap B) = 0.

"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 44 times. What is the probability of rolling at least one 66?

The complement of "at least one 66" is "no 66 on any roll." Each roll misses 66 with probability 56\dfrac{5}{6}, and the rolls are independent, so

P(no 6)=(56)4=6251296.P(\text{no } 6) = \left(\frac{5}{6}\right)^4 = \frac{625}{1296}.P(at least one 6)=1−6251296=6711296≈0.518.P(\text{at least one } 6) = 1 - \frac{625}{1296} = \frac{671}{1296} \approx 0.518.

It's slightly better than a coin flip.

Tip

When you see "at least one," reach for the complement: P(at least one)=1−P(none)P(\text{at least one}) = 1 - P(\text{none}).

Practice

Practice 1

You flip a coin and roll a number cube. What is the probability of getting tails and a number greater than 44?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

A bag has 33 red and 55 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.

Practice 3

Events AA and BB are independent, with P(A)=0.4P(A) = 0.4 and P(B)=0.5P(B) = 0.5. Find P(A∩B)P(A \cap B).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

P(A)=0.3P(A) = 0.3, P(B)=0.6P(B) = 0.6 and P(A∩B)=0.2P(A \cap B) = 0.2. Are AA and BB independent?

Practice 5

A basketball player makes 80%80\% of her free throws, and each shot is independent of the others. What is the probability that she makes all 33 of her next free throws?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

You flip a coin 55 times. What is the probability of getting at least one head?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Events AA and BB are independent, with P(A)=0.5P(A) = 0.5 and P(B)=0.4P(B) = 0.4. Find P(A∪B)P(A \cup B).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

You draw one card from a standard 5252-card deck. Let HH = "the card is a heart" and KK = "the card is a king." Which statement is true?