You are about to erase your work on this activity. Are you sure you want to do this?
Updated Version Available
There is an updated version of this activity. If you update to the most recent version of this activity, then your current progress on this activity will be erased. Regardless, your record of completion will remain. How would you like to proceed?
Mathematical Expression Editor
We integrate by substitution with the appropriate trigonometric function.
We have seen that the definite integral can be interpreted as giving us the signed area
under the curve. Consider the integral
\[ \int _{-1}^1 \sqrt {1-x^2} \d x \]
This integral can be interpreted as area of the following region:
Using the graph above and basic facts from geometry, compute:
We now know a number of integration techniques, yet we are still unable to evaluate
the above integral without resorting to a geometric interpretation! This
section introduces trigonometric substitution, a method of integration that
will give us a new tool in our quest to compute more antiderivatives. This
technique works on the same principle as substitution. Recall the substitution
formula.
Integral Substitution Formula If \(g\) is differentiable on the interval \([a,b]\) and \(f\) is continuous
on the interval \([g(a),g(b)]\), then
\[ \int _a^b f(g(x)) g'(x) \d x =\int _{g(a)}^{g(b)} f(u) \d u. \]
The idea behind substitution is that by changing the variable of integration from \(x\) to \(u\),
then in many cases we can simplify the integrand to a form that we can
integrate directly. In previous sections, we used this result to go from the
left integral to the right integral. But what if we tried going from right to
left?
Let’s rewrite the substitution formula in a more suggestive manner for our
purposes:
This is just the substitution formula again but now we are thinking of transforming
from left-to-right. Initially this may seem to complicate matters. We go from
a simple integral to one that looks more complicated. However in certain
cases we may not know how to integrate \(f(x)\), but we may be able to integrate
\(f(x(\theta )) x'(\theta )\).
We start by applying this technique to compute the area that we previously used
geometry to compute.
Compute:
\[ \int _{-1}^1 \sqrt {1-x^2} \d x \]
The difficulty with this integral is that we have a square root of a difference of two
terms. We can’t directly simplify such an expression. (Recall: \(\sqrt {a^2-b^2} \neq \sqrt {a^2} - \sqrt {b^2}\).) However, consider
the Pythagorean identity:
\[ \cos ^2(\theta ) + \sin ^2(\theta ) = 1 \]
From this we see that \(\cos ^2(\theta )= \answer [given]{1-\sin ^2(\theta )}\).
If our expression was \(\sqrt {1-\sin ^{2}(\theta )}\) then we could simplify. We could write
This suggests that it would be useful to use a substitution \(x=\sin (\theta )\).
To be more precise, we want to introduce a new variable \(\theta =\arcsin (x)\). Note that since \(\theta \) is the
output of the \(\arcsin \) function, we must have \(\frac {-\pi }{2} \leq \theta \leq \frac {\pi }{2} \), but we will work with the \(x=\sin (\theta )\) form during our
substitution.
Just as in the case of substitutions that we have worked with previously, we must
convert the entire integral to be in terms of the new variable \(\theta \). We must also convert \(\d x\)
as well as the bounds on the integral.
\begin{align*} x &=\sin (\theta ),\\ \d x &= \cos (\theta ) \d \theta , \end{align*}
Now we must do something about the absolute value. Remember that since we
introduced \(\theta =\arcsin (\theta )\), this means \(\theta \) lies in \([- \pi /2, \pi /2 ]\). Since on \([-\pi /2,\pi /2]\), the function \(\cos (\theta )\) is always positivenegativezero, we can drop the absolute value, and then employ a power-reduction
formula
This matches the answer that we obtained previously using geometry.
As you may recall, there are two ways to use substitution. Above we transformed the
limits of integration, and worked with the variable \(\theta \). However, we could have solved
the problem by finishing with an antiderivative in \(x\) and then evaluating from the
original \(x\)-bounds \(-1\) to \(1\). We should familiarize ourselves with this method as well since
it will be our only option if we need to do an indefinite integral using trig
substitution.
However, now we must express our answer in terms of \(x\). Now since \(x=\sin (\theta )\), we know that
\(\theta =\arcsin (x)\). However what about the \(\sin (2\theta )\) term? You may be tempted to just stick \(\theta =\arcsin (x)\) in
this term but we can do better and express the antiderivative in a simpler
form.
To convert our answer to a function in \(x\), we construct a right triangle.
Since our substitution was \(\sin (\theta )=\frac {x}{1}\), we can think of \(x\) as the length of the side opposite the
angle \(\theta \) and we can think of \(1\) as the length of the hypotenuse of the right
triangle.
We can then use the Pythagorean Theorem to find the adjacent leg of the triangle.
Using \(?^{2}+x^{2}=1^{2}\) and solving for \(?\) we obtain that the length of the adjacent side is
\(\sqrt {1-x^{2}}\).
Now we still need to express \(\sin (2\theta )\) in terms of \(x\) using this triangle. However the angle in
our right triangle is \(\theta \), not \(2\theta \). Recall the trig identity
The key idea with this example was that the expression \(\sqrt {1-x^{2}}\) was difficult to work with
directly and using the substitution \(x=\sin (\theta )\) allowed us to simplify the expression and turn
the integral into a trig integral that was easier to calculate.
There are other situations where this kind of strategy is useful. Let’s look at a few
more examples.
Compute \(\int \frac {x^3}{x^2+9} \d x\) by using an appropriate trigonometric substitution.
Here we don’t have a square root to contend with but we do have a sum of two terms
in the denominator. (Recall: It is never ok to split a fraction over a sum or difference
in the denominator!) It would be nice if there was some way to simplify the
denominator into just one term.
Recall one of the alternate forms of the Pythagorean identity
This suggests that if we made the substitution \(x=3\tan (\theta )\) then we could use this trig identity to
simplify the denominator of our integrand.
Hence we’ll make the substitution
\begin{align*} x &= 3\tan (\theta ),\\ \d x &= \answer [given]{3\sec ^2(\theta )} \d \theta , \end{align*}
More precisely, this means that we are introducting a new variable \(\theta =\arctan \left (\frac {x}{3}\right )\) and then
rewriting it as \(x=3\arctan (\theta )\) since that is a more useful form for our given problem. Since \(\theta \) is the
output of the \(\arctan \) function, we must have \(-\pi /2 < \theta < \pi /2\).
Now we convert our integral to be in terms of the new variable \(\theta \):
Now that we have an answer in terms of \(\theta \), we must convert it back to being a
function in \(x\). To convert our answer to a function in \(x\), use a reference right
triangle, noting that \(3\tan (\theta ) = x\), and so \(\tan (\theta ) = x/3\). Since
\[ \tan (\theta )=\frac {Opposite}{Adjacent} \]
we can label the triangle with \(x\) as the
length of the opposite side and \(3\) as the length of the adjacent side. Note
we have already used the Pythagorean Theorem to find the length of the
hypotenuse.
\[ \int _{4\sqrt {2}}^{8} \frac {1}{ x^{2}\sqrt {x^{2}-16}} \d x \text { where } x > 4 \]
Again we have a square root of a difference of two terms. However unlike the \(\sqrt {1-x^{2}}\) we
encountered in the first example of this section, a substitution involving \(\sin (\theta )\) will not
allow us to simplify the square root. Instead we rewrite the form of the Pythagorean
identity used in the previous example to get
\[ \sec ^{2}(\theta )-1=\tan ^{2}(\theta ) \]
This suggests that we should use
\begin{align*} x &= 4\sec (\theta ),\\ \d x &= \answer [given]{4\sec (\theta )\tan (\theta )} \d \theta , \end{align*}
This means we are introducting a new variable \(\theta =\arcsec \left (\frac {x}{4}\right )\). In this problem, since \(x > 4\), we must
have \(0 \leq \theta < \pi /2 \). In general, one must be careful about which branch of \(\arcsec \) needs to be used.
Let’s
also go ahead and change our limits of integration:
So far we have seen that we can use trig substitutions to simplify expressions like \(x^{2}-a^{2}\), \(a^{2}-x^{2}\),
and \(x^{2}+a^{2}\). However, sometimes the integral may not be in a form where it is clear that a
trig substitution will help. One very useful tool is to complete the square, and
then choose a trigonometric function which allows the use of a Pythagorean identity
to simplify the expression.
Let’s recall how to complete the square for a general quadratic \(ax^2+bx+c\). First we divide
through by \(a\).
Thus using the technique of completing the square, we can always rewrite any
quadratic in a form where a trig substitution can be used to simplify the
expression.
1 Summary
In general, when doing a trig substitution:
If the quadratic has the form \(a^2 + x^2\) after completing the square, make the
substitution \(u = a\tan (\theta )\).
If the quadratic has the form \(a^2 - x^2\) after completing the square, make the
substitution \(u = a\sin (\theta )\)
If the quadratic has the form \(x^2 - a^2\) after completing the square, make the
substitution \(u = a\sec (\theta )\)
You should always remember the other integration techniques you have learned
previously; they may allow you to compute the integral more easily than trig
substitutions in some cases. In particular, go back and look at example 2 in
this section and see if you can compute this integral using a more efficient
integration technique! In some cases, though, trig substitution will be your only
option.