Find
Choose which factor to differentiate. Both and have simple derivatives but awkward antiderivatives. Taking (so ) and works better, because the resulting will cancel against the inside — the choice that makes the leftover integral simpler rather than worse.
Find by a preliminary integration by parts. With and :
The last integral is a -substitution with , giving the .
Apply the main integration by parts. With and :
Dividing through by inside the integral gives
This is exactly the cancellation predicted in step 1: collapses to , an integral already computed.
Recognise the remaining integral as a dilogarithm. The piece has no elementary antiderivative. Substituting and comparing with the definition gives
A numeric check: differentiating at gives , and ✓.
Assemble the closed form. Substituting from step 2 and the dilogarithm from step 4:
So the answer exists in closed form, but only once the dilogarithm is admitted — no combination of elementary functions will do.
Verify by differentiating numerically. Evaluating the derivative of the right-hand side with a central difference: at it gives against ✓; at , against ✓. Agreement to eight digits at two independent points confirms every coefficient.
Need to solve a different problem like this? Open the solver →