# Thread: How to rearrange x = (y-z)/z

1. ## How to rearrange x = (y-z)/z

When we have $x = (y-z)/z$, how can we wrote $z$ as a function of $x$ and $y$?

$z = ?$

2. ## Re: How to rearrange x = (y-z)/z

Originally Posted by brianx
When we have $x = (y-z)/z$, how can we wrote $z$ as a function of $x$ and $y$?
$z = ?$
\begin{align*}x&=\dfrac{y-z}{z} \\xz&=y-z\\xz+z&=y\\(x+1)z&=y\\z&=? \end{align*}

3. ## Re: How to rearrange x = (y-z)/z

zx = y - z
zx + z = y
z(x+1) = y
z = y / (x+1)