How to choose a trigonometric substitution
A square root with a sum or difference of squares often gets easier when we use a trig identity. Which substitution we choose depends on the expression inside the radical. We’ll look at the three patterns and use one after completing the square.
Match the radical to a trig identity
| Radical | Substitution |
|---|---|
Here . Choose an angle range that keeps the radical nonnegative and makes the substitution reversible on the interval you are using.
Complete the square to find a secant pattern
The expression under the root is . Use , and on the right-hand interval use with . This gives .
After canceling the tangent factor, the integral becomes
Return to the original variable
Write . Then on this branch. Using the two antiderivatives gives
The factor of inside the logarithm can be absorbed into . Differentiation confirms this expression on either interval where . Each interval can have its own constant.