Suppose we want to find the roots of a function $f$ which depends on $x$,$y$ and $r$, i.e. we are solving $f(x,y,r) = 0$. If $r(x,y)$ is a solution to this equation (there doesn't have to be an analytic expression for $r(x,y)$ a priori), can we then say the following about the derivatives of $r$? $$\frac{\partial r(x,y)}{\partial x} = -\frac{\partial f(x,y,r)}{\partial x}\left(\frac{\partial f(x,y,r)}{\partial r}\right)^{-1} \qquad \qquad \qquad \text{similar for $y$}$$
Working out small examples it seems to work, but I am hesitant to really use it.