Ordinary differential equation:

Edwardo_Elric
Messages
101
Reaction score
0

Homework Statement


Obtain the general solution:
(1 - x)y' = y^2


Homework Equations





The Attempt at a Solution


(1 - x)\frac{dy}{dx} = y^2

(1 - x)dy = y^2dx

\frac{dy}{y^2} = \frac{dx}{(1-x)}
integrating both sides:

i used ln on the constant at the right side
-\frac{1}{y} = \ln(1 - x) + \ln{c}

so my answer is:
-1 = y\ln{(c(1 - x))}

the answer seems to be different at the back of my book w/c is
1 = y\ln{(c(1 - x))} <<< no negative as before

can you tell me what's wrong with my soln?
 
Physics news on Phys.org
Edwardo_Elric said:

Homework Statement


Obtain the general solution:
(1 - x)y&#039; = y^2


Homework Equations





The Attempt at a Solution


(1 - x)\frac{dy}{dx} = y^2

(1 - x)dy = y^2dx

\frac{dy}{y^2} = \frac{dx}{(1-x)}
integrating both sides:

i used ln on the constant at the right side
-\frac{1}{y} = \ln(1 - x) + \ln{c}
Here is the problem. What do you get if you differentiate ln(1-x)? (Don't forget to use the chain rule!)

so my answer is:
-1 = y\ln{(c(1 - x))}

the answer seems to be different at the back of my book w/c is
1 = y\ln{(c(1 - x))} <<< no negative as before

can you tell me what's wrong with my soln?
 
oh yeah! forgot about that thanks a lot :D
 
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