Lesson 9.5 · Statistics and Probability
Probability rules
Probability is the language of chance, and it underlies everything in this unit: random samples, random assignment and margins of error all rely on it. A handful of rules let you find the probability of complicated events, like "A or B," "A and B" and "A given B," from simpler ones.
The basics
An experiment in probability is any process with uncertain results, like rolling a die. The set of all possible outcomes is the sample space, and an event is a set of outcomes. When all outcomes are equally likely,
Every probability is between (impossible) and (certain).
The complement of , written or "not ," is every outcome not in . Since and not together cover everything,
The complement rule is especially useful for "at least one" questions. "At least one six in three rolls" has many cases, but its complement, "no sixes at all," has just one.
The addition rule: "A or B"
" or " means happens, happens, or both. If you add and , outcomes in both events get counted twice, so subtract them once.
The addition rule
If and are mutually exclusive (they can't both happen), then and .
Worked example: Cards
One card is drawn from a standard -card deck. Find the probability that it is a king or a heart.
Solution. There are kings and hearts, and card (the king of hearts) is both:
Two-way tables and conditional probability
Sometimes you learn something that changes the probabilities. The probability of given that has happened is written . Knowing happened shrinks the sample space to just the outcomes in .
Definition
Conditional probability
With a table of counts, this is simply .
Worked example: Reading a two-way table
A survey of students asked whether they play a sport and whether they have a part-time job.
| Job | No job | Total | |
|---|---|---|---|
| Sport | |||
| No sport | |||
| Total |
A student is chosen at random. Find (1) , (2) , (3) and (4) .
Solution.
- .
- .
- Look only at the Sport row: .
- Look only at the Job column: .
Common mistake
and are usually different. In the example, of athletes have jobs, but of students with jobs are athletes. Always ask: which group is the "given" group? That group's total goes in the denominator.
Independence and the multiplication rule
Two events are independent if knowing that one happened doesn't change the probability of the other: . Coin flips and separate die rolls are independent. Rearranging the conditional probability formula gives the multiplication rule.
The multiplication rule
For any events,
If and are independent, this becomes . You can also use this as a test: and are independent exactly when .
In the two-way table, but . Knowing a student plays a sport changes the probability, so the events are not independent. Check with the product test: , but .
Worked example: Drawing without replacement
A bag holds red and blue marbles. Two marbles are drawn one after the other without replacement. Find the probability that both are red.
Solution. The first draw is red with probability . Given that, red remain among marbles:
The draws are not independent, because the first draw changes what's left in the bag. With replacement, the answer would be .
Worked example: At least one
A fair die is rolled times. Find the probability of at least one six.
Solution. The complement is "no sixes." Each roll is not a six with probability , and the rolls are independent:
Tip
Don't confuse mutually exclusive with independent. Mutually exclusive events can't happen together, so if one happens the other's probability drops to . That means two mutually exclusive events (each with positive probability) are never independent.
Practice
The probability that it rains tomorrow is . What is the probability that it does not rain tomorrow?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
One card is drawn from a standard -card deck. What is the probability that it is a heart or a face card (jack, queen or king)? Give a fraction.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Events and have , and . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A basketball player makes of her three-point shots, and a teammate makes of his free throws. The shots are independent. What is the probability that she makes her next three-pointer and he makes his next free throw?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A drawer contains black socks and white socks. Two socks are pulled out at random without replacement. What is the probability that both are white? Give a fraction.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A gym surveyed members.
| Morning | Evening | Total | |
|---|---|---|---|
| Under 30 | |||
| 30 or older | |||
| Total |
A member is chosen at random. Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Using the gym table above, are "morning" and "under 30" independent events?
A fair coin is flipped times. What is the probability of getting at least one head? Give a fraction.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.