Technology

Stochastic Differential Equations (SDEs)

2025-05-06 03:42:09


The previous article on Brownian motion and the Wiener process introduced standard Brownian motion as a method for simulating asset price paths. However, standard Brownian motion has a non-zero probability of being negative, which is clearly not a characteristic of real-world assets—stock prices cannot fall below zero. Therefore, while the stochastic nature of Brownian motion for our model should be retained, it is necessary to adjust the random distribution method correctly. Specifically, the concept of geometric Brownian motion (GBM) will be presented now, which addresses the issue of negative stock prices.


However, before considering geometric Brownian motion, it is necessary to discuss the concept of stochastic differential equations (SDE). This will allow us to construct GBM and solve it to obtain a function for the asset price path.



Stochastic differential equation

Now that we have defined Brownian motion, we can use it as a building block to start creating stochastic differential equations (SDE). We need a stochastic differential equation (SDE) to discuss the behavior of the function f = f(S) and its derivative with respect to S, where S is the stock price determined by Brownian motion.


Some rules of regular calculus do not work as expected in a stochastic world. We need to modify them to account for both the random behavior of Brownian motion and its non-differentiable nature. We will start by discussing stochastic integrals, which will naturally lead us to the concept of SDE.


Definition (Stochastic Integral)

The stochastic integral of the function f = f(t)

is the function W = W(t),t[0,T] defined by:W(t)=0tf(s)dB(s)=limnk=1Nf(tk1)(B(tk)B(tk1))



where tk=ktN.


Note that the function f is non-anticipatory, in the sense that it is evaluated within the summation sign at time tk1. This means that it has no information as to what the random variable at X(tk) is. Supposing that f represented some portfolio allocation based on B, then if it were not evaluated at tk1, but rather at tk, we would be able to anticipate the future and modify the portfolio accordingly.


The previous expression given W(t) is an integral expression and therefore has a clear meaning for the non-differentiable variable B(t).
Due to the properties of the limit, including the chosen mean and variance, we want to express it in differential form:
dW=f(t)dB

The term dB can be considered a random variable with a normal distribution, having a mean of zero and a variance of dt. The formal definition is as follows:

Definition (Stochastic Differential Equation) 

Let B(t) be a Brownian motion if W(t) is a sequence of random variables for all t.

W(t+δt)W(t)δtμ(t,W(t))σ(t,B(t))(B(t+δt)B(t))


is a random variable with mean and variance that are o(δt) , then:dW=μ(t,W(t))dt+σ(t,W(t))dB



It is a stochastic differential equation for W(t).

The sequence of random variables mentioned above is called the Ito drift-diffusion process, or simply the Ito process, or the stochastic process.


It can be seen that μ and σ are both functions of t and W. μ has the interpretation of a non-stochastic drift coefficient, while σ represents the coefficient of volatility - it is multiplied by the stochastic dB term. Hence, stochastic differential equations have both a non-stochastic and stochastic component.


In the following section on geometric Brownian motion, a stochastic differential equation will be utilised to model asset price movements.



Reference: Stochastic Differential Equations

From https://www.quantstart.com/articles/Stochastic-Differential-Equations/

Leave a comment :