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.

Trials so far: 0

2

3

4

5

6

7

8

9

10

11

12

Blue bars: what happened (experimental). Red dashes: what theory predicts.

Outcome23456789101112
Theory1/361/181/121/95/361/65/361/91/121/181/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

4 steps
Press Play and the tutor will talk you through it while writing on the board. Pause any time to write on the board yourself.

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

Question 1

1.P(rolling a number greater than 4 on one die)?

Question 2

2.If P(rain) = 0.3, then P(no rain) = ?

Question 3

3.P(A) = 0.5, P(B) = 0.4, P(A and B) = 0.2. P(A or B) = ?

Question 4

4.Which pair of events is mutually exclusive?

Question 5

5.Flip a coin 3 times. P(all heads)?

Key terms

Say the meaning to yourself, then tap a card to check.

Quiz score: 0 of 5

Practice sets mastered: 0 of 1

Tip: answer every quiz question correctly first.

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.