Quant Memo
Advanced

The Radon-Nikodym Derivative

The exchange rate between two probability measures — a per-scenario weight that converts one set of beliefs into another. It is what makes risk-neutral pricing, Girsanov's theorem, importance sampling and likelihood ratios all the same operation.

Prerequisites: Probability Spaces, Lebesgue Measure and Integration

Options are priced with probabilities that nobody believes. The textbook says to value a call by taking an expected payoff — but under a set of probabilities in which every asset drifts at the risk-free rate, which is plainly not how anyone forecasts a stock. Two obvious questions follow. How can you legitimately swap one set of probabilities for another? And if you do, what exactly is the exchange rate? The Radon-Nikodym derivative is the answer to both, and it is a smaller idea than the name suggests.

Two forecasters, one world

Two analysts watch the same stock. They agree completely on what can happen: up 20, flat, down 20. They disagree on the odds. The first says 50/30/20. The second says 25/50/25 — she is more cautious, so she shifts weight away from the good outcome.

You want to convert any calculation done in the first analyst's world into the second's. You do not need to redo the work. You just need, for each scenario, a conversion factor: how much more or less the second analyst weights it. Up 20 gets a factor of 0.25/0.50=0.50.25 / 0.50 = 0.5 (halved). Flat gets 0.50/0.30=1.6670.50/0.30 = 1.667 (boosted). Down 20 gets 0.25/0.20=1.250.25/0.20 = 1.25.

That table of factors is the Radon-Nikodym derivative. It is a currency exchange rate, except the rate depends on which scenario you are in. Everything below is that, written carefully.

P (real) Q (pricing) 0.50 0.25 0.30 0.50 0.20 0.25 S = 120 S = 100 S = 80 ×0.50 ×1.67 ×1.25
Same three outcomes, two sets of odds. The number under each pair is the Radon-Nikodym derivative at that scenario: multiply a P-probability by it to get the Q-probability. It is a per-scenario exchange rate, not a single constant.

Writing it down

Let PP and QQ be two probability measures on the same sample space, meaning two consistent assignments of odds to the same set of scenarios. Suppose QQ is absolutely continuous with respect to PP, written QPQ \ll P, which means:

P(A)=0    Q(A)=0for every event A.P(A) = 0 \;\Longrightarrow\; Q(A) = 0 \quad \text{for every event } A .

In words: anything PP rules out, QQ rules out too — QQ cannot invent possibilities that PP says never happen. That is the one condition you need, and it is the condition the theorem below cannot do without.

The Radon-Nikodym theorem then says there is a single random variable Z0Z \ge 0, written Z=dQdPZ = \dfrac{dQ}{dP}, such that

Q(A)=AZdPfor every event A.Q(A) = \int_A Z \, dP \qquad \text{for every event } A .

Here AA is any event, AdP\int_A \dots dP is the Lebesgue integral over that event under PP, and ZZ is the exchange rate. Read out loud: to get QQ's probability of an event, walk over the scenarios in that event, and add up their PP-probabilities after re-weighting each one by ZZ.

The version you actually use is the one for expectations. For any random variable XX,

EQ[X]=EP ⁣[XZ].E_Q[X] = E_P\!\left[ X \, Z \right] .

An average under the new measure is the average under the old measure of the quantity multiplied by the exchange rate. Two facts fall straight out. Setting X=1X = 1 gives EP[Z]=1E_P[Z] = 1: the weights must average to one, or the new probabilities would not sum to one. And ZZ is a random variable, not a number — it takes a different value in each scenario.

Worked example 1: pricing a call two ways

Take the three-outcome world above, with a stock at 100 today and a zero interest rate. Under PP the probabilities are (0.50,0.30,0.20)(0.50,\, 0.30,\, 0.20) for final prices (120,100,80)(120,\, 100,\, 80).

First check that Q=(0.25,0.50,0.25)Q = (0.25,\, 0.50,\, 0.25) deserves to be called the pricing measure. It must make the stock a fair game:

EQ[S]=0.25(120)+0.50(100)+0.25(80)=30+50+20=100,E_Q[S] = 0.25(120) + 0.50(100) + 0.25(80) = 30 + 50 + 20 = 100 ,

which equals today's price, so yes — under QQ the stock is a martingale. Now build ZZ scenario by scenario, dividing QQ by PP:

scenarioPPQQZ=Q/PZ = Q/P
S=120S = 1200.500.250.500
S=100S = 1000.300.501.667
S=80S = 800.200.251.250

Verify the weights average to one under PP:

EP[Z]=0.50(0.500)+0.30(1.667)+0.20(1.250)=0.25+0.50+0.25=1.000.  E_P[Z] = 0.50(0.500) + 0.30(1.667) + 0.20(1.250) = 0.25 + 0.50 + 0.25 = 1.000 . \;\checkmark

Now price a call struck at 100. Its payoffs across the three scenarios are 2020, 00, 00.

Route A — average under QQ directly:

EQ[payoff]=0.25(20)+0.50(0)+0.25(0)=5.E_Q[\text{payoff}] = 0.25(20) + 0.50(0) + 0.25(0) = 5 .

Route B — stay under PP and carry the weights:

EP[payoff×Z]=0.50(20×0.500)+0.30(0)+0.20(0)=0.50×10=5.E_P[\text{payoff} \times Z] = 0.50(20 \times 0.500) + 0.30(0) + 0.20(0) = 0.50 \times 10 = 5 .

Both give a fair value of $5. That is the whole trick: you never have to leave your own probabilities, you just multiply by ZZ inside the expectation.

Worked example 2: shifting the drift of a bell curve

Now the continuous case, which is Girsanov in miniature. Let the annual return XX be normal with mean μ=0.08\mu = 0.08 and standard deviation σ=0.20\sigma = 0.20 under PP. You want a measure QQ under which the mean is the risk-free rate ν=0.02\nu = 0.02, with the standard deviation unchanged.

Divide one normal density by the other and simplify — the x2x^2 terms cancel, which is the reason this works at all:

Z(x)=dQdP(x)=exp ⁣((νμ)xσ2    ν2μ22σ2).Z(x) = \frac{dQ}{dP}(x) = \exp\!\left( \frac{(\nu - \mu)\,x}{\sigma^2} \;-\; \frac{\nu^2 - \mu^2}{2\sigma^2} \right).

Fill in the numbers. σ2=0.202=0.04\sigma^2 = 0.20^2 = 0.04. The first coefficient is (0.020.08)/0.04=0.06/0.04=1.5(0.02 - 0.08)/0.04 = -0.06/0.04 = -1.5. The constant is (0.00040.0064)/(2×0.04)=0.006/0.08=0.075-(0.0004 - 0.0064)/(2 \times 0.04) = 0.006/0.08 = 0.075. So

Z(x)=exp(1.5x+0.075).Z(x) = \exp(-1.5\,x + 0.075).

In English: every scenario is re-weighted by an exponential that falls as the return rises — good outcomes get marked down, bad outcomes get marked up. Evaluate it at four returns:

return xx1.5x+0.075-1.5x + 0.075Z(x)Z(x)
0.20-0.20 (bad year)0.3750.3751.455
0.020.02 (risk-free)0.0450.0451.046
0.080.08 (P-mean)0.045-0.0450.956
0.400.40 (great year)0.525-0.5250.592

A 40% year is counted at 59% of its real-world weight; a 20%-20\% year at 146%. That single sentence is what "risk-neutral" means in practice.

Two checks you can do by hand. First, the weights must average to one. Using the normal moment formula E[eaX]=exp(aμ+12a2σ2)E[e^{aX}] = \exp(a\mu + \tfrac{1}{2}a^2\sigma^2) with a=1.5a = -1.5:

EP[Z]=e0.075exp ⁣(1.5(0.08)+12(2.25)(0.04))=e0.075e0.12+0.045=e0.075e0.075=1.  E_P[Z] = e^{0.075} \exp\!\left(-1.5(0.08) + \tfrac{1}{2}(2.25)(0.04)\right) = e^{0.075} e^{-0.12 + 0.045} = e^{0.075} e^{-0.075} = 1 . \;\checkmark

Second, confirm the ratio really is the ratio of the two densities at, say, x=0.40x = 0.40. The exponent of the PP-density there is (0.400.08)2/(2×0.04)=0.1024/0.08=1.280-(0.40 - 0.08)^2 / (2 \times 0.04) = -0.1024/0.08 = -1.280, giving e1.280=0.2780e^{-1.280} = 0.2780. For the QQ-density: (0.400.02)2/0.08=0.1444/0.08=1.805-(0.40 - 0.02)^2/0.08 = -0.1444/0.08 = -1.805, giving e1.805=0.1645e^{-1.805} = 0.1645. Their ratio is 0.1645/0.2780=0.5920.1645 / 0.2780 = 0.592 — exactly the table entry. ✓

P: mean 0.08 Q: mean 0.02 x 1 weight > 1: bad outcomes boosted weight < 1: good outcomes discounted
Top: the same bell shape shifted left. Bottom: the exchange rate Z(x) that turns one into the other, falling smoothly through 1. Nothing about the width changed — a change of measure moves the centre, never the spread.

dQdP\dfrac{dQ}{dP} is a random variable, one weight per scenario, with EP ⁣[dQdP]=1E_P\!\left[\frac{dQ}{dP}\right] = 1. It exists precisely when QQ assigns zero probability to everything PP does. Every use of it is the single identity EQ[X]=EP[XdQdP]E_Q[X] = E_P[X \cdot \frac{dQ}{dP}].

What this means in practice

  • Risk-neutral pricing. A derivative's value is EQ[payoff]E_Q[\text{payoff}] discounted. Girsanov's theorem is worked example 2 applied to a whole Brownian path: the change of measure shifts the drift to the risk-free rate and leaves the volatility untouched. That is why implied volatility is meaningful and "implied drift" is not.
  • Importance sampling. Simulating a rare loss under the true measure wastes almost every path. Simulate under a tilted measure that makes the loss common, then multiply each sample by dP/dQdP/dQ to remove the bias. Same identity, run backwards. See importance sampling.
  • Likelihood ratios. In statistics, the likelihood ratio between two models is a Radon-Nikodym derivative. Neyman-Pearson tests, sequential tests and Bayes factors are all built on the same object.
  • Densities themselves. "The density of XX" means dFX/dλdF_X / d\lambda: the Radon-Nikodym derivative of the distribution with respect to Lebesgue measure. A random variable has a density exactly when its law is absolutely continuous — which is why an outcome with an atom, like a capped payoff, has none.

A change of measure re-weights scenarios; it cannot create or destroy them. If PP says an event is impossible, no choice of ZZ makes it possible under QQ — that is what QPQ \ll P forbids. Two consequences trip people up constantly. First, you can move a stock's drift freely but you can never change its volatility by changing measure, because volatility is determined by the paths themselves, which are the same paths under both measures. Second, dQdP\frac{dQ}{dP} is not a derivative in the calculus sense and there is no "dQdQ" or "dPdP" to cancel — the notation is suggestive, nothing more.

When a problem says "change to the measure under which YY is a martingale", do not reach for theory. Write down the candidate weights as new-probability over old-probability, check they average to 1 under the old measure, and check the target is driftless. In discrete settings that is the entire computation.

Related concepts

Practice in interviews

Further reading

  • Shreve, Stochastic Calculus for Finance II (ch. 1.6, 5.2)
  • Williams, Probability with Martingales (ch. 14)
ShareTwitterLinkedIn