Let $X \sim \operatorname{Exp}(\theta)$. Show that $Y = \mathrm{e}^{-X/\theta} \sim \operatorname{Uniform}(0,1]$.
Hi, I tried to prove this in my tutorial but I got stuck trying to prove it using MGF. Can someone help me with the first method? I was planning to get the $My(t)$ expression to see if I can see any similarity with that of a uniform distribution. Is my train of thoughts correct?
I also tried to prove using the pdf of $Y$. I have written my questions in red, and I was wondering how to prove the part where the uniform distribution is valid from $0$ (exclusive) to $1$ inclusive.
Attached are my workings, I hope someone can enlighten me on this! thank you!
EDIT: **I have taken down my detailed workings as I have verified that the workings are correct.*
To answer my above questions, The $My(t)$ expression can be gotten via a direct integration from E($\mathrm{e}^{tY}$) , and then a comparison of that with the $Mx(t)$ of a uniform distribution.
Also, the Uniform distribution is valid (0,1] because the exp distribution is valid from x more than or equals to 0.