∫dx/(x² + a²) — Standard Integral Form

medium CBSE JEE-MAIN JEE-ADVANCED JEE Main 2023 3 min read

Question

Evaluate:

dxx2+a2\int \frac{dx}{x^2 + a^2}

State the result and derive it from first principles using a trigonometric substitution.


Solution — Step by Step

The denominator is a sum of squares — no factoring will help here. The trick is to see that x2+a2x^2 + a^2 can be rewritten as a2(x2a2+1)a^2\left(\frac{x^2}{a^2} + 1\right), which hints at a substitution involving tanθ\tan\theta.

Let x=atanθx = a\tan\theta. Then:

dx=asec2θdθdx = a\sec^2\theta \, d\theta

Substitute into the denominator:

x2+a2=a2tan2θ+a2=a2(tan2θ+1)=a2sec2θx^2 + a^2 = a^2\tan^2\theta + a^2 = a^2(\tan^2\theta + 1) = a^2\sec^2\theta

The integral becomes:

asec2θdθa2sec2θ=1adθ=θa+C\int \frac{a\sec^2\theta \, d\theta}{a^2\sec^2\theta} = \int \frac{1}{a} \, d\theta = \frac{\theta}{a} + C

The sec2θ\sec^2\theta terms cancel cleanly — that’s exactly why we chose x=atanθx = a\tan\theta.

Since x=atanθx = a\tan\theta, we have tanθ=xa\tan\theta = \frac{x}{a}, so θ=tan1 ⁣(xa)\theta = \tan^{-1}\!\left(\frac{x}{a}\right).

dxx2+a2=1atan1 ⁣(xa)+C\int \frac{dx}{x^2 + a^2} = \frac{1}{a}\tan^{-1}\!\left(\frac{x}{a}\right) + C

Final Answer:

dxx2+a2=1atan1 ⁣(xa)+C\boxed{\int \frac{dx}{x^2 + a^2} = \frac{1}{a}\tan^{-1}\!\left(\frac{x}{a}\right) + C}

Why This Works

The substitution x=atanθx = a\tan\theta is not magic — it’s the natural choice because tan2θ+1=sec2θ\tan^2\theta + 1 = \sec^2\theta is the only Pythagorean identity that converts a sum of squares into a perfect square in the denominator. If we’d tried x=asinθx = a\sin\theta, we’d get a2(1sin2θ)=a2cos2θa^2(1 - \sin^2\theta) = a^2\cos^2\theta, which handles a2x2a^2 - x^2, not x2+a2x^2 + a^2.

The 1a\frac{1}{a} factor in the answer comes from factoring a2a^2 out of the denominator. Students who forget this factor lose a mark every single time — more on that below.

This result is a standard formula listed in NCERT Part 2, and in JEE Main it appears in two forms: the pure integral and as a step inside a larger problem (partial fractions, completing the square). Memorise the formula, but derive it once so you understand where it comes from.


Alternative Method

We can also verify this by differentiating the result directly — a useful check in exams.

Let F(x)=1atan1 ⁣(xa)F(x) = \frac{1}{a}\tan^{-1}\!\left(\frac{x}{a}\right). Differentiate using the chain rule:

F(x)=1a11+(xa)21a=1a2a2a2+x2=1x2+a2F'(x) = \frac{1}{a} \cdot \frac{1}{1 + \left(\frac{x}{a}\right)^2} \cdot \frac{1}{a} = \frac{1}{a^2} \cdot \frac{a^2}{a^2 + x^2} = \frac{1}{x^2 + a^2}

This confirms the formula without going through the substitution — and it’s how you can verify any standard integral in 30 seconds.

In JEE Main 2023, this integral appeared inside a partial fractions problem where students had to decompose 1(x+1)(x2+4)\frac{1}{(x+1)(x^2+4)}. After splitting, one piece was 1x2+4\frac{1}{x^2+4}, directly matching this formula with a=2a=2. Recognising standard forms under pressure is what separates 160+ scorers.


Common Mistake

The most common error: writing the answer as tan1 ⁣(xa)+C\tan^{-1}\!\left(\frac{x}{a}\right) + C, forgetting the 1a\frac{1}{a} coefficient entirely.

This happens because students memorise dx1+x2=tan1x+C\int \frac{dx}{1+x^2} = \tan^{-1}x + C (where a=1a=1), and then apply it without adjusting for general aa. If the denominator is x2+9x^2 + 9, the answer is 13tan1 ⁣(x3)+C\frac{1}{3}\tan^{-1}\!\left(\frac{x}{3}\right) + C, not tan1 ⁣(x3)+C\tan^{-1}\!\left(\frac{x}{3}\right) + C.

Quick check: differentiate your answer. If you get back 1x2+a2\frac{1}{x^2+a^2}, you’re right.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next