TQBTHEQUANTBATEMAN
TQB/ learn/ derivatives/ gbm physical risk neutral dynamicsEN · DARK
Derivatives foundations · intermediate

GBM under physical and pricing measures

Separate forecast drift from no-arbitrage drift before pricing a payoff.

BY THE END, YOU CAN

01Solve the GBM SDE and identify its lognormal law.

02Distinguish μ estimated under P from r−q imposed under Q.

03Verify the discounted total-return martingale condition.

04Explain which GBM assumptions fail in option markets.

01
INTUITION

Identify the state variables and the behavior they add.

GBM is one process written in different probability coordinates. Historical estimation targets the physical law; arbitrage pricing chooses a measure under which discounted tradables are martingales.

01

The diffusion coefficient controls instantaneous return variance under both measures in the base model.

02

Changing μ to r−q is a measure statement, not a forecast revision.

03

The exact exponential solution preserves positivity; a naive Euler step need not.

02
WHY MARKETS CARE

Ask which instruments can identify the dynamics.

Equity forwards, vanilla options, implied volatility and delta hedging all inherit GBM's carry, positivity and lognormal assumptions.

INSTRUMENTS

Equity forwards

European options

delta-one hedges

volatility quotes

QUOTE CONVENTION

S is a currency price, q is continuous proportional dividend yield, r is the continuously compounded funding rate, σ is annualized decimal volatility, and T is years.

03
MATHEMATICS

Write the dynamics before interpreting parameters.

Formula · Short derivation

GBM dynamics

dStSt=b dt+σdWt,b=μ (P), b=r−q (Q)\frac{dS_t}{S_t}=b\,dt+\sigma dW_t,\qquad b=\mu\ (\mathbb P),\ b=r-q\ (\mathbb Q)

The same diffusion is paired with different drifts after a measure change.

Formula · Full derivation

Exact lognormal solution

ST=Stexp⁡ ⁣((b−12σ2)τ+στZ),Z∼N(0,1)S_T=S_t\exp\!\left((b-\tfrac12\sigma^2)\tau+\sigma\sqrt{\tau}Z\right),\quad Z\sim\mathcal N(0,1)

The −σ²/2 term comes from Itô's lemma and makes E[S_T|S_t]=S_te^{bτ}.

Full derivation
Full derivation

Solve GBM by transforming log-price

Apply Itô's lemma to log S, integrate the resulting arithmetic Brownian motion, then exponentiate.

  1. 01

    Choose the transformation

    Logarithms turn proportional shocks into additive shocks while preserving positivity after inversion.

    f(S)=log⁡S,fS=1/S,fSS=−1/S2f(S)=\log S,\quad f_S=1/S,\quad f_{SS}=-1/S^2
  2. 02

    Apply Itô's lemma

    The quadratic-variation correction subtracts half the instantaneous variance from log drift.

    dlog⁡St=(b−12σ2)dt+σdWtd\log S_t=(b-\tfrac12\sigma^2)dt+\sigma dW_t
  3. 03

    Integrate over the horizon

    Constant coefficients integrate directly and the Brownian increment is normal with variance τ.

    log⁡(ST/St)=(b−12σ2)τ+σ(WT−Wt)\log(S_T/S_t)=(b-\tfrac12\sigma^2)\tau+\sigma(W_T-W_t)
  4. 04

    Standardize and exponentiate

    Write W_T−W_t=√τ Z and invert the log transformation.

    ST=Ste(b−σ2/2)τ+στZS_T=S_t e^{(b-\sigma^2/2)\tau+\sigma\sqrt{\tau}Z}

The exact solution separates drift, convexity correction, and random shock; changing measure changes b, not the algebra of the solution.

Inputs
  • μ: physical expected return under P
  • r−q: risk-neutral ex-dividend drift under Q
  • σ: annualized return volatility
  • Bₜ=e^{rt}: money-market numeraire
Assumptions and limits
  • Constant volatility cannot reproduce smile or stochastic variance.
  • Continuous paths omit jumps and gap risk.
  • Continuous trading and frictionless funding are idealizations.
Formula · Short derivation

Discounted total-return martingale

e−rteqtSt is a Q-martingalee^{-rt}e^{qt}S_t\ \text{is a }\mathbb Q\text{-martingale}

Dividend reinvestment and funding discounting remove predictable drift under Q.

05
MODEL / PRICING

Calibrate, compute, and challenge the dynamics.

METHOD

Use the exact transition for simulation when coefficients are constant; use the P law for estimation and the Q law for arbitrage pricing.

CALIBRATION

Estimate μ and σ from historical returns only for a physical model. Calibrate pricing volatility to option prices under Q and infer carry from consistent curves/dividends.

06PYTHON IMPLEMENTATIONOpen the implementation and checks.
ARCHITECTURE
  • Separate physical and pricing parameter objects
  • Use exact transition as numerical reference
  • Return martingale and moment diagnostics
PYTHON 3 · NUMPY / SCIPY

Exact GBM transition under P and Q

Use identical shocks to isolate the effect of changing drift and verify the Q expectation.

REUSABLE EXAMPLE
01from __future__ import annotations
02
03import numpy as np
04
05def gbm_terminal(spot: float, drift: float, vol: float, time: float, z: np.ndarray) -> np.ndarray:
06 if min(spot, time) <= 0 or vol < 0:
07 raise ValueError("invalid GBM inputs")
08 return spot*np.exp((drift-0.5*vol*vol)*time+vol*np.sqrt(time)*z)
09
10rng = np.random.default_rng(19)
11z = rng.standard_normal(500_000)
12spot, rate, dividend, vol, time = 100.0, 0.04, 0.01, 0.20, 1.5
13terminal = gbm_terminal(spot, rate-dividend, vol, time, z)
14target = spot*np.exp((rate-dividend)*time)
15assert abs(terminal.mean()-target)/target < 2e-3
16assert np.all(terminal > 0)
17print(f"sample_mean={terminal.mean():.4f} analytical_mean={target:.4f}")
EXPECTED OUTPUTsample_mean≈analytical_mean=104.6028
SANITY CHECKS

✓ Exact states remain positive

✓ Sample Q mean matches forward carry within Monte Carlo error

✓ P and Q reuse identical shocks for controlled comparison

07
INTERACTIVE LAB

Shock one parameter and trace the full response.

MEASURE-CHANGE ENGINE

GBM under physical and pricing measures

Switch measure and move the physical inputs. Drift, numeraire, martingale and density update together.

SYNTHETIC · EDUCATIONAL
Active drift3.50%r
Market price λ0.2273(μ−r)/σ
NumeraireMoney-market account BₜSₜ / Bₜ
Likelihood ratio Zₜ by Brownian state Wₜ

Likelihood-ratio weights across the current Brownian state range.

  • Zₜ(Wₜ)
Brownian state Wₜ: -3.00. Zₜ(Wₜ): 1.927.

Use Left/Right or Up/Down arrows to inspect values; Home and End jump to the bounds.

PRICING COORDINATES

Change weight, drift and martingale together

B₀ Eᴼ[S payoff / Bₜ]

01Physical lawμ=8.50%

Forecast and risk-premium distribution

02Densityλ=0.227

Positive likelihood-ratio process

03QSₜ / Bₜ

Money-market account Bₜ

MODEL BOUNDARY

One-factor constant-coefficient diffusion. The density is illustrative and not a calibrated risk-premium model.

08
FRONT OFFICE

Where the model meets the book.

ON THE DESK
“Risk-neutral drift is a pricing coordinate, not the desk's best forecast.”
VISIBLE INPUTS

spot and dividend curve

funding/discount curve

volatility convention

measure and numeraire

CALIBRATION

Calibrate Q-volatility to liquid option prices; estimate P-drift only for forecasting and scenario applications with a separate validation objective.

RISK

carry and dividend risk

volatility/model risk

measure confusion

DAILY WORKFLOW
  1. freeze spot and curves
  2. declare P or Q objective
  3. compute exact reference
  4. validate moments and forwards
Production failure modes
  • mixing historical and implied volatility
  • incorrect dividend carry
  • Euler negative states
09MACRO CONNECTIONOpen the transmission channel.
MACRO CONNECTION

Expected returns versus pricing carry

Risk premia affect the physical distribution; funding and dividends fix no-arbitrage carry in the pricing coordinate.

01Growth/risk premiumtransmits

moves μ under P

02Rates/dividendstransmits

fix r−q under Q

03Option marketoutput

identifies pricing volatility

10COMMON PITFALLSOpen the failure checklist.
01

Replacing μ by r without declaring a measure change.

02

Forgetting dividend carry in the Q drift.

03

Estimating pricing drift from historical returns.

04

Using an Euler scheme when an exact transition exists.

11SOURCES / FURTHER READINGOpen sources and continue the track.