# Is the product of two Gaussian random variables also a Gaussian?

Say I have $X \sim \mathcal N(a, b)$ and $Y\sim \mathcal N(c, d)$. Is $XY$ also normally distributed?

Is the answer any different if we know that $X$ and $Y$ are independent?

-
For a negative answer to your first question, take X=Y, then XY=X^2 cannot be Gaussian since it only takes positive values – user16299 Jan 21 '12 at 20:42
– wiso Jun 17 '13 at 20:35
how does this question related to this paper: tina-vision.net/docs/memos/2003-003.pdf which says that "product and the convolution of Gauss ian probability density functions (PDFs) are also Gaussian functions". – Asad Iqbal Dec 28 '14 at 5:06
@AsadIqbal They are related by a confusion between the product of some independent random variables and the product of their PDFs. A random variable product of two independent gaussian random variables is not gaussian except in some degenerate cases such as one random variable in the product being constant. A product of two gaussian PDFs is proportional to a gaussian PDF, always, trivially. Idem for the convolution of PDFs. – Did Jun 23 '15 at 20:13

As @Yemon Choi showed in the first question, without any hypothesis the answer is negative since $P(X^2<0)=0$ whereas $P(U<0)\neq 0$ if $U$ is Gaussian.

For the second question the answer is also no. Take $X$ and $Y$ two Gaussian random variables with mean $0$ and variance $1$. Since they have the same variance, $X-Y$ and $X+Y$ are independent Gaussian random variables. Put $Z:=\frac{X^2-Y^2}2=\frac{X-Y}{\sqrt 2}\frac{X+Y}{\sqrt 2}$. Then $Z$ is the product of two independent Gaussian, but the characteristic function of $Z$ is $\varphi_Z(t)=\frac 1{\sqrt{1+t^2}}$, which is not the characteristic function of a Gaussian.

-
This proves that there are cases where X and Y are independent and XY isn't Gaussian, and cases where X and Y are non-independent and XY isn't Gaussian. However, there is also the question of whether cases exist in which XY is Gaussian (which would mean that X and Y would have to be non-independent). It wouldn't surprise me if such cases did exist, especially if the joint density of X and Y is allowed to be a generalized function. (One also needs to rule out the pathological case where a Dirac delta function could be considered to be a Gaussian with zero variance.) – Ben Crowell Jan 21 '12 at 23:11

The product of two Gaussian random variables is distributed, in general, as a linear combination of two Chi-square random variables:

$$XY \,=\, \frac{1}{4} (X+Y)^2 - \frac{1}{4}(X-Y)^2$$

Now, $X+Y$ and $X-Y$ are Gaussian random variables, so that $(X+Y)^2$ and $(X-Y)^2$ are Chi-square distributed with 1 degree of freedom.

If $X$ and $Y$ are both zero-mean, then

$$XY \sim c_1 Q - c_2 R$$

where $c_1=\frac{Var(X+Y)}{4}$, $c_2 = \frac{Var(X-Y)}{4}$ and $Q, R \sim \chi^2_1$ are central.

The variables $Q$ and $R$ are independent if and only if $Var(X) = Var(Y)$.

In general, $Q$ and $R$ are noncentral and dependent.

-
I am also working on the distribution of the inner-product of two random variables having a normal distribution. The different topics on the subject in this forum helped me a lot. Could you just give some references/proofs about your last sentence that the variables Q and R are independent if and only if Var(X)=Var(Y), cause I exactly faced this problem in my simulations (in signal processing applications). I could not understand empirically why my code was only working when Var(X)=Var(Y). Now it make sense with your last post. Thanks – user112319 Nov 29 '13 at 17:19
Thanks, but I am stuck with finding the expectation of XY when both are gaussian distributed RV – Anoop Mar 27 '14 at 5:07
thanks... what about the var(XY) ? – moldovean Nov 19 '14 at 15:28
Random variables Q and R are independent if and only if (X+Y) and (X-Y) are. Now, these are linear functions of the vector (X,Y). It is a theorem in Multivariate Probability that two linear functions AU and BU of a Gaussian vector U are independent if an only if A.var(U).B^T = 0. This implies that (X+Y) and (X-Y) are independent if and only if Var(X) = Var(Y), as can be easily verified. – Ulisses Braga-Neto Nov 22 '14 at 22:26
The independence of the differences is neat. Do you also have independence of $XY$ and $X^2$? – Thomas Ahle Feb 23 at 22:00

You can use moments to see that the product $XY$ of independent normals cannot be normal except in trivial cases. By trivial, I mean $\mathbb{V}(X)\mathbb{V}(Y)=0.$

Suppose that $X,Y$ are independent normals so that $XY$ is normal.

Case 1: Suppose that $\mathbb{E}(X)=0$. By independence, $\mathbb{E}(XY)=\mathbb{E}(X)\mathbb{E}(Y)=0$, so $XY$ is mean zero normal, and hence $$\mathbb{E}((XY)^4)=3\mathbb{E}((XY)^2)^2.$$ By independence we get
$$\mathbb{E}(X^4)\mathbb{E}(Y^4)=3\mathbb{E}(X^2)^2\mathbb{E}(Y^2)^2.$$ Either $\mathbb{V}(X)=0$, or dividing by $\mathbb{E}(X^4)$ gives $\mathbb{E}(Y^4)= \mathbb{E}(Y^2)^2.$ This shows that $Y^2$, and hence $Y$, has zero variance.

Case 2: Suppose that $\mathbb{E}(X^2)>0$ and $\mathbb{E}(Y^2)>0$. Then, without loss of generality, $\mathbb{E}(X^2)=1$ and $\mathbb{E}(Y^2)=1$. In this case, we also have $\mathbb{E}((XY)^2)=1$, so $$\begin{eqnarray} \mathbb{E}(X^3)&=&\mathbb{E}(X)(3-2\mathbb{E}(X)^2)\\ \mathbb{E}(Y^3)&=&\mathbb{E}(Y)(3-2\mathbb{E}(Y)^2)\\ \mathbb{E}((XY)^3)&=&\mathbb{E}(XY)(3-2\mathbb{E}(XY)^2) \end{eqnarray}$$ Subtracting the product of the first two lines from the third line gives $$0=6\mathbb{E}(X)\,\mathbb{E}(Y)\,\mathbb{V}(X)\,\mathbb{V}(Y).$$ Either we are in a trivial case, or back to Case 1.

Thus, the product cannot be normal except in trivial cases.

-