gtfitzpatrick
- 372
- 0
Homework Statement
confirm that the given function is apotential for the given vector field
ln(x^{2} + y^{2}) for \frac{2x}{\sqrt{x^{2}+y^{2}}} \vec{i} + \frac{2y}{\sqrt{x^{2}+y^{2}}} \vec{j}
Homework Equations
The Attempt at a Solution
the first thing i did was let my equation = P\vec{i}+Q \vec{j}
then if they are conservative\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}
\frac{\partial P}{\partial y} = \frac{-2xy}{\sqrt{x^{2}+y^{2}}}
and
\frac{\partial Q}{\partial x} = \frac{-2xy}{\sqrt{x^{2}+y^{2}}}
so the vector field is conservative.
then
f(x,y) = \int P(x,y) dx and f(x,y) = \int Q(x,y) dy
from tables i get f(x,y) = 2(\sqrt{x^2 + y^2}
what am i doing wrong here? am i getting my integration wrong?