If $Y_1,...,Y_n$ are normal with $\mu$ and $\sigma^2$, and $X_i = e^{Y_i}$, then $X_i$ are log-normal.
I want to show that $E(X_i) = e^{\mu+\frac{1}{2}\sigma^2}$.
The explanation is that $E(X_i) = E(e^{Y_i}) = M_{Y_i}(1) = e^{\mu+\frac{1}{2}\sigma^2}$, but I dont understand exactly why this is true... can someone help? I understand the "algebra", but I thought that the moment generating function had to be differentiated?
In the text the moment generating function of $Y_i$ is $M_Y(t)=e^{\mu t+\frac{1}{2}\sigma^2 t^2}$, so this is given.