How does one derive probability densitys involving fractions?
For example, let $X^2$ and $Y^2$ be exponentially distributed random variables with parameter $\lambda = 1$. Determine the PDF for $Z = Y^2/X^2$.
There's the following formula in my book, although I am not quite sure what to do with the integration limits?
$$\int p(x,zx)x dx$$
Also I don't have any multivariable density function?
Consider the function $g(x,y)=\left(\dfrac{y}{x},x\right)$. Define $u=\dfrac{y}{x}$ and $v=x$. Then $uv=y$. Then the inverse of $g$ will be $h(u,v)=(v,uv)$. Let's call the pdf of a random variable by $f$ (you call it $p$). By the transformation theorem we know that $f_{ZX}(z,x)=f_{XY}(h(z,x))|\mathbf J(h)|$, where $|\mathbf J(h)|$ is the absolute value of the jacobian determinant of the $h$ transformation. Therefore $f_{ZX}(z,x)=f_{XY}(x,zx)|x|$. Now you want $f_Z$, this is done by calculating it's marginal distribution from $f_{ZX}$, so:
$$f_Z=\int f_{XY}(x,zx)x\,dx.$$
With respect to the multivariate density function I think $X^2$ and $Y^2$ should be independent, this would lead to $f_{XY}=f_Xf_Y$, which you know. If this is the case, the limits of integration of the last integral should be from $0$ to $\infty$, since that is the range for which the exponential distribution is defined.