# Thread: Integral of 1/(1-x)

1. ## Integral of 1/(1-x)

Yeah so basically we all know that the integral of 1/(1-x) is -ln(1-x)+c, but if I factor out -1 from the denominator before integration I seem to get -ln(x-1)+c. Can someone explain where the mistake is?

2. ## Re: Integral of 1/(1-x)

If you're integrating $\dfrac{1}{1-x}$ over its domain, then the antiderivative is $-\ln|1-x| + C = -\ln|x-1|+C$ ... point being, $|x-1| = |1-x|$

3. ## Re: Integral of 1/(1-x)

Oookay yep thanks