How to solve system of differential equations without using the time parameter $t$?

179 Views Asked by At

I have this system to solve:

$$x'=x; \ \ \ y'=-y+x^2$$

If I solve it the "normal" way using a parameter $t$ such that $x = x(t); y = y(t)$, I can obtain it by solving the $x'$ equation first and use this for the $y'$ equation. This gives:

$$x(t) = C_1 e^t; \ \ y(t)=C_2e^{-t}+\frac{C_1^2}{3}e^{2t}$$

Now, the professors said we can eliminate $t$ and obtain $y=y(x)$

I am completely lost on how to do it, but I found it using my results above.

We can find that $$y(t) = C_2 e^{-t} + \frac{C_1^2}{3}e^{2t}= \frac{C_1 C_2}{x(t)}+\frac{x(t)^2}{3} = y(x)=y(x(t))$$

But, I should be able to obtain it by integrating, nevertheless the only thing I can come up with is

$$\frac{y'}{x'} = \frac{\mathrm{d} y}{\mathrm{d} x} = \frac{-y + x^2}{x}$$

But I can't integrate this in any way to obtain the result I got above.

3

There are 3 best solutions below

0
On BEST ANSWER

Your equation $\frac{dy}{dx} = \frac{-y+x^2}{x}$ can be turned into "differential" form:

$$ xdy + (y-x^2)dx =0$$

This is of the form:

$$ M(x,y)dx + N(x,y)dy =0$$

Check for exactness:

$M_y(x,y)= \frac{\partial M}{\partial y} =1=\frac{\partial N}{\partial x}=N_x(x,y)$

Since this equation is exact, we can use the method of exact equations.

Now, you can follow the standard "textbook" recipe to find the solution, or you can just do this:

$$ \int xdy +(y-x^2)dx =K \implies xy+yx-\frac{x^3}{3} = K \implies 2xy = K +\frac{x^3}{3} \implies y = \frac{x^2}{3}+\frac{K}{2x} = \frac{x^2}{3} + \frac{L}{x}$$, where $L = \frac{K}{2}$ is a constant.This general solution is of the form that you originally got.

0
On

Starting from your last equation, you get $$ xy'+y=x^2 $$ This has the form of a linear DE (singular in $x=0$). One solution method tries to find an integrating factor, you can compute it to be $1$, or you can also directly recognize the left side as the derivative of $xy$. Consequently, by direct integration, $$ xy=C+\frac{x^3}3. $$

0
On

Differential equation $\frac{dy}{dx}=\frac{-y+x^2}{x} $ can be written as $$ \frac{dy}{dx} + \frac{y}{x}=x $$ which is standard linear non homogeneous differential equation of first order and be solved by multiplying integrating factor as follows: Multiply both sides by $x$ and after simplification, we get $$ \frac{d}{dx}(xy)=x^2 .$$ So, $y=\frac{x^2}{3}+\frac{c}{x}$ , where c is constant.