I have a question about dropping the absolute value sign when solving a linear differential equation.
If $y'-y/x=1$
Integrating Factor $=e^{\int{-1/xdx}}=e^{-lnx}=1/x$
$y/x-y/x^2=1/x$
$[y/x]'=1/x$
$y/x=\int{1/x dx}+C$
$y=xln\lvert{x}\rvert+Cx$
However textbook solutions and Mathematica show:
$y=xlnx+Cx$
I read somewhere that because you multiple both sides by the integrating factor you can drop the absolute value. My question is when you perform the final integration, how is it that you are able to drop the absolute value again? In general, what are the guidelines for dropping the absolute value sign?
Thanks in advance