I have been fiddling around trying to understand coordinate transformations in dynamical systems. I know the standard way to convert the system from cartesian coordinates to polar, but am having trouble reversing it.
I know the standard transformation equations: $$ r\cos(\theta)=x,\quad r\sin(\theta)=y,\quad r^2 = x^2+y^2,\quad \theta = \arctan\left(\frac{y}{x}\right), $$
$$ \frac{\partial x}{\partial r} =\cos(\theta),\quad \frac{\partial x}{\partial \theta} =-r\sin(\theta),\quad \frac{\partial y}{\partial r} =\sin(\theta),\quad \frac{\partial y}{\partial \theta} =r\cos(\theta), $$
$$ \frac{\partial r}{\partial x} =\frac{x}{r}=\cos(\theta),\quad \frac{\partial \theta}{\partial x} =\frac{-y}{x^2+y^2}=\frac{-\sin(\theta)}{r}, $$
$$ \frac{\partial r}{\partial y} =\sin(\theta),\quad \frac{\partial \theta}{\partial y} =\frac{x}{x^2+y^2}=\frac{\cos(\theta)}{r} $$
If we have an example system of equations: \begin{aligned} \dot{r} &= m r - r^3, \\ \dot{\theta} &= w + v r^2 \end{aligned} where $w, v, m$ are arbitrary constants.
What are the steps I follow to make the appropriate transformation to $\dot{x}, \dot{y}$?
Use $\dot{x}=\frac{\dot{r}x}{r}-y\dot{\theta}$ (proof is an exercise) together with $r^2=x^2+y^2$. The treatment of $\dot{y}$ is similar.