For dXt=μXtdt+σXtdWt with constant coefficients and deterministic X0=x,
E[Xt]=xeμt,Var(Xt)=x2e2μt(eσ2t−1).
You can derive these by writing down the lognormal solution or by applying
Itô's lemma to
Xt2 and solving two ordinary differential equations.
Find the first and second moments separately
Let m1(t)=E[Xt]. Taking expectations in the integral form of the SDE gives m1′(t)=μm1(t) and m1(0)=x. The stochastic integral has mean zero, since Xt has finite second moments on finite intervals. This follows directly from the explicit exponential solution, which has finite moments of every positive order. Hence m1(t)=xeμt.
Now set
m2(t)=E[Xt2]. The Itô
product rule gives
d(Xt2)=(2μ+σ2)Xt2dt+2σXt2dWt.
The stochastic term is square integrable on finite horizons by finiteness of the fourth moment. This gives
m2′(t)=(2μ+σ2)m2(t) with
m2(0)=x2, so
m2(t)=x2e(2μ+σ2)t. Subtract
m1(t)2 to get the
variance. As an algebra check,
t=0 or
σ=0 makes the variance vanish. If
μ=0, the expected level stays
x while variance grows as
x2(eσ2t−1).
The extra σ2 in the second moment equation comes from d[X]t, which appears when you differentiate Xt2 using Itô's rule. In the first moment equation there is no curvature term because the function of Xt is linear. Once you have E[Xt2], subtract the square of the mean. The two terms both contain x2e2μt, and their difference leaves eσ2t−1. Setting σ=0 makes the variance vanish and recovers deterministic growth.
For an original exercise, take x=80, μ=0.06 and σ=0.30. At t=2, the expected level is 80e0.12≈90.20. The variance is
802e0.24(e0.18−1)≈1604.56,
so the
standard deviation is about
40.06. The log-price variance over this horizon is
0.18, a dimensionless quantity. The price-level variance has units of price squared. If you want variance of the simple return
X2/80−1, divide the price variance by
802 to obtain about
0.251.
For a forecast made at time s, replace x by the observed Xs and t by the horizon t−s. The future Brownian increment is independent of Fs, so the same two formulas give conditional moments. With a positive observed level, doubling the horizon changes the accumulated variance inside the exponential and also changes the expected price around which dispersion is measured.
The closed-form solution gives a second route to the same result. To get the second raw moment, square the entire exponential, including its Brownian coefficient. If Wt∼N(0,t), then E[e2σWt]=e2σ2t. The deterministic part of the squared solution contributes x2e(2μ−σ2)t. Multiplying the two factors gives E[Xt2]=x2e(2μ+σ2)t. This check catches the common algebraic slip of doubling the variance adjustment when the coefficient inside a Gaussian exponential is doubled.
References and next steps