Sample Spaces and Sigma-Algebras

Everything in modern probability starts with one object: the probability triple .

SymbolNameRole
Sample spaceAll possible outcomes
-algebraEvents we can measure
Probability measureAssigns probabilities to events

This article covers and . The measure comes in probability-measures-and-axioms.


The Sample Space

The sample space is the set of all possible outcomes of an experiment or random process. Every element is a single, fully specified outcome --- one complete realization of the world.

Three Financial Examples

1. Single stock, one period (binary model)

The stock either goes up or goes down. Two outcomes. This is the simplest possible model, but already enough to derive the key ideas of risk-neutral pricing.

2. Stock over days (binomial tree)

Each is a sequence of ups and downs: . This is the Cox-Ross-Rubinstein (1979) model. With trading days, --- more outcomes than atoms in the observable universe, from a model with only two moves per day.

3. Continuous paths

Each outcome is an entire continuous price path. This is the space where Brownian motion lives, and where Black-Scholes operates. is now uncountably infinite, which is why we need -algebras.

Engineering Analogy

Think of as the space of all execution traces of a nondeterministic distributed system. Each is one complete trace --- every message delivered, every timeout fired, every node’s state at every instant. The system might take any of these paths; probability tells us which ones are more likely.


Events

An event is a subset of : a collection of outcomes we might want to ask about.

  • “The stock goes up”:
  • “A call option expires in the money”:
  • “The portfolio loses more than 5%”:

Not every subset of can be an event. When is uncountable, we need to be careful about which subsets we can assign probabilities to. This is where -algebras enter.


The -Algebra

A -algebra on is a collection of subsets of satisfying three axioms:

  1. Contains the whole space:
  2. Closed under complements:
  3. Closed under countable unions:

These axioms guarantee that is closed under every set operation you could want: unions, intersections, complements, symmetric differences, countable combinations of these.

Why Not Just Use All Subsets?

There are two reasons we need -algebras rather than simply using (all subsets):

The technical reason. When is uncountable (like our continuous price path space), it is mathematically impossible to assign probabilities consistently to all subsets. Vitali (1905) showed that assuming the Axiom of Choice, there exist subsets of that cannot be assigned any measure compatible with translation invariance. The -algebra restricts us to the “nice” subsets where probability is well-defined.

THE reason for finance. -algebras model information. This is not just a technical convenience --- it is the conceptual core of the entire framework. A -algebra represents what you know at time . Events in are questions you can answer; events outside it are questions you cannot yet resolve.


Filtrations --- Information Evolving Over Time

A filtration is a family of -algebras that grows over time:

Information only grows. You cannot un-learn something.

Concrete Example: Two-Day Binomial Model

Let where the first letter is day 1 and the second is day 2.

At time 0 (before any trading):

You know nothing. The only questions you can answer are trivial: “did something happen?” () and “did nothing happen?” (). This -algebra has 2 elements.

At time 1 (after day 1 closes):

You observed whether day 1 went up or down, but you cannot yet distinguish from . The atoms of are (“day 1 was up”) and (“day 1 was down”). This -algebra has 4 elements.

At time 2 (after day 2 closes):

You observed everything. Every outcome is distinguishable. This -algebra has 16 elements (, since ).

The nesting captures the flow of information through time.

Why Filtrations Matter in Finance

Filtrations are not a formalism you tolerate --- they are the concept that makes derivative pricing coherent:

  • Derivative pricing at time depends on . The price of an option reflects what the market knows now, not what it will know tomorrow.
  • An adapted process is one that only uses available information: is -measurable. A trading strategy must be adapted --- you cannot use tomorrow’s prices to make today’s trades (no lookahead bias).
  • A martingale satisfies : the best forecast of tomorrow’s value, given everything known today, is today’s value. Under the risk-neutral measure, discounted asset prices are martingales. This is the theoretical engine of derivatives pricing.

Engineering Analogy

A filtration is a causal ordering. In distributed systems, Lamport timestamps define what events are causally before others. A filtration does the same thing for information: is the set of all events that are causally accessible at time . An adapted process is one that respects causal ordering --- no reading from the future.


Two Measures, One Structure: A Preview

Here is the key structural insight that the rest of quantitative finance builds on.

Given the same , we can define two different probability measures:

MeasureNameMeaning
Physical (real-world) measureHow outcomes actually occur
Risk-neutral measureHypothetical measure where all assets earn the risk-free rate in expectation

The physical measure is what you’d estimate from historical data. The risk-neutral measure is what the market implies through prices. They agree on what’s possible (same null sets) but disagree on what’s likely.

Girsanov’s theorem provides the bridge between and . The fundamental insight of modern derivatives pricing:

Pricing = computing expectations under , not .

This is why the framework matters: it cleanly separates the structure (what can happen) from the measure (how likely each thing is), and lets us swap measures while keeping the structure fixed.


One-Period Binomial Model: vs in Action

Let’s make this concrete with the simplest possible example.

Setup

ParameterValue
(initial stock price)100
110
90
(strike price)105
(risk-free rate)0.02
(real-world probability of up)0.60

The Key Calculation

The risk-neutral probability is the unique value that makes the discounted stock price a martingale:

Solving:

The call option payoff is :

  • If up:
  • If down:

Risk-neutral price:

Real-world expected payoff (discounted):

In this example, and happen to coincide numerically. Change the parameters and they diverge --- but the price is always determined by , never by .

Python Implementation

"""One-period binomial model: P vs Q measures."""
 
 
def binomial_one_period(
    *,
    s0: float,
    s_up: float,
    s_down: float,
    strike: float,
    r: float,
    p_real: float,
) -> dict[str, float]:
    # Risk-neutral probability (unique martingale measure)
    q_up = (s0 * (1 + r) - s_down) / (s_up - s_down)
    q_down = 1 - q_up
 
    # Verify no-arbitrage condition: 0 < q_up < 1
    assert 0 < q_up < 1, f"No-arbitrage violated: q_up={q_up}"
 
    # Option payoffs
    payoff_up = max(s_up - strike, 0)
    payoff_down = max(s_down - strike, 0)
 
    # Pricing under Q (the CORRECT price)
    price_q = (q_up * payoff_up + q_down * payoff_down) / (1 + r)
 
    # Expected payoff under P (NOT a valid price)
    expected_p = (p_real * payoff_up + (1 - p_real) * payoff_down) / (1 + r)
 
    # Verify martingale property: E^Q[S1/(1+r)] = S0
    martingale_check = (q_up * s_up + q_down * s_down) / (1 + r)
 
    return {
        "q_up": q_up,
        "q_down": q_down,
        "price_Q": price_q,
        "expected_P": expected_p,
        "martingale_check": martingale_check,
        "S0": s0,
    }
 
 
result = binomial_one_period(
    s0=100, s_up=110, s_down=90, strike=105, r=0.02, p_real=0.60
)
 
print("Risk-neutral probability (q_up):", f"{result['q_up']:.4f}")
print("Option price (Q-measure):       ", f"{result['price_Q']:.4f}")
print("Expected payoff (P-measure):    ", f"{result['expected_P']:.4f}")
print("Martingale check E^Q[S1/(1+r)]: ", f"{result['martingale_check']:.4f}")
print("S0:                             ", f"{result['S0']:.4f}")
print(f"\nMartingale property holds: {abs(result['martingale_check'] - result['S0']) < 1e-10}")

The critical insight: real-world belief () is IRRELEVANT for pricing. Two traders can completely disagree about whether the stock will go up (one thinks , the other ) and yet agree on the option price, because the price is determined by , which is derived purely from the current stock price, the possible outcomes, and the risk-free rate.

The risk-neutral probability is the unique probability that makes the discounted stock price a martingale under . It encodes the no-arbitrage condition, not anyone’s beliefs.


Historical Note

The axiomatic framework was established by Andrey Kolmogorov in 1933, in his monograph Grundbegriffe der Wahrscheinlichkeitsrechnung (Foundations of the Theory of Probability). Before Kolmogorov, probability was a collection of techniques without a unified foundation. His axiomatization --- built on Lebesgue’s measure theory --- put probability on the same rigorous footing as the rest of modern mathematics and made it possible to define conditional expectation, stochastic processes, and everything that followed.


Checkpoint Questions

  1. In the binomial model , describe the elements (atoms) of . How many sets does contain?

  2. Why can’t we always use as our -algebra? Give both the technical reason and the financial reason.

  3. At Gottex, you optimized no-arbitrage yield curves subject to constraints. In the language of this article, what role does the no-arbitrage condition play? How does it relate to the existence of a risk-neutral measure ?


Next: probability-measures-and-axioms --- Kolmogorov’s axioms and how to construct measures on the spaces we’ve just defined.