I am trying to convert the following equation to polar coordinates: $$ x'' - x' + x^2x'+x'^3 + x =0 $$
I know that $x' = r'\cos(\theta)-r\theta \sin(\theta)$, however I am not too sure where to go from here?
I know it should be $x'' = \frac{d}{dt}(r'\cos(\theta)-r\theta \sin(\theta))$ but not entirely sure how to evaluate this.
Thanks.
As you did, I'll denote with a prime the time derivative. Although you did not mention it explicitly, I assume that you are considering $$x = r\cos\theta\,.$$ Then everything is just a matter of differentiating compositions and products of functions.
You have $$x' = (r\cos\theta)' = r'\cos\theta + r(\cos\theta)' = r'\cos\theta -r\theta'\sin\theta\,.$$ Then $$(r'\cos\theta)' = r''\cos\theta + r'(\cos\theta)' = r''\cos\theta -r'\theta'\sin\theta$$ and $$(r\theta'\sin\theta)' = r'\theta'\sin\theta + r\theta''\sin\theta + r\theta'(\sin\theta)' = r'\theta'\sin\theta + r\theta''\sin\theta + r(\theta')^2\cos\theta\,.$$ Putting all together you have $$x'' = r''\cos\theta -2r'\theta'\sin\theta -r\theta''\sin\theta -r(\theta')^2\cos\theta\,.$$ Now you have the expressions for $x''$ and $x'$ and you have just to plug them in your initial ODE.