AP Calculus BC
Integral of arctan x: Answer, Parts Setup, Mistakes
The integral of arctan x with respect to x is x arctan x - (1/2) ln(1 + x^2) + C. Integration by parts with u = arctan x and dv = dx gives x arctan x minus the integral of x over 1 + x^2, and that leftover integral is a substitution with u = 1 + x^2. No absolute value is needed because 1 + x^2 is always positive.
How to integrate arctan x by parts
As with and , there is only one visible factor, so the becomes the second one. Write the integrand as and antidifferentiate the .
Take , whose derivative is purely algebraic, and , so .
The leftover integral is a substitution: let , so and .
Combining the pieces, the minus sign from the parts formula stays, because this substitution introduced no second negative.
Check it by differentiating
The product rule on gives , and differentiating gives . The fractions cancel, leaving .
Why there is no absolute value in the logarithm
Most antiderivatives that produce a logarithm carry bars, as in , because the argument can be negative. Here it cannot: for every real , so the argument is always positive and the bars would be decoration.
Writing is not wrong, just redundant. It is worth understanding the reason rather than memorizing which results take bars, because the rule is simply whether the argument can reach zero or below.
It is also worth keeping the two arctangent facts apart, since they point in opposite directions and are easy to swap under time pressure.
- , so
- , which needs parts
The first is a basic antiderivative on both AB and BC. The second is a BC parts problem. Confusing them is the single most common error on this topic.
Where the integral of arctan x shows up on the AP exam
Integration by parts is Topic 6.11, marked BC only in the CED, so this integral is BC material. Unit 6 carries a weighting of 15 to 20 percent on both exams. The derivative of comes earlier, in Topic 3.4 (Differentiating Inverse Trigonometric Functions), which is on both exams.
Definite versions from are the usual form, because and make the lower endpoint vanish entirely.
That is about . At the first term is and the second is ; at both terms are zero.
The related Maclaurin series is separate BC material. Term by term integration of is a standard series question, and it converges on .
Common mistakes with the integral of arctan x
- Answering . That is the derivative of , not its antiderivative, and the two are asked in nearly identical wording.
- Writing . The power rule does not apply to a function of unless its derivative is also present in the integrand.
- Losing the on the logarithm. The substitution gives , and that has to be paid for.
- Flipping the sign to . Unlike the case, no second minus appears here, so the parts minus survives to the final answer.
- Using degrees. in calculus is always in radians, so is , not .
The sign differs from the arcsin case for a reason
For the leftover substitution produced a negative, which cancelled the parts minus and gave a plus. For the substitution produces a positive, so the parts minus stays. Tracking where each sign comes from is more reliable than memorizing both results.
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 arctan x?
It is . Integration by parts with and gives , and the substitution finishes it.
Is the integral of arctan x on the AP Calculus AB exam?
No. It requires integration by parts, Topic 6.11, which the CED marks BC only. Both exams do cover , which is the opposite direction.
Why is there no absolute value around 1 + x^2?
Because is at least for every real , so it is never zero or negative. Absolute value bars exist to keep the logarithm defined, and here there is nothing to protect against.
What is the definite integral of arctan x from 0 to 1?
It equals , about . The lower endpoint contributes nothing because and .
How do I integrate arctan of a multiple, like arctan(3x)?
Substitute first, so and the integral becomes , then replace with .