If $xy$ is constant
whenever$z$ is constant,
and $y/z$ is constantwhenever$x$ is constant, then show that $xy/z$ is constant.
My work: Write $xy = a$, $y/z = b$. Then
$$xy^2/z = ab, \ \ \ xz = a/b.$$
Any help?
Remark: This shows up in physics when I'm trying to derive the ideal gas equation from Boyle and Charles' laws ($PV =$ constant and $V/T =$ constant).
My interpretation is that $x, y, z$ are independent, but happens that $xy$ depends only on $z$ and $y/z$ depends only on $x$. Then we write
$$\tag{1} xy = f(z), y/z = g(x)$$ for some functions $f, g$.
A priori, $xy/z$ is a function of $3$ variables and we want to show that it is constant. Since
$$ f(z)/z =\frac{xy}{z} = x g(x),$$
One sees that the expression is independent of $x, y$ and $y, z$. Thus it is independent of $x, y, z$ and thus is a constant.