Skip to content
LeetQuant
QR02 Advanced Probability and Stochastic Processes

QR02 · Advanced Probability and Stochastic Processes · Lesson 1 of 4

Brownian Motion & Martingales

Construction, scaling, reflection, and the martingales built from Brownian motion.

30 min

Brownian motion

A standard Brownian motion WtW_t satisfies:

  1. W0=0W_0 = 0 and paths are continuous.
  2. Increments over disjoint intervals are independent.
  3. Wt−Ws∼N(0, t−s)W_t - W_s \sim N(0,\, t - s) for s<ts < t.

It is the limit of a scaled random walk: take ±1\pm 1 steps every Δt\Delta t and multiply by Δt\sqrt{\Delta t}. Useful facts:

  • Cov⁡(Ws,Wt)=min⁡(s,t)\operatorname{Cov}(W_s, W_t) = \min(s, t).
  • Scaling: for c>0c > 0, 1cWct\tfrac{1}{\sqrt c}W_{ct} is again a standard Brownian motion. Doubling the horizon multiplies typical moves by 2\sqrt 2, not 22.
  • Symmetry: −Wt-W_t is a Brownian motion.
  • Paths are continuous but nowhere differentiable, and they have quadratic variation tt over [0,t][0, t].

Worked example

covariances

Compute Var⁡(W1+W2)\operatorname{Var}(W_1 + W_2).

Show solution

Write it with independent pieces: W1+W2=2W1+(W2−W1)W_1 + W_2 = 2W_1 + (W_2 - W_1), so

Var⁡=4Var⁡(W1)+Var⁡(W2−W1)=4+1=5.\operatorname{Var} = 4\operatorname{Var}(W_1) + \operatorname{Var}(W_2 - W_1) = 4 + 1 = 5 .

Or use the covariance: Var⁡(W1)+Var⁡(W2)+2min⁡(1,2)=1+2+2=5\operatorname{Var}(W_1) + \operatorname{Var}(W_2) + 2\min(1,2) = 1 + 2 + 2 = 5.

Martingales from Brownian motion

A martingale is a process whose best forecast of the future is its present value: E[Mt∣Fs]=Ms\mathbb{E}[M_t \mid \mathcal{F}_s] = M_s for s<ts < t. The three you should know by heart:

Wt,Wt2−t,exp⁡ ⁣(θWt−12θ2t).W_t, \qquad W_t^2 - t, \qquad \exp\!\Big(\theta W_t - \tfrac12\theta^2 t\Big) .

The third is the exponential martingale, and it encodes the moment generating function E[eθWt]=eθ2t/2\mathbb{E}[e^{\theta W_t}] = e^{\theta^2 t/2}.

To check a candidate, use Itô's lemma and see whether the dtdt term vanishes, or expand Wt=Ws+(Wt−Ws)W_t = W_s + (W_t - W_s) and use independence of the increment.

Optional stopping: exit problems

If MM is a martingale and τ\tau is a suitably well-behaved stopping time, E[Mτ]=M0\mathbb{E}[M_\tau] = M_0. Let τ\tau be the first time WW hits a>0a > 0 or −b<0-b < 0.

  • From WW: a P(hit a)−b (1−P(hit a))=0a\,P(\text{hit } a) - b\,(1 - P(\text{hit } a)) = 0, so P(hit a first)=ba+bP(\text{hit } a \text{ first}) = \dfrac{b}{a + b}.
  • From W2−tW^2 - t: E[Wτ2]=E[τ]\mathbb{E}[W_\tau^2] = \mathbb{E}[\tau], which gives E[τ]=ab\mathbb{E}[\tau] = ab.

With drift, Xt=μt+WtX_t = \mu t + W_t, the exponential martingale with θ=−2μ\theta = -2\mu makes e−2μXte^{-2\mu X_t} a martingale, and the same argument gives

P(hit a before −b)=1−e2μbe−2μa−e2μb.P(\text{hit } a \text{ before } -b) = \frac{1 - e^{2\mu b}}{e^{-2\mu a} - e^{2\mu b}} .

The reflection principle

Once a path reaches level aa, its future is as likely to go up as down. Reflecting the path after the first hit shows that, for a>0a > 0,

P(max⁡0≤s≤tWs≥a)=2 P(Wt≥a)=2(1−N(a/t)).P\Big(\max_{0 \le s \le t} W_s \ge a\Big) = 2\,P(W_t \ge a) = 2\Big(1 - N\big(a/\sqrt t\big)\Big).

This prices barrier options and answers "what is the chance the stock touches this level before expiry?" A path is about twice as likely to touch a level as to finish beyond it.

Worked example

touching a level

A stock's log-price moves like σWt\sigma W_t with σ=20%\sigma = 20\% a year and no drift. What is the probability that it trades at least 20% (in log terms) above today's level at some point in the next year?

Show solution

We need max⁡s≤1σWs≥0.2\max_{s \le 1} \sigma W_s \ge 0.2, i.e. max⁡Ws≥1\max W_s \ge 1. By reflection,

P=2(1−N(1))=2×0.1587≈0.317.P = 2\big(1 - N(1)\big) = 2 \times 0.1587 \approx 0.317 .

The probability of ending the year that high is only about 0.1590.159.

Knowledge check

Brownian motion starts at 0. What is the expected time until it first hits either +1 or −3?

Knowledge check

Which of these is a martingale?

Knowledge check

What is E[W2 W5]\mathbb{E}[W_2\,W_5]?

Practice problems

Finished reading?

Answer the 3 knowledge checks to complete this lesson (0 done).