I am trying assignment questions of real analysis and I was unable to solve this question. In fact, I don't have any idea on how to start.
So, I am looking for help here.
Let $f$ be a function on $\mathbb{R}^2$ such that $\frac{df} {dx}= \frac{df}{dy}$ for all $(x,y)\in \mathbb{R}^2$. Now which of the following options are true:
1 $f$ is constant on all lines parallel to the line $x=-y$.
2 $f(x,y)=0 \quad\forall (x,y) \in \mathbb{R}^2$.
3 $f(x,y)=f(-y,x) \quad\forall (x,y) \in \mathbb{R}^2$.
4 $f(x,y)-f(y,x)=(x-y) \frac {df}{dx}(x*,y*) + (y-x) \frac {df}{dy} (x*,y*) \in \mathbb{R}^2$.
I am unable to get any idea on how to use the hypothesis $\frac{df} {dx}= \frac{df}{dy}$ to deduce or contradict any of the options.
I studied multivariable calculus from Tom M Apostol in case it is of any help.
Please help me. Kindly just give outlines not complete solution.
If $f_x=f_y$, then for every $c\in \mathbb R$, $$ \frac{d}{dt}f(t,c-t)=f_x(t,c-t)-f_y(t,c-t)=0. $$ Hence $f$ is constant on the set $$ L_c=\{(t,c-t):t\in\mathbb R\}, $$ which represents the parametric expression of the straight line $$ x+y=c. $$ Thus $f$ has to be of the form $$ f(x,y)=g(x+y). $$ To understand that, observe first that $\mathbb R^2=\bigcup_{c\in\mathbb R}L_c$, and in particular, note that $\,(x,y)\in L_{x+y}$.
As $f$ is constant on every $L_c$, then for every $c\in\mathbb R$, there exists a function $g$, such that $$ f(x,y)=g(c), \quad \text{for all $(x,y)\in L_c$}. $$ But $c=x+y$, for all $(x,y)\in L_c$, and hence $\,f(x,y)=g(c)=g(x+y)$.