I am trying to integrate this function with respect to z.
$$\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty}e^{-\frac{z^2}{2}(1-2s)+tz}dz$$ The answer book is telling me it should be:
$$\sqrt{\frac{2 \pi}{1-2s}}$$
If someone has any idea how that's possible that would be awesome! Thanks.
Note that the integral is of the form:
$$\int_{-\infty}^{\infty}e^{-a\phi^2}d\phi=\sqrt{\frac{\pi}{a}}$$
And if you substitute again with $$\phi=z-\frac{t}{1-2s}$$ You'll get the integral into the required form.