I want to convert this system into Polar coordinates
$$\dfrac{dx}{dt} = y,\\ \dfrac{dy}{dt} = -\mu(x^2 + y^2 - 1)y - x$$
I know in order to convert this ODE system in polar coordinates, you would use these formulas, $$x \,dx/dt+y\,dy/dt=r\,dr/dt,\\ \,ydx/dt-x\,dy/dt=-r^2\,dθ/dt.$$ Here is what I have so far, $$xy+y(-μ(r^2-1)y-x)=r\,dr/dt,\\ y^2-x(-μ(r^2-1))*y-x.$$ Can someone please tell me how I convert the system of $dy/dt$ and $dx/dt$ into polar coordinates?
You just need to remember that $x=r.cos(\theta)$ and $y=r.sin(\theta)$ so $dx=cos(\theta).dr-r.sin(\theta).d\theta$ by the chain rule and the same applies for $y$. Once you have them solved it is only needed to substitute in the original equation and you are done.