Does there exist a nonconstant function such that $\frac{\partial f}{\partial x}=\frac{\partial f}{\partial y}=\frac{\partial f}{\partial z}$? How about $\frac{\partial f}{\partial x}+\frac{\partial f}{\partial y}=\frac{\partial f}{\partial z}$?
Edit: I should say this is not for homework. I just thought of these two problems. I was wondering if they are true.
Yes: $f=x+y+z+C$ and $f=x+y+2z+C$ .