Find the mean and second moment of the random variable whose PDF has the characteristic function
\,\displaystyle \Phi_X\left (w\right )=\exp \left (j w \mu_X-\frac{w^2 \sigma_X^2}{2}\right )The first and second derivatives of \Phi_X(w) are given by
\,\displaystyle \begin{aligned} \frac{d}{d w} \Phi_X\left (w\right ) & =\left (j \mu_X-w \sigma_x^2\right ) \exp \left (j w \mu_X-\frac{w^2 \sigma_X^2}{2}\right ) \\ \frac{d^2}{d w^2} \Phi_X\left (w\right ) & =\left\{\left (j \mu_X-w \sigma_X^2\right )^2-\sigma_x^2\right\} \exp \left (j w ~\mu_X-\frac{w^2 \sigma_X^2}{2}\right ) \end{aligned}
Thus, we obtain
\,\displaystyle \begin{aligned} E[X] & =\left.\frac{1}{j} \frac{d}{d w} \Phi_X\left (w\right )\right\vert _{w=0}=\left.\left (j \mu_X-w \sigma_x^2\right ) \exp \left (j w ~ \mu_X-\frac{w^2 \sigma_X^2}{2}\right )\right\vert _{w=0}=\mu_X \\ E\bigg[X^2\bigg] & =-\left.\frac{d^2}{d w^2} \Phi_X\left (w\right )\right\vert _{w=0}=-\left.\left\{\left (j \mu_X-w \sigma_x^2\right )^2-\sigma_x^2\right\} \exp \left (j w~ \mu_X-\frac{w^2 \sigma_X^2}{2}\right )\right\vert _{w=0} \\ & =\mu_X^2+\sigma_x^2 \end{aligned}