Chapter 1A: Why Probability? Sample Spaces and Events  
MATH/STAT 394: Probability I  
Arman Jahangiri  
University of Washington Department of Mathematics  
Summer 2026  
Arman Jahangiri  
Summer 2026  
1
 
Learning Goals  
By the end of this lecture, students should be able to:  
▶ explain probability as a mathematical language for uncertainty;  
▶ identify a sample space for a random experiment;  
▶ distinguish between outcomes and events;  
▶ translate basic probability statements into set notation;  
▶ use unions, intersections, complements, and De Morgan’s laws;  
▶ recognize why choosing the correct sample space matters.  
Arman Jahangiri  
Summer 2026  
2
Why Study Probability?  
Central idea  
Mathematics is the logic of certainty. Probability is the logic of uncertainty.  
Probability provides tools for:  
▶ modeling randomness and uncertainty;  
▶ understanding variation and separating signal from noise;  
▶ making principled predictions and decisions;  
▶ quantifying risk;  
▶ avoiding misleading or incomplete intuition.  
Instructor note / optional discussion  
Ask students for examples of uncertainty from everyday life: weather, medical tests, elections, gambling,  
machine learning, stock prices, sports, or exams.  
Arman Jahangiri  
Summer 2026  
3
Three Habits for This Course  
1
Biohazards. Study common mistakes so that invalid reasoning becomes easier to detect.  
2
Sanity checks. After solving a problem, check whether the answer makes sense in simple or extreme cases.  
3
Conceptual clarity. Make sure the sample space, events, and assumptions are clearly specified before  
assigning probabilities.  
Guiding principle  
Good probability reasoning starts with precise modeling, not just calculations.  
Arman Jahangiri  
Summer 2026  
4
Sample Spaces and Events  
Arman Jahangiri  
Summer 2026  
5
Random Experiments  
A random experiment is a process whose outcome is uncertain before it is performed.  
Examples:  
▶ flipping a coin;  
▶ rolling a die;  
▶ drawing a card from a shuffled deck;  
▶ recording tomorrow’s temperature;  
▶ selecting a student from the class;  
▶ measuring the lifetime of a machine component.  
Important  
Before assigning probabilities, the possible outcomes must be clearly specified.  
Arman Jahangiri  
Summer 2026  
6
Definition: Sample Space and Event  
Definition  
The sample space S of an experiment is the set of all possible outcomes.  
An event A is a subset of the sample space:  
A ⊆ S.  
The event A occurs if the actual outcome belongs to A:  
sactual ∈ A.  
▶ An outcome is a single element of S.  
▶ An event is a collection of outcomes.  
▶ The sample space is the universal set for the experiment.  
▶ Some textbooks use Ω instead of S, and ω instead of s  
Arman Jahangiri  
Summer 2026  
7
Pebble World Picture  
When the sample space is finite, imagine each possible outcome as a pebble.  
S = {all pebbles}  
S
A
B
▶ Each pebble represents an outcome.  
▶ An event is a set of pebbles.  
▶ Performing the experiment selects one pebble.  
▶ The event occurs if the selected pebble lies in the event.  
Arman Jahangiri  
Summer 2026  
8
Types of Sample Spaces  
Sample spaces can be:  
1
Finite  
S = {1, 2, 3, 4, 5, 6}  
S = {1, 2, 3, . . . }  
S = [0, ∞)  
for rolling one die.  
2
Countably infinite  
for the number of tosses until the first head.  
3
Uncountable  
for the lifetime of a machine component.  
For now  
Many early examples use finite sample spaces, where outcomes can be counted.  
Arman Jahangiri  
Summer 2026  
9
Set Operations for Events  
Arman Jahangiri  
Summer 2026 10  
Union, Intersection, Complement  
Let A, B ⊆ S be events.  
Set operation Notation  
Meaning  
Union  
Intersection  
Complement  
A ∪ B  
A or B occurs, possibly both  
both A and B occur  
A ∩ B  
Ac (or A′) A does not occur  
Notation  
Some textbooks write A′ for the complement of A. In this course, we write Ac instead, because prime  
notation is also used for differentiation, such as f ′(x).  
Arman Jahangiri  
Summer 2026 11  
Venn Diagrams for Basic Set Operations  
The green area represents the formula above each diagram. Source: ResearchGate Figure  
Here Ω represent the sample space (S) and A′ represent complement of A, i.e., Ac  
.
Arman Jahangiri  
Summer 2026 12  
Example: Ten Coin Flips  
Suppose a coin is flipped 10 times. Encode Heads as 1 and Tails as 0.  
S = {(s1, . . . , s10) : sj ∈ {0, 1}, 1 ≤ j ≤ 10}.  
There are  
|S| = 210  
possible outcomes.  
Let Aj be the event that the jth flip is heads:  
Aj = {(s1, . . . , s10) ∈ S : sj = 1}.  
10  
[
At least one head =  
All flips are heads =  
Aj .  
j=1  
10  
\
Aj .  
j=1  
9
[
At least two consecutive heads =  
(Aj ∩ Aj+1).  
j=1  
Arman Jahangiri  
Summer 2026 13  
The Empty Set  
The empty set is the set with no elements. It is denoted by  
∅.  
Important facts:  
▶ ∅ means “nothing occurred” or “no outcome is included.”  
▶ For every set A,  
A ∩ ∅ = ∅.  
▶ For every set A,  
A ∪ ∅ = A.  
▶ The empty set is a subset of every set:  
∅ ⊆ A.  
Arman Jahangiri  
Summer 2026 14  
Important Set Notation Clarifications  
Singletons versus elements  
The object 2 is not the same as the set {2}.  
2
̸
The set {2} is the set whose only element is 2.  
Similarly,  
∅
̸
▶ ∅ has no elements.  
▶ {∅} has one element, namely ∅.  
So:  
|∅| = 0,  
|{∅}| = 1.  
Arman Jahangiri  
Summer 2026 15  
Events as Sets: A versus {A}  
Suppose A is an event. Then A is already a set of outcomes.  
For example, if  
S = {1, 2, 3, 4, 5, 6},  
A = {2, 4, 6},  
then A is the event that the die roll is even.  
But  
ꢀ
{A} = {2, 4, 6}  
is a set whose single element is the set A.  
Common mistake  
Usually, A ⊆ S, but {A} is not a subset of S unless A itself is an outcome.  
Arman Jahangiri  
Summer 2026 16  
De Morgan’s Laws  
For events A, B ⊆ S,  
(A ∪ B)c = Ac ∩ Bc ,  
(A ∩ B)c = Ac ∪ Bc .  
Interpretation:  
▶ Not having at least one of A or B means having neither.  
▶ Not having both A and B means at least one fails to occur.  
Optional live verification  
Draw a Venn diagram and shade both sides of each identity.  
Arman Jahangiri  
Summer 2026 17  
Union and Intersection of Many Events  
Let A1, A2, . . . , An ⊆ S.  
The union is the event that at least one of the events occurs:  
n
[
Ai = {s ∈ S : s ∈ Ai for at least one i ∈ {1, . . . , n}}.  
i=1  
The intersection is the event that all of the events occur:  
n
\
Ai = {s ∈ S : s ∈ Ai for every i ∈ {1, . . . , n}}.  
i=1  
For infinitely many events A1, A2, . . . :  
∞
∞
[
\
Ai = {s ∈ S : s ∈ Ai for at least one i},  
Ai = {s ∈ S : s ∈ Ai for every i}.  
i=1  
i=1  
Question: What does demorgan law generalize to, for a union of (infinitely many) events?  
Arman Jahangiri  
Summer 2026 18  
Example: Drawing One Card  
Draw one card from a standard 52-card deck.  
Define:  
A = {card is an ace},  
B = {card has a black suit},  
D = {card is a diamond},  
H = {card is a heart}.  
Then:  
A ∩ H = {Ace of Hearts},  
A ∩ B = {Ace of Spades, Ace of Clubs},  
D ∩ H = ∅,  
because no card can be both a diamond and a heart.  
A ∪ D ∪ H = {card is red or an ace}.  
Arman Jahangiri  
Summer 2026 19  
Card Example: Complements  
Using De Morgan’s laws,  
(A ∪ B)c = Ac ∩ Bc .  
(A ∪ B)c = {card is not an ace and not black}.  
(A ∪ B)c = {card is a red non-ace}.  
(D ∪ H)c = Dc ∩ Hc = B.  
So:  
Equivalently,  
Also,  
Lesson  
The same event can often be expressed in more than one way. Some expressions are much easier to use than  
others.  
Arman Jahangiri  
Summer 2026 20  
A Subtle Point: Is the Sample Space Correct?  
In the card example, the sample space is the set of all 52 standard cards.  
If the drawn card is a joker, then the issue is not probability calculation.  
The issue is:  
the sample space was wrong.  
Rule  
The sample space must contain every outcome that can actually occur.  
Arman Jahangiri  
Summer 2026 21  
English ←→ Set Notation  
Arman Jahangiri  
Summer 2026 22  
Dictionary: Events and Occurrences  
Let sactual be the actual outcome.  
English statement  
Set notation  
sample space  
s is a possible outcome  
A is an event  
A occurred  
something must happen sactual ∈ S  
S
s ∈ S  
A ⊆ S  
sactual ∈ A  
Conceptual point  
Events are not numbers. Events are sets. Probability will later assign numbers to events.  
Arman Jahangiri  
Summer 2026 23  
Dictionary: New Events from Old Events  
English statement  
Set notation  
A or B  
A and B  
not A  
A ∪ B  
A ∩ B  
Ac  
A or B, but not both  
(A ∩ Bc ) ∪ (Ac ∩ B)  
n
[
at least one of A1, . . . , An  
Aj  
j=1  
n
\
all of A1, . . . , An  
Aj  
j=1  
Notation reminder  
We write Ac for complement, not A′.  
Arman Jahangiri  
Summer 2026 24  
Dictionary: Relationships Between Events  
English statement  
Set notation  
A implies B  
A and B are mutually exclusive  
A ⊆ B  
A ∩ B = ∅  
A1 ∪ · · · ∪ An = S,  
A1, . . . , An form a partition of S  
Ai ∩ Aj = ∅ for i  
̸= j  
Partition  
A partition divides the sample space into non-overlapping pieces that together cover all possible outcomes.  
Arman Jahangiri  
Summer 2026 25  
Mini-Exercise: Translate to Set Notation  
Let Aj be the event that the jth coin flip is heads.  
Translate each statement:  
1
The first flip is tails.  
2
The first two flips are heads.  
3
At least one of the first three flips is heads.  
4
None of the first three flips is heads.  
5
Exactly one of the first two flips is heads.  
Optional answers  
Ac1,  
A1 ∩ A2,  
A1 ∪ A2 ∪ A3,  
(A1 ∪ A2 ∪ A3)c = Ac1 ∩ Ac2 ∩ Ac3,  
(A1 ∩ Ac2) ∪ (Ac1 ∩ A2).  
Arman Jahangiri  
Summer 2026 26  
Common Mistake  
Biohazard  
Do not confuse an outcome with an event.  
For one die roll:  
S = {1, 2, 3, 4, 5, 6}.  
The number 4 is an outcome.  
The event “the roll is even” is the set  
E = {2, 4, 6}.  
So:  
4 ∈ S,  
E ⊆ S.  
Optional emphasis  
Writing E ∈ S is wrong here because E is a set of outcomes, not a single outcome.  
Arman Jahangiri  
Summer 2026 27  
Summary  
▶ Probability begins with a clearly specified sample space S.  
▶ Outcomes are elements of S.  
▶ Events are subsets of S.  
▶ An event occurs when the actual outcome lies in that event.  
▶ Set operations allow us to build complicated events from simpler events.  
▶ De Morgan’s laws are essential tools for rewriting complements.  
▶ Choosing the correct sample space is part of the modeling process.  
Next lecture  
Naive probability: when outcomes are equally likely, probability becomes counting.  
Arman Jahangiri  
Summer 2026 28