Show that the form $w$ is closed but not exact
Let $$w~=~\dfrac{-y}{x^2+y^2}dx+\dfrac{x}{x^2+y^2}dy, \qquad (x,y)~\in\mathbb{R}^2\backslash \{(0,0)\}.$$
Showing that $w$ is closed is easy. Just calculate $dw$ and you'll get 0.
But how do I show that $w$ is not exact?
In other words, I need to prove that there is no form $\lambda$ such that $w=d \lambda$
Should I assume that $w=d \lambda$ and try to get to a contradiction?
Solution 1:
I think that perhaps one of the most illuminating ways to look at this is to transform $w$ to polar coordinates. Since
$w = -\dfrac{y}{x^2 + y^2}dx + \dfrac{x}{x^2 +y^2}dy, \tag{1}$
with
$x = r\cos \theta, \tag{2}$
$y = r\sin \theta, \tag{3}$
we immediately see that
$r^2 = x^2 + y^2, \tag{4}$
leading to
$w = -\dfrac{\sin \theta}{r} dx + \dfrac{\cos \theta}{r} dy; \tag{5}$
we also have, from (2) and (3), that
$dx = (\cos \theta) dr - r(\sin \theta)d\theta, \tag{6}$
$dy = (\sin \theta) dr + r(\cos \theta)d \theta, \tag{7}$
and plugging (6) and (7) into (5) yields, after a little algebraic maneuvering,
$w = d\theta. \tag{8}$
Of course in performing the above calculations, we need to remember one little caveat: we must stay away from the point $(x, y) = 0$, that is $r = 0$, where in fact $w$ isn't even defined; we are in "point" of fact operating in the punctured plane $\Bbb R^2 \setminus \{ 0 \}$. And though (8) gives the superficial impression that $w$ is exact, this only appears to be the case, since $\theta$ is not in fact definable as a function on $\Bbb R^2 \setminus \{ 0\}$. This of course may be concluded from the fact that in traversing a circular path centered at the origin the value if $\theta$ will have increased by $2\pi$ when the starting point is first re-visited; we can in fact express this observation in integral form by computing the line integral of $w = d\theta$ around a circle of radius $R$ centered at the origin. Let then the circle be given parametrically by $c(t) = (R\cos t, R \sin t)$, $0 \le t \le 2 \pi$; we have
$\displaystyle \int_c w = \int_0^{2\pi} d\theta(c(t))(\dot c(t))dt$ $= \displaystyle \int_0^{2\pi} d\theta(c(t))((-R\sin t, R\cos t)^T)dt, \tag{9}$
and if we combine (5) and (8) with the definition of $c(t)$ we see that
$d\theta(c(t)) = -\dfrac{\sin t}{R} dx + \dfrac{\cos t}{R} dy, \tag{10}$
and thus
$d\theta(c(t))(\dot c(t)) = \sin^2 t + \cos^2 t = 1, \tag{11}$
and the integral becomes
$\displaystyle \int_c w = \int_0^{2\pi} dt = 2\pi. \tag{12}$
(12) shows that: i.) $w = d\theta$ is not exact in $\Bbb R^2 \setminus \{ 0 \}$; and ii.) $\theta$ cannot really be defined as a function on $\Bbb R^2 \setminus \{ 0 \}$, since we obtain multiple values by integrating $d\theta$ over a path such as $c(t)$. But I guess the main point here is that $w$ is indeed not exact, and this is how it is shown.
Hope this helps. Cheerio,
and as always,
Fiat Lux!!!
Solution 2:
The origin of the monster: Complex Analysis. The function $$z\longmapsto\frac1z$$ is holomorphic in $\Bbb C\setminus\{0\}$ without primitive in $\Bbb C\setminus\{0\}$. Integrating along a path that surrounds the zero: $$\int_{|z|=1}\frac1z\,dz=2\pi i.$$ The field $w$ will appear while doing the calculations in this line integral.
Solution 3:
If $w$ is exact, its integral along any contour $C$ should be equal to zero. But, plotting the vector field $\mathbf{E}=(E_x,E_y)$ with $$E_x=-\frac{y}{x^2+y^2},\qquad E_y=\frac{x}{x^2+y^2},$$ we will get something like this:
and it is clear that the integral $\int \mathbf{E}\cdot d\mathbf{r}$ along the circles centered at the origin does not vanish.