Sample Spaces and Events

Why Build a Mathematical Theory of Randomness?

Many phenomena in engineering are too complex for deterministic description. The output of a noisy channel, the arrival time of the next packet at a router, the fading amplitude of a wireless link, the phase noise of an oscillator — all of these are quantities that we cannot predict exactly, but whose statistical behavior we can characterize and engineer around.

Before we can make any rigorous statement about such quantities — before we can compute an average, bound a tail probability, or prove convergence — we need a precise mathematical language for randomness. That language is probability theory, and its starting point is the concept of a sample space.

The formalism we build in this chapter may look abstract at first. Hold on. By Section 1.3, every definition will have a direct probabilistic consequence (complementation rule, union bound, continuity of probability) that you will use in every channel model, every error probability analysis, and every detection problem you will ever encounter.

Definition:

Sample Space

An experiment is any process whose outcome is not determined in advance. The sample space Ω\Omega is the set of all possible outcomes of the experiment. A single outcome is called a sample point and is denoted ωΩ\omega \in \Omega.

Sample spaces may be:

  • Finite: Ω={ω1,,ωN}\Omega = \{\omega_1, \ldots, \omega_N\} with Ω=N<|\Omega| = N < \infty.
  • Countably infinite: Ω=|\Omega| = \infty with a bijection to N\mathbb{N}.
  • Uncountably infinite: e.g., Ω=R\Omega = \mathbb{R} or Ω=[0,1]\Omega = [0,1].

The choice of sample space is a modeling decision. For a coin flip, one might use Ω={H,T}\Omega = \{H, T\} or, more elaborately, the physical space of all possible positions and velocities of the coin at the moment it lands. The art of probability modeling is choosing the simplest Ω\Omega that captures all the randomness relevant to the questions being asked.

,

Example: Sample Spaces in Communications

Identify the sample space for each of the following experiments: (a) Flip a fair coin once. (b) Roll a fair die once. (c) Transmit a binary symbol over a noisy channel and record the received signal. (d) Observe a continuous-time channel output y(t)y(t) for t[0,T]t \in [0, T].

Definition:

Event

An event is a subset AΩA \subseteq \Omega. We say event AA occurs if the outcome ω\omega of the experiment satisfies ωA\omega \in A.

The impossible event is the empty set \emptyset: no outcome can belong to it. The certain event is Ω\Omega itself: every outcome belongs to it.

Set operations on events correspond to logical connectives:

Set operation Logical reading
ABA \cup B AA or BB (or both) occur
ABA \cap B AA and BB both occur
Ac=ΩAA^c = \Omega \setminus A AA does not occur
AB=ABcA \setminus B = A \cap B^c AA occurs but BB does not
AB=A \cap B = \emptyset AA and BB are mutually exclusive (disjoint)
,

Theorem: De Morgan's Laws

For any collection of events A1,A2,A_1, A_2, \ldots (finite or countably infinite): (iAi)c=iAic,(iAi)c=iAic.\left(\bigcup_i A_i\right)^c = \bigcap_i A_i^c, \qquad \left(\bigcap_i A_i\right)^c = \bigcup_i A_i^c.

"Not (A or B)" is the same as "(not A) and (not B)." De Morgan's laws say this logical equivalence holds for any number of events, including countably many. They are indispensable when converting between unions and intersections in proofs.

Definition:

Partition

A collection of events {B1,B2,,Bn}\{B_1, B_2, \ldots, B_n\} is a partition of Ω\Omega if:

  1. The events are mutually exclusive: BiBj=B_i \cap B_j = \emptyset for all iji \neq j.
  2. The events are exhaustive: i=1nBi=Ω\bigcup_{i=1}^n B_i = \Omega.

Any event AA can be decomposed along a partition: A=i=1n(ABi)A = \bigcup_{i=1}^{n} (A \cap B_i), a disjoint union.

Partitions encode the prior information available to an observer. When an experiment is performed in stages — first a hypothesis is true, then data is collected — the hypothesis partition {B1,,Bn}\{B_1, \ldots, B_n\} decomposes every event AA into the pieces "A occurred AND hypothesis BiB_i was true." This decomposition is the structural foundation of the law of total probability (Chapter 2, Section 2.1).

Set Operations on Events

Explore the set-theoretic operations on two events AA and BB within sample space Ω\Omega. Select an operation to highlight the corresponding region.

Parameters
0.4
0.4
0.15

Venn Diagrams: From Sample Space to Events

An animated walkthrough of the sample space, events as regions, and the main set operations with their logical interpretations.
Each colored region corresponds to one set-theoretic operation on events AA and BB. The entire rectangle is the sample space Ω\Omega.

Common Mistake: Disjoint Events Are NOT Independent

Mistake:

A common error at the start of a course is to confuse mutually exclusive events with independent events. Both involve a pairwise relationship between two events, and both feel like "the events don't interfere with each other."

Correction:

Disjoint events (AB=A \cap B = \emptyset) are, in fact, as dependent as two events can be: if one occurs, the other is impossible. Independence (P(AB)=P(A)P(B)\mathbb{P}(A \cap B) = \mathbb{P}(A)\mathbb{P}(B)) is a very different property — it means knowing AA occurred gives no information about whether BB occurred. We define independence formally in Chapter 2; the key point here is: disjoint \neq independent.

Sample Space

The set Ω\Omega of all possible outcomes of an experiment. May be finite, countably infinite, or uncountably infinite.

Related: Event, Probability Space

Event

A subset AΩA \subseteq \Omega of the sample space. We say event AA occurs when the experimental outcome ωA\omega \in A.

Related: Sample Space, Sigma-Algebra

Key Takeaway

Events are sets, logical connectives are set operations. Once this dictionary is internalized, set-theoretic manipulations in probability proofs become transparent: every "and" is an intersection, every "or" is a union, every "not" is a complement.