AP Calculus AB and BC
Integral of 1/(x-1): Answer and Bars
The integral of 1 over x minus 1 is the natural log of the absolute value of x minus 1, plus C. The substitution u equals x minus 1 has du equal to dx, so no compensating factor appears. The bars matter because x minus 1 is negative for x below 1.
A shift costs nothing
With the differential is exactly, so the integral is the basic logarithm form with no factor to compensate for.
Why the bars are not optional
The integrand is defined on both sides of x = 1, but ln of a negative number is not. The absolute value is what lets one formula cover both intervals.
You cannot integrate across x = 1
There is a vertical asymptote at , so a definite integral whose interval contains is improper and diverges. Mechanically substituting endpoints across it produces a finite-looking number that means nothing.
Common mistakes
- Dropping the bars and writing , which is undefined for .
- Writing . The shift is inside the logarithm.
- Integrating across the asymptote at .
Every answer on this page is machine checked
An automated test differentiates the antiderivative above and confirms it returns the integrand. A wrong sign or a missing factor fails the build, so it cannot reach you.
Frequently asked questions
What is the integral of 1/(x-1)?
It is .
Why is there no factor out front?
Because gives with no constant. A coefficient like would produce a .
Can I integrate from 0 to 2?
No. The asymptote at sits inside that interval, so the integral is improper and divergent.