Quant Sandbox
DerivativesPortfolio & RiskFixed IncomeCorporate FinanceProbability & MeasureStochastic ModelsMarket MicrostructureGuide
Guide
Derivatives pricing0 / 17
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 rho13Options on dividend-paying stocks, indices, currencies and futures14Implied volatility and the volatility smile15Stochastic volatility and the Heston model16Static replication: Breeden–Litzenberger and Carr–Madan17Exotic options: barriers, Asians and digitals
Portfolio & risk0 / 12
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 risk08The Fama–French factor models09Value at Risk and expected shortfall10Systemic risk and contagion11Portfolio constraints and the no-short-sales frontier12Estimating expected returns and covariances
Fixed income0 / 10
01Bond prices and yields02Duration and convexity03Immunization and duration matching04Spot rates, forward rates and the yield curve05Non-parallel curve moves and key-rate durations06Bond futures and the cheapest-to-deliver07Interest rate swaps08Callable bonds and negative convexity09Credit risk: default probabilities and credit spreads10Real rates, inflation and inflation-linked bonds
Corporate finance0 / 10
01Interest, compounding and discounting02Annuities, perpetuities and loan amortization03Net present value and internal rate of return04Project risk: sensitivity, scenarios and Monte Carlo NPV05The weighted average cost of capital06Capital structure and the Modigliani–Miller theorems07Dividends, payout policy and the dividend discount model08Discounted cash flow valuation09Relative valuation with multiples10Real options: the value of flexibility
Probability and measure0 / 13
01Measuring the size of sets02σ-algebras and Borel sets03Lebesgue measure and null sets04Measurable functions05The Lebesgue integral06Convergence theorems07Probability spaces and Kolmogorov's axioms08Random variables and their distributions09Expectation, variance and inequalities10Independence and product measures11Modes of convergence and the law of large numbers12Conditional probability and conditional expectation13Measure theory in option pricing
Stochastic models0 / 17
01Random walks and Brownian motion02The law of large numbers and the central limit theorem03Probability spaces, σ-algebras and random variables04Filtrations, adapted processes and stopping times05Conditional expectation and martingales06Properties of Brownian motion07The reflection principle and first passage times08The Brownian bridge09The Itô integral10Itô's lemma11Kolmogorov equations and the Feynman–Kac formula12Change of measure and Girsanov's theorem13Monte Carlo option pricing14Simulating SDEs: the Euler–Maruyama scheme15Correlated Brownian motions and multi-asset models16Mean reversion: Ornstein–Uhlenbeck and Vasicek17Jumps and the Merton jump-diffusion model
Market microstructure0 / 11
01Market makers and liquidity02The limit order book03Queue position and fill probability04Adverse selection and informed trading05The Glosten–Milgrom model06Measuring and decomposing the bid–ask spread07Informed trading and Kyle's lambda08Price impact and optimal execution09Inventory risk and quote skewing10Optimal quoting: the Avellaneda–Stoikov model11Market making profit and loss attribution
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.

Guides/Stochastic models/15

Correlated Brownian motions and multi-asset models

Lesson 15 of 17 · 1 min read

Everything so far used one Brownian motion at a time. Real models rarely do. A stock and its volatility move together, a basket option depends on several assets at once, and a portfolio is exactly the situation of "Diversification and correlation". This lesson builds two Brownian motions with a chosen correlation, from the properties in "Properties of Brownian motion", shows how the same construction extends to many assets, and states the two-dimensional version of the rule in "Itô's lemma". It also says where correlation enters pricing models and how it is simulated with the scheme of "Simulating SDEs: the Euler–Maruyama scheme".

Two Brownian motions with correlation ρ

Two standard Brownian motions W1W_1W1​ and W2W_2W2​ have correlation ρ∈[−1,1]\rho \in [-1, 1]ρ∈[−1,1] if their increments over a short interval dtdtdt have correlation ρ\rhoρ. In the language of quadratic variation this is a single rule for the cross term:

d⟨W1,W2⟩t=ρ dt,d⟨Wi⟩t=dt.d\langle W_1, W_2 \rangle_t = \rho\,dt, \qquad d\langle W_i \rangle_t = dt.d⟨W1​,W2​⟩t​=ρdt,d⟨Wi​⟩t​=dt.

It is easy to build such a pair from two independent Brownian motions W1W_1W1​ and W⊥W_\perpW⊥​. Keep W1W_1W1​ and mix the other in:

W2=ρ W1+1−ρ2  W⊥.W_2 = \rho\,W_1 + \sqrt{1 - \rho^2}\;W_\perp.W2​=ρW1​+1−ρ2​W⊥​.

Then W2W_2W2​ has independent normal increments with variance (ρ2+1−ρ2) dt=dt(\rho^2 + 1 - \rho^2)\,dt = dt(ρ2+1−ρ2)dt=dt, so it is a standard Brownian motion in its own right, and its increment covaries with that of W1W_1W1​ by ρ dt\rho\,dtρdt. At ρ=0\rho = 0ρ=0 the two are independent. At ρ=±1\rho = \pm 1ρ=±1 they are the same path or its mirror image. The figure draws both paths from one set of random shocks and lets you move ρ\rhoρ. Start at the default ρ=−0.7\rho = -0.7ρ=−0.7 and watch the paths mostly mirror each other; the sample correlation of the increments is noisy for a path with only 250 steps, but the construction fixes the exact value of ⟨W1,W2⟩T=ρ T\langle W_1, W_2 \rangle_T = \rho\,T⟨W1​,W2​⟩T​=ρT, which is −0.70-0.70−0.70 for T=1T = 1T=1.

Figure: Correlated Brownian motions and multi-asset modelsOpen in Heston
-0.70
-0.950.95
W₁W₂
Sample correlation of increments
-0.64
Cholesky L₂₂ = √(1 − ρ²)
0.714
⟨W₁, W₂⟩ at T = ρT
-0.70

The Cholesky factor

The construction above is a matrix product. Write the independent shocks of one step as a vector ε=(ε1,ε2)\varepsilon = (\varepsilon_1, \varepsilon_2)ε=(ε1​,ε2​) of standard normals and the correlated ones as Z=L εZ = L\,\varepsilonZ=Lε with

L=(10ρ1−ρ2),LL⊤=(1ρρ1).L = \begin{pmatrix} 1 & 0 \\ \rho & \sqrt{1 - \rho^2} \end{pmatrix}, \qquad L L^{\top} = \begin{pmatrix} 1 & \rho \\ \rho & 1 \end{pmatrix}.L=(1ρ​01−ρ2​​),LL⊤=(1ρ​ρ1​).

This LLL is the Cholesky factor of the correlation matrix. For nnn assets with correlation matrix CCC, the same idea works: find a lower-triangular LLL with LL⊤=CL L^{\top} = CLL⊤=C and set Z=L εZ = L\,\varepsilonZ=Lε for independent ε\varepsilonε. Such an LLL exists exactly when CCC is positive definite, which is a real restriction. A table of pairwise correlations chosen independently, say ρ12=ρ13=0.9\rho_{12} = \rho_{13} = 0.9ρ12​=ρ13​=0.9 and ρ23=−0.9\rho_{23} = -0.9ρ23​=−0.9, can fail it, and then no set of random variables has those correlations. The algorithm reports the failure when a square root of a non-positive number would be needed; the figure's readout 1−ρ2\sqrt{1 - \rho^2}1−ρ2​ is that square root for two assets, and it vanishes at ρ=±1\rho = \pm 1ρ=±1.

The two-dimensional Itô rule

Let dX=μ1 dt+σ1 dW1dX = \mu_1\,dt + \sigma_1\,dW_1dX=μ1​dt+σ1​dW1​ and dY=μ2 dt+σ2 dW2dY = \mu_2\,dt + \sigma_2\,dW_2dY=μ2​dt+σ2​dW2​ with d⟨W1,W2⟩=ρ dtd\langle W_1, W_2 \rangle = \rho\,dtd⟨W1​,W2​⟩=ρdt. For a smooth function f(t,x,y)f(t, x, y)f(t,x,y), "Itô's lemma" extends by one extra term, the cross term, because dX dY=ρ σ1σ2 dtdX\,dY = \rho\,\sigma_1 \sigma_2\,dtdXdY=ρσ1​σ2​dt:

df=ft dt+fx dX+fy dY+12fxx σ12 dt+12fyy σ22 dt+fxy ρ σ1σ2 dt.df = f_t\,dt + f_x\,dX + f_y\,dY + \tfrac{1}{2} f_{xx}\,\sigma_1^2\,dt + \tfrac{1}{2} f_{yy}\,\sigma_2^2\,dt + f_{xy}\,\rho\,\sigma_1 \sigma_2\,dt.df=ft​dt+fx​dX+fy​dY+21​fxx​σ12​dt+21​fyy​σ22​dt+fxy​ρσ1​σ2​dt.

With f(x,y)=x yf(x, y) = x\,yf(x,y)=xy this is the product rule for correlated processes:

d(XY)=X dY+Y dX+ρ σ1σ2 dt.d(XY) = X\,dY + Y\,dX + \rho\,\sigma_1 \sigma_2\,dt.d(XY)=XdY+YdX+ρσ1​σ2​dt.

For two Brownian motions themselves (X=W1X = W_1X=W1​, Y=W2Y = W_2Y=W2​, σ1=σ2=1\sigma_1 = \sigma_2 = 1σ1​=σ2​=1) the extra term is ρ dt\rho\,dtρdt. The product W1W2W_1 W_2W1​W2​ is therefore not a martingale; its drift is ρ\rhoρ, and taking expectations gives E[W1(T) W2(T)]=ρ TE[W_1(T)\,W_2(T)] = \rho\,TE[W1​(T)W2​(T)]=ρT.

Where correlation enters

In the Heston model of "Stochastic volatility and the Heston model", the price and the variance are driven by Brownian motions with correlation ρ\rhoρ:

dS=μS dt+v S dW1,dv=κ(θ−v) dt+ξv dW2,d⟨W1,W2⟩=ρ dt.dS = \mu S\,dt + \sqrt{v}\,S\,dW_1, \qquad dv = \kappa(\theta - v)\,dt + \xi\sqrt{v}\,dW_2, \qquad d\langle W_1, W_2 \rangle = \rho\,dt.dS=μSdt+v​SdW1​,dv=κ(θ−v)dt+ξv​dW2​,d⟨W1​,W2​⟩=ρdt.

Equity indices fall when volatility rises, so the calibrated ρ\rhoρ is negative, typically between −0.5-0.5−0.5 and −0.9-0.9−0.9. That negative sign is what tilts the implied volatility smile into a skew. Correlation also drives basket and spread options, whose payoff depends on several assets: the variance of a weighted sum includes 2 wiwj ρij σiσj2\,w_i w_j\,\rho_{ij}\,\sigma_i \sigma_j2wi​wj​ρij​σi​σj​ terms, exactly as the portfolio variance does. A copula would let the dependence differ from this linear one; we do not need it here.

Simulating correlated assets

In the Euler scheme the only change is the shock. At each step draw independent standard normals ε1,ε2\varepsilon_1, \varepsilon_2ε1​,ε2​ and use Z1=ε1Z_1 = \varepsilon_1Z1​=ε1​, Z2=ρ ε1+1−ρ2 ε2Z_2 = \rho\,\varepsilon_1 + \sqrt{1 - \rho^2}\,\varepsilon_2Z2​=ρε1​+1−ρ2​ε2​ in place of the two independent shocks. Everything else, including the pricing average of "Monte Carlo option pricing", stays as it was.

Worked example

Correlated shocks for ρ = −0.7, and the product rule

  1. The weight of the independent shock is the second Cholesky entry.

    L22=1−(−0.7)2\displaystyle L_{22} = \sqrt{1 - (-0.7)^2}L22​=1−(−0.7)2​=0.7141
  2. Draw ε1=0.8\varepsilon_1 = 0.8ε1​=0.8 and ε2=−0.3\varepsilon_2 = -0.3ε2​=−0.3. The first correlated shock is Z1=ε1=0.8Z_1 = \varepsilon_1 = 0.8Z1​=ε1​=0.8; the second mixes both.

    Z2=ρ ε1+L22 ε2=−0.7×0.8+0.7141×(−0.3)\displaystyle Z_2 = \rho\,\varepsilon_1 + L_{22}\,\varepsilon_2 = -0.7 \times 0.8 + 0.7141 \times (-0.3)Z2​=ρε1​+L22​ε2​=−0.7×0.8+0.7141×(−0.3)=-0.7742
  3. The product rule gives d(W1W2)=W2 dW1+W1 dW2+ρ dtd(W_1 W_2) = W_2\,dW_1 + W_1\,dW_2 + \rho\,dtd(W1​W2​)=W2​dW1​+W1​dW2​+ρdt. The two stochastic integrals have mean zero, so the expected product after T=1T = 1T=1 is ρT\rho TρT.

    E[W1(1) W2(1)]=ρ⋅1\displaystyle E[W_1(1)\,W_2(1)] = \rho \cdot 1E[W1​(1)W2​(1)]=ρ⋅1=-0.7

Summary

  • Two Brownian motions have correlation ρ\rhoρ when d⟨W1,W2⟩=ρ dtd\langle W_1, W_2 \rangle = \rho\,dtd⟨W1​,W2​⟩=ρdt; build them as W2=ρW1+1−ρ2 W⊥W_2 = \rho W_1 + \sqrt{1 - \rho^2}\,W_\perpW2​=ρW1​+1−ρ2​W⊥​.
  • For nnn assets, correlated shocks are Z=LεZ = L\varepsilonZ=Lε, where LL⊤=CL L^{\top} = CLL⊤=C is the Cholesky factor, which exists exactly when CCC is positive definite.
  • The two-dimensional Itô rule adds the cross term fxy ρ σ1σ2 dtf_{xy}\,\rho\,\sigma_1 \sigma_2\,dtfxy​ρσ1​σ2​dt, which gives d(XY)=X dY+Y dX+ρ σ1σ2 dtd(XY) = X\,dY + Y\,dX + \rho\,\sigma_1 \sigma_2\,dtd(XY)=XdY+YdX+ρσ1​σ2​dt.
  • Correlation drives the skew in Heston (with ρ<0\rho < 0ρ<0 for equities) and the price of basket and spread options.

The next lesson, "Mean reversion: Ornstein–Uhlenbeck and Vasicek", returns to one-dimensional models and adds a pull towards a long-run level.

Try itSee the effect of the price–variance correlation in the Heston lab
2 questions on this lesson at the end of the series
Previous · 14Simulating SDEs: the Euler–Maruyama schemeNext · 16Mean reversion: Ornstein–Uhlenbeck and Vasicek
Connections

Correlated Brownian motions and multi-asset models

Open the full graph
Builds on
06.14Simulating SDEs: the Euler–Maruyama scheme02.02Diversification and correlation06.06Properties of Brownian motion06.10Itô's lemma01.15Stochastic volatility and the Heston model06.13Monte Carlo option pricing
Leads to
06.16Mean reversion: Ornstein–Uhlenbeck and Vasicek
See it in the knowledge graph
Labs for this lesson
HestonMonte Carlo