Define the function $f: \Bbb R^2\to \Bbb R$ has first order partial derivatives and that $f(0,0)=1$ While $\frac{\partial f}{\partial x}(x,y)=2$ and $\frac{\partial f}{\partial y}(x,y)=3$ for all $(x,y)\in \Bbb R^2$
Prove that $f(x,y)=1+2x+3y$ for all $(x,y)\in \Bbb R^2$
$\bf{solution:}$
Let $\frac{\partial f}{\partial x}(x,y)=g(x,y)$
Then $\int g(x,y)dx=2x +c_1$ for $c_1 $ is constant
Similarly, let $\frac{\partial f}{\partial y}=h(x,y)$
Then $\int h(x,y)=2y+c_2$ for $c_2$ constant
Since $f(0,0)=1$ is constant so, $c:=(c_1,c_2)=1$
Thus, $f(x,y)=1+2x+3y$ for all $(x,y)\in \Bbb R^2$
Is this answer true? If there exist mistakes, please can somebody correct this?