Let $X$ and $Y$ be independent $N(0; 1)$ random variables. Let $Z = \sqrt{X^2+Y^2}$.
(a) Derive the marginal pdf of $Z$ and then using the marginal pdf to compute ${\rm E}[Z^2]$
(b) Can you propose a different way other than that in (a) to compute ${\rm E}[Z^2]$
(c) Compute ${\rm E}[Z]$.
This is the whole question that I was asked. I can do (c) but I don't know how to find the marginal pdf of $Z$ with the given information and can't seem to find any formulas. Any help would be appreciated.
If $X_1, X_2, \ldots, X_n$ are independent and identically distributed standard normal (mean 0, variance 1) random variables, then $$S = X_1^2 + X_2^2 + \cdots + X_n^2$$ is a chi-squared random variable with $n$ degrees of freedom. The probability density function of $S$ is given by $$f_S(s) = \frac{s^{n/2-1} e^{-s/2}}{\Gamma(n/2)2^{n/2}}, \quad s > 0.$$ In your case, $n = 2$, so $$f_S(s) = \frac{1}{2} e^{-s/2}, \quad s > 0.$$ This also happens to be an exponential distribution with mean $2$. Now, we are given $Z = \sqrt{S}$. So to find the density for $Z$, we consider the cumulative distribution function: $$F_Z(z) = \Pr[Z \le z] = \Pr[\sqrt{S} \le z] = \Pr[S \le z^2].$$ Calculate this last probability and then take the derivative to obtain the density for $Z$. Then compute an appropriate integration. Can you do the rest?