Let $X$ be a uniformly distributed random variable over $(0, 3)$, find the probability density function of $Y = \sqrt{X}$ , $f_y(y)$, in explicit formula.
From here What I got so far:
$F_y(y) = P(Y \le y) = P(\sqrt x \le y) = P(x \le y^2) = F_x(y^2) = \int^{y^2}_0 \frac{1}{3} dt = \frac{1}{3}t |^{y^2}_0 = \frac{1}{3}y^2$
Is this correct?
Best Answer
Yes, and you can simply use the transformation formula to find directly the density of $Y$. $g(X) = \sqrt{X}$ is monotone (increasing) function on $[0,3]$, and $g^{-1}(Y) = Y^2$, thus $$ f_Y(y) = f_Y(g^{-1}(y))\left|\frac{d}{dy}g^{-1}(y)\right| = \frac{2}{3}y, \quad y\in (0,\sqrt{3}). $$
Recall that the density function is the derivative of the cumulative distribution function, i.e., $$ f_Y(y) = \frac{d}{dy}F_Y(y) = \frac{d}{dy}P(Y\le y), $$ in your case you can verify that $$ f_Y(y) = \frac{d}{dy}F_Y(y) = \frac{d}{dy}\frac{y^2}{3} =\frac{2}{3}y. $$