The questions tells us to let X and Y be random variables for which the joint p.d.f. is as follows:
$$f(x,y)= \begin{cases} 2(x+y), & \text{for $0 \le\ y \le\ x \le\ 1$} \\ 0, & \text{otherwise} \\ \end{cases}$$
Find the PDF of $Z=X/Y$
I manage to arrive at the joint pdf:
$$g(z,y)= \begin{cases} 2y^2(z+1), & \text{for ____________} \\ 0, & \text{otherwise} \\ \end{cases}$$
but as you can see, I am unsure of what the restriction should be
furthermore, to get to the marginal pdf of $Z$
$$ \int_{l}^{u} 2y^2(z+1) dy $$
Again, I am unsure of what the limits on the integral ($u$ & $l$) should be. Am I on the right track at all? and how should I then approach the limits/restrictions for this question?
EDIT: I know I was asked to "find the PDF of $Z$", but from what I was taught, I thought we had to first find the joint PDF and then integrate out the other random variables (in this case the $Y$) if I want to find the [marginal] pdf (for $Z$). If this is wrong, can someone produce a worked solution for this then?
EDIT2: Z="X/Y", not "X|Y"
EDIT3: yes, x over y. not x condition y
Just use the fact that when substituting $x=yz$ then the support will be $0\lt yz\lt y\lt 1$.
$\begin{align}f(x,y) &= 2(x+y)\,\mathbf 1_{0\lt x\lt y\lt 1}\\ g(z,y) &= 2y^2(z+1)\,\mathbf 1_{0\lt yz\lt y\lt 1}\\&= 2y^2(z+1)\,\mathbf 1_{0\lt y\lt 1}\,\mathbf 1_{0\lt z\lt 1}\\h(z) &=\tfrac 23(z+1)\,\mathbf 1_{0\lt z\lt 1}\int_0^1 3y^2\,\mathrm d y\\&=\tfrac 23(z+1)\,\mathbf 1_{0\lt z\lt 1}\end{align}$