Module 13 · Sequences, probability and counting · Lesson 83 of 84
Probability
Sample spaces, equally likely outcomes, unions, complements, mutually exclusive events, and probability with counting.
In this lesson · about 24 minutes
- Find probabilities of equally likely outcomes
- Use the rules for unions, complements and mutually exclusive events
- Use permutations and combinations to find probabilities
An experiment is an activity with an uncertain result, like rolling a die. Its sample space S is the set of all possible outcomes, and an event E is some of those outcomes. If all outcomes are equally likely:
P(E) = (number of outcomes in E) / (number of outcomes in S)
A probability is between 0 (impossible) and 1 (certain). Rolling an even number on a die: E = {2, 4, 6}, so P(E) = 3/6 = ½.
The rules
- Complement: P(not E) = 1 − P(E). Best for "at least one" questions.
- Union ("A or B"): P(A ∪ B) = P(A) + P(B) − P(A ∩ B). Subtract the overlap so it isn't counted twice.
- Mutually exclusive events can't both happen (P(A ∩ B) = 0), so P(A ∪ B) = P(A) + P(B).
Example: drawing one card from a standard deck of 52, P(heart or king) = 13/52 + 4/52 − 1/52 = 16/52 = 4/13. The king of hearts is in both events, so subtract it once.
Probability with counting
When outcomes are groups, count them with combinations. A 5-card hand from 52 has C(52, 5) = 2,598,960 possibilities. The chance that all 5 are hearts is C(13, 5)/C(52, 5) = 1,287/2,598,960 ≈ 0.0005.
Theory and experiment
Probability tells you what happens in the long run. Flip a coin 10 times and you might get 7 heads. Flip it 10,000 times and the share of heads will be very close to ½. This is the law of large numbers.
Try it · interactive
Probability simulator
Roll two dice 10 times, then 1,000 times. Why is 7 the most likely sum? Count the pairs that make it.
2
3
4
5
6
7
8
9
10
11
12
Blue bars: what happened (experimental). Red dashes: what theory predicts.
| Outcome | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Theory | 1/36 | 1/18 | 1/12 | 1/9 | 5/36 | 1/6 | 5/36 | 1/9 | 1/12 | 1/18 | 1/36 |
| Experiment | – | – | – | – | – | – | – | – | – | – | – |
Run a few trials and the bars jump around. Run thousands and they settle onto the red lines: the law of large numbers.
Whiteboard · watch and try
Two dice
Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.
Loading practice…
Check your understanding0 of 5 correct
Key terms
Say the meaning to yourself, then tap a card to check.
Quiz score: 0 of 5
Practice sets mastered: 0 of 1
Based on Algebra and Trigonometry 2e by Jay Abramson and others (OpenStax, Rice University), openstax.org/details/books/algebra-and-trigonometry-2e, licensed under CC BY-NC-SA 4.0. Noviq Academy rewrote and reorganized the material in its own words and added its own examples, whiteboard lessons, tools and quizzes; this adapted course is free and shared under the same license. Not endorsed by OpenStax or Rice University. Read-aloud and the whiteboard voice use your device's built-in voices, so the voice varies by device.