Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm on my last homework problem, and I'm having some difficulty solving it:

$$2x(y+1)\ dx - y\ dy = 0, \quad y(0) = -2$$

I've gotten it into the form:

$$2x = \frac{yy'}{y+1}$$

but I don't know how to integrate the right-side. I'm not even sure what technique I would use.

Plugging the problem into Mathematica gives:

$$y(x) = -1 - W(e^{1 - x^{2}})$$

where W is the Lambert W function ... which I've never even heard of before, so I'm not sure how I'm expected to solve this using typical methods (I'm a chemical engineer).

share|cite|improve this question
up vote 1 down vote accepted

Integrate both sides of the equation $2x = \frac{yy'}{y+1}$ with respect to x to get: $$x^2/2 = y-ln(y+1)+C$$

To integrate $\frac{y(x)y'(x)}{y(x)+1}$ with respect to x make the substitution u=y(x)

share|cite|improve this answer
Oh wow, that's pretty simple actually. Thanks! – Nick Nov 15 '12 at 11:31
Did you mean u = y(x) + 1? – Nick Nov 15 '12 at 11:35
Your substitution is easier. The substitution I gave will work too – Amr Nov 15 '12 at 11:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.