Quant Sandbox
DerivativesPortfolio & RiskFixed IncomeCorporate FinanceStochastic ModelsGuide
Guide
Derivatives pricing
01Forwards, calls and puts02Combining positions03Arbitrage and the forward price04Put–call parity05The one-step binomial model06Risk-neutral probabilities07Multi-step trees and backward induction08American options and early exercise09Delta and hedging10Geometric Brownian motion11The Black–Scholes formula12The Greeks: gamma, vega, theta and rho13Implied volatility and the volatility smile14Stochastic volatility and the Heston model15Static replication: Breeden–Litzenberger and Carr–Madan16Exotic options: barriers, Asians and digitals
Portfolio & risk
01Returns and volatility02Diversification and correlation03The efficient frontier and the capital market line04Risk aversion and the optimal complete portfolio05CAPM, beta and the security market line06Performance measures: Sharpe, Treynor, Jensen and information ratio07Factor models and systematic risk08Value at Risk and expected shortfall
Fixed income
01Bond prices and yields02Duration and convexity03Immunization and duration matching04Spot rates, forward rates and the yield curve05Bond futures and the cheapest-to-deliver06Interest rate swaps07Callable bonds and negative convexity08Credit risk: default probabilities and credit spreads
Corporate finance
01Interest, compounding and discounting02Annuities, perpetuities and loan amortization03Net present value and internal rate of return04The weighted average cost of capital05Capital structure and the Modigliani–Miller theorems06Discounted cash flow valuation07Relative valuation with multiples08Real options: the value of flexibility
Stochastic models
01Random walks and Brownian motion02Probability spaces, σ-algebras and random variables03Filtrations, adapted processes and stopping times04Conditional expectation and martingales05Properties of Brownian motion06The reflection principle and first passage times07The Brownian bridge08The Itô integral09Itô's lemma10Kolmogorov equations and the Feynman–Kac formula11Change of measure and Girsanov's theorem12Monte Carlo option pricing13Simulating SDEs: the Euler–Maruyama scheme14Mean reversion: Ornstein–Uhlenbeck and Vasicek15Jumps and the Merton jump-diffusion model
Knowledge graph

© 2026 Quant Sandbox · A study aid for quantitative finance

Privacy & dataNo cookies

This site does not use cookies and asks for no personal data. It keeps a few small settings in your browser's local storage — your chosen theme and language, the sidebar layout, and your progress and answers in the Guides — so it remembers them on your next visit. This data never leaves your device; clearing your browser storage removes it. Inputs you change can also be captured in the page URL, so you can share or bookmark a specific setup. The site uses Vercel Web Analytics, a privacy-friendly, cookieless service that records only anonymous, aggregated usage (such as page views) without identifying you or tracking you across other sites.

Guide/Stochastic models

The Brownian bridge

Lesson 7 of 15 · 1 min read

This lesson studies Brownian motion pinned at both ends: the Brownian bridge. It builds on "Properties of Brownian motion" (the Gaussian characterisation and the covariance min⁡(s,t)\min(s, t)min(s,t)) and on "Conditional expectation and martingales" (conditioning jointly Gaussian variables). The bridge is the right object whenever the value of the path is known at a later time: it fills in a simulation between two sampled points, and it measures the chance that a path crossed a level between two grid points — the "hidden crossing" left open in "The reflection principle and first passage times".

Definition and construction

Let WWW be a standard Brownian motion. For a target endpoint bbb, define the process on [0,1][0, 1][0,1]

Bt=Wt−t W1+t b,0≤t≤1.B_t = W_t - t\,W_1 + t\,b, \qquad 0 \le t \le 1.Bt​=Wt​−tW1​+tb,0≤t≤1.

At the ends B0=0B_0 = 0B0​=0 and B1=W1−W1+b=bB_1 = W_1 - W_1 + b = bB1​=W1​−W1​+b=b, so the path is tied down to bbb at time 1. The special case b=0b = 0b=0 is the standard Brownian bridge Bt0=Wt−t W1B^0_t = W_t - t\,W_1Bt0​=Wt​−tW1​, and the general bridge is Bt=Bt0+t bB_t = B^0_t + t\,bBt​=Bt0​+tb: a standard bridge with the straight line t↦t bt \mapsto t\,bt↦tb added. Each BtB_tBt​ is a linear combination of the Gaussian vector (Ws)(W_s)(Ws​), so BBB is again a Gaussian process, determined by its mean and covariance.

A Brownian bridge from 0 to bbb on [0,1][0, 1][0,1] is Bt=Wt−t W1+t bB_t = W_t - t\,W_1 + t\,bBt​=Wt​−tW1​+tb. It is the continuous Gaussian path with B0=0B_0 = 0B0​=0, B1=bB_1 = bB1​=b, pulled toward the line t bt\,btb and most free to wander in the middle.

Mean and covariance

Taking expectations, E[Bt]=E[Wt]−t E[W1]+t b=t b\mathbb{E}[B_t] = \mathbb{E}[W_t] - t\,\mathbb{E}[W_1] + t\,b = t\,bE[Bt​]=E[Wt​]−tE[W1​]+tb=tb: the mean is the straight line between the endpoints. For the covariance it is enough to treat the standard bridge Bt0=Wt−t W1B^0_t = W_t - t\,W_1Bt0​=Wt​−tW1​, since adding the deterministic term t bt\,btb does not change second moments. Using Cov⁡(Ws,Wt)=min⁡(s,t)\operatorname{Cov}(W_s, W_t) = \min(s, t)Cov(Ws​,Wt​)=min(s,t), for s≤ts \le ts≤t

Cov⁡(Bs0,Bt0)=s−s t−t s+s t=s−s t=s (1−t),s≤t.\operatorname{Cov}(B^0_s, B^0_t) = s - s\,t - t\,s + s\,t = s - s\,t = s\,(1 - t), \qquad s \le t.Cov(Bs0​,Bt0​)=s−st−ts+st=s−st=s(1−t),s≤t.

Setting s=ts = ts=t gives the variance Var⁡(Bt)=t (1−t)\operatorname{Var}(B_t) = t\,(1 - t)Var(Bt​)=t(1−t), a parabola that is zero at both ends and largest at the midpoint, where Var⁡(B1/2)=1/4\operatorname{Var}(B_{1/2}) = 1/4Var(B1/2​)=1/4. The bridge has no freedom at the endpoints and the most freedom in the middle; this is the hallmark shape of the spread bands in the figure.

The bridge as conditioned Brownian motion

The construction is not a coincidence: the bridge is exactly Brownian motion conditioned on its endpoint. The pair (Wt,W1)(W_t, W_1)(Wt​,W1​) is jointly Gaussian with Cov⁡(Wt,W1)=t\operatorname{Cov}(W_t, W_1) = tCov(Wt​,W1​)=t and Var⁡(W1)=1\operatorname{Var}(W_1) = 1Var(W1​)=1. The Gaussian conditioning formula gives

E[Wt∣W1=b]=Cov⁡(Wt,W1)Var⁡(W1) b=t b,Var⁡(Wt∣W1)=t−t21=t (1−t).\mathbb{E}[W_t \mid W_1 = b] = \frac{\operatorname{Cov}(W_t, W_1)}{\operatorname{Var}(W_1)}\,b = t\,b, \qquad \operatorname{Var}(W_t \mid W_1) = t - \frac{t^2}{1} = t\,(1 - t).E[Wt​∣W1​=b]=Var(W1​)Cov(Wt​,W1​)​b=tb,Var(Wt​∣W1​)=t−1t2​=t(1−t).

These are exactly the mean and variance of BtB_tBt​. A short calculation on the full covariance confirms that the whole conditioned process (Wt∣W1=b)(W_t \mid W_1 = b)(Wt​∣W1​=b) has the same law as BBB. A second fact makes the decomposition clean: Bt0=Wt−t W1B^0_t = W_t - t\,W_1Bt0​=Wt​−tW1​ is independent of W1W_1W1​, because they are jointly Gaussian and

Cov⁡(Wt−t W1, W1)=t−t⋅1=0.\operatorname{Cov}(W_t - t\,W_1,\ W_1) = t - t \cdot 1 = 0.Cov(Wt​−tW1​, W1​)=t−t⋅1=0.

So Brownian motion splits into two independent pieces — a bridge that ignores the endpoint and the endpoint itself:

Wt=Bt0+t W1,B0⊥W1.W_t = B^0_t + t\,W_1, \qquad B^0 \perp W_1.Wt​=Bt0​+tW1​,B0⊥W1​.

To simulate a Brownian path on a fine grid, one can therefore first draw the endpoint W1∼N(0,1)W_1 \sim N(0, 1)W1​∼N(0,1) and then fill in the interior with an independent standard bridge. Repeating this between every pair of sampled times is exactly the recursive refinement used to generate Brownian paths at ever finer resolution.

Brownian bridgeOpen in Brownian Motion →
0.00
-1.51.5
b·t±√(t(1−t))±2√(t(1−t))
Mean at t = 0.5
-0.001 (b/2 = 0.000)
Variance at t = 0.5
0.246 (1/4)

The hidden-crossing probability

The reflection lesson noted that a simulated maximum, taken only at grid points, misses crossings that happen between them. The bridge answers exactly how often this occurs. Suppose a path is observed at the ends of an interval of length Δ\DeltaΔ with values w0w_0w0​ and w1w_1w1​. Conditioned on these, the path in between is a Brownian bridge, and the probability that it rises to a level a≥max⁡(w0,w1)a \ge \max(w_0, w_1)a≥max(w0​,w1​) somewhere inside is, by a reflection argument applied to the bridge,

P(max⁡0≤t≤ΔXt≥a ∣ X0=w0, XΔ=w1)=exp⁡ ⁣(−2 (a−w0)(a−w1)Δ).\mathbb{P}\Big(\max_{0 \le t \le \Delta} X_t \ge a \ \Big|\ X_0 = w_0,\ X_\Delta = w_1\Big) = \exp\!\Big(-\frac{2\,(a - w_0)(a - w_1)}{\Delta}\Big).P(0≤t≤Δmax​Xt​≥a ​ X0​=w0​, XΔ​=w1​)=exp(−Δ2(a−w0​)(a−w1​)​).

For a standard bridge pinned at w0=w1=0w_0 = w_1 = 0w0​=w1​=0 over [0,1][0, 1][0,1] this is P(max⁡B0≥a)=e−2a2\mathbb{P}(\max B^0 \ge a) = e^{-2a^2}P(maxB0≥a)=e−2a2, which decays far faster than the unconditioned tail 2(1−Φ(a))2(1 - \Phi(a))2(1−Φ(a)) because both ends hold the path down. At a=1a = 1a=1 the crossing probability is e−2≈0.1353e^{-2} \approx 0.1353e−2≈0.1353.

This formula is the basis of the continuity (Broadie–Glasserman–Kou) correction for discretely monitored barrier options: between two monitoring dates the asset may breach the barrier unseen, and multiplying each interval's survival probability by 1−e−2(a−w0)(a−w1)/Δ1 - e^{-2(a - w_0)(a - w_1)/\Delta}1−e−2(a−w0​)(a−w1​)/Δ recovers the continuously monitored price from a coarse grid. It also quantifies the downward bias of a simulated running maximum: on a grid the missed crossings are precisely the events this probability measures.

Where the bridge appears

  • Path simulation: the decomposition Wt=Bt0+t W1W_t = B^0_t + t\,W_1Wt​=Bt0​+tW1​ fills in a path between known points, the engine behind Brownian-bridge sampling and variance reduction in Monte Carlo.
  • Barrier options: the hidden-crossing formula corrects discretely monitored barriers back to their continuous prices.
  • Statistics: the empirical distribution function, centred and scaled, converges to a Brownian bridge; the Kolmogorov–Smirnov test statistic is the maximum of ∣B0∣|B^0|∣B0∣.
  • Interpolation: conditioning a Gaussian process on observed values is the same operation that underlies Gaussian-process regression and spline smoothing.

Summary

  • The Brownian bridge from 0 to bbb is Bt=Wt−t W1+t bB_t = W_t - t\,W_1 + t\,bBt​=Wt​−tW1​+tb, with B0=0B_0 = 0B0​=0 and B1=bB_1 = bB1​=b.
  • It is a Gaussian process with mean t bt\,btb and covariance s(1−t)s(1 - t)s(1−t) for s≤ts \le ts≤t; the variance t(1−t)t(1 - t)t(1−t) is zero at the ends and 1/41/41/4 at the midpoint.
  • The bridge is Brownian motion conditioned on W1=bW_1 = bW1​=b, and Bt0=Wt−t W1B^0_t = W_t - t\,W_1Bt0​=Wt​−tW1​ is independent of W1W_1W1​, giving the split Wt=Bt0+t W1W_t = B^0_t + t\,W_1Wt​=Bt0​+tW1​.
  • A bridge pinned at w0,w1w_0, w_1w0​,w1​ over an interval of length Δ\DeltaΔ exceeds level aaa with probability exp⁡(−2(a−w0)(a−w1)/Δ)\exp(-2(a - w_0)(a - w_1)/\Delta)exp(−2(a−w0​)(a−w1​)/Δ); this prices and corrects barrier crossings between grid points.
Try itSimulate pinned paths and watch the spread collapse at the endpoints in the Brownian Motion lab →
3 questions on this lesson at the end of the series →
← PreviousThe reflection principle and first passage timesNext →The Itô integral
Connections
The Brownian bridge
Open the full graph →
Labs for this lesson
Brownian MotionStochastic Learning Studio