I ran into an old exercise but I seem to have messed up somehow. Can you tell me what went wrong?
Let $U \sim \mathrm{Unif}(0,1)$ and $V \sim \Gamma(2,1)$ with $U,V$ independent. Show that $UV$ has the distribution $\mathrm{Exp}(1)$.
I attempted this with a substitution $S = UV$ and $T = V$. I know that $U,V$ have joint probability density function $f_{U,V}(u,v) = ve^{-v} $. Blindly using change of variables, I obtain the Jacobian $|J| = \frac{1}{t} $ and so $f_{S,T}(s,t) = e^{-t} $. Which seemingly implies $S = UV$ has uniform distribution and $T$ has exponential distribution $\mathrm{Exp}(1)$. But this makes no sense because $T = V$ and $T$ has distribution $\Gamma(2,1)$.
My notes tell me the substitution $S = UV$ and $T = \frac{U}{V}$ give the right answer. But what is it that makes my substitution invalid and what went wrong with my working?
You have the right joint density function provided you get the right boundaries: $$ f_{S,T}(s,t) = \begin{cases} e^{-t} & \text{if }0<s<t, \\ 0 & \text{otherwise.} \end{cases} $$ (You can draw a picture and see that this is half of the first quadrant.)
Now suppose we want the marginal distributions of $S$ and $T$. $$ f_S(s) = \int_s^\infty f_{S,T}(s,t)\,dt = \int_s^\infty e^{-t}\,dt = e^{-s}\text { if }s>0. $$ So $S$ is exponentially distributed with expected value $1$. $$ f_T(t) = \int_0^t f_{S,T}(s,t)\,ds = \int_0^t e^{-t} \,ds = te^{-t}\text{ if }t>0. $$ So $T$ has the same Gamma distribution that $V$ has.
Perhaps some further insight can be afforded by two additional exercises:
From these it follows that $T$ is the sum of two independent exponentially distributed random variables.
BTW, the phrase "product of distributions" isn't quite right. This is about the distribution of a product, not about the product of distributions.