MethodMath
Ask
Join
HomeTopicsAskAlerts
Profile

© 2026 MethodMath. Built for mathematical knowledge sharing.

AboutContactGuidelinesPrivacyTermsCookies
Zara Patel
Apr 5, 2026

How to solve ∫ 1/x² + a² dx by trigonometric substitution?

I'm revising A-Level integration and I keep getting stuck on integrals of the form:

∫1x2+a2 dx\int \frac{1}{x^2 + a^2} \, dx∫x2+a21​dx

I know the answer involves arctan⁡\arctanarctan, but I want to understand the substitution method. My textbook says to use x=atan⁡θx = a \tan \thetax=atanθ, but I don't fully understand why this substitution works or how to derive the result.

Could someone show the complete working with the substitution and the back-substitution step?

1 answers264 views

1 Answer

4
David Kim
Apr 5, 2026
Accepted
Here is the complete derivation. **Step 1: Choose the substitution.** Let $x = a \tan \theta$, where $-\frac{\pi}{2} < \theta < \frac{\pi}{2}$. This choice is motivated by the identity $1 + \tan^2 \theta = \sec^2 \theta$. **Step 2: Compute $dx$.** $$\frac{dx}{d\theta} = a \sec^2 \theta \quad \Rightarrow \quad dx = a \sec^2 \theta \, d\theta$$ **Step 3: Rewrite the integral.** \begin{align*} \int \frac{1}{x^2 + a^2} \, dx &= \int \frac{1}{a^2 \tan^2 \theta + a^2} \cdot a \sec^2 \theta \, d\theta \\ &= \int \frac{a \sec^2 \theta}{a^2(\tan^2 \theta + 1)} \, d\theta \\ &= \int \frac{a \sec^2 \theta}{a^2 \sec^2 \theta} \, d\theta \quad \text{(using $1+\tan^2\theta = \sec^2\theta$)} \\ &= \int \frac{1}{a} \, d\theta = \frac{\theta}{a} + C \end{align*} **Step 4: Back-substitute.** Since $x = a \tan \theta$, we have $\theta = \arctan\left(\frac{x}{a}\right)$. Therefore: $$\boxed{\int \frac{1}{x^2 + a^2} \, dx = \frac{1}{a} \arctan\left(\frac{x}{a}\right) + C}$$
Still unsure? Join to comment or ask a follow-up.
Login or Register to post your answer

Suggested questions

Do I need Calculus 3 before learning Fourier series?

3502

Does 1+2+3+4+... really equal -1/12? Math explained

25.6k

I asked ChatGPT to solve this integral and it gave a wrong answer. Can you check it?

21.1k

Why does 0 factorial equal 1 instead of 0? Simple proof

31.4k

Does the Banach-Steinhaus theorem hold for non-complete normed spaces?

31.1k