2

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?

user3911
  • 6,642

1 Answers1

4

Then $\int g(x,y)dx=2x +c_1$ for $c_1 $ is constant

This isn't correct. For instance take $\alpha (x,y)=2x+2y^3+\log (|y|+1)$. Then $\dfrac{\partial \alpha }{\partial x}(x,y)=2$ and $\alpha (x,y) \neq 2x$.

Correct would be: then $\int g(x,y)dx=2x+\varphi (y)=f(x,y)$, for some differentiable function $\varphi$.

Now you differentiate the above with respect to $y$ to get $$3=\frac{\partial f}{\partial y}(x,y)=\varphi '(y).$$

Therefore $\varphi (y)=3y+C$, for some constant $C\in \Bbb R$.

Now replacing $\varphi$ by what was just gotten it follows that $f(x,y)=2x+3y+C$.

Edit: You're also given that $f(0,0)=1$, so $2\cdot 0+3\cdot 0+C=1$ and it follows that $C=1$.

Git Gud
  • 31,706