We have used the chain rule several times for functions of one variable. For functions of two variables there are two special cases where the chain rule can be applied: one to differentiate function of the form $z(x(t),y(t))$ and one to differentiate functions of the form $z(x,y(x))$. We discuss this in the following subsections.