Trigonometric Substitutions
The expression $\sqrt{a^2 - x^2}$ cannot be handled by a plain $u$-substitution — but if you substitute $x = a\sin\theta$, the radical vanishes via the Pythagorean identity $1 - \sin^2\theta = \cos^2\theta$. This lesson teaches you the two key trig substitutions and exactly when to deploy each one.
Consider $\displaystyle\int \sqrt{4 - x^2}\,dx$. Without calculating — why won't a standard $u = 4 - x^2$ substitution complete this integral cleanly? Write your reasoning.
Two Pythagorean identities drive the substitutions. Match the radical form to the substitution:
Form 1: $\sqrt{a^2 - x^2}$ → set $x = a\sin\theta$
$a^2 - x^2 = a^2 - a^2\sin^2\theta = a^2\cos^2\theta$
Form 2: $\sqrt{a^2 + x^2}$ → set $x = a\tan\theta$
$a^2 + x^2 = a^2 + a^2\tan^2\theta = a^2\sec^2\theta$
Key facts
- $\sqrt{a^2-x^2}$ requires $x = a\sin\theta$; $\sqrt{a^2+x^2}$ requires $x = a\tan\theta$
- $dx = a\cos\theta\,d\theta$ (sine sub) and $dx = a\sec^2\theta\,d\theta$ (tangent sub)
- The Pythagorean identities $\sin^2\theta + \cos^2\theta = 1$ and $1 + \tan^2\theta = \sec^2\theta$ underpin both substitutions
Concepts
- Why a trig substitution eliminates the radical — the identity does the work
- How a right triangle connects $\theta$ back to $x$ for back-substitution
- When each form applies, keyed to the $\pm$ sign under the radical
Skills
- Apply $x = a\sin\theta$ or $x = a\tan\theta$ to eliminate a radical
- Complete the integral in $\theta$ and back-substitute using a triangle
- Convert limits for definite integrals using the inverse trig function
When the integrand contains $\sqrt{a^2 - x^2}$, set $x = a\sin\theta$ (with $\theta \in [-\tfrac{\pi}{2}, \tfrac{\pi}{2}]$). Then:
So $\sqrt{a^2 - x^2} = a\cos\theta$ (positive since $\theta \in [-\tfrac{\pi}{2}, \tfrac{\pi}{2}]$), and $dx = a\cos\theta\,d\theta$.
Worked application: $\displaystyle\int \sqrt{4 - x^2}\,dx$ — this answers your hook!
Set $x = 2\sin\theta$, $dx = 2\cos\theta\,d\theta$. Then $\sqrt{4-x^2} = 2\cos\theta$:
Back-substitute: $\theta = \sin^{-1}\!\left(\tfrac{x}{2}\right)$ and $\sin 2\theta = 2\sin\theta\cos\theta = 2 \cdot \tfrac{x}{2} \cdot \tfrac{\sqrt{4-x^2}}{2} = \tfrac{x\sqrt{4-x^2}}{2}$.
Final answer: $\displaystyle 2\sin^{-1}\!\left(\frac{x}{2}\right) + \frac{x\sqrt{4-x^2}}{2} + C$
When the integrand contains $\sqrt{a^2 - x^2}$, set $x = a\sin\theta$ (with $\theta \in [-\tfrac{\pi}{2}, \tfrac{\pi}{2}]$). Then:
Pause — copy the sine substitution: $x=a\sin\theta$, $dx=a\cos\theta\,d\theta$, $\sqrt{a^2-x^2}=a\cos\theta$, with a worked integral into your book.
Quick check: For $\displaystyle\int \frac{1}{\sqrt{9 - x^2}}\,dx$, the correct substitution is:
We just saw the sine substitution: set $x=a\sin\theta$, so $dx=a\cos\theta\,d\theta$ and $\sqrt{a^2-x^2}=a\cos\theta$, converting the radical to a trig expression. That raises a question: for $\sqrt{a^2+x^2}$, the sine substitution fails — which identity removes this radical, and what substitution gives $dx$ and $\sqrt{a^2+x^2}$ in terms of $\theta$? This card answers it → set $x=a\tan\theta$; then $\sqrt{a^2+x^2}=a\sec\theta$ and $dx=a\sec^2\theta\,d\theta$.
When the integrand contains $\sqrt{a^2 + x^2}$ (or just $a^2 + x^2$ with no radical), set $x = a\tan\theta$ (with $\theta \in (-\tfrac{\pi}{2}, \tfrac{\pi}{2})$). Then:
So $\sqrt{a^2+x^2} = a\sec\theta$ (positive since $\theta \in (-\tfrac{\pi}{2}, \tfrac{\pi}{2})$), and $dx = a\sec^2\theta\,d\theta$.
Example: $\displaystyle\int \frac{1}{a^2 + x^2}\,dx$
Set $x = a\tan\theta$, $dx = a\sec^2\theta\,d\theta$:
This is a standard result you will use repeatedly in later lessons.
When the integrand contains $\sqrt{a^2 + x^2}$ (or just $a^2 + x^2$ with no radical), set $x = a\tan\theta$ (with $\theta \in (-\tfrac{\pi}{2}, \tfrac{\pi}{2})$). Then:
Pause — copy the tangent substitution: $x=a\tan\theta$, $dx=a\sec^2\theta\,d\theta$, $\sqrt{a^2+x^2}=a\sec\theta$, with a worked integral into your book.
Did you get this? True or false: after substituting $x = a\tan\theta$, the expression $a^2 + x^2$ simplifies to $a^2\sec^2\theta$.
Worked examples · 3 in a row, reveal as you go
Find $\displaystyle\int \frac{1}{\sqrt{9 - x^2}}\,dx$.
Find $\displaystyle\int \frac{1}{\sqrt{x^2+16}}\,dx$.
Evaluate $\displaystyle\int_0^{2} \frac{x^2}{\sqrt{4-x^2}}\,dx$.
Fill the gap: After substituting $x = 5\sin\theta$ into $\sqrt{25 - x^2}$, the radical simplifies to $5\cos\theta$ using the identity $1 - \sin^2\theta = $ .
Misconceptions to fix · the 3 traps that cost marks
Did you get this? True or false: the substitution $x = 2\tan\theta$ is appropriate for $\displaystyle\int \frac{1}{\sqrt{4 + x^2}}\,dx$.
Activities · practice with the ideas
For each integral, state which substitution ($x = a\sin\theta$ or $x = a\tan\theta$) you would use and identify the value of $a$: (i) $\int\sqrt{25-x^2}\,dx$ (ii) $\int\frac{1}{9+x^2}\,dx$
Find $\displaystyle\int \frac{1}{\sqrt{16 - x^2}}\,dx$. State the substitution, simplify, integrate and back-substitute.
Find $\displaystyle\int \frac{1}{4 + x^2}\,dx$ using $x = 2\tan\theta$.
Evaluate $\displaystyle\int_0^{3} \frac{1}{\sqrt{9-x^2}}\,dx$. Convert the limits using $\theta = \sin^{-1}(x/3)$.
Draw a labelled reference triangle for $x = 5\sin\theta$ and write expressions for $\cos\theta$ and $\tan\theta$ in terms of $x$.
Odd one out: Three of these pairs (integral, substitution) are correctly matched. Which one is NOT?
Earlier you considered why plain $u$-substitution fails for $\displaystyle\int \sqrt{4-x^2}\,dx$.
Setting $u = 4-x^2$ gives $du = -2x\,dx$, so $dx = -du/(2x) = -du/(2\sqrt{4-u})$ — the $x$ doesn't cancel, leaving a harder integral. The trig substitution $x = 2\sin\theta$ works because $1 - \sin^2\theta = \cos^2\theta$ makes the radical vanish exactly. Did your hook answer identify this?
Pick your answer, then rate your confidence — that tells the system what to drill next. Each retry pulls a fresh mix from the bank.
Q1. State the substitution and $dx$ expression for integrating $\displaystyle\int \frac{1}{\sqrt{25-x^2}}\,dx$. (1 mark)
Q2. Find $\displaystyle\int \frac{1}{x^2+9}\,dx$ using $x = 3\tan\theta$. Show full working. (2 marks)
Q3. Evaluate $\displaystyle\int_0^{1} \frac{1}{\sqrt{1-x^2}}\,dx$. Change the limits and state the geometric meaning of your answer. (3 marks)
Comprehensive answers (click to reveal)
Activity answers:
1. (i) $x = 5\sin\theta$, $a=5$; (ii) $x = 3\tan\theta$, $a=3$. 2. $x=4\sin\theta$, $dx=4\cos\theta\,d\theta$, $\sqrt{16-x^2}=4\cos\theta$; integral $= \int 1\,d\theta = \theta + C = \sin^{-1}(x/4)+C$. 3. $x=2\tan\theta$, $dx=2\sec^2\theta\,d\theta$; $4+x^2=4\sec^2\theta$; $\frac{2\sec^2\theta\,d\theta}{4\sec^2\theta} = \frac{1}{2}\theta + C = \frac{1}{2}\tan^{-1}(x/2)+C$. 4. Limits: $\theta=0$ to $\theta=\pi/2$; $[\theta]_0^{\pi/2} = \pi/2$. 5. Adj $= \sqrt{25-x^2}$; $\cos\theta = \sqrt{25-x^2}/5$; $\tan\theta = x/\sqrt{25-x^2}$.
Q1 (1 mark): $x = 5\sin\theta$, $dx = 5\cos\theta\,d\theta$; gives $\sin^{-1}(x/5)+C$ [1].
Q2 (2 marks): $x=3\tan\theta$, $dx=3\sec^2\theta\,d\theta$, $x^2+9=9\sec^2\theta$ [1]; integral $= \frac{1}{3}\int 1\,d\theta = \frac{\theta}{3}+C = \frac{1}{3}\tan^{-1}(x/3)+C$ [1].
Q3 (3 marks): $x=\sin\theta$; limits $\theta=0$ to $\theta=\pi/2$ [1]; $\int_0^{\pi/2}1\,d\theta = \pi/2$ [1]; geometric meaning: this is the area under $y=1/\sqrt{1-x^2}$ from 0 to 1, equivalent to a quarter of the unit circle's arc — the answer $\pi/2$ equals $\sin^{-1}(1)-\sin^{-1}(0)$ [1].
Five timed questions. Beat the boss to bank a tier — gold (90% + speed), silver (75%), or bronze (50%). Replays welcome.
⚔ Enter the arenaClimb platforms by answering trig substitution questions. A lighter alternative to the boss battle.
Mark lesson as complete
Tick when you've finished the practice and review.