- #1
misterlimbo
- 2
- 0
Homework Statement
Solve the initial value problem
Given: x=0, y=-2
Homework Equations
2x(y+1)dx - ydy = 0
The Attempt at a Solution
Manipulating the given equation:
--> 2x(y+1)dx - ydy = 0
--> 2xdx = ydy/(y+1)
--> 2xdx = (1 - 1/y+1)dy
--> 2x2/2 = y - ln(y+1) + lnC
(where lnC is a constant)
Here's my problem:
- Putting y = -2 to the equation will result to the evaluation of the natural logarithm of a negative number, which I assume is not the intended solution that our lecturer wants. Have I done something wrong in obtaining the general solution to the DE?
- Is there another way to "work my way around" the initial value condition? I tried substituting the value (just for to see where it goes). I let x = 0 then manipulate the remaining expression but still I get that negative value for C.
Thank you very much in advance!
Last edited: