Conditional Probability and Independence
Conditional probability is probability with extra information: is the probability of given that has happened. Tree diagrams organise it; the formula makes it precise; and independence is the special case where the extra information changes nothing.
The definitions
and are independent if any (equivalently all) of these hold:
and are mutually exclusive if , in which case .
Tree diagrams
Each branch carries a probability; along a path the probabilities multiply; across paths that give the same outcome they add. The second-stage branches are already conditional on the first stage.
A bag has 5 red and 3 blue counters. Two are taken without replacement. Find the probability that they are the same colour, and the probability that the second is red.
Solution
Branches: first red , then red or blue ; first blue , then red or blue .
.
, the same as , as symmetry predicts.
In the same experiment, find the probability that the first counter was red given that the second is red.
Solution
, , . Determine whether and are independent.
Solution
. . Equal, so independent.
Of 200 students, 120 study French; 80 of the French students and 30 of the others study Spanish. A student is chosen at random. Find and , and decide whether studying French and Spanish are independent.
Solution
. .
, so not independent: French students are more likely to study Spanish.
Reading the words
| Phrase | Means |
|---|---|
| "given that", "if it is known that" | conditional probability, divide by the probability of the condition |
| "both", "and" | intersection, multiply along a path |
| "at least one" | |
| "exactly one" | add the paths with one success and one failure |
and are different. "The probability a test is positive given the person is ill" is not "the probability the person is ill given the test is positive". Write the condition after the bar and divide by its probability.
For "show that and are independent", compute and separately and state that they are equal. For "not independent", show they differ. Comparing with is equally acceptable.
Practice
- A fair die is rolled twice. Find the probability that the total is given that the first roll is even.
- , , . Find and .
- Machine X makes 60% of items with 3% faulty; machine Y makes the rest with 5% faulty. An item is faulty. Find the probability it came from Y.
- Events and have , , . Are they independent? Are they mutually exclusive?
Answers
- First even: 18 outcomes; total 8 with first even: ; .
- ; .
- ; .
- : independent. : not mutually exclusive.