Let $f$ be a sufficiently differentiable function. If there exists a function $g$ such that $f(x,y) = g(x+y)$, then $\frac {\delta f}{\delta x} = \frac {\delta f}{\delta y}$
I'm wondering if $f(x,y) = g(x+y)$ what are its partial derivatives equal to?
I feel like $\frac {\delta f}{\delta x}$ should be $g'(x+y) \cdot \frac {\delta (x+y)}{\delta x} = g'(x+y)$, but I'm not sure whether this is correct or how to prove it.
If it is correct then the partial derivative with respect to $y$ is also $g'(x+y)$. But then this exercise that was part of a midterm would be too easy.
Let $F$ denote the 'flip map' $(x,y) \mapsto (y,x)$. Clearly $f \circ F$ is just $f$ again. This means that for the total derivative, we have
$(\partial_x f, \partial_y f)(x,y) = Df(x,y)=D(f\circ F)(x,y)=Df(x,y)\circ DF(x,y) = (\partial_x f, \partial_y f)(x,y) \circ M = (\partial_y f, \partial_x f)(x,y)$
where the $2 \times 2$ matrix $M$ just has $1$ on the off diagonal, and $0$ on the diagonal.