impera Open Impera

AP Statistics · Probability, random variables and probability distributions

Probability rules

1Probability as long-run relative frequency

The probability of an outcome is the proportion of times it would occur in a very long series of repetitions. The law of large numbers says that as the number of trials grows, the relative frequency of an event gets closer to its true probability.

  • Short runs can look very different from the probability (e.g. 7 heads in 10 tosses happens).
  • The law of large numbers does not mean outcomes "balance out" in the short run: a coin has no memory (the gambler's fallacy).

Simulation imitates a chance process using random numbers to estimate probabilities.

Check yourself

After 5 heads in a row with a fair coin, the probability of heads on the next toss is:

  • 0.5

  • Less than 0.5

  • 0

  • More than 0.5

Show the answer

0.5

Tosses are independent.

2Basic rules

  • Sample space $S$: the set of all possible outcomes. An event is a subset.
  • $0 \le P(A) \le 1$, and $P(S) = 1$.
  • Complement rule: $P(A^C) = 1 - P(A)$.
  • For equally likely outcomes: $P(A) = \frac{\text{outcomes in } A}{\text{total outcomes}}$.
Worked example

roll two fair dice. $P(\text{sum} = 7)$?

  1. 36 equally likely outcomes; sum 7 occurs in 6: (1,6), (2,5), …, (6,1).
  2. $P = \frac{6}{36} = \frac{1}{6}$.
Worked example

$P(\text{at least one six in 4 rolls}) = 1 - P(\text{no sixes}) = 1 - \left(\frac{5}{6}\right)^4 \approx 0.518$.

Check yourself

P(rain) = 0.35. P(no rain) =

  • 0.35

  • 1.35

  • 0.5

  • 0.65

Show the answer

0.65

Complement.

3Addition rule and mutually exclusive events

General addition rule:

$$P(A \text{ or } B) = P(A) + P(B) - P(A \text{ and } B)$$

Subtract the overlap so it is not counted twice.

Events are mutually exclusive (disjoint) if they cannot both happen: $P(A \text{ and } B) = 0$, so $P(A \text{ or } B) = P(A) + P(B)$.

Worked example

in a class, 60% play sport, 40% play music, 25% do both.

  1. $P(\text{sport or music}) = 0.60 + 0.40 - 0.25 = 0.75$.
  2. $P(\text{neither}) = 0.25$.

Fill in the overlap first, then subtract it so it is not counted twice

Check yourself

P(A) = 0.5, P(B) = 0.3, P(A and B) = 0.1. P(A or B) =

  • 0.8

  • 0.9

  • 0.15

  • 0.7

Show the answer

0.7

0.5 + 0.3 − 0.1.

4Two-way tables and Venn diagrams

Probability questions are often easiest with a two-way table or a Venn diagram.

Worked example

of 200 students, 120 have a phone (P), 50 have a laptop (L), 30 have both.

  1. Phone only: $90$; laptop only: $20$; both: $30$; neither: $200 - 140 = 60$.
  2. $P(P \cup L) = \frac{140}{200} = 0.70$.
  3. $P(\text{exactly one}) = \frac{110}{200} = 0.55$.
Check yourself

In the example above, P(neither) =

  • 0.30

  • 0.25

  • 0.60

  • 0.15

Show the answer

0.30

60/200.

5Going deeper: the rules in use, "at least one," and simulation

Probability describes what happens in the long run. The probability of an outcome is the proportion of times it would occur in a very long series of repetitions.

Law of large numbers: as the number of repetitions grows, the observed proportion gets closer to the true probability. It says nothing about the short run: after five heads in a row, a fair coin is no more likely to give tails.

Basic rules

  • Every probability is between 0 and 1.
  • The probabilities of all outcomes in the sample space total 1.
  • Complement rule: $P(A^c) = 1 - P(A)$.
  • Equally likely outcomes: P(A) = (number of outcomes in A) ÷ (total number of outcomes).

General addition rule

$$P(A \text{ or } B) = P(A) + P(B) - P(A \text{ and } B)$$

"Or" in statistics means one or the other or both. The subtraction prevents the overlap from being counted twice.

Mutually exclusive (disjoint) events cannot both happen: P(A and B) = 0, so P(A or B) = P(A) + P(B).

Worked example

in a school, 40% of students play a sport, 50% play an instrument, and 20% do both.

  1. P(sport or instrument) = 0.40 + 0.50 − 0.20 = 0.70.
  2. P(neither) = 1 − 0.70 = 0.30.
  3. P(sport only) = 0.40 − 0.20 = 0.20; P(instrument only) = 0.30.
  4. P(exactly one) = 0.20 + 0.30 = 0.50.
  5. A Venn diagram or a two-way table with these four regions (0.20 both, 0.20, 0.30, 0.30 neither) organizes the whole problem.

"At least one": use the complement. P(at least one) = 1 − P(none).

Worked example

a fair die is rolled 4 times. Find the probability of at least one six.

  1. P(no six on one roll) = 5 ÷ 6.
  2. P(no six in four independent rolls) = (5 ÷ 6)⁴ = 0.482.
  3. P(at least one six) = 1 − 0.482 = 0.518.
Worked example

each of 20 independent parts has probability 0.02 of being defective.

  1. P(none defective) = 0.98²⁰ = 0.668.
  2. P(at least one defective) = 0.332.

Multiplication for independent events: P(A and B) = P(A) × P(B) when A and B are independent.

Simulation: imitating a chance process to estimate a probability.

Steps

  1. Describe how to use a chance device (random digits, a random number generator) to imitate one repetition: say what each number represents.
  2. Say what is recorded at the end of each repetition.
  3. Perform many repetitions.
  4. Use the results to estimate the probability.

Worked example (designing a simulation): a cereal box contains one of 4 different toys, each equally likely. Estimate the probability that it takes more than 8 boxes to collect all four.

  1. Let the integers 1 to 4 represent the four toys.
  2. Generate random integers from 1 to 4, one per box, until all four numbers have appeared; record the number of boxes needed.
  3. Repeat many times (say 100).
  4. Estimate the probability as the proportion of repetitions needing more than 8 boxes.

Worked example (interpreting a simulation): a company claims 30% of its tickets win. A customer buys 20 and none win. In 500 simulated sets of 20 tickets with a 30% win rate, 1 set had no winners.

  1. Estimated probability of no winners by chance: 1 ÷ 500 = 0.002.
  2. That is very unlikely if the claim is true.
  3. The result gives strong evidence against the claim.

Interpreting a probability: "If we were to repeat this process many, many times, about 51.8% of the sets of four rolls would include at least one six."

Myths

  • The law of averages: the belief that outcomes "even out" in the short run. Chance has no memory.
  • Hot streaks: runs are more common in random sequences than people expect.

Common mistakes

  • Adding probabilities of events that are not mutually exclusive.
  • Forgetting to subtract the overlap.
  • Calculating "at least one" by adding many cases when the complement is quicker.
  • Multiplying probabilities of events that are not independent.
  • In a simulation, not saying what the digits stand for or what is recorded.
  • Treating "or" as exclusive.
Check yourself

Events A and B are mutually exclusive with P(A) = 0.3 and P(B) = 0.5. What is P(A or B)?

  • 0.65

  • 0.2

  • 0.8

  • 0.15

Show the answer

0.8

For mutually exclusive events the probabilities simply add, since they cannot occur together.

6For top marks

  • Use correct notation: $P(A \cup B)$, $P(A \cap B)$, $P(A^C)$.
  • Use the complement for "at least one" problems.
  • Do not confuse mutually exclusive (cannot happen together) with independent (one does not affect the other's probability).
  • Describe simulations fully: what the random digits represent, how many trials, what is recorded.
Example

"Let digits 0–3 represent a made free throw (40%) and 4–9 a miss. Take 5 digits per trial, record whether at least 3 are made, repeat 100 times, and estimate the probability as the proportion of successful trials."

Check yourself

Two events with P(A) > 0 and P(B) > 0 that are mutually exclusive are:

  • Complementary always

  • Equally likely

  • Not independent

  • Always independent

Show the answer

Not independent

If one happens, the other cannot.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera