Trig Substitution
Trig Substitution
A method for computing integrals often used when the integrand contains expressions of the form a2 – x2, a2 + x2, or x2 – a2.


See also
Key Formula
For a2−x2:x=asinθ,dx=acosθdθFor a2+x2:x=atanθ,dx=asec2θdθFor x2−a2:x=asecθ,dx=asecθtanθdθ
Where:
- x = The original variable of integration
- a = A positive constant appearing in the expression under the radical
- θ = The new variable introduced through the trigonometric substitution
Worked Example
Problem: Evaluate ∫ √(9 − x²) dx.
Step 1: Identify the form. The integrand contains √(a² − x²) with a = 3, so use the substitution x = 3 sin θ.
x=3sinθ,dx=3cosθdθ
Step 2: Substitute and simplify the radical using the Pythagorean identity sin²θ + cos²θ = 1.
9−x2=9−9sin2θ=3cosθ
Step 3: Rewrite the entire integral in terms of θ.
∫3cosθ⋅3cosθdθ=9∫cos2θdθ
Step 4: Apply the half-angle identity cos²θ = (1 + cos 2θ)/2 and integrate.
9∫21+cos2θdθ=29θ+49sin2θ+C
Step 5: Convert back to x. Since x = 3 sin θ, we have θ = arcsin(x/3). Also, sin 2θ = 2 sin θ cos θ = 2·(x/3)·(√(9 − x²)/3) = 2x√(9 − x²)/9.
29arcsin(3x)+2x9−x2+C
Answer: 29arcsin(3x)+2x9−x2+C
Another Example
This example uses the x = a sec θ substitution (for √(x² − a²)), whereas the first example used x = a sin θ. It also shows how trig substitution handles a rational integrand with a radical in the denominator.
Problem: Evaluate ∫ 1/(x²√(x² − 4)) dx.
Step 1: Identify the form. The integrand contains √(x² − a²) with a = 2, so use x = 2 sec θ.
x=2secθ,dx=2secθtanθdθ
Step 2: Simplify the radical using the identity sec²θ − 1 = tan²θ.
x2−4=4sec2θ−4=2tanθ
Step 3: Substitute everything into the integral and simplify.
∫(4sec2θ)(2tanθ)2secθtanθdθ=∫4secθdθ=41∫cosθdθ
Step 4: Integrate and convert back. Since x = 2 sec θ, we have cos θ = 2/x and sin θ = √(x² − 4)/x.
41sinθ+C=4xx2−4+C
Answer: 4xx2−4+C
Frequently Asked Questions
How do you know which trig substitution to use?
Match the expression under (or inside) the radical to one of three patterns: use x = a sin θ for √(a² − x²), use x = a tan θ for √(a² + x²), and use x = a sec θ for √(x² − a²). The key is recognizing which Pythagorean identity will eliminate the square root. Even if no radical is visible, completing the square may reveal one of these forms.
What is the difference between trig substitution and u-substitution?
In u-substitution, you set u equal to some function of x already present in the integrand, aiming to match du with the remaining factors. In trig substitution, you replace x itself with a trigonometric expression (like a sin θ) to exploit a Pythagorean identity. Trig substitution is specifically designed for integrands involving a² ± x² or x² − a² under a radical, whereas u-substitution is a more general technique.
Do you always need a square root to use trig substitution?
No. Trig substitution also works when the integrand contains expressions like 1/(a² + x²)² or (a² − x²)^(3/2) without an explicit square root sign. Any time you see a sum or difference of squares that resists simpler methods, trig substitution may help. Completing the square can also transform an integrand into one of the standard forms.
Trig Substitution vs. u-Substitution
| Trig Substitution | u-Substitution | |
|---|---|---|
| Core idea | Replace x with a trig function of θ to exploit a Pythagorean identity | Replace a sub-expression with u to simplify the chain rule in reverse |
| Typical trigger | Integrand contains √(a² − x²), √(a² + x²), or √(x² − a²) | Integrand contains a function and its derivative as a factor |
| Substitution direction | x is expressed in terms of the new variable θ | u is expressed in terms of the old variable x |
| Back-substitution | Use a right triangle or inverse trig to return to x | Directly replace u with its expression in x |
| Complexity | Often requires additional identities (half-angle, double-angle) | Usually a single direct substitution |
Why It Matters
Trig substitution appears frequently in Calculus II courses and is essential on AP Calculus BC exams. It is the standard method for computing arc length, surface area, and many physics integrals (such as gravitational or electric field calculations) that naturally produce expressions with a² ± x². Mastering it also deepens your understanding of how Pythagorean identities connect algebra and trigonometry.
Common Mistakes
Mistake: Forgetting to change dx when substituting.
Correction: When you replace x with a trig expression, you must also differentiate to express dx in terms of dθ. For example, if x = a sin θ, then dx = a cos θ dθ — leaving dx unchanged will produce an incorrect integral.
Mistake: Returning the answer in terms of θ instead of converting back to x.
Correction: The original integral is in terms of x, so your final answer must be too. Draw a right triangle labeled with your substitution (e.g., opposite = x, hypotenuse = a for x = a sin θ) and use it to express every trig function of θ as an algebraic expression in x.
Related Terms
- u-Substitution — Simpler substitution technique often tried first
- Integration Methods — Overview of all techniques including trig sub
- Integrand — The expression being integrated that you analyze
- Integration by Parts — Another advanced integration technique
- Partial Fractions — Technique for rational functions, sometimes combined with trig sub
- Completing the Square — Algebraic step often needed before trig substitution
- Pythagorean Identities — The trig identities that make trig sub work
- Expression — General term for the algebraic forms being simplified
