Hi guys,
Could you please check whether what I've done is correct in the following? Let x and y be independent random variables, each with a distribution that is N(0,1). Then let z=x+y. Find the integral that represents the distribution function \(\displaystyle \displaystyle P(x+y \leq z)\). Then determine the probability density function of z.
Okay for the distribution function it is easy to see that the integral takes the form: \(\displaystyle \displaystyle G(z)=\int_{-\infty}^{\infty}\int_{-\infty}^{z-x} \frac{1}{2\pi} e^{-(x^2+y^2)/2} dydx\). Differentiating w.r.t to z and using Leibniz's formula we then get: \(\displaystyle \displaystyle g(z)=\int_{-\infty}^{\infty}\frac{1}{2\pi}e^{-[x^2+(z-x)^2]/2}dx=\frac{1}{2\pi}e^{-z^2/4}\int_{-\infty}^{\infty}e^{-(x-z/2)^2}dx\), after completing the square. Now letting w=x-z/2 and assuming that the RV in the integral has variance equal to \(\displaystyle \ \frac{1}{2}\), the integral equals 1 and thus we are left with \(\displaystyle \displaystyle g(z)=\frac{1}{\sqrt{2\pi}}\frac{1}{\sqrt2}e^{-z^2/4}\), i.e. a normally distrubted RV with 0 mean and 2 variance(the sum of the variances of x and y). Essentially what we needed to show.
Everything alright here?
Could you please check whether what I've done is correct in the following? Let x and y be independent random variables, each with a distribution that is N(0,1). Then let z=x+y. Find the integral that represents the distribution function \(\displaystyle \displaystyle P(x+y \leq z)\). Then determine the probability density function of z.
Okay for the distribution function it is easy to see that the integral takes the form: \(\displaystyle \displaystyle G(z)=\int_{-\infty}^{\infty}\int_{-\infty}^{z-x} \frac{1}{2\pi} e^{-(x^2+y^2)/2} dydx\). Differentiating w.r.t to z and using Leibniz's formula we then get: \(\displaystyle \displaystyle g(z)=\int_{-\infty}^{\infty}\frac{1}{2\pi}e^{-[x^2+(z-x)^2]/2}dx=\frac{1}{2\pi}e^{-z^2/4}\int_{-\infty}^{\infty}e^{-(x-z/2)^2}dx\), after completing the square. Now letting w=x-z/2 and assuming that the RV in the integral has variance equal to \(\displaystyle \ \frac{1}{2}\), the integral equals 1 and thus we are left with \(\displaystyle \displaystyle g(z)=\frac{1}{\sqrt{2\pi}}\frac{1}{\sqrt2}e^{-z^2/4}\), i.e. a normally distrubted RV with 0 mean and 2 variance(the sum of the variances of x and y). Essentially what we needed to show.
Everything alright here?
Last edited: