# Solving Differential Equation

• February 21st 2011, 03:59 PM
sparky
Solving Differential Equation
Hi,

I am struggling to finish this question and would love some guidance please:

Question: Solve for the following differential equation for the original equation: $y' = \frac{-2x-y^2}{2xy-5}$

$y' = \frac{-2x-y^2}{2xy-5}$

$\frac{dy}{dx}= \frac{-2x-y^2}{2xy-5}$

$(2xy-5)dy = (-2x-y^2)dx$

$2xydy - 5dy = -2xdx -y^2dx$ (assuming that I'm correct so far, what do I do now?)
• February 21st 2011, 04:58 PM
topsquark
Quote:

Originally Posted by sparky
Question: Solve for the following differential equation for the original equation: $y' = \frac{-2x-y^2}{2xy-5}$

Are you asked to solve this or put it into a more standard form?

-Dan
• February 21st 2011, 05:16 PM
sparky
Quote:

Originally Posted by topsquark
Are you asked to solve this or put it into a more standard form?

-Dan

Thanks for the reply. I'm asked to solve it "for the original equation". This sounds a little confusing to me.
• February 21st 2011, 05:17 PM
sparky
Quote:

Originally Posted by topsquark
Are you asked to solve this or put it into a more standard form?

-Dan

Thanks for the reply. I'm asked to solve it "for the original equation". This sounds a little confusing to me.
• February 21st 2011, 05:28 PM
topsquark
Quote:

Originally Posted by sparky
Hi,

I am struggling to finish this question and would love some guidance please:

Question: Solve for the following differential equation for the original equation: $y' = \frac{-2x-y^2}{2xy-5}$

$y' = \frac{-2x-y^2}{2xy-5}$

$\frac{dy}{dx}= \frac{-2x-y^2}{2xy-5}$

$(2xy-5)dy = (-2x-y^2)dx$

$2xydy - 5dy = -2xdx -y^2dx$ (assuming that I'm correct so far, what do I do now?)

Okay, I saw a similar example in one of your other posts. You are good for as far as you have gotten. Regroup:
$(2xydy + y^2dx) - 5dy + 2xdx = 0$

The $2xy dy + y^2 dx$ is a perfect differential. What is it?

-Dan
• February 21st 2011, 06:47 PM
sparky
Quote:

Originally Posted by topsquark
You are good for as far as you have gotten.

Ok this is very encouraging.

Quote:

The $2xy dy + y^2 dx$ is a perfect differential. What is it?
I am still trying to figure out why you grouped together $(2xydy + y^2dx)$ rather than $(2xydy-5dy)$. Is it because we of differentiating with respect to y (or is it x, I'm a little confused I must admit)?
• February 21st 2011, 07:20 PM
topsquark
Quote:

Originally Posted by sparky
Ok this is very encouraging.

I am still trying to figure out why you grouped together $(2xydy + y^2dx)$ rather than $(2xydy-5dy)$. Is it because we of differentiating with respect to y (or is it x, I'm a little confused I must admit)?

Acutally I'm going to integrate over something different. Note that
$(2xydy + y^2dx) = d(xy^2)$

So when it is time to take integrals I will do it like this:
$\displaystyle \int d(xy^2) = xy^2 + C$

The reason why I grouped it the way I did was so I could get rid of the y dx and x dy terms.

-Dan