Trigonometric substitution transforms integrals containing square roots of quadratic expressions into trigonometric integrals that are easier to evaluate. It works by exploiting the Pythagorean identities to eliminate square roots entirely.
Trigonometric Substitution
Trigonometric substitution for square roots
This technique applies to integrals containing expressions of the form . The core idea: if you can match the expression under the square root to one of three standard forms, you can substitute a trig function for that causes the square root to collapse via a Pythagorean identity.
The three standard forms are:
- (difference form)
- (sum form)
- (reverse difference form)
If your integrand doesn't immediately match one of these, you may need to complete the square first to get it into the right shape.

Choosing appropriate substitutions
Each form has a specific substitution paired with the Pythagorean identity that eliminates the square root.
When you see , substitute :
- Then
- The square root simplifies:
- Restrict so that
- Example: For , identify and set
When you see , substitute :
- Then
- The square root simplifies:
- Restrict so that
- Example: For , identify and set
When you see , substitute :
- Then
- The square root simplifies:
- Restrict for or for , so that has the correct sign
- Example: For , identify and set
Quick reference: The substitution always matches the variable to the trig function whose Pythagorean identity produces the form under the radical. Think: , , .

Converting solutions back to
After integrating in , you need to rewrite everything in terms of . Here's a reliable process:
-
Solve for using the inverse of your substitution:
-
Draw a reference right triangle labeled with the substitution. For instance, if , the triangle has opposite side , adjacent side , and hypotenuse . This lets you read off any trig function of directly in terms of .
-
Replace all trig functions of in your answer using the triangle, and simplify.
Example: Suppose after substituting you get . From the triangle: and . So the final answer is:
The reference triangle step is the most reliable way to handle the back-substitution. Trying to convert without it often leads to sign errors or missed simplifications.
Related techniques and applications
- Completing the square is often a necessary first step. An expression like doesn't match any standard form until you rewrite it as , then substitute .
- Integration by parts sometimes appears after the trig substitution, particularly with the substitution (e.g., requires integration by parts).
- Hyperbolic substitutions (e.g., ) can replace trig substitutions in some cases and avoid dealing with secant integrals, though they're less commonly tested.
- Partial fractions may be needed if, after substitution, the integrand becomes a rational function of trig functions.