Advanced level

Classical probability

When every outcome of an experiment is equally possible, the probability of an event is an ordinary ratio: how many outcomes favour it, over how many there are. Everything else is being able to count both numbers — and knowing when the opposite event is easier to count.

Before you start

This topic builds on earlier ideas. Before you start, it's worth working through the lessons below — they'll make everything click:

All formulas

  • Classical probability

    P(A)=AΩP(A) = \frac{|A|}{|\Omega|}

    favourable outcomes over the number of all possible ones

  • Range of a probability

    0P(A)10 \leq P(A) \leq 1

    never below 0 and never above 1

  • Impossible and certain events

    P()=0,P(Ω)=1P(\varnothing) = 0, \qquad P(\Omega) = 1

    edge cases of the definition, not results of a computation

  • Complementary event

    P(A)=1P(A)P(A') = 1 - P(A)

    counting "not A" is often easier than counting A

  • As a percentage

    P(A)100%P(A) \cdot 100\%

    the same probability expressed in percent

  • Independent events

    P(AB)=P(A)P(B)P(A \cap B) = P(A) \cdot P(B)

    multiply the probabilities — only when one does not affect the other

A random experiment is one whose outcome cannot be predicted, although the set of all possibilities is known. That set is called the sample space and written Ω\Omega; any subset of Ω\Omega we care about is an event.

For a roll of a die, Ω={1,2,3,4,5,6}\Omega = \{1, 2, 3, 4, 5, 6\}, and the event "an even number came up" is the subset A={2,4,6}A = \{2, 4, 6\}.

The classical formula

If all the elementary outcomes are equally likely, a probability is a ratio:

P(A)=AΩP(A) = \frac{|A|}{|\Omega|}

The numerator counts the outcomes favourable to AA, the denominator counts all the possible outcomes. The equal-chances assumption matters: for a loaded die, or an urn holding balls of different sizes, this formula simply does not apply.

A fair die is rolled. What is the probability of an even number, and of a number greater than 4?

Properties

Three facts follow straight from the formula, and all three are worth treating as a check on your arithmetic:

0P(A)10 \leq P(A) \leq 1 P()=0,P(Ω)=1P(\varnothing) = 0, \qquad P(\Omega) = 1

A probability is never negative and never above one: the favourable set is part of the set of all possibilities. If you got something else, an outcome was counted twice or Ω\Omega was set up wrongly.

The extreme values have names of their own. An event of probability 00 is impossible (a seven on one die), one of probability 11 is certain (fewer than seven).

When Ω has to be counted

The real difficulty in these problems rarely lies in the formula and almost always in counting A|A| and Ω|\Omega| — that is, in the combinatorics of the previous lesson.

Take a roll of two dice. There are 66=366 \cdot 6 = 36 outcomes (the rule of product), not eleven, even though the total takes only eleven values. That is exactly why the totals are not equally likely:

1234567891011121302468totalwaysfavourable outcomes
The height of a bar is the number of pairs giving that total. There are 36 pairs in all, so each bar divided by 36 is the probability of that total.

The total 77 comes from six pairs: (1,6),(2,5),(3,4),(4,3),(5,2),(6,1)(1,6), (2,5), (3,4), (4,3), (5,2), (6,1). The total 1212 from just one: (6,6)(6,6).

Two dice are rolled. What is the probability that the total is 7?

The complementary event

The complement of AA is the event "AA did not happen", written AA'. Since together they exhaust every possibility:

P(A)=1P(A)P(A') = 1 - P(A)

This is the most useful formula in the lesson, because the complement is very often easier to count than the event itself. The warning sign in a problem always reads the same: "at least one".

Two dice are rolled. What is the probability of getting at least one six?

Probability as a percentage

It is often handier to quote a probability in percent — just multiply by 100%100\%:

P(A)100%P(A) \cdot 100\%

A probability of 320\tfrac{3}{20} is 0.150.15, that is 15%15\%. The other way round: 40%40\% is 0.40.4, that is 25\tfrac{2}{5}. The same number, a different notation — the fraction is handier to compute with, the percentage to talk about.

Combinatorics above and below the line

When an experiment draws several items at once, both counts have to come from the formulas of the previous lesson.

A delegation of three is drawn from 8 people. What is the probability that Alice is on it?

Frequency is not probability

A probability describes the model of an experiment, not what happened to come up. After thirty rolls of a die the outcomes are almost never evenly spread:

012345670246810facerolls647580an even share: 5frequency
The guide shows how many times each face would come up on an even share. The six never appeared — its bar has height zero, but it does not vanish from the drawing, because the event was possible.

A bar of height zero says something quite different from a missing bar: the six could have come up, it just did not. Its probability stays 16\tfrac{1}{6}, and over a thousand rolls the frequencies would come noticeably closer to it — but over thirty they are under no obligation to.

Independent events

Two events are independent when one happening does not change the chances of the other. Then — and only then — the probabilities multiply:

P(AB)=P(A)P(B)P(A \cap B) = P(A) \cdot P(B)

Successive coin tosses are independent, so two heads have probability 1212=14\tfrac{1}{2} \cdot \tfrac{1}{2} = \tfrac{1}{4}. Drawing two balls without replacement is not: after the first draw the urn has changed, so the second probability has to be recomputed inside a smaller set of possibilities. A ratio computed inside a narrowed Ω\Omega like that is called a conditional probability and written P(AB)P(A|B).

Independence brings with it the commonest illusion in the topic: after five heads in a row, tails does not become more likely. A coin does not remember previous tosses.

Exercises

The three kinds of question match the three parts of the lesson. The P(A)P(A) prompt gives the number of favourable outcomes A|A| and the number of all outcomes Ω|\Omega| — the answer is a fraction in lowest terms, so remember to reduce it. The P(A)P(A') prompt gives the probability of an event and asks for its complement; that answer is a reduced fraction too. A prompt ending in an arrow and a percent sign asks you to convert the probability into percent — the answer is a number, for instance 15 for 320\tfrac{3}{20}.

Practice

Work through a set of exercises — they get harder as you go. At the end you'll see your score and the mistakes worth reviewing.

Exercise 1 of 8Score: 0
P(A): |A| = 5, |Ω| = 6

Common mistakes

  • Getting Ω\Omega wrong — with two dice there are 36 outcomes, not 11 and not 12.
  • An unreduced fraction — a probability is quoted in lowest terms.
  • Counting "at least one" directly — the complement is shorter and safer.
  • Counting an outcome twice — favourable outcomes have to be listed so that none appears more than once.
  • Multiplying probabilities of dependent eventsP(A)P(B)P(A)\cdot P(B) holds only under independence.
  • The gambler fallacy — previous results do not change the chances of the next toss.
  • The classical formula with unequal chances — a loaded die breaks the equal-likelihood assumption.

Formula card

Topic: Classical probability

  • Classical probability

    P(A)=AΩP(A) = \frac{|A|}{|\Omega|}

    favourable outcomes over the number of all possible ones

  • Range of a probability

    0P(A)10 \leq P(A) \leq 1

    never below 0 and never above 1

  • Impossible and certain events

    P()=0,P(Ω)=1P(\varnothing) = 0, \qquad P(\Omega) = 1

    edge cases of the definition, not results of a computation

  • Complementary event

    P(A)=1P(A)P(A') = 1 - P(A)

    counting "not A" is often easier than counting A

  • As a percentage

    P(A)100%P(A) \cdot 100\%

    the same probability expressed in percent

  • Independent events

    P(AB)=P(A)P(B)P(A \cap B) = P(A) \cdot P(B)

    multiply the probabilities — only when one does not affect the other

1234567891011121302468totalwaysfavourable outcomes
The distribution of the total when two dice are rolled: each bar shows in how many ways that total can arise out of the 36 possible outcomes. Seven comes up most often, because it can be made in six ways, while two and twelve can be made in only one.
012345670246810facerolls647580an even share: 5frequency
Thirty rolls of a single die. Every face has probability 1/6, yet the frequencies came out uneven and the six never appeared at all — its bar has height zero and still stays on the drawing.

Frequently asked questions

Related articles