# Covariance of logarithms of geometric Brownian motion

Suppose I have a Geometric Brownian Motion process, $$dX_t=\mu X_t dt + \sigma X_t dW_t$$

I'd like to find the covariance of $$\log(X_t)$$ and $$\log(X_s)$$ where $$s. We can write $$\log(X_t)$$ in differential form as $$d\log(X_t)=\sigma dW_t+\left(\mu-\frac{\sigma^2}{2}\right)dt$$

That's $$cov(\log(X_t),\log(X_s))=E[\log(X_t)\log(X_s)] - E[\log(X_t)]E[\log(X_s)]$$ $$=\sigma^2 s - ts\left(\mu-\frac{\sigma^2}{2}\right)^2$$

Is there anything wrong with my derivation? As my intuition tells my there shouldn't be any term associated with $$\sigma^4$$. Any help is appreciated!

Let $$Y = \log X$$, then:
\begin{align} Y &= Y_0 + (\mu-\frac{\sigma^2}{2})t + \sigma W_t \\ EY_t &=Y_0 + (\mu-\frac{\sigma^2}{2})t \\ EY_tEY_s &= Y_0^2 + Y_0 (\mu-\frac{\sigma^2}{2}) (t+s) + (\mu-\frac{\sigma^2}{2})^2 t s \\ E(Y_tY_s) &= E\left((Y_0 + (\mu-\frac{\sigma^2}{2})t + \sigma W_t) (Y_0 + (\mu-\frac{\sigma^2}{2})s + \sigma W_s)\right) \\ &= Y_0^2 + Y_0 (\mu-\frac{\sigma^2}{2}) (t+s) + (\mu-\frac{\sigma^2}{2})^2 t s + \dots + \sigma ^2 \min(t,s) \end{align}
What remains: $$C\text{ov}(Y_t, Y_s) = \sigma^2 \min(t,s)$$
• thank you! my mistake was $E(Y_t Y_s)$. – Pandaaaaaaa Jan 17 '20 at 13:30