Sample Space & Basic Probability: Building the Foundation
A sample space is the set of all possible outcomes of a random experiment; probability assigns each outcome a number between 0 and 1 measuring how likely it is. For equally likely outcomes, the probability of an event equals (favourable outcomes) ÷ (total outcomes). This framework underlies all of statistics, gambling, genetics, and risk analysis, and was formalised by Pascal, Fermat, and Laplace between the 1650s and 1810s.
Probability is built in two layers. First, list every possible outcome — the sample space. Second, attach weights (probabilities) to outcomes so the weights are non-negative and sum to 1. Once these two steps are done, the probability of any event is simply the sum of the weights of the outcomes inside it. Everything else — addition rules, complements, conditional probability — is bookkeeping on this foundation.
Formal Statement
A random experiment is a repeatable procedure with a well-defined set of possible results. The sample space (or ) is the set of all distinct possible outcomes. Each individual outcome is called a sample point or elementary event. An event is any subset of the sample space, . We say "event occurs" if the actual outcome satisfies .
- The certain event is itself.
- The impossible event is the empty set .
- An elementary event is a single-outcome subset .
A probability measure assigns to each event a real number satisfying:
Derivation hint: This is an axiom (non-negativity); probabilities cannot be negative because they measure a proportion of likelihood.
Derivation hint: An axiom (normalisation); something in the sample space must happen, so the total probability is exactly 1.
Derivation hint: The additivity axiom; for mutually exclusive (disjoint) events, the probability of "at least one occurring" is the sum of their separate probabilities. Here means the events are mutually exclusive — they cannot both occur.
If is finite with outcomes that are all equally likely, then for any event containing outcomes:
Derivation hint: Assign each of outcomes equal weight (forced by [2] and [3]); summing the weights of the outcomes in gives .
From axioms [1]–[3], the following hold for all events :
Derivation hint: and its complement are disjoint and their union is ; apply [3] then [2].
Derivation hint: Take in [5], since and .
Derivation hint: Lower bound from [1]; upper bound because forces via monotonicity.
Derivation hint: The inclusion–exclusion principle; outcomes in the overlap get counted twice when adding , so subtract them once.
Why It Holds / Derivation
:::proof[Derivation of the Addition Rule [8]] We prove from the axioms.
Step 1. Decompose into three mutually exclusive pieces:
- (in only),
- (in both),
- (in only).
These are pairwise disjoint and their union is exactly .
Step 2. By the additivity axiom [3]:
Step 3. Note , disjointly, so , giving . Similarly .
Step 4. Substitute into Step 2:
Step 5. Simplify:
:::proof[Derivation of the Complement Rule [5]] Step 1. and are disjoint by definition, and .
Step 2. By additivity [3]: .
Step 3. By normalisation [2]: , so .
Step 4. Rearrange: .
The Soviet mathematician Andrey Nikolaevich Kolmogorov gave probability its modern rigorous footing in his 1933 monograph Grundbegriffe der Wahrscheinlichkeitsrechnung ("Foundations of the Theory of Probability"). He recognised that probability is a special case of measure theory: a sample space with a "measure" that assigns total mass 1. Before him, probability was a collection of clever but informal techniques; after him, it became a fully axiomatic branch of pure mathematics. Kolmogorov also made deep contributions to turbulence, dynamical systems, and algorithmic complexity.
Building Intuition
Think of the sample space as a pie and probability as how the pie is sliced. The whole pie has area 1 (axiom [2]). Each outcome takes a slice whose size is its probability, and no slice can have negative area (axiom [1]). An event is a group of slices, and its probability is just the combined area (axiom [3]). For a fair die, the pie is cut into 6 equal slices, each . The event "even number" is three slices, area . The crucial mental move is separating the listing from the weighting. First ask: what can happen? Then ask: how likely is each? Many errors come from skipping the first question — for instance, forgetting that rolling two dice has 36 outcomes, not 11.
Worked Examples
Given. A well-shuffled standard deck of 52 cards. Draw one card at random. Find the probability the card is either a king or a heart.
Step 1 — Sample space. All 52 cards are equally likely, so .
Step 2 — Define events.
- = "card is a king", .
- = "card is a heart", .
- = "king of hearts", .
Step 3 — Individual probabilities using [4]:
Step 4 — Addition rule [8] (overlapping events, so subtract the intersection):
Step 5 — Simplify. .
Given. Roll two fair six-sided dice. Find (a) and (b) .
Step 1 — Sample space. Ordered pairs , so equally likely outcomes.
Step 2 (a) — Event sum = 7. Favourable pairs: → .
Step 3 (b) — Event sum ≥ 10. Means sum = 10, 11, or 12 (mutually exclusive).
- Sum 10: → 3 outcomes
- Sum 11: → 2 outcomes
- Sum 12: → 1 outcome
Total favourable (by additivity [3]).
Common Misconceptions
Formula [4] only applies when every outcome in is equally likely. A common blunder is to list outcomes by result rather than by equally likely cases. For two dice, the sums form a valid sample space of 11 outcomes — but they are not equally likely, so . The correct equally likely sample space is the 36 ordered pairs. Always choose your sample space so the counting formula is justified, or weight the outcomes explicitly.
Independent random trials have no memory. After five consecutive heads, the probability of heads on the next fair toss is still , not lower. The coin does not "owe" you a tail. The mistaken belief that past outcomes influence future independent ones is the gambler's fallacy, and it has cost countless people their savings. See Independent Events.
Consider tossing two coins and recording the number of heads: the sample space is . A naïve student might say each has probability . But list the equally likely raw outcomes: , four cases.
- heads: only →
- head: →
- heads: only →
So , double the naïve guess. The lesson: a valid sample space need not have equally likely members — you must verify it.
Connections
Sample spaces and basic probability are the gateway to the whole subject. The addition rule [8] generalises to the Inclusion-Exclusion Principle for many events. Restricting the sample space to a known event leads directly to Conditional Probability and Bayes' Theorem. When outcomes carry numerical values, the weighting becomes a Random Variable and its Probability Distribution. Counting the size of events efficiently requires Combinatorics (permutations and combinations). Finally, the frequentist justification that observed relative frequencies approach true probabilities is made precise by the Law of Large Numbers.
Real-World Applications
Historical Development
Subtleties & Limits
The neat picture of a finite, equally likely sample space breaks down in subtle cases. When is uncountably infinite (e.g. picking a random real number in ), individual outcomes have probability zero, yet events still have positive probability — handled by Measure Theory and probability densities, not sums. Moreover, on such spaces one cannot consistently assign a probability to every subset (non-measurable sets exist, as shown by the Vitali and Banach–Tarski constructions), so we restrict to a -algebra of "nice" events. A deeper, still-debated question is the interpretation of probability itself: is an objective long-run frequency, a degree of rational belief (Bayesian), or a propensity of the physical system? This is a live issue in the foundations of statistics and quantum mechanics, where probabilities appear irreducibly fundamental.
See Also
Conditional Probability · Independent Events · Bayes' Theorem · Combinatorics · Random Variables · Law of Large Numbers · Inclusion-Exclusion Principle · Measure Theory