In mathematics, the Milstein method is a technique for the approximate numerical solution of a stochastic differential equation. It is named after Grigori Milstein who first published it in 1974.
Consider the autonomous Ità  stochastic differential equation:
with initial condition , where denotes the Wiener process, and suppose that we wish to solve this SDE on some interval of time . Then the Milstein approximation to the true solution is the Markov chain defined as follows:
Note that when (i.e. the diffusion term does not depend on ) this method is equivalent to the EulerâÂÂMaruyama method.
The Milstein scheme has both weak and strong order of convergence which is superior to the EulerâÂÂMaruyama method, which in turn has the same weak order of convergence but inferior strong order of convergence .
For this derivation, we will only look at geometric Brownian motion (GBM), the stochastic differential equation of which is given by:
with real constants and . Using Ità Â's lemma we get:
Thus, the solution to the GBM SDE is:
where
The numerical solution is presented in the graphic for three different trajectories.
The following Python code implements the Milstein method and uses it to solve the SDE describing geometric Brownian motion defined by