The idea behind the trigonometric substitution is quite simple: to replace expressions involving square roots with expressions that involve standard trigonometric functions, but *no square roots*. Integrals involving trigonometric functions are often easier to solve than integrals involving square roots.

Let us demonstrate this idea in practice. Consider the expression . Probably the most basic trigonometric identity is for an arbitrary angle . If we replace in this expression by , with the help of this trigonometric identity we see

Note that we could write since we replaced with .

We would like to mention that technically one should write the absolute value of , in other words as our final answer since for all possible . But as long as we are careful about the domain of all possible and how is used in the final computation, omitting the absolute value signs does not constitute a problem. However, we cannot directly interchange the simple expression with the complicated wherever it may appear, we must remember when integrating by substitution we need to take the derivative into account. That is we need to remember that , and to get a integral that only involves we need to also replace by something in terms of . Thus, if we see an integral of the form

we can rewrite it as

Notice in the expression on the left that the first comes from replacing the and the comes from substituting for the .

Since our original integral reduces to:

- .

These last two integrals are easily handled. For the first integral we get

For the second integral we do a substitution, namely (and ) to get:

Finally we see that:

However, this is in terms of and not in terms of , so we must substitute back in order to rewrite the answer in terms of .

That is we worked out that:

So we arrive at our final answer

As you can see, even for a fairly harmless looking integral this technique can involve quite a lot of calculation. Often it is helpful to see if a simpler method will suffice before turning to trigonometric substitution. On the other hand, frequently in the case of integrands involving square roots, this is the most tractable way to solve the problem. We begin with giving some rules of thumb to help you decide which trigonometric substitutions might be helpful.

If the integrand contains a single factor of one of the forms we can try a trigonometric substitution.

- If the integrand contains let and use the identity
- If the integrand contains let and use the identity
- If the integrand contains let and use the identity

### Sine substitutionEdit

If the integrand contains a piece of the form we use the substitution

This will transform the integrand to a trigonometric function. If the new integrand can't be integrated on sight then the tan-half-angle substitution described below will generally transform it into a more tractable algebraic integrand.

E.g., if the integrand is √(1-*x*^{2}),

If the integrand is √(1+x)/√(1-x), we can rewrite it as

Then we can make the substitution

### Tangent substitutionEdit

When the integrand contains a piece of the form we use the substitution

E.g., if the integrand is (*x*^{2}+*a*^{2})^{-3/2} then on making this substitution we find

If the integral is

then on making this substitution we find

After integrating by parts, and using trigonometric identities, we've ended up with an expression involving the original integral. In cases like this we must now rearrange the equation so that the original integral is on one side only

As we would expect from the integrand, this is approximately *z*^{2}/2 for large *z*.

In some cases it is possible to do trigonometric substitution in cases when there is no appearing in the integral.

**Example**

The denominator of this function is equal to . This suggests that we try to substitute and use the identity . With this substitution, we obtain that and thus

Using the initial substitution gives

### Secant substitutionEdit

If the integrand contains a factor of the form we use the substitution

#### Example 1Edit

Find

#### Example 2Edit

Find

We can now integrate by parts

## ExerciseEdit

Evaluate the following using an appropriate trigonometric substitution.