AP Calculus BC
Integral of x arctan x: Parts Then Division
The integral of x arctan x is x squared plus 1 times arctan x, minus x, all over 2, plus C. Integration by parts with u equal to arctan x leaves a rational integral that needs long division before it can be finished.
Parts, with a twist on v
Take and . Choosing rather than is legal, since they differ by a constant, and it makes the leftover integral collapse.
Choosing v cleverly
With the ordinary v = x^2/2 the leftover integral is x^2 over 2(1+x^2), which needs long division. Adding the constant 1/2 to v makes the fraction cancel outright. Any antiderivative of dv is a valid v.
Where it appears
Integration by parts is Topic 6.11, BC only. This problem is a favourite because it combines parts with a rational integral and rewards recognising that is not unique.
Common mistakes
- Assuming must be . Any antiderivative of works, and the smart choice saves a division step.
- Forgetting that is improper and needs rewriting as .
- Choosing , which requires integrating arctangent and makes the problem harder.
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 x arctan x?
It is .
Why choose v = (x^2+1)/2?
Because is any antiderivative of , and that choice makes the leftover integrand cancel to instead of needing long division.