Skip to content

Mathematics · Ch 14 — Probability

Algebra of Events

14.1.3

Algebra of Events

The Algebra of Events

In the chapter on sets, you learned how to combine sets using operations like union, intersection, difference, and complement. Since events are just subsets of a sample space SS, we can combine them using the exact same set operations. This gives us a powerful language to describe complex outcomes from simple ones.

Let AA, BB, and CC be any events associated with an experiment whose sample space is SS. Here is how we build new events from old ones.


1. The Complementary Event: ‘not A’

For every event AA, there is a corresponding event called the complement of AA, written as A′A' or AcA^c. It is also called the event ‘not AA’.

Definition.

A′={ω:ω∈S and ω∉A}=S−AA' = \{\omega : \omega \in S \text{ and } \omega \notin A\} = S - A.

In words: A′A' contains every outcome of the experiment that is not in AA.

Example. Toss three coins. The sample space is

S={HHH,HHT,HTH,THH,HTT,THT,TTH,TTT}S = \{HHH, HHT, HTH, THH, HTT, THT, TTH, TTT\}.

Let AA be the event ‘only one tail appears’, so A={HTH,HHT,THH}A = \{HTH, HHT, THH\}.

Then the complementary event ‘not AA’ is

A′={HHH,HTT,THT,TTH,TTT}A' = \{HHH, HTT, THT, TTH, TTT\}.

Note

An outcome either belongs to AA or to A′A' — never both, and never neither. This is the law of excluded middle for events.


2. The Event ‘A or B’

Recall that the union of two sets AA and BB, written A∪BA \cup B, contains all elements that are in AA or in BB (or in both). When AA and BB are events, A∪BA \cup B is the event ‘AA or BB’ — meaning the event that at least one of AA or BB occurs.

Definition.

Event ‘AA or BB’ =A∪B={ω:ω∈A or ω∈B}= A \cup B = \{\omega : \omega \in A \text{ or } \omega \in B\}.

Example. Roll a die once. Let A={2,3,5}A = \{2, 3, 5\} (prime numbers) and B={1,3,5}B = \{1, 3, 5\} (odd numbers). Then

‘AA or BB’ =A∪B={1,2,3,5}= A \cup B = \{1, 2, 3, 5\}.

Tip

When listing outcomes for A∪BA \cup B, include every outcome that appears in either set — do not double-count common elements.


3. The Event ‘A and B’

The intersection of two sets AA and BB, written A∩BA \cap B, contains only those elements that belong to both AA and BB. As an event, A∩BA \cap B is the event ‘AA and BB’ — meaning both events occur together.

Definition.

Event ‘AA and BB’ =A∩B={ω:ω∈A and ω∈B}= A \cap B = \{\omega : \omega \in A \text{ and } \omega \in B\}.

Example. Throw a die twice. Let AA be ‘score on the first throw is six’ and BB be ‘sum of the two scores is at least 11’. Then

A={(6,1),(6,2),(6,3),(6,4),(6,5),(6,6)}A = \{(6,1), (6,2), (6,3), (6,4), (6,5), (6,6)\},

B={(5,6),(6,5),(6,6)}B = \{(5,6), (6,5), (6,6)\}.

So ‘AA and BB’ =A∩B={(6,5),(6,6)}= A \cap B = \{(6,5), (6,6)\}.

This pair of outcomes represents: “the first throw is six and the sum is at least 11.”


4. The Event ‘A but not B’

The set difference A−BA - B (also written A∖BA \setminus B) contains all elements that are in AA but not in BB. As an event, A−BA - B is the event ‘AA but not BB’ — meaning AA occurs while BB does not.

Definition.

Event ‘AA but not BB’ =A−B={ω:ω∈A and ω∉B}= A - B = \{\omega : \omega \in A \text{ and } \omega \notin B\}.

A useful identity: A−B=A∩B′A - B = A \cap B'.

Example. Using the same die-roll events A={2,3,5}A = \{2, 3, 5\} and B={1,3,5}B = \{1, 3, 5\},

‘AA but not BB’ =A−B={2}= A - B = \{2\}.

Watch out

Do not confuse A−BA - B with B−AB - A. They are generally different sets. Here B−A={1}B - A = \{1\}, not {2}\{2\}.


Worked Example (from the textbook)

Experiment: Roll a single die.

S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\}.

Let AA = ‘getting a prime number’ ={2,3,5}= \{2, 3, 5\}.

Let BB = ‘getting an odd number’ ={1,3,5}= \{1, 3, 5\}.

Write the sets for:

  1. ‘AA or BB’
  2. ‘AA and BB’
  3. ‘AA but not BB’
  4. ‘not AA’ Solution. …