I'm going through past exam questions and I came across part of a question I wasn't sure how to tackle. I don't think I've ever seen something like this:
For $(x,y) \neq (0,0)$, define a vector field F$(x,y)$ and a scalar field $\theta(x,y)$ as follows: $$\mathbf{F}(x,y) = \left(\frac{-y}{x^2 + y^2}\right)\mathbf{i} +\left(\frac{x}{x^2 + y^2}\right)\mathbf{j} $$
$\theta(x,y)$ = the polar angle of $\theta$ of $(x,y)$ such that $0 \le \pi \le 2\pi$
Therefore $x = r\cos\theta(x,y)$ and $y = r\sin\theta(x,y)$, where $r^2 = x^2 + y^2$.
So, verify that $\nabla\theta(x,y) = \mathbf{F}(x,y)$ for all $(x,y) \neq (0,0)$ such that $0 \le \pi \le 2\pi$
I've done some light research about the topic but I think I'd understand it more if it was explained/solved. Any help is appreciated.
Thanks
Observe that in fact $\;\theta(x,y)=\arctan\frac yx\;$ , so:
$$\theta(x,y):=\arctan\frac yx\implies\begin{cases}& \theta'_x=-\cfrac y{x^2}\cfrac1{1+\frac{y^2}{x^2}}=\cfrac{-y}{x^2+y^2}\\{}\\&\theta'_y=\cfrac1x\cfrac1{1+\frac{y^2}{x^2}}=\cfrac x{x^2+y^2}\end{cases}$$