Trigonometric substitution: how to choose and use it
Some integrals become easier when a square root can be rewritten using a Pythagorean trig identity. Trigonometric substitution lets us choose a new variable that makes that happen. We’ll match the expression to sine, tangent, or secant, then work through the substitution and back to x.
When is trig substitution useful?
The usual patterns are a² − x², a² + x², and x² − a², especially inside a square root, with a > 0. The goal is to turn the expression into a squared trig function so that the radical can simplify.
A simpler substitution, integration by parts, or partial fractions may be quicker for a particular integral. Trig substitution is another method to consider when those approaches do not make the integral easier.
How to choose sine, tangent, or secant
| Expression | Substitution and identity |
|---|---|
| a² − x² | x = a sin θ; |
| a² + x² | x = a tan θ; |
| x² − a² | x = a sec θ; |
Differentiate the substitution to replace dx. Use for sine, for tangent, and for secant.
Choose an angle range for the square root
For x = a sin θ, choose . Cosine is nonnegative on that range, so . For x = a tan θ, use ; secant is positive there, giving .
For the secant substitution, . On the branch x ≥ a, choose , so this becomes a tan θ. On the branch x ≤ −a, we can choose , where it becomes −a tan θ. We work on intervals where the original integrand is defined; a denominator may exclude the endpoints.
Example: Integrate
Let’s evaluate the following integral. Its radical has the form a² − x² with a = 2, so we choose a sine substitution.
On , the radical simplifies to 2 cos θ. Replacing both the radical and dx gives
Use the half-angle identity to put the integrand into a form we can integrate.
Back-substitute to write the answer in x
From x = 2 sin θ, we have and . The same identity that simplified the radical gives cos θ = .
Use sin(2θ) = 2 sin θ cos θ to replace the double-angle term:
Substituting these expressions into the antiderivative gives
This is an antiderivative on −2 < x < 2. Differentiating it gives , which checks the result.
What if the quadratic has other coefficients?
Match the entire squared term. For , the sine substitution is , so 25x² becomes 9 sin²θ. If there is a linear term, completing the square can reveal the needed form. For example, , and setting u = x + 3 produces u² − 4.
The steps for a trig-substitution integral
- Rewrite the quadratic if needed, then identify its standard form.
- Choose the trig substitution and a range that gives the appropriate signs.
- Differentiate the substitution to find dx.
- Replace every x and dx, simplify using the identity, and integrate.
- Use the substitution and identities, or a reference triangle, to return to the original variable.