Trigonometric substitution is a technique for integrating expressions involving square roots of quadratic forms: $\sqrt{a^2 - x^2}$, $\sqrt{a^2 + x^2}$, and $\sqrt{x^2 - a^2}$. By substituting $x$ with a trigonometric function, the square root simplifies nicely using Pythagorean identities.

🎯 In this section you will learn

📌 The Three Cases

ExpressionSubstitutionIdentity$dx$
$\sqrt{a^2 - x^2}$$x = a\sin\theta$, $-\frac{\pi}{2} \le \theta \le \frac{\pi}{2}$$1 - \sin^2\theta = \cos^2\theta$$dx = a\cos\theta\, d\theta$
$\sqrt{a^2 + x^2}$$x = a\tan\theta$, $-\frac{\pi}{2} < \theta < \frac{\pi}{2}$$1 + \tan^2\theta = \sec^2\theta$$dx = a\sec^2\theta\, d\theta$
$\sqrt{x^2 - a^2}$$x = a\sec\theta$, $0 \le \theta < \frac{\pi}{2}$ or $\pi \le \theta < \frac{3\pi}{2}$$\sec^2\theta - 1 = \tan^2\theta$$dx = a\sec\theta\tan\theta\, d\theta$
💡 Key Identity

The substitution is chosen so that the square root becomes a perfect square:

Example 1Case 1: $\sqrt{a^2 - x^2}$ — $x = a\sin\theta$

Find $\displaystyle \int \frac{1}{\sqrt{4 - x^2}} dx$.

Identify $a$ and substitution
$a = 2$, $x = 2\sin\theta$, $dx = 2\cos\theta\, d\theta$
Simplify $\sqrt{4 - x^2}$
$\sqrt{4 - 4\sin^2\theta} = \sqrt{4(1-\sin^2\theta)} = 2\cos\theta$ (for $\theta$ where $\cos\theta \ge 0$)
Rewrite the integral
$\int \frac{1}{2\cos\theta} \cdot 2\cos\theta\, d\theta = \int 1\, d\theta = \theta + C$
Convert back to $x$
From $x = 2\sin\theta$, $\theta = \arcsin\left(\frac{x}{2}\right)$
$\int \frac{1}{\sqrt{4-x^2}} dx = \arcsin\left(\frac{x}{2}\right) + C$
Example 2Case 2: $\sqrt{a^2 + x^2}$ — $x = a\tan\theta$

Find $\displaystyle \int \frac{1}{x^2\sqrt{x^2 + 4}} dx$.

Identify $a$ and substitution
$a = 2$, $x = 2\tan\theta$, $dx = 2\sec^2\theta\, d\theta$
Simplify $\sqrt{x^2 + 4}$
$\sqrt{4\tan^2\theta + 4} = \sqrt{4(\tan^2\theta+1)} = 2\sec\theta$
Rewrite the integral
$\int \frac{1}{4\tan^2\theta \cdot 2\sec\theta} \cdot 2\sec^2\theta\, d\theta = \int \frac{\sec\theta}{4\tan^2\theta} d\theta = \frac{1}{4} \int \frac{\cos\theta}{\sin^2\theta} d\theta$
Integrate (let $u = \sin\theta$)
$\frac{1}{4} \int u^{-2} du = -\frac{1}{4} u^{-1} + C = -\frac{1}{4\sin\theta} + C$
Convert back to $x$
$\tan\theta = \frac{x}{2}$, so $\sin\theta = \frac{x}{\sqrt{x^2+4}}$
$\int \frac{1}{x^2\sqrt{x^2+4}} dx = -\frac{\sqrt{x^2+4}}{4x} + C$
Example 3Case 3: $\sqrt{x^2 - a^2}$ — $x = a\sec\theta$

Find $\displaystyle \int \frac{1}{\sqrt{x^2 - 9}} dx$ for $x > 3$.

Identify $a$ and substitution
$a = 3$, $x = 3\sec\theta$, $dx = 3\sec\theta\tan\theta\, d\theta$
Simplify $\sqrt{x^2 - 9}$
$\sqrt{9\sec^2\theta - 9} = \sqrt{9(\sec^2\theta-1)} = 3\tan\theta$ (for $\theta$ where $\tan\theta \ge 0$)
Rewrite the integral
$\int \frac{1}{3\tan\theta} \cdot 3\sec\theta\tan\theta\, d\theta = \int \sec\theta\, d\theta = \ln|\sec\theta + \tan\theta| + C$
Convert back to $x$
$\sec\theta = \frac{x}{3}$, $\tan\theta = \frac{\sqrt{x^2-9}}{3}$
$\int \frac{1}{\sqrt{x^2-9}} dx = \ln\left|\frac{x}{3} + \frac{\sqrt{x^2-9}}{3}\right| + C = \ln\left|x + \sqrt{x^2-9}\right| + C'$
⚠️ Common Mistakes
🔍 Key Takeaways
← Back to Module Page