Having X ~ Uniform(0,1), Y ~ Uniform(1,3) independent what's the pdf of Z = X/Y.
This means I can write the PDFs as follows $$f_X(x) = 1$$ for $ x \in \left(0,1\right)$ and 0 otherwise $$f_Y(y) = \frac{1}{2}$$ for $x \in \left(1,3\right)$ and 0 otherwise.
Using the following formula for division of independent random variables:
$$f_Z(u) = \int_0^{\infty}f_Y(y)f_X(yu)dy$$
$f_x(uy)$ is non-zero when $uy \in \left(0,1\right)$ so $y \in \left(0,\frac{1}{u}\right)$. The maximum $u$ is then $\frac{1}{3}$. What would be the right domain of integration in the formula above? Should the resulting PDF be then parameterized by $u$?
PDF[TransformedDistribution[x/y,{Distributed[x,UniformDistribution[]], Distributed[y, UniformDistribution[{1,3}]]}], z]
$\endgroup$