I haven't solved any problems with integrals for ages so I don't remember some basic things. Here's my problem (it's part of solving a differential equation):
$\int \frac{1}{y} \operatorname{dy} =\int \frac{(1-x)}{x}\operatorname{dx}$
My solution is this:
$\ln y=\int\frac{1}{x}-1 \operatorname{dx}$
$\ln y = \int\frac{1}{x}\operatorname{dx}-\int1 \operatorname{dx}$
$\ln y= \ln x-x+c$
But according to my book the solution is $\ln x-x+\ln c$
What I am missing?
set $$C'=\ln(c)$$ and that is your result