This equation solution is a geometric brownian motion $$dx_t=r.x_t.dt+\sigma .x_t.dB_t \to \\ x_t=x_0.e^{(r-\frac{1}{2}\sigma^2)t+B_t}$$
now I am asking for $E[x_t]$
I saw wikipedia ...It said that $E[x_t=x_0.e^{(r-\frac{1}{2}\sigma^2)t+B_t}]=x_0.e^{rt}$ https://en.wikipedia.org/wiki/Geometric_Brownian_motion
But I think this is is wrong ...!
I tried this :$$E[x_t=x_0.e^{(r-\frac{1}{2}\sigma^2)t+B_t}]=\\E[x_0].e^{E[(r-\frac{1}{2}\sigma^2)t+B_t]}=\\E[x_0].e^{E[(r-\frac{1}{2}\sigma^2)t]+E[B_t]}=\\E[x_0].e^{E[(r-\frac{1}{2}\sigma^2)t]}$$ because $E[B_t]=0$ Please help me to understand ,that mine is correct or not ? And what is the right answer