∫Yoboa Math
Home / Integral of 1⁄(1 + x²)
Integral Reference

Integral of 1⁄(1 + x²)

Step-by-step derivation, definite integral examples, and common variants.

1/(1 + x²) is one of the most important integrals in Calculus II. Its antiderivative is arctangent, which appears in partial fraction decomposition and integration of rational functions.

Result

\[ \int \frac{1}{1+x^2}\,dx = \arctan(x) + C \]

Derivation

This follows directly from the derivative of arctangent:

\[ \frac{d}{dx}[\arctan(x)] = \frac{1}{1+x^2} \]

Therefore:

\[ \int \frac{1}{1+x^2}\,dx = \arctan(x) + C \]

It can also be derived by trig substitution: set \(x = \tan\theta\), so \(dx = \sec^2\theta\,d\theta\) and \(1 + x^2 = \sec^2\theta\):

\[ \int \frac{\sec^2\theta}{\sec^2\theta}\,d\theta = \int d\theta = \theta + C = \arctan(x) + C \]

Definite integral examples

\(\int_0^1 \frac{1}{1+x^2}\,dx\)

\[ \Big[\arctan(x)\Big]_0^1 = \arctan(1) - \arctan(0) = \frac{\pi}{4} - 0 = \frac{\pi}{4} \approx 0.785 \]

\(\int_0^{\sqrt{3}} \frac{1}{1+x^2}\,dx\)

\[ \Big[\arctan(x)\Big]_0^{\sqrt{3}} = \frac{\pi}{3} - 0 = \frac{\pi}{3} \approx 1.047 \]

Common variants

IntegralAntiderivativeNotes
\(\int \frac{1}{a^2+x^2}\,dx\)\(\dfrac{1}{a}\arctan\!\left(\dfrac{x}{a}\right) + C\)Replace \(x\) by \(x/a\) and divide by \(a\).
\(\int \frac{1}{x^2+2x+5}\,dx\)\(\dfrac{1}{2}\arctan\!\left(\dfrac{x+1}{2}\right) + C\)Complete the square: \(x^2+2x+5 = (x+1)^2+4\).

Try it in the calculator

Paste any variant below into the step-by-step integral calculator for a full worked solution and graph.

Open in calculator →

Related guides