AP Calculus AB and BC
Integral of x/(x^2+4): Log, Not Arctan
The integral of x over x squared plus 4 is one half times the natural log of x squared plus 4, plus C. The x in the numerator makes this a substitution giving a logarithm. Without it the answer would be an arctangent instead.
The numerator decides the answer
No absolute value is needed, since is always positive.
The pair to keep straight
With an x on top you get a logarithm; with a constant on top you get an arctangent. Checking the numerator before the denominator picks the right technique first time.
The arctangent partner
Same denominator, different numerator, and a completely different family of answer. Both appear on the same exam question often enough that the contrast is worth learning as a pair.
Common mistakes
- Answering an arctangent by pattern-matching the denominator alone.
- Forgetting the from .
- Adding absolute value bars. Harmless but unnecessary here.
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/(x^2+4)?
It is .
When is the answer an arctangent instead?
When the numerator is a constant. .