Lesson 4.2 · Probability, Random Variables and Distributions
Probability rules
Simulation estimates probabilities; a handful of rules lets you compute them exactly. These rules are the grammar of probability, and nearly every later calculation in AP Statistics is built from them.
Sample spaces and events
A sample space is the list of all possible outcomes of a random process. An event is any collection of outcomes. If all outcomes are equally likely,
For example, rolling two fair dice has 36 equally likely outcomes. The event "sum is 7" contains , so .
Every probability model must satisfy two basic rules: each probability is between and , and the probabilities of all outcomes in the sample space add to .
The complement rule
The complement of , written , is the event that does not happen. Since and together cover the whole sample space,
The complement rule is a big time saver whenever "not " is easier to count than itself.
Worked example: Complement
The forecast says the probability of rain tomorrow is . What is the probability it does not rain?
Solution. .
Mutually exclusive events and the addition rule
Two events are mutually exclusive (or disjoint) if they can't happen at the same time: . For mutually exclusive events,
Most events overlap, though. If you add and , the outcomes in both events get counted twice, so you subtract the overlap once.
General addition rule
For any two events and ,
"Or" in statistics means at least one of the events happens (it includes both).
A Venn diagram helps you see why. The overlap region belongs to both circles, so it is counted in and again in .
Worked example: Streaming services
In a survey of households, subscribe to streaming service N, subscribe to service H, and subscribe to both. Find the probability that a randomly chosen household subscribes to (a) at least one of the two and (b) neither.
Solution.
(a) .
(b) "Neither" is the complement of "at least one": .
Two-way tables
Data from two categorical variables are often given in a two-way table. To find a probability, divide the count of the event by the total you are choosing from.
Worked example: Probability from a two-way table
A survey of 220 students recorded grade level and phone type.
| iPhone | Android | Total | |
|---|---|---|---|
| 9th grade | 38 | 22 | 60 |
| 10th grade | 45 | 35 | 80 |
| 11th grade | 52 | 28 | 80 |
| Total | 135 | 85 | 220 |
One student is chosen at random. Find (a) , (b) , (c) .
Solution.
(a) .
(b) Look at the single cell: .
(c) Use the addition rule, subtracting the 35 students counted in both groups:
You can check by adding cells directly: .
Common mistake
The most common error is forgetting to subtract the overlap in "or" problems. Only use when you are sure the events are mutually exclusive. If your "or" probability comes out bigger than , you definitely double counted.
Tip
Several related unknowns? Fill in a Venn diagram from the inside out: put in the overlap first, then in "A only", and so on. The four regions must add to .
Practice
The probability that a randomly chosen adult owns a bicycle is . What is the probability that a randomly chosen adult does not own a bicycle?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
For events and , , and . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Events and are mutually exclusive with and . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A random sample of 400 adults were asked whether they exercise regularly.
| Yes | No | Total | |
|---|---|---|---|
| Under 40 | 128 | 72 | 200 |
| 40 and over | 96 | 104 | 200 |
| Total | 224 | 176 | 400 |
One of these adults is chosen at random. Find the probability that the person is under 40 or exercises regularly.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Two fair six-sided dice are rolled. Find the probability that the sum is 7 or 11. Give an exact fraction or a decimal rounded to 3 places.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
For events and , , and . Which statement is true?
At a high school, of students play a sport, play a musical instrument, and do neither. What is the probability that a randomly chosen student does both?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.