1
$\begingroup$

I'm having the following vector field:

$$\vec{F}(x,y) = (\frac{-y}{x^2+y^2},\frac{x}{x^2+y^2})$$

The field is conservative in $\mathbb{R}^2 \backslash (0,0)$ as long as your curve doesn't encircle $(0,0)$.

The potential function I received is:

$$\phi(x,y) = -arctan(\frac{x}{y})+C $$

It is clear that on $Y=0$, the potential is undefined.

How can I calculate the line integral from point $(X,0) \rightarrow (-2,2)$ using the potential if it is undefined?

Thank you.

$\endgroup$
2
$\begingroup$

Your potential function needs some tweaking before it can be used in this case. Remembering $$\mathrm{ \arctan\left(z\right)+\arctan\left({1\over z }\right)={\pi\over2} }$$ turn your potential function into $$\mathrm{ \phi(x,y)=\arctan\left({y\over x}\right)+C }$$ which immediately yields the line integral as $$\mathrm{ \phi(-2,2)-\phi(X,0)=-{\pi\over4} }$$

$\endgroup$
  • $\begingroup$ It seems to me that both of our potential functions are correct (I mean, their gradient gives the aforementioned field), but you have received a different expression since you have used x/(x^2+y^2), and I have used the first dimension expression. Could you tell me how had you known going that way? $\endgroup$ – Taru Jun 29 '16 at 20:19
  • 1
    $\begingroup$ @Taru Edited :) $\endgroup$ – Jack's wasted life Jun 30 '16 at 2:30
  • $\begingroup$ Clever! Nice one. But isn't the result $3\pi/4$ ? $\endgroup$ – Kuifje Jul 4 '16 at 16:38
  • $\begingroup$ $-\arctan(-1)+\arctan(\frac{x}{0}) = \pi/4 +\pi/2 -\arctan(0) = 3\pi/4$. $\endgroup$ – Kuifje Jul 4 '16 at 16:41
  • $\begingroup$ @Taru As we're calculating a definite integral, we may let C=0 which means $\phi(x,y)=\arctan(y/x)$. The integral should be $\phi$(at final point) - $\phi$(at the starting point)=$\phi(2/-2)-\phi(0/X)=-{\pi\over4}-0.$ $\endgroup$ – Jack's wasted life Jul 4 '16 at 21:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.