AP Calculus AB and BC
Integral of 1/(1+x^2): Answer, Proof, and Mistakes
The integral of 1/(1+x^2) with respect to x is arctan(x) + C. It is the reverse of the derivative rule d/dx[arctan x] = 1/(1+x^2), so it is a memorized antiderivative, not a substitution problem. The general form is the integral of 1/(a^2+x^2), which equals (1/a)arctan(x/a) + C for a > 0.
Why the antiderivative is arctan x
This integral is not solved, it is recognized. Every basic antiderivative is a derivative rule read backwards, and is exactly what you get when you differentiate the inverse tangent.
Reversing that statement gives the indefinite integral, with the constant of integration attached because any two antiderivatives of the same function differ by a constant.
You can confirm the derivative rule itself with implicit differentiation. Write , which is the same as for , then differentiate both sides with respect to .
The Pythagorean identity turns the answer back into a function of , since .
The domain is every real number
The denominator is at least 1, so it never vanishes. Both and are defined for all real , which means this integrand has no vertical asymptotes and no improper behavior on any finite interval. That is unusual for a rational function and it is part of why the arctangent shows up so cleanly.
The general a^2 + x^2 form
Most exam versions of this integral do not arrive with a bare 1 in the denominator. The pattern to learn is the one with a constant, where the answer picks up a factor of in front and divides the argument by .
Example 1. Integrate . Here , so .
Example 2. Integrate . Rewrite as and substitute , so and .
Example 3. Integrate . The numerator is the derivative of , so collapses this to the base case.
Example 4. A definite integral. Because and , the Fundamental Theorem of Calculus gives a clean exact value.
Where this integral shows up on the AP exam
Two CED topics own this result. Topic 3.4, Differentiating Inverse Trigonometric Functions, supplies the derivative , and Topic 6.8, Finding Antiderivatives and Indefinite Integrals: Basic Rules and Notation, is where you are expected to read it backwards. Unit 3 carries a weighting of 5 to 10 percent on both AB and BC; Unit 6 carries 15 to 20 percent on both.
When the integrand has a constant inside, or a chain of the form , the work belongs to Topic 6.9, Integrating Using Substitution. On BC, the same antiderivative reappears in improper integrals, where the exact value of the whole real line is finite.
Recognition beats technique here
On a no-calculator free-response part, the fastest correct path is to name the form. If the denominator is a constant plus a square and the numerator is a constant, reach for the arctangent before you try anything else. Scanning for a technique you do not need is where the clock goes.
Common mistakes with this integral
- Reaching for partial fractions. Topic 6.12 covers linear partial fractions, and does not factor over the real numbers, so there is nothing to decompose. The arctangent is the answer precisely because the quadratic is irreducible.
- Confusing it with . That numerator makes work and the answer is a logarithm: . One stray factor of changes the whole family of functions.
- Confusing it with . The square root and the minus sign give arcsine instead: . Check whether the quadratic is under a radical and whether the sign is plus or minus before you commit.
- Dropping the in the general form. is , not . Differentiate your answer to catch this in one line.
- Writing because the integrand is one over something. The logarithm rule needs the derivative of the denominator on top, and the derivative of is , not 1.
- Leaving off on the indefinite integral. On a differential-equation problem the missing constant is the difference between a general solution and no solution at all.
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 1/(1+x^2)?
It is . The result follows from reversing the derivative rule , so it is a basic antiderivative you recall rather than derive during the exam.
Why is the answer arctan and not a logarithm?
A logarithm appears when the numerator is the derivative of the denominator. Here the denominator has derivative , and the numerator is 1, so -substitution fails. Since never factors over the reals, the antiderivative is the inverse tangent instead.
What is the integral of 1/(a^2+x^2)?
for . For example, . The out front is the part students most often lose.
Is this integral on the AP Calculus AB exam or only BC?
Both. The derivative of is Topic 3.4 and the matching antiderivative is Topic 6.8, and neither is marked BC only. BC adds the improper version, where .
How do I check an antiderivative like this one?
Differentiate your answer and compare it to the original integrand. If then , which matches, so is correct. This one-line check catches a missing or a bad chain-rule factor immediately.