Skip to content
Skip to page content
soylai.com

Probability — chapter notes

8 sections 6 min readBeta

1. Random experiments and sample spaces (formative)

A random experiment has several possible results and the result cannot be predicted in advance. Each result is an outcome, and the set of all outcomes is the sample space SS.

Write SS as a set and state n(S)n(S). For a two-stage experiment follow each branch. Decide whether order matters and whether items are replaced: choosing 22 from 44 gives 1616 outcomes with replacement and order, 1212 without replacement but in order, and 66 when the two are picked together.

Outcomes need not be equally likely; the sample space still lists all of them.

The sample space lists every outcome once; its size is $n(S)$.
Random experimentSample space SSn(S)n(S)
Toss a coin once{H,T}\{\text{H}, \text{T}\}2
Toss a coin; on a head throw a die, on a tail toss the coin again{H1,H2,…,H6,TH,TT}\{\text{H1}, \text{H2}, \ldots, \text{H6}, \text{TH}, \text{TT}\}8
Draw two of the tickets 1, 2, 3, 4 one after the other, without putting the first back{(1,2),(1,3),(1,4),(2,1),…,(4,3)}\{(1, 2), (1, 3), (1, 4), (2, 1), \ldots, (4, 3)\}12
Pick a pair of people from A, B, C, D (order does not matter){AB,AC,AD,BC,BD,CD}\{\text{AB}, \text{AC}, \text{AD}, \text{BC}, \text{BD}, \text{CD}\}6
Decide whether order matters and whether items are put back before you count $n(S)$.
Way of choosing 2 from 4 itemsExample outcomeNumber of outcomes
One after the other, item put back (order matters)(a,a)(a, a)16
One after the other, item not put back (order matters)(a,b)(a, b)12
Both together (order does not matter){a,b}\{a, b\}6
The outcomes are not equally likely, but the sample space is still the list of all of them.
StepWorking
Head firstH1,H2,H3,H4,H5,H6\text{H1}, \text{H2}, \text{H3}, \text{H4}, \text{H5}, \text{H6} (a die is then thrown)
Tail firstTH,TT\text{TH}, \text{TT} (the coin is tossed again)
Sample spaceS={H1,…,H6,TH,TT}S = \{\text{H1}, \ldots, \text{H6}, \text{TH}, \text{TT}\}
Sizen(S)=6+2=8n(S) = 6 + 2 = 8

Formulas

  • Counting outcomes
    n(S) for 2 of 4: 16, 12, 6n(S)\ \text{for}\ 2\ \text{of}\ 4:\ 16,\ 12,\ 6

Key terms

Random experiment

An experiment whose result is not certain beforehand.

Sample space

The set SS of all possible outcomes.

Outcome

One possible result of the experiment.

2. Events

An event is a subset of the sample space. An event occurs when the outcome is one of its members. A simple (elementary) event has one outcome and a compound event has more. The whole space SS is the sure event; the empty set ∅\varnothing is the impossible event.

If SS has nn outcomes there are 2n2^n events, counting SS and ∅\varnothing. For a spinner numbered 11 to 1010, "even" is {2,4,6,8,10}\{2, 4, 6, 8, 10\} and "greater than 1010" is ∅\varnothing.

An event is a subset of the sample space; $\varnothing$ is impossible and $S$ is sure.
Event in wordsAs a subset of S={1,2,…,10}S = \{1, 2, \ldots, 10\}Kind
The spinner shows an even number{2,4,6,8,10}\{2, 4, 6, 8, 10\}Compound event
The spinner shows a multiple of 3{3,6,9}\{3, 6, 9\}Compound event
The spinner shows a prime number{2,3,5,7}\{2, 3, 5, 7\}Compound event
The spinner shows the number 7{7}\{7\}Simple (elementary) event
The spinner shows a number greater than 10∅\varnothingImpossible event
The spinner shows a number from 1 to 10{1,2,3,4,5,6,7,8,9,10}\{1, 2, 3, 4, 5, 6, 7, 8, 9, 10\}Sure event SS
List each event as a set, then take the intersection and union.
EventOutcomesNumber
AA: the two numbers add up to 5{(1,4),(2,3),(3,2),(4,1)}\{(1, 4), (2, 3), (3, 2), (4, 1)\}4
BB: the first number is smaller than the second{(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)}\{(1, 2), (1, 3), (1, 4), (2, 3), (2, 4), (3, 4)\}6
A∩BA \cap B{(1,4),(2,3)}\{(1, 4), (2, 3)\}2
A∪BA \cup B{(1,2),(1,3),(1,4),(2,3),(2,4),(3,2),(3,4),(4,1)}\{(1, 2), (1, 3), (1, 4), (2, 3), (2, 4), (3, 2), (3, 4), (4, 1)\}8

Formulas

  • Number of events
    number of events=2n(S)\text{number of events} = 2^{n(S)}

Key terms

Event

A subset of the sample space.

Sure and impossible events

SS always occurs; ∅\varnothing never occurs.

3. Algebra of events

With events AA and BB of the same sample space: AA or BB is A∪BA \cup B (at least one occurs); AA and BB is A∩BA \cap B; not AA is A′A'; AA but not BB is A−B=A∩B′A - B = A \cap B'; neither is A′∩B′=(A∪B)′A' \cap B' = (A \cup B)'.

A Venn diagram with the sample space as a rectangle shows every region. For the even numbers and the multiples of 33 on a spinner numbered 11 to 1010: A∪B={2,3,4,6,8,9,10}A \cup B = \{2, 3, 4, 6, 8, 9, 10\}, A∩B={6}A \cap B = \{6\} and the neither-event is {1,5,7}\{1, 5, 7\}.

The overlap holds $A \cap B = \{6\}$; the corner holds the numbers in neither event.
Every English phrase about events is a set operation.
WordsSymbolFor AA = even, BB = multiple of 3
AA or BB (at least one happens)A∪BA \cup B{2,3,4,6,8,9,10}\{2, 3, 4, 6, 8, 9, 10\}
AA and BB (both happen)A∩BA \cap B{6}\{6\}
Not AAA′A'{1,3,5,7,9}\{1, 3, 5, 7, 9\}
AA but not BBA−B=A∩B′A - B = A \cap B'{2,4,8,10}\{2, 4, 8, 10\}
Neither AA nor BBA′∩B′=(A∪B)′A' \cap B' = (A \cup B)'{1,5,7}\{1, 5, 7\}

Formulas

  • Neither A nor B
    (A∪B)′=A′∩B′(A \cup B)' = A' \cap B'
  • A but not B
    A−B=A∩B′A - B = A \cap B'

Key terms

Union

A∪BA \cup B: outcomes in AA or BB (or both).

Intersection

A∩BA \cap B: outcomes in both AA and BB.

Complement

A′A': outcomes of SS not in AA.

4. Mutually exclusive and exhaustive events

AA and BB are mutually exclusive if A∩B=∅A \cap B = \varnothing: they cannot occur together. They are exhaustive if A∪B=SA \cup B = S: at least one must occur. Both together means each is the complement of the other.

Events E1,E2,…,EnE_1, E_2, \ldots, E_n that are pairwise mutually exclusive and together exhaustive form a partition of SS. Dividing the numbers 11 to 1212 by 33 gives such a partition by remainders 0,1,20, 1, 2.

To classify a pair, find the intersection (empty?) and the union (equal to SS?).

Mutually exclusive: $A \cap B = \varnothing$. Exhaustive: $A \cup B = S$.
Pair of events (spinner 1 to 10)Mutually exclusive?Exhaustive?
Even and oddYesYes
Even and multiple of 3NoNo
Less than 4 and greater than 7YesNo
At most 6 and at least 5NoYes
Two set checks settle both questions.
Mutually exclusive and exhaustive events cut $S$ into pieces: every outcome lies in exactly one.
Pairwise mutually exclusive and together exhaustive: a partition of $S$.
EventRemainder on dividing by 3Outcomes in S={1,…,12}S = \{1, \ldots, 12\}
E1E_10{3,6,9,12}\{3, 6, 9, 12\}
E2E_21{1,4,7,10}\{1, 4, 7, 10\}
E3E_32{2,5,8,11}\{2, 5, 8, 11\}
Check the intersection for exclusive and the union for exhaustive.
PairIntersectionUnionVerdict
E1,E2E_1, E_2∅\varnothingn=8n = 8Mutually exclusive, not exhaustive
E1, multiples of 2E_1, \text{ multiples of 2}{6,12}\{6, 12\}n=8n = 8Neither
E1∪E2, E3E_1 \cup E_2,\ E_3∅\varnothingn=12n = 12Mutually exclusive and exhaustive
Two events that share even one outcome are not mutually exclusive.
ItemWorking
Sample space (9 codes){(1,1),(1,2),(1,3),(2,1),(2,2),(2,3),(3,1),(3,2),(3,3)}\{(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3)\}
AA: first digit smaller than second{(1,2),(1,3),(2,3)}\{(1, 2), (1, 3), (2, 3)\}
BB: digit sum is even{(1,1),(1,3),(2,2),(3,1),(3,3)}\{(1, 1), (1, 3), (2, 2), (3, 1), (3, 3)\}
A∩BA \cap B{(1,3)}\{(1, 3)\}
Is AA mutually exclusive with BB?No: the code (1, 3) is in both

Formulas

  • Mutually exclusive
    A∩B=∅A \cap B = \varnothing
  • Exhaustive
    A∪B=SA \cup B = S

Key terms

Mutually exclusive

A∩B=∅A \cap B = \varnothing.

Exhaustive

A∪B=SA \cup B = S.

Partition

Mutually exclusive, exhaustive events: every outcome lies in exactly one.

5. The axiomatic approach

A probability PP assigns a number to each event so that: (1) P(E)≥0P(E) \ge 0; (2) P(S)=1P(S) = 1; (3) P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B) whenever A∩B=∅A \cap B = \varnothing.

To define a model, give each elementary event a probability: all non-negative, total 11. The probability of an event is the sum of the probabilities of its outcomes. If an unknown such as xx appears, make the total equal to 11 first.

A proposed list is valid exactly when no entry is negative and the total is 11.

Everything else in the chapter follows from these three statements.
AxiomIn symbolsIn words
Non-negative P(E)≥0P(E) \ge 0No event has a negative probability
Total one P(S)=1P(S) = 1Something in the sample space is certain to happen
Additive P(A∪B)=P(A)+P(B) if A∩B=∅P(A \cup B) = P(A) + P(B)\ \text{if } A \cap B = \varnothingProbabilities of mutually exclusive events add
The elementary probabilities must add up to $1$.
OutcomeaabbccddTotal
Probability0.150.25xx2x2x0.4+3x=10.4 + 3x = 1
With x=0.2x = 0.20.150.250.20.41
Use axiom 2 to find the unknown, then axiom 3 to add.
StepWorking
Total must be 10.15+0.25+x+2x=10.15 + 0.25 + x + 2x = 1
Solve0.4+3x=1,  x=0.20.4 + 3x = 1,\ \ x = 0.2
ProbabilitiesP(a)=0.15, P(b)=0.25, P(c)=0.2, P(d)=0.4P(a) = 0.15,\ P(b) = 0.25,\ P(c) = 0.2,\ P(d) = 0.4
P({a,c})P(\{a, c\})0.15+0.2=0.350.15 + 0.2 = 0.35
A valid assignment has no negative entry and total exactly $1$.
Probabilities assigned to the outcomesTotalAny negative?Valid?
0.3, 0.3, 0.3, 0.31.2NoNo
0.2, 0.5, 0.1, 0.21NoYes
0.6, 0.5, -0.2, 0.11YesNo
0.25, 0.25, 0.250.75NoNo

Formulas

  • Axioms 1 and 2
    P(E)≥0,P(S)=1P(E) \ge 0,\quad P(S) = 1
  • Axiom 3
    P(A∪B)=P(A)+P(B), A∩B=∅P(A \cup B) = P(A) + P(B),\ A \cap B = \varnothing

Key terms

Axioms of probability

Non-negative; P(S)=1P(S) = 1; additive for mutually exclusive events.

Elementary probability

The probability given to a single outcome; they add to 1.

6. Equally likely outcomes and the complement

If all n(S)n(S) outcomes are equally likely, each has probability 1n(S)\dfrac{1}{n(S)} and P(E)=n(E)n(S)P(E) = \dfrac{n(E)}{n(S)}. This is a special case of the axioms.

From the axioms: P(∅)=0P(\varnothing) = 0; P(A′)=1−P(A)P(A') = 1 - P(A) (since AA, A′A' are exclusive with union SS); and 0≤P(E)≤10 \le P(E) \le 1. Use the complement when "at least one" is hard to count: for four coin tosses P(at least one head)=1−116=1516P(\text{at least one head}) = 1 - \dfrac{1}{16} = \dfrac{15}{16}.

With equally likely outcomes, $P(E) = \dfrac{n(E)}{n(S)}$: a special case of the axioms.
Spinner 1 to 10EventFavourable outcomesProbability
AAeven512\dfrac{1}{2}
BBmultiple of 33310\dfrac{3}{10}
CCprime425\dfrac{2}{5}
A∩BA \cap Beven and a multiple of 31110\dfrac{1}{10}
Count the complement when "at least one" is awkward to count directly.
RuleWhyCheck: toss a coin four times, AA = at least one head
P(∅)=0P(\varnothing) = 0P(∅∪∅)=P(∅)+P(∅)P(\varnothing \cup \varnothing) = P(\varnothing) + P(\varnothing)n(no outcome)=0n(\text{no outcome}) = 0
P(A′)=1−P(A)P(A') = 1 - P(A)A∩A′=∅, A∪A′=SA \cap A' = \varnothing,\ A \cup A' = SP(A′)=P({TTTT})=116, P(A)=1516P(A') = P(\{\text{TTTT}\}) = \dfrac{1}{16},\ P(A) = \dfrac{15}{16}
0≤P(E)≤10 \le P(E) \le 1P(E)+P(E′)=1 and both≥0P(E) + P(E') = 1\ \text{and both} \ge 01516 lies in [0,1]\dfrac{15}{16}\ \text{lies in}\ [0, 1]
When "at least one" is hard to count, count "none" and subtract from $1$.
StepWorking
Sample spacen(S)=2×2×2×2=16n(S) = 2 \times 2 \times 2 \times 2 = 16
AA"at least one head"; counting it directly is long
A′A'{TTTT}\{\text{TTTT}\}, one outcome
P(A′)P(A')116\dfrac{1}{16}
P(A)P(A)1−116=15161 - \dfrac{1}{16} = \dfrac{15}{16}

Formulas

  • Equally likely outcomes
    P(E)=n(E)n(S)P(E) = \dfrac{n(E)}{n(S)}
  • Complement rule
    P(A′)=1−P(A)P(A') = 1 - P(A)

Key terms

Equally likely

Every outcome has the same probability.

Complement rule

P(A′)=1−P(A)P(A') = 1 - P(A).

7. The addition theorem

For any two events: P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B). The outcomes of A∩BA \cap B are in both P(A)P(A) and P(B)P(B), so the overlap is subtracted once.

Related results: P(neither)=1−P(A∪B)P(\text{neither}) = 1 - P(A \cup B); P(A∩B′)=P(A)−P(A∩B)P(A \cap B') = P(A) - P(A \cap B); P(exactly one)=P(A∪B)−P(A∩B)P(\text{exactly one}) = P(A \cup B) - P(A \cap B). For mutually exclusive events the overlap is 00, so P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B); if they are also exhaustive the two probabilities add to 11.

For a set of equally likely outcomes, verify by counting: n(A∪B)=n(A)+n(B)−n(A∩B)n(A \cup B) = n(A) + n(B) - n(A \cap B).

$P(A) = 0.32 + 0.16$, $P(B) = 0.19 + 0.16$, and the four regions add to $1$.
Subtract the overlap once: it was counted in both $P(A)$ and $P(B)$.
QuantityFormulaValue
P(A∪B)P(A \cup B)P(A)+P(B)−P(A∩B)P(A) + P(B) - P(A \cap B)0.48+0.35−0.16=0.670.48 + 0.35 - 0.16 = 0.67
P(neither)P(\text{neither})1−P(A∪B)1 - P(A \cup B)1−0.67=0.331 - 0.67 = 0.33
P(A but not B)P(A\ \text{but not}\ B)P(A)−P(A∩B)P(A) - P(A \cap B)0.48−0.16=0.320.48 - 0.16 = 0.32
P(exactly one)P(\text{exactly one})P(A∪B)−P(A∩B)P(A \cup B) - P(A \cap B)0.67−0.16=0.510.67 - 0.16 = 0.51
No overlap means nothing to subtract.
SituationRuleExample
AA, BB mutually exclusiveP(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)0.26+0.47=0.730.26 + 0.47 = 0.73
Neither occursP(A′∩B′)=1−P(A∪B)P(A' \cap B') = 1 - P(A \cup B)1−0.73=0.271 - 0.73 = 0.27
AA, BB also exhaustiveP(A)+P(B)=1P(A) + P(B) = 10.4+0.6=10.4 + 0.6 = 1
The theorem and the direct count agree.
StepWorking
Sample spacen(S)=36n(S) = 36
AA: the numbers differ by at most 1n(A)=6+10=16n(A) = 6 + 10 = 16
BB: the sum is 4, 8 or 12n(B)=3+5+1=9n(B) = 3 + 5 + 1 = 9
A∩BA \cap B{(2,2),(4,4),(6,6)}\{(2, 2), (4, 4), (6, 6)\}, 3 outcomes
Addition theoremP(A∪B)=1636+936−336=2236=1118P(A \cup B) = \dfrac{16}{36} + \dfrac{9}{36} - \dfrac{3}{36} = \dfrac{22}{36} = \dfrac{11}{18}
Direct countn(A∪B)=22, the samen(A \cup B) = 22,\ \text{the same}

Formulas

  • Addition theorem
    P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)
  • A but not B
    P(A∩B′)=P(A)−P(A∩B)P(A \cap B') = P(A) - P(A \cap B)

Key terms

Addition theorem

P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B).

8. Choosing a method

First decide whether the outcomes are equally likely: if yes, count n(E)n(E) and n(S)n(S); if not, use the given or weighted probabilities and add. Then pick the rule for the event wanted: not AA uses the complement; AA or BB uses the addition theorem; neither, AA but not BB and exactly one all come from P(A∪B)P(A \cup B) and P(A∩B)P(A \cap B).

Always check that every probability is between 00 and 11, and that exclusive, exhaustive events have probabilities adding to 11.

Pick counting or weights first, then the rule for the event you need.
A one-page dictionary from words to sets.
IdeaMeaningExample (spinner 1 to 10)
Sample space SSSet of all outcomes{1,2,3,4,5,6,7,8,9,10}\{1, 2, 3, 4, 5, 6, 7, 8, 9, 10\}
EventA subset of SSA={2,4,6,8,10}A = \{2, 4, 6, 8, 10\}
Sure / impossible eventSS and ∅\varnothingA number from 1 to 10; a number above 10
A∪BA \cup B, A∩BA \cap B, A′A'or, and, not{2,3,4,6,8,9,10}, {6}, {1,3,5,7,9}\{2,3,4,6,8,9,10\},\ \{6\},\ \{1,3,5,7,9\}
Mutually exclusiveA∩B=∅A \cap B = \varnothingEven and odd
ExhaustiveA∪B=SA \cup B = SAt most 6 and at least 5
These six lines solve every question in the chapter.
ResultFormulaCondition
AxiomsP(E)≥0, P(S)=1P(E) \ge 0,\ P(S) = 1Always
Equally likelyP(E)=n(E)n(S)P(E) = \dfrac{n(E)}{n(S)}All outcomes equally likely
ComplementP(A′)=1−P(A)P(A') = 1 - P(A)Always
Addition theoremP(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)Always
Exclusive eventsP(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)A∩B=∅A \cap B = \varnothing
A but not BP(A∩B′)=P(A)−P(A∩B)P(A \cap B') = P(A) - P(A \cap B)Always

Formulas

  • Exactly one of A, B
    P(exactly one)=P(A∪B)−P(A∩B)P(\text{exactly one}) = P(A \cup B) - P(A \cap B)

Key terms

Probability model

A sample space with a valid assignment of probabilities.

Exam tips

How marks are awarded

  • Sample space and events (1–2 marks): write SS as a set with n(S)n(S) and each event as a set.
  • Classifying events (2 marks): show the intersection for mutually exclusive and the union for exhaustive.
  • Equally likely outcomes (2–3 marks): give n(S)n(S), n(E)n(E) and the fraction.
  • Addition theorem (3 marks): state it, substitute each value, simplify.
  • Axioms and assignments (2–3 marks): make the total 11, check no entry is negative.
  • Long answers (5 marks): list the events, count, apply the theorem and verify by direct count.

Common mistakes

  1. Confusing mutually exclusive with exhaustive.
  2. Writing "neither" as A′∪B′A' \cup B'.
  3. Adding P(A)P(A) and P(B)P(B) and forgetting the overlap.
  4. Counting ordered pairs when items are chosen together.
  5. Accepting a probability above 11 or below 00.
  6. Not making the total 11 before solving for an unknown.
  7. Forgetting to subtract the overlap again when finding "exactly one".