Chain rule for multi-variable functions So I have been studying the multi-variable chain rule.  Most importantly, and this is what I must have overlooked, is it's not always clear to me how to see which variables are functions of other variables, so that you know when to use the chain rule.  For example, if you have:
$$ x^2+y^2-z^2+2xy=1 $$
$$ x^3+y^3-5y=8 $$
In general, say we want to find $\frac{dz}{dt}$ but $z$ is a function of $x$, then we get:
$$ \frac{dz}{dt} = \frac{dz}{dx} \frac{dx}{dt} .$$  
And if $z$ is a function of both $y$ and $t$, we get:
$$ \frac{dz}{dt} = \frac{dz}{dx} \frac{dx}{dt} + \frac{dz}{dy} \frac{dy}{dt}$$  
In this case, we have two equations.  One involving all three variables $x,y,z$ and one involving just $x,y$.  Say we want to find $\frac{dz}{dx}$. What does this mean for this case?  How should we interpret this rule in general? 

If we have an explicit function $z = f(x_1,x_2,\ldots,x_n)$, then
$$\displaystyle \frac{dz}{dt} = \frac{\partial z}{\partial x_1} \frac{dx_1}{dt} + \frac{\partial z}{\partial x_2} \frac{dx_2}{dt} + \cdots +\frac{\partial z}{\partial x_n} \frac{dx_n}{dt}$$
If we have an implicit function $f(z,x_1,x_2,\ldots,x_n) = 0$, then
$$\displaystyle \frac{\partial f}{\partial z} \frac{dz}{dt} + \frac{\partial f}{\partial x_1} \frac{dx_1}{dt} + \frac{\partial f}{\partial x_2} \frac{dx_2}{dt} + \cdots +\frac{\partial f}{\partial x_n} \frac{dx_n}{dt} = 0$$
$$\displaystyle \frac{dz}{dt} = - \frac{ \frac{\partial f}{\partial x_1} \frac{dx_1}{dt} + \frac{\partial f}{\partial x_2} \frac{dx_2}{dt} + \cdots +\frac{\partial f}{\partial x_n} \frac{dx_n}{dt}}{\frac{\partial f}{\partial z} }$$
In the first example,
\begin{align*}
\displaystyle x^2 + y^2 - z^2 + 2y & = 1\\
\displaystyle 2x\frac{dx}{dt} + 2y\frac{dy}{dt} - 2z\frac{dz}{dt} + 2\frac{dy}{dt} & = 0\\
\displaystyle x\frac{dx}{dt} + y\frac{dy}{dt} + \frac{dy}{dt} & = z\frac{dz}{dt}\\
\displaystyle \frac{dz}{dt} & = \frac{x\frac{dx}{dt} + y\frac{dy}{dt} + \frac{dy}{dt}}{z}
\end{align*}
In the second example,
\begin{align*}
\displaystyle x^3 + y^3 - 5y & = 8\\
\displaystyle 3x^2 \frac{dx}{dt} + 3y^2 \frac{dy}{dt} - 5 \frac{dy}{dt} = 0\\
\displaystyle \frac{dy}{dt} & = \frac{3x^2}{5-3y^2} \frac{dx}{dt}
\end{align*}
