Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If X~(0,1), integrate to find the moment generating function of a random variable $X^2$ and identify the distribution of $X^2$ using the moment generating function.


which reduces to

=$1\over{\sqrt{2\pi}}$ $\int_{-\infty}^{\infty}{e^{tx^2}e^{-x^2}}$ =$1\over{\sqrt{2\pi}}$ $\int_{-\infty}^{\infty}{e^{x^2(t-\frac12)}}$

and thus I am stuck. I'm sure there must be some trick to this (like completely the square for the mgf of a standard normal variable X) but I can't figure out what it might be.

Any hints?

share|cite|improve this question
up vote 2 down vote accepted

The mgf will only be defined when $t\lt 1/2$.

We need $$\int_{-\infty}^\infty \frac{1}{\sqrt{2\pi}}e^{-x^2(1/2-t)}\, dx.$$ The exponent can be written as $-(x^2/2)(1-2t)$.

Make the change of variable $u=x\sqrt{1-2t}$. Then $dx =\frac{1}{\sqrt{1-2t}}\,du$. Note that as $x$ travels from $-\infty$ to $\infty$, so does $u$. You should end up with something like $$\frac{1}{\sqrt{1-2t}}\int_{-\infty}^\infty \frac{1}{\sqrt{2\pi}}e^{-u^2/2}\,du.$$ Now we recognize that the integral part is $1$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.