AP Calculus AB and BC
Integral of (ln x)^2/x: Substitution
The integral of ln x squared over x is ln x cubed over 3, plus C. The 1 over x is exactly the derivative of ln x, so substituting u equals ln x turns the integrand into u squared and the power rule finishes it.
One substitution, then the power rule
The general version is worth carrying: for every .
The excluded case
At the integrand is and the power rule fails, exactly as it does for . That case gives instead.
Common mistakes
- Reading as , which is and a completely different integral.
- Trying integration by parts.
- Forgetting the .
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 (ln x)^2/x?
It is .
What is the general rule?
for .