# Write ODE in Polar Coordinates [closed]

I want to write this ODE system in polar coordinates (r,$\theta$).

$$\dot x =x-y-x^3$$

$$\dot y = x+y-y^3$$

## closed as off-topic by Mark Fantini, Ivo Terek, user98602, user147263, Przemysław ScherwentkeJan 5 '15 at 2:45

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Mark Fantini, Ivo Terek, Community, Community, Przemysław Scherwentke
If this question can be reworded to fit the rules in the help center, please edit the question.

• What's meaning of $\dot x$? – Paul Jan 5 '15 at 0:53
• It's a notation for x'(t) – Mary Jan 5 '15 at 0:54

We use:

$$x = r \cos \theta, y = r \sin \theta, r^2 = x^2 + y^2, \theta = \tan^{-1}\left(\frac{y}{x}\right)$$

From:

$$x^2 + y^2 = r^2 \implies x x' + y y' = r r'$$

We have:

\begin{align} x x' + y y' &= x(x-y-x^3) + y(x+y-y^3) \\ &= r \cos \theta(r \cos \theta-r \sin \theta - (r \cos \theta)^3) + r \sin \theta(r \cos \theta + r \sin \theta -(r \sin \theta)^3) \\&= r r'\end{align}

We also have:

$$\theta = \tan^{-1}\left(\frac{y}{x}\right) \implies \theta' = \dfrac{xy'-yx'}{r^2}$$

Make the appropriate substitutions, do some trig simplifications and cleanup to derive $r'$ and $\theta'$.

Update

You should end up with:

$$r' = -\frac{1}{4} r \left(r^2 \cos (4 \theta)+3 r^2-4\right)$$

$$\theta' = -\left(\left(r^2-1\right) \cos (2 \theta)+\sin (2 \theta)\right)$$

• yes, no problem! Thank you so much for your help @Amzoti . – Mary Jan 5 '15 at 1:22

So $r$ and $\theta$ are function of $t$, let $x=r\cos\theta$ and $y=r\sin \theta$, then you will have

$$r'\cos \theta-r\sin\theta \times (\theta)'=r\cos\theta-r\sin \theta-(r\cos\theta)^3;$$

$$r'\sin \theta+r\cos\theta \times (\theta)'=r\cos\theta+r\sin \theta-(r\sin\theta)^3$$

• Exactly, but I want to write it in terms of r'= (...) and $\theta ' = (...)$. – Mary Jan 5 '15 at 1:03
• It is not difficult for you to complete it, i believe. – Paul Jan 5 '15 at 1:09
• Yes, I will. However, I suggest you that you should think by yourself for half an hour at least.. – Paul Jan 5 '15 at 1:12
• I've just noticed you're missing $\theta '$ . It's also a function of t. – Mary Jan 5 '15 at 1:12
• Yes, I'm sorry. – Paul Jan 5 '15 at 1:14