Stochastic Calculus: Conceptual Theory, FAQs, and Quantitative Finance Interview Problems
In quantitative finance, theoretical physics, and academic screens, stochastic calculus is both the ultimate language of continuous-time modeling and the primary filter in technical interviews. Questions on stochastic calculus generally split into two distinct categories:
→Conceptual Theory: Why classical calculus fails, how quadratic variation fundamentally changes integration, the difference between Itô and Stratonovich, and the machinery of measure changes.
→Practical Problem-Solving & Interview Puzzles: Direct calculations involving Itô's Lemma, solving Stochastic Differential Equations (SDEs), and evaluating stochastic integrals and expectations under pressure.
This guide provides a rigorous yet intuitive reference covering both dimensions.
Part I: Conceptual Theory & Foundational FAQs
1. Why does standard Newtonian calculus fail for Brownian motion?
The Core Reason: Standard Riemann-Stieltjes integration ∫f(t)dg(t) requires the integrator g(t) to have bounded (finite) total variation.
A standard Brownian motion (or Wiener process) Wt:
→Is almost surely continuous everywhere, but
→Is almost surely nowhere differentiable, and
→Has unbounded (infinite) total variation over any finite time interval [0,t]:
limΔt→0∑i=1n∣Wti−Wti−1∣=∞a.s.
Because Brownian motion oscillates infinitely wildly at infinitesimal scales, the ordinary chain rule:
dtdf=f′(x)dtdx
cannot be evaluated because dtdWt does not exist in the classical sense.
2. What is Quadratic Variation, and why is (dWt)2=dt?
While the total variation of Brownian motion is infinite, its quadratic variation is finite and deterministic.
Over a partition Π={0=t0<t1<⋯<tn=t} with mesh size ∥Π∥→0:
[W,W]t=lim∥Π∥→0∑i=1n(Wti−Wti−1)2=tin L2
In differential notation, this yields the fundamental multiplication rule of stochastic calculus:
(dWt)2=dt
Intuition: Brownian increments scale with the square root of time:
ΔWt∼N(0,Δt)⟹ΔWt=O(Δt)
In classical calculus, terms of order (Δt)2 vanish when taking limits. But for Brownian motion:
(ΔWt)2∼O(Δt)
Because (ΔWt)2 is of the first order in time, it cannot be discarded in a Taylor expansion.
Where does the extra 21σ2∂x2∂2fdt come from?
It arises directly from the second-order term of the Taylor expansion:
Δf=∂t∂fΔt+∂x∂fΔXt+21∂x2∂2f(ΔXt)2+…
Substituting ΔXt=μΔt+σΔWt:
(ΔXt)2=σ2(ΔWt)2+O((Δt)3/2)=σ2Δt
This is Itô's correction term (often called the convexity or Jensen's inequality correction). If f is convex (∂x2∂2f>0), randomness inherently drifts the expected value upward.
4. What is the difference between Itô and Stratonovich integration?
The distinction lies in the evaluation point chosen when defining the Riemann-type sum:
∫0tYs∘dWs=lim∥Π∥→0∑i=0n−1Yτi(Wti+1−Wti)
→
Itô Integral (τi=ti, left endpoint):
→Definition: Evaluated at the beginning of each interval: ∑YtiΔWi.
→Key Property: It is non-anticipative (causal). The integrator does not look into the future.
→Martingale Property: If Yt is square-integrable, E[∫0tYsdWs]=0.
→Consequence: The classical chain rule breaks; requires Itô's Lemma.
→Domain: Used universally in quantitative finance and economics, where agents cannot see future prices.
→
Stratonovich Integral (τi=2ti+ti+1, midpoint):
→Definition: Evaluated at the midpoint: ∑Y2ti+ti+1ΔWi, denoted with ∘.
→Key Property: Obeys standard Newtonian chain rule without second-order correction terms!
→Consequence: Not a martingale; E[∫0tYs∘dWs]=0.
→Domain: Used in physics and engineering (e.g., Langevin equations with colored physical noise tending to white noise).
5. What is Girsanov's Theorem, and why is it essential in pricing?
Girsanov's Theorem describes how the drift of a stochastic process changes when switching from one equivalent probability measure to another.
In quantitative finance:
→Under the physical (real-world) measure P, an asset drifts at its expected return μ:
dSt=μStdt+σStdWtP
→Under the risk-neutral measure Q, discounted asset prices must be martingales. Therefore, the asset must drift at the risk-free rate r:
dSt=rStdt+σStdWtQ
Girsanov's theorem defines the new Brownian motion WtQ via the Radon-Nikodym derivative process dPdQ:
WtQ=WtP+∫0tσμ−rds
Crucial Insight: Changing measures alters the drift (μ→r), but leaves volatility σ and quadratic variation completely invariant.
6. What is the Feynman-Kac Formula?
The Feynman-Kac Theorem bridges the gap between stochastic differential equations and deterministic partial differential equations (PDEs).
If a function V(t,x) solves the parabolic terminal-value PDE:
∂t∂V+μ(t,x)∂x∂V+21σ2(t,x)∂x2∂2V−rV=0,V(T,x)=g(x)
Then V(t,x) can be represented as the conditional expectation under the risk-neutral measure:
V(t,x)=EQ[e−r(T−t)g(XT)∣Xt=x]
where dXt=μ(t,Xt)dt+σ(t,Xt)dWt.
This theorem proves that pricing a derivative via a Black-Scholes PDE or via Monte Carlo expectation are mathematically identical.
Part II: Practical Interview Problems & Quant Puzzles
Problem 1: Solve Geometric Brownian Motion (GBM)
Problem: Find the analytical solution to the SDE:
dSt=μStdt+σStdWt,S0>0
→Substitute dSt=μStdt+σStdWt and (dSt)2=σ2St2dt:
d(lnSt)=St1(μStdt+σStdWt)−2St21(σ2St2dt)d(lnSt)=(μ−21σ2)dt+σdWt
→Integrate both sides from 0 to t:
lnSt−lnS0=(μ−21σ2)t+σWt
→Exponentiate:
St=S0exp((μ−21σ2)t+σWt)
Problem 2: Evaluate the Stochastic Integral ∫0tWsdWs
Problem: Compute ∫0tWsdWs and find its expectation.
Solution:
In classical calculus, ∫xdx=21x2. Let's test f(Wt)=Wt2 using Itô's Lemma:
→f(x)=x2⟹f′(x)=2x,f′′(x)=2.
→Applying Itô's Lemma to Wt2:
d(Wt2)=2WtdWt+21(2)dt=2WtdWt+dt
→Rearranging:
WtdWt=21d(Wt2)−21dt
→Integrating from 0 to t (noting W0=0):
∫0tWsdWs=21Wt2−21t
Expectation Verification:E[∫0tWsdWs]=E[21Wt2−21t]=21E[Wt2]−21t
Since E[Wt2]=Var(Wt)=t:
21(t)−21(t)=0
This perfectly confirms the Itô isometry property that the expectation of an Itô integral with respect to Brownian motion is zero.
Problem 3: Find the Fourth Moment E[Wt4]
Problem: Calculate E[Wt4] using Itô's Lemma.
Solution:
→Let f(x)=x4⟹f′(x)=4x3,f′′(x)=12x2.
→By Itô's Lemma:
d(Wt4)=4Wt3dWt+6Wt2dt
→Write in integral form:
Wt4=4∫0tWs3dWs+6∫0tWs2ds
→Take expectations of both sides. Since E[∫0tWs3dWs]=0:
E[Wt4]=6∫0tE[Ws2]ds
→Knowing E[Ws2]=s:
E[Wt4]=6∫0tsds=6[2t2]=3t2
This matches the standard normal kurtosis formula: for Z∼N(0,1), E[Z4]=3⟹E[(tZ)4]=3t2.
Problem 4: The Ornstein-Uhlenbeck (Mean-Reverting) Process
Problem: Solve the Vasicek / Ornstein-Uhlenbeck SDE:
dXt=θ(μ−Xt)dt+σdWt,θ>0
Find the conditional expectation E[Xt∣X0] and conditional variance Var(Xt∣X0).
Solution:
→Multiply by the integrating factor eθt:
d(eθtXt)=θeθtXtdt+eθtdXt