I am having some trouble proving the following:
Prove that if $f$ is a differentiable function of $3$ variables and $g(x,y,z)=f(x-y,y-z,z-x)$, then $g_x(x,y,z)+g_y(x,y,z)+g_z(x,y,z)=0$
I tried setting $u=x-y,v=y-z,w=z-x$, so that $g(x,y,z)=f(u(x,y,z),v(x,y,z),w(x,y,z)).$ If this is right, can someone help me finish this?