Solve this differential equation using separation of variables

escobar147
Messages
31
Reaction score
0
Solve the following first order, ordinary differential equations using separation of variables:

dy/dx = y^2 x

subject to y=-1 when x=0

the correct answer is: y = -2/x^2 + 2

i cannot seem to get this answer, after i separate the variables and integrate both sides i get:

y^2 x^2/2

then if i plug the values in i get y = 0?

please help
 
Physics news on Phys.org
When you separate the variables you should get

(1/y^2)dy = x dx

Integrating 1/y^2 wrt y will not give you y^2. Rewrite it as y^-2.
 
rock.freak667 said:
When you separate the variables you should get

(1/y^2)dy = x dx

Integrating 1/y^2 wrt y will not give you y^2. Rewrite it as y^-2.

hi, thanks foryour reply i appreciate it, but could you please explain why when you separate variables y^2 become 1/y^2?
 
dy/dx = y2 x

Divide both sides by y2

(1/y2)dy/dx = x
 
rock.freak667 said:
dy/dx = y2 x

Divide both sides by y2

(1/y2)dy/dx = x

where has the 1 come from? is it the coefficiant of dy/dx?
 
escobar147 said:
where has the 1 come from? is it the coefficiant of dy/dx?

Well you can think of the 1 like that yes.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top