3
$\begingroup$

Given the differential equation:

$\dot{x} = y-x^2, \;\; \dot{y} = -x+y^2$

I have to find the solutions of this differential equation which move/lie on a line. I am not quite sure how to handle this problem, I started by writing $y = mx + q$, so:

$\dot{y} = m \dot{x} = m (y-x^2) = -x+y^2$

Solving this equation, I eventually arrived at $y = -x-1$. Now, a friend of mine told me this already is the solution, but I think it is only the line on which the solutions of the differential equation move. If so, how can I proceed in order to determine the solutions?

Thanks for any answers in advance.

  • 0
    This is the proper relation between $x$ and $y$, but a full solution will give $x(t)$ and $y(t)$. MarkV describes how.2011-03-06

1 Answers 1

3

Plug in $y = -x - 1$ to the second equation and get

$ \dot{y} = 1 + y + y^2$

To solve this for $y(t)$, separate variables and get

$\int \frac{dy}{1 + y + y^2} = \int dt = t + c$

the integral on the left is $\displaystyle \frac{2 \tan ^{-1}\left(\frac{2 y+1}{\sqrt{3}}\right)}{\sqrt{3}}$. Now solve for $y$ and use this to get $x$.

  • 1
    @Huy: This is almost right, except the signs of the constants $C$ are inconsistent -- $x(t)=\frac{1}{2}(\sqrt{3}\tan(-\frac{\sqrt{3}}{2}t-C)-1)$ would be right. But you don't have to go to so much trouble to get $x$, since you already have $y=-x-1$, so you can get $x$ from $y$ simply by solving that for $x$.2011-03-07