$f(x,y)$ is differentiable on $\mathbb{R^2}$ such taht
$$\frac{\partial f}{\partial x}=xy,\hspace{0.3cm}\frac{\partial f}{\partial y}=x+y$$
Find $f(x,y)$.
I tried to integrate $\frac{\partial f}{\partial x}=xy$ with respect to $x$ and then differentiate with respect to $y$,but this becomes difficult to solve.Please help to solve this.
Thanks.
$$ \frac{\partial f}{\partial x}=xy\quad\Longrightarrow\quad f=\frac{1}{2}x^2y+g(y), $$ and hence $$ \frac{1}{2}x^2+g'(y)=\frac{\partial f}{\partial y}=x+y, $$ which is not possible.
Hence, no such $f$ exists!
EDIT. As suggested by copper.hat, another way to attack this question is to use the fact that, if $f\in C^2$, then $(f_x)_y=(f_y)_x$. So here $f_x=xy$, $f_y=x+y$, and $$ (f_x)_y=x\ne 1=(f_y)_x. $$