4.3. Stochastic calculus#
4.3.1. Ito’s lemma#
It allows to find the differential of a time-dependent function of a stochastic process. Let \(f(t,x)\) be a twice-differentiable scalar function. Its Taylor series gives
If the argument \(x\) of the function \(f\) is chosen to be a random process \(X_t\) satisfying Ito drift-diffusion process,
the differential of function \(f(t,X_t)\) results from the limit of Taylor series
For \(dt \rightarrow 0\), \(\left(d W_t\right)^2 = O(dt)\); keeping only terms of order lower than or equal to \(O(dt)\), the differential becomes,
Replacing \(dW_t^2\) with \(d t\) todo why?, and recalling the SDE of the Ito drift-diffusion process,
4.3.2. Ito’s calculus#
Integegration w.r.t. Browinan motion produces a random variable that can be defined as
being \(\pi_n\) a partition of interval \([0,t]\), and \(H\) a random proces todo with some characteristics…
Example 4.1 (Integral of a Brownian motion w.r.t. itself)
The expected value for each \(t\) of the random process \(Y_t\) is zero for all \(t\), \(\mathbb{E}\left[ W_t^2 \right]= 0\), as the expected value of \(W_t^2\) is the variance of \(W_t\), and thus \(t\) by definition of the Wiener process.
Evaluation of the integral
Let \(f(t,x) = x^2\). Let’s find the differential \(df\) evaluated for \(x = W_t\) using Ito’s lemma, retaining only terms with order up to \(O(dt)\). Since \(\partial_t f \equiv 0\),
and thus, replacing \(dW_t^2 = dt\),
or
Thus (todo add details if needed. A bit too much freedom in using differentials over stochastic processes here),
4.3.3. Ito processes#
4.3.3.1. Ito drift-diffusion process#
An Ito drift-diffusion process is a stochastic process satisfying the stochastic differential equation (SDE)
with \(W_t\) a Wiener process. If \(\mu_t = \mu\), \(\sigma_t = \sigma\) are constant a closed-form solution can be found using Ito’s lemma, for \(f(t,x) = x\), or by direct (stochastic) integration of the SDE (4.4), as
so that \(X_t - X_0 \sim \mathscr{N}\left( \mu t, \sigma^2 t \right)\).
Scaling of a Wiener process
Term \(\sigma W_t\) represents a scaling of a Wiener process \(W_t \sim \mathscr{N}(0, t)\) with zero expected value and variance \(t\). Multiplication by factor \(\sigma\) results in a multiplication of the expected value by \(\sigma\) and variance by \(\sigma^2\).
4.3.3.2. Geometric Brownian Motion, GBM#
A geometric Brownian motion is a stochastic process satisfying the SDE
Example 4.2 (GBM in Finance)
GBM can be used as a model of the price of an asset with constant expected return and variance of returns with normal distribution. GBM is the time-continuous counterpart of a time-discrete process, with the 1-period return \(\frac{\Delta X_n}{X_n} = \frac{X_{n+1} - X_n}{X_n}\) with expected value \(\mu\) and variance \(\sigma^2\),
Let \(f(x) = \ln x\) be evaluated for \(x = X_t\). Ito’s lemma, with \(\partial_t f \equiv 0\), provides the expression of the differential
whose solution after integration reads
or
4.3.3.3. Geometric Brownian Motion with drift#
A geometric Brownian motion is a stochastic process satisfying the SDE
Example 4.3 (GBM with constant withdrawal in finance)
GBM with drift can be used in finance as a model to represent DCA strategy and pension withdrawal, and to show and discuss sequence risk.
The solution reads
Integration factor method for linear SDEs
Integration factor method for linear SDEs
with \(a(X_t, t, W_t)\), \(b(X_t, t, W_t)\)
aims at finding an exponential factor \(e^{\alpha t + \beta W_t}\) that allows to get an integrable expression of the differential
Taylor expansion of this expression up to terms of order \(dt \sim dW_t^2\) reads
Proof (with integration factor method, for linear SDEs)
GBM motion with drift and constant coefficients is governed by SDE
Referring to the general expression of SDEs, coefficients \(a\), \(b\) of the GBM with drift read
Partial derivatives of function \(f = e^{\alpha t + \beta w} \, x\) appearing in the solution of SDEs through integration factor method read
It’s now possible to simplify the RHS of the the expression of the differential \(df\). Namely, it’s possible to choose values of \(\alpha\), \(\beta\) in order to get simpler expressions of the factors of the differentials \(dt\) and \(d W_t\)
Setting
the differential \(d f\) becomes
and integration gives