I would like to solve the differential equation $$(x+1)y'+xy^2=0$$ and initial condition $$y(0)=1.$$ My result is $$y=\frac{1}{x-\ln|x+1|+c},$$ while the result from Wolfram is $$y=\frac{1}{x-\ln(x+1)+c}.$$ For initial condition $$y=\frac{1}{x-\ln|x+1|+1}$$ I do not know which interval as a domain to choose from $(-\infty,-W(1)-1)$, $(-W(1)-1,-1)$, $(-1,\infty)$. It is my result for condition: $(x-\ln|x+1|+1\neq0) \wedge (x+1\neq0)$. I wonder where did Wolfram get that result without absolute value, is there any trick for it?
And also what solution would it be for initial condition $y(0)=0$, will it be singular solution $y=0$ for $x\in R$?