AP Calculus BC
Integral of ln x / x^2: Parts, Not Substitution
The integral of ln x over x squared is minus the quantity ln x plus one, all divided by x, plus C. Integration by parts with u equal to ln x and dv equal to x to the power minus two dx is the route. Substitution works for ln x over x but not here.
Parts, with the power as dv
The two factors point in opposite directions. Logarithms get simpler when differentiated and messier when integrated, so . The power integrates without effort, so , giving and .
Both terms carry a factor of , which is why the tidy form combines them over a single denominator. Note that the leftover integral is , so the second minus sign is earned, not a slip.
One power away from a different problem
Set this beside . There the leftover factor is exactly , so is a substitution and the answer is .
Change the denominator to and that link breaks. Now is not the differential of anything in the numerator, so substitution no longer finishes the job on its own and parts takes over. Substituting does turn the integral into , but that one still needs parts. The integrands look almost identical; the deciding step is what differs.
Read the denominator first
With ln x over x, the leftover factor is the derivative of ln x, so it is u substitution. With ln x over x squared, it is not, so it is parts. On the exam, choosing correctly between those two is worth more than executing either one cleanly.
The mistakes students make
The first of these is the one examiners see most, because the two integrands sit next to each other in every textbook.
- Reusing the answer to and writing . Its derivative is , which is missing a power of .
- Taking instead of . That returns , the exact negative of the correct antiderivative.
- Integrating numerator and denominator separately, as though were . No such rule exists.
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
How do you integrate ln x / x^2?
It is , equivalently .
Why is ln x over x^2 integration by parts but ln x over x is substitution?
Because substitution needs the derivative of , which is , present as a factor. It is present in and absent in .
What is the domain of this antiderivative?
Only , since is undefined otherwise. Any definite integral has to stay on the positive side of the origin.