# Thread: Ordinary Differential Equations problems

1. ## Ordinary Differential Equations problems

I'm having trouble figuring out which method I should be using on some of these problems. Any help in figuring out which methods would be best is much appreciated.

1. (x^3 + y^3)dx - (3xy^2)dy = 0

2. xdy - ydx = sqrt(x^2 - y^2)dx

Just these two for now. Thanks in advance.

Edit: I tried the first one with Homogeneous method but I get to a point after substitution I can't integrate.

2. the first one is an exact ode

3. Originally Posted by JonathanEyoon
I'm having trouble figuring out which method I should be using on some of these problems. Any help in figuring out which methods would be best is much appreciated.

1. (x^3 + y^3)dx - (3xy^2)dy = 0

2. xdy - ydx = sqrt(x^2 - y^2)dx

Just these two for now. Thanks in advance.

Edit: I tried the first one with Homogeneous method but I get to a point after substitution I can't integrate.
The first one is equivalent to $\displaystyle \frac{\,dy}{\,dx}-\frac{1}{3x}y=\tfrac{1}{3}x^2y^{-2}$, which is a Bernouli equation. Make the substitution $\displaystyle z=y^{1-n}=y^{1-(-2)}=y^3\implies y=z^{\frac{1}{3}}$. Thus, $\displaystyle \frac{\,dy}{\,dx}=\frac{\,dy}{\,dz}\frac{\,dz}{\,d x}=\tfrac{1}{3}z^{-\frac{2}{3}}\frac{\,dz}{\,dx}$

The DE then becomes $\displaystyle \tfrac{1}{3}z^{-\frac{2}{3}}\frac{\,dz}{\,dx}-\frac{1}{3x}z^{\frac{1}{3}}=\tfrac{1}{3}x^2z^{-\frac{2}{3}}\implies\frac{\,dz}{\,dx}-\frac{1}{x}z=x^2$, which is a linear equaton. Can you take it from here?

For the second one, it is equivalent to $\displaystyle \frac{\,dy}{\,dx}-\frac{y}{x}=\sqrt{1-\left(\frac{y}{x}\right)^2}$

Now apply the substitution $\displaystyle u=\frac{y}{x}\implies y=ux$. Thus, $\displaystyle \frac{\,dy}{\,dx}=u+x\frac{\,du}{\,dx}$

Thus, the DE becomes $\displaystyle u+x\frac{\,du}{\,dx}-u=\sqrt{1-u^2}\implies x\frac{\,du}{\,dx}=\sqrt{1-u^2}$. This is a separable equation. Can you take it from here?

Does this make sense?

4. Originally Posted by ben.mahoney@tesco.net
the first one is an exact ode
Its not exact, because $\displaystyle \frac{\partial}{\partial y}\left[x^3+y^3\right]=3y^2{\color{red}\neq}-3y^2=\frac{\partial}{\partial x}\left[-3xy^2\right]$

5. Thanks alot. Makes perfect sense.

6. Ok got some more. You don't need to solve it out for me since i'm quite familiar with the procedure's of the different methods but it's just rearranging the problems to make it look like any one of the 5 that i'm having trouble with . Saw the mistake~! Thanks for fixing it up.

1.(1+x^3)dy - ((x^2)y)dx = 0

2.(1+x)dy/dx - xy = x^3 + x^2

For the first one, That should be separable correct? If so, how about the 2nd?

7. Originally Posted by JonathanEyoon
I'm having trouble figuring out which method I should be using on some of these problems. Any help in figuring out which methods would be best is much appreciated.

1. (x^3 + y^3)dx - (3xy^2)dy = 0

2. xdy - ydx = sqrt(x^2 - y^2)dx

Just these two for now. Thanks in advance.

Edit: I tried the first one with Homogeneous method but I get to a point after substitution I can't integrate.
Yes, these are both "homogeneous". In the first, if we replace x by ax, y by ay, it becomes (a^3x^3+ a^3y^3)dx- 3a^2xy^2dy and canceling the a^3 terms we get just what we started with. That means it can be rewritten as a differential equation for y/x.

Let u= y/x so y= xu. y'= xu'+ u so dy= xdu+ udx. The equation becomes $\displaystyle (x^3+ x^3u^3)dx- 3x(x^2u^3)(xdu+ udx)= 0$
$\displaystyle (x^3+x^3u^3-3x^3u^3)dx- 3x^4u^3du= 0$
dividing through by $\displaystyle x^3$
$\displaystyle (1+ u^3- 3u^3)dx- 3xu du= 0$
which is separable. it separates as
$\displaystyle \frac{1}{x}dx= \frac{u}{1- 2u^3} du$

Is that what you got? The righthand side is tedious but doable. The denominator can be factored by solving $\displaystyle 1- 2u^3= 0$. $\displaystyle u^3= \frac{1}{2}$ is a solution so $\displaystyle u= ^3\sqrt{1/2}$.
Now write out $\displaystyle (u-^3\sqrt{1/2})(u^2+ au+ b)= u^3+(a-^3\sqrt{1/2})u^2+ (b- a ^3\sqrt{1/2})u- b;^3\sqrt{1/2}= u^3- 1/2$ to see that we must have $\displaystyle a= ^3;\sqrt{1/2}$ and $\displaystyle b= ^3;\sqrt{1/2}$ so that the denominator factors as $\displaystyle (-1/2)(u^3- 1/2)= (-1/2)(u- ^3\sqrt{1/2})(u^2+ ^3\sqrt{1/2}u+ ^3\sqrt{1/4})$
That quadratic term doesn't factor with real numbers because its zeros are imaginary but we can complete the square: $\displaystyle (u- ^3\sqrt{1/2})^2+ \frac{3;^3\sqrt{1/2}}{4}$.

Now the left hand side can be rewritten as
$\displaystyle \frac{u}{(u- ^3\sqrt{1/2})(u- ^3\sqrt{1/2})^2+ \frac{3;^3\sqrt{1/2}}{4}$
and that can be integrated using partial fractions.

For the second problem if we multiply both x and y by a we get $\displaystyle axdy- aydx= \sqrt{a^2x^2+ a^2y^2}=- a\sqrt{x^2+ y^2}$ and again we can cancel the "a"s so this is a homogeneous equation. Let u= y/x so that y= xu and dy= xdu+ udx and the equation becomes $\displaystyle (x(xdu- udx)- xudx= \sqrt{x^2- u^2x^2}dx$ or $\displaystyle x du= \sqrt{1- x^2}dx$. That is again homogeneous and certainly simpler than the previous problem! It separates as $\displaystyle \frac{du}{\sqrt{1-u^2}}= \frac{dx}{x}$ and both sides are easy to integrate.

8. Originally Posted by JonathanEyoon
Ok got some more. You don't need to solve it out for me since i'm quite familiar with the procedure's of the different methods but it's just rearranging the problems to make it look like any one of the 5 that i'm having trouble with . Saw the mistake~! Thanks for fixing it up.

1.(1+x^3)dy - ((x^2)y)dx = 0

2.(1+x)dy/dx - xy = x^3 + x^2

For the first one, That should be separable correct? If so, how about the 2nd?
Yes the first one is separable.

The second one is linear, because $\displaystyle (1+x)\frac{\,dy}{\,dx}-xy=x^2(1+x)\implies\frac{\,dy}{\,dx}-\frac{x}{1+x}y=x^2$.

Can you continue?

9. Originally Posted by JonathanEyoon
Ok got some more. You don't need to solve it out for me since i'm quite familiar with the procedure's of the different methods but it's just rearranging the problems to make it look like any one of the 5 that i'm having trouble with . Saw the mistake~! Thanks for fixing it up.

1.(1+x^3)dy - ((x^2)y)dx = 0

2.(1+x)dy/dx - xy = x^3 + x^2

For the first one, That should be separable correct? If so, how about the 2nd?

Test on Tuesday and I'm worried

10. Originally Posted by JonathanEyoon
Test on Tuesday and I'm worried
I already responded to that post...

,

,

,

,

,

,

,

,

,

,

,

,

,

,

# x^3dx-x^3dy=3xy(ydy-xdy)

Click on a term to search for related topics.