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
Sample Space
An experiment is any process whose outcome is not determined in advance. The sample space is the set of all possible outcomes of the experiment. A single outcome is called a sample point and is denoted .
Sample spaces may be:
- Finite: with .
- Countably infinite: with a bijection to .
- Uncountably infinite: e.g., or .
The choice of sample space is a modeling decision. For a coin flip, one might use 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 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 for .
(a) Single coin flip
. This is a finite sample space with two elements. The sigma-algebra is the power set .
(b) Single die roll
. A finite sample space with six elements. With the power set as sigma-algebra, all subsets are events.
(c) Binary transmission, continuous channel
The transmitted symbol is in , but the received signal is a real number (due to additive noise). A natural sample space is , where each outcome is a pair (transmitted bit, received value). In practice, we often condition on the transmitted symbol and take for the received value alone.
(d) Continuous-time waveform
Here is an entire function , so , the space of all real-valued functions on . This is the setting for continuous-time stochastic processes, which we study starting in Chapter 13. Specifying the sigma-algebra on such spaces requires measure theory; for now, note that this is why the measure-theoretic foundations of Section 1.2 are not merely academic.
Definition: Event
Event
An event is a subset . We say event occurs if the outcome of the experiment satisfies .
The impossible event is the empty set : no outcome can belong to it. The certain event is itself: every outcome belongs to it.
Set operations on events correspond to logical connectives:
| Set operation | Logical reading |
|---|---|
| or (or both) occur | |
| and both occur | |
| does not occur | |
| occurs but does not | |
| and are mutually exclusive (disjoint) |
Theorem: De Morgan's Laws
For any collection of events (finite or countably infinite):
"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.
Prove the first law: $(\bigcup_i A_i)^c = \bigcap_i A_i^c$
We prove the two sets are equal by showing mutual containment.
(): Let . Then , so for every , hence for every , so .
(): Let . Then for every , so for every , hence , which gives .
Prove the second law from the first
Apply the first law to the events : . Taking complements of both sides: .
Definition: Partition
Partition
A collection of events is a partition of if:
- The events are mutually exclusive: for all .
- The events are exhaustive: .
Any event can be decomposed along a partition: , 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 decomposes every event into the pieces "A occurred AND hypothesis 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 and within sample space . Select an operation to highlight the corresponding region.
Parameters
Venn Diagrams: From Sample Space to Events
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 () are, in fact, as dependent as two events can be: if one occurs, the other is impossible. Independence () is a very different property — it means knowing occurred gives no information about whether occurred. We define independence formally in Chapter 2; the key point here is: disjoint independent.
Sample Space
The set of all possible outcomes of an experiment. May be finite, countably infinite, or uncountably infinite.
Related: Event, Probability Space
Event
A subset of the sample space. We say event occurs when the experimental outcome .
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.