Let $X \sim \mathsf{Gamma}(2,3)$ and $Y = 2X.$ Find the pdf of $Y$ at $y=13.5.$
Attempt: $f_X(x)= 2*[1/9*\Gamma(2)]*x*e^{-x/3}.$ Do I have to integrate now?
Let $X \sim \mathsf{Gamma}(2,3)$ and $Y = 2X.$ Find the pdf of $Y$ at $y=13.5.$
Attempt: $f_X(x)= 2*[1/9*\Gamma(2)]*x*e^{-x/3}.$ Do I have to integrate now?
$X\sim \text{Gamma}(2,3)\implies f_X(x)=\frac{1}{9\Gamma(2)}xe^{-x/3}$ for $x>0$. The method of CDF yields (for $y>0$): $$\begin{align}F_Y(y)&=P(Y\leq y)\\&=P\left(X\leq\frac{y}{2}\right)\\&=\int_0^{y/2}\frac{1}{9}xe^{-x/3}dx\\&=\frac{-1}{3}\left[(x+3)e^{-x/3}\right]^{y/2}_0\\&=1-\frac{y+6}{6}e^{-y/6}\end{align}$$ Using the fact that $f_Y(y)=\frac{d}{dy}F_Y(y)$, we see that: $$f_Y(y)=\begin{cases}\frac{1}{36}ye^{-y/6}\qquad x>0\\0\qquad\qquad\text{otherwise}\end{cases}$$ Thus, $Y\sim\text{Gamma}(2,6)$. Hope this helps.
Another option:
Suppose $X $~ Gamma(2,3). Then the moment generating function for $X$ is:
$$f(t) = E(e^{tX}) = (1-\theta t)^{-k} = (1-3t)^{-2}$$
Also, the moment generating function for $2X$ is: $$E(e^{t2X}) = E(e^{(2t)X}) = f(2t) = (1-3(2t))^{-2}$$
So we see that $2X$ has moment generating function $(1 - 6t)^{-2}$, so that $2X$ ~ Gamma(2,6).