# ODE y+2y=y^2

by asdf1
Tags: None
 P: 740 for the following question: y+2y=y^2 my problem: suppose u=1/y so u=-[y^(-2)]*y=-1+2u so du/(1+2u)=-dx =>1+2u=ce^(-x) =>u=[1-ce^(-x)]/2 so y=1/u=2/[1-ce^(-x)] but the correct answer should be y=x/[1+2cx^(2x)] does anybody know where my calculations went wrong?
 Quote by asdf1 for the following question: y+2y=y^2 my problem: suppose u=1/y so u=-[y^(-2)]*y`=-1+2u so du/(1+2u)=-dx =>1+2u=ce^(-x) =>u=[1-ce^(-x)]/2 so y=1/u=2/[1-ce^(-x)] but the correct answer should be y=x/[1+2cx^(2x)] does anybody know where my calculations went wrong?