Suppose $f(x,y,z)$ is a function, where $z$ is a function of $x,y$, i.e. $z=u(x,y)$. Does the following hold due to the chain rule?
$$\frac{\partial }{\partial x}f(x,y,u(x,y))=\frac{\partial }{\partial x}f(x,y,u(x,y))+\frac{\partial }{\partial u}f(x,y,u(x,y))\frac{\partial u}{\partial x}$$
I dont think this is true because if so then $\frac{\partial }{\partial u}f(x,y,u(x,y))\frac{\partial u}{\partial x}$ should be $0$?
you can't get ∂ from your function beacuse with change in x then z change too, so you should use defferential
chain rule definition chain rule
=================================================
You problem will become clearer if you note :
Indeed, you are not differentiating among the same variables : writting f(x,y,z(x,y))=f∘g(x,y) with g(x,y)=(x,y,z(x,y)),and so (x,y)↦(x,y,z(x,y))↦f(x,y,z(x,y)),then x is the first variable in the source of g (i.e. ℝ2) while x′ is the first variable in the source of f (i.e. ℝ3).
this anwer is here answer
and a question that can help you answer