3.3 Trigonometric Substitution

Learning Objectives

  • Solve integration problems involving the square root of a sum or difference of two squares.

In this section, we explore integrals containing expressions of the form \ds \sqrt{{a}^{2}-{x}^{2}}, \ds \sqrt{{a}^{2}+{x}^{2}}, and \ds \sqrt{{x}^{2}-{a}^{2}}, where the values of \ds a are positive. We have already encountered and evaluated integrals containing some expressions of this type, but many still remain inaccessible. The technique of trigonometric substitution comes in very handy when evaluating these integrals. This technique uses substitution to rewrite these integrals as trigonometric integrals.

Integrals Involving \ds \sqrt{{a}^{2}-{x}^{2}}

Before developing a general strategy for integrals containing \ds \sqrt{{a}^{2}-{x}^{2}}, consider the integral \ds \int \sqrt{9-{x}^{2}}\,dx . This integral cannot be evaluated using any of the techniques we have discussed so far. However, if we make the substitution \ds x=3\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) , where \ds-\frac{\pi}2\le\theta\le\frac{\pi}2, we have \ds \,dx =3\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta . After substituting into the integral, we get

\ds \int \sqrt{9-{x}^{2}}\phantom{\rule{0.1em}{0ex}}\,dx ={\int }^{\text{​}}\sqrt{9-{\left(3\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) \right)}^{2}}\,3\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta .

After simplifying, we have

\ds {\int }^{\text{​}}\sqrt{9-{x}^{2}}\phantom{\rule{0.1em}{0ex}}\,dx ={\int }^{\text{​}}9\sqrt{1-{\text{sin}}^{2}(\theta) }\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta .

Because \ds 1-{\text{sin}}^{2}(\theta) ={\text{cos}}^{2}(\theta) , we obtain

\ds {\int }^{\text{​}}\sqrt{9-{x}^{2}}\phantom{\rule{0.1em}{0ex}}\,dx ={\int }^{\text{​}}9\sqrt{{\text{cos}}^{2}(\theta) }\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta .

Since \ds-\frac{\pi}2\le\theta\le\frac{\pi}2, we have that \ds \text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) \ge 0, and so \ds\sqrt{\cos^2(\theta)}=|\cos(\theta)|=\cos(\theta), which implies

\ds {\int }^{\text{​}}\sqrt{9-{x}^{2}}\phantom{\rule{0.1em}{0ex}}\,dx ={\int }^{\text{​}}9\phantom{\rule{0.1em}{0ex}}{\text{cos}}^{2}(\theta) d\theta .

At this point, we can evaluate the integral using the techniques developed for integrating powers of products of trigonometric functions. Before completing this example, let’s take a look at the general theory behind this idea.

To evaluate integrals involving \ds \sqrt{{a}^{2}-{x}^{2}}, we make the substitution \ds x=a\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) and then \ds \,dx =a\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta. Let’s see why this actually makes sense. The domain of \ds \sqrt{{a}^{2}-{x}^{2}} is \ds \left[ - a,a\right]. Thus, \ds - a\le x\le a. Consequently, \ds -1\le \frac{x}{a}\le 1. Since the range of \ds \text{sin}\phantom{\rule{0.1em}{0ex}}(x) over \ds \left[ - \frac{\pi}2,\frac{\pi}2\right] is \ds \left[-1,1\right], there is a unique angle \ds \theta satisfying \ds - \frac{\pi}2\le \theta \le \frac{\pi}2 so that \ds \text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) =x\text{/}a, or equivalently, so that \ds x=a\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) . If we substitute \ds x=a\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) into \ds \sqrt{{a}^{2}-{x}^{2}}, we get

\ds \begin{array}{ccccc}\hfill \sqrt{{a}^{2}-{x}^{2}}&\ds =\sqrt{{a}^{2}-{\left(a\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) \right)}^{2}}\hfill &\ds &\ds &\ds \text{Let}\phantom{\rule{0.2em}{0ex}}(x)=a\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.2em}{0ex}}\text{where}\phantom{\rule{0.2em}{0ex}}-\frac{\pi }{2}\le \theta \le \frac{\pi }{2}.\phantom{\rule{0.2em}{0ex}}\text{Simplify.}\hfill \\[5mm]\ds &\ds =\sqrt{{a}^{2}-{a}^{2}{\text{sin}}^{2}(\theta) }\hfill &\ds &\ds &\ds \text{Factor out}\phantom{\rule{0.2em}{0ex}}{a}^{2}.\hfill \\[5mm]\ds &\ds =\sqrt{{a}^{2}\left(1-{\text{sin}}^{2}(\theta) \right)}\hfill &\ds &\ds &\ds \text{Substitute}\phantom{\rule{0.2em}{0ex}}1-{\text{sin}}^{2}(x)={\text{cos}}^{2}(x).\hfill \\[5mm]\ds &\ds =\sqrt{{a}^{2}{\text{cos}}^{2}(\theta) }\hfill &\ds &\ds &\ds \text{Take the square root.}\hfill \\[5mm]\ds &\ds =|a\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) |\hfill &\ds &\ds &\ds \\[5mm]\ds &\ds =a\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) .\hfill &\ds &\ds &\ds \end{array}

Since \ds \text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) \ge 0 on \ds -\frac{\pi }{2}\le \theta \le \frac{\pi }{2} and \ds a\symbol{"3E}0, \ds |a\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) |=a\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) . From this discussion, we can see that by making the substitution \ds x=a\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) , we are able to convert an integral involving a radical into an integral involving trigonometric functions. After we evaluate the integral, we can convert the solution back to an expression involving \ds x. To see how to do this, let’s begin by assuming that \ds 0<x<a. In this case, \ds 0<\theta <\frac{\pi }{2}. Since \ds \text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) =\frac{x}{a}, we can draw the reference triangle to assist in expressing the values of \ds \text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) , \ds \text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) , and the remaining trigonometric functions in terms of \ds x. It can be shown that this triangle actually produces the correct values of the trigonometric functions evaluated at \ds \theta for all \ds \theta satisfying \ds -\frac{\pi }{2}\le \theta \le \frac{\pi }{2}. It is useful to observe that the expression \ds \sqrt{{a}^{2}-{x}^{2}} actually appears as the length of one side of the triangle. Last, should \ds \theta appear by itself, we use \ds \theta ={\text{sin}}^{-1}\left(\frac{x}{a}\right).

This figure is a right triangle. It has an angle labeled theta. This angle is opposite the vertical side. The hypotenuse is labeled a, the vertical leg is labeled x, and the horizontal leg is labeled as the square root of (a^2 – x^2). To the left of the triangle is the equation sin(theta) = x/a.
Figure 1. A reference triangle can help express the trigonometric functions evaluated at \ds \theta in terms of \ds x.

The essential part of this discussion is summarized in the following problem-solving strategy.

Problem-Solving Strategy: Integrating Expressions Involving \ds \sqrt{{a}^{2}-{x}^{2}}

  1. It is a good idea to make sure the integral cannot be evaluated easily in another way. For example, although this method can be applied to integrals of the form \ds \int \frac{x}{\sqrt{{a}^{2}-{x}^{2}}}\,dx , and \ds \int x\sqrt{{a}^{2}-{x}^{2}}\phantom{\rule{0.1em}{0ex}}\,dx , they can each be integrated directly by a simple substitution.
  2. Make the substitution \ds x=a\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) and \ds \,dx =a\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta .
    Note: This substitution yields \ds \sqrt{{a}^{2}-{x}^{2}}=a\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) .
  3. Simplify the expression.
  4. Evaluate the integral using techniques from the section on trigonometric integrals.
  5. Use the reference triangle from Figure 1 to rewrite the result in terms of \ds x. You may also need to use some trigonometric identities and the relationship \ds \theta ={\text{sin}}^{-1}\left(\frac{x}{a}\right).

The following example demonstrates the application of this problem-solving strategy.

Integrating an Expression Involving \ds \sqrt{{a}^{2}-{x}^{2}}

Evaluate \ds {\int }^{\text{​}}\sqrt{4-{x}^{2}}\phantom{\rule{0.1em}{0ex}}\,dx .

Solution

Begin by making the substitutions \ds x=2\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) and \ds \,dx =2\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta . Since \ds \text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) =\frac{x}{2}, we can construct the reference triangle shown in the following figure.

This figure is a right triangle. It has an angle labeled theta. This angle is opposite the vertical side. The vertical leg is labeled x, and the horizontal leg is labeled as the square root of (4 – x^2). To the left of the triangle is the equation sin(theta) = x/2.
                                          Figure 2.

Thus,

\ds \begin{array}{ccccc}\hfill \ds{\int }^{\text{​}}\sqrt{4-{x}^{2}}\phantom{\rule{0.1em}{0ex}}\,dx &\ds ={\int }^{\text{​}}\sqrt{4-{\left(2\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) \right)}^{2}}\,2\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta \hfill &\ds &\ds &\ds \text{Substitute}\phantom{\rule{0.2em}{0ex}}x=2\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\,dx =2\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta .\hfill \\[5mm]\ds &\ds ={\int }^{\text{​}}\sqrt{4\left(1-{\text{sin}}^{2}(\theta) \right)}\,2\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta \hfill &\ds &\ds &\ds \text{Simplify.}\hfill \\[5mm]\ds &\ds ={\int }^{\text{​}}\sqrt{4\phantom{\rule{0.1em}{0ex}}{\text{cos}}^{2}(\theta) }2\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta \hfill &\ds &\ds &\ds \text{Use the identity}\phantom{\rule{0.2em}{0ex}}{\text{cos}}^{2}(\theta) =1-{\text{sin}}^{2}(\theta) .\hfill \\[5mm]\ds &\ds ={\int }^{\text{​}}2|\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) |2\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta \hfill &\ds &\ds &\ds \text{Take the square root.}\hfill \\[5mm]\ds &\ds ={\int }^{\text{​}}4\phantom{\rule{0.1em}{0ex}}{\text{cos}}^{2}(\theta) d\theta \hfill &\ds &\ds &\ds \begin{array}{l}\text{Simplify. Since}\phantom{\rule{0.2em}{0ex}}-\frac{\pi }{2}\le \theta \le \frac{\pi }{2},\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) \ge 0\phantom{\rule{0.2em}{0ex}}\text{and}\hfill \\[5mm]\ds |\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) |=\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) .\hfill \end{array}\hfill \\[5mm]\ds &\ds ={\int }^{\text{​}}4\left(\frac{1}{2}+\frac{1}{2}\text{cos}\left(2\theta \right)\right)d\theta \hfill &\ds &\ds &\ds \begin{array}{l}\text{Use the strategy for integrating an even power}\hfill \\[5mm]\ds \text{of}\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) .\hfill \end{array}\hfill \\[5mm]\ds &\ds =2\theta +\text{sin}\left(2\theta \right)+C\hfill &\ds &\ds &\ds \text{Evaluate the integral.}\hfill \\[5mm]\ds &\ds =2\theta +\left(2\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) \right)+C\hfill &\ds &\ds &\ds \text{Substitute}\phantom{\rule{0.2em}{0ex}}\text{sin}\left(2\theta \right)=2\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) .\hfill \\[5mm]\ds &\ds =2{\text{sin}}^{-1}\left(\frac{x}{2}\right)+2\cdot \frac{x}{2}\cdot \frac{\sqrt{4-{x}^{2}}}{2}+C\hfill &\ds &\ds &\ds \begin{array}{l}\text{Substitute}\phantom{\rule{0.2em}{0ex}}{\text{sin}}^{-1}\left(\frac{x}{2}\right)=\theta \phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) =\frac{x}{2}.\phantom{\rule{0.2em}{0ex}}\text{Use}\hfill \\[5mm]\ds \text{the reference triangle to see that}\hfill \\[5mm]\ds \text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) =\frac{\sqrt{4-{x}^{2}}}{2}\phantom{\rule{0.2em}{0ex}}\text{and make this substitution.}\hfill \end{array}\hfill \\[5mm]\ds &\ds =2{\text{sin}}^{-1}\left(\frac{x}{2}\right)+\frac{x\sqrt{4-{x}^{2}}}{2}+C.\hfill &\ds &\ds &\ds \text{Simplify.}\hfill \end{array}

Integrating an Expression Involving \ds \sqrt{{a}^{2}-{x}^{2}}

Evaluate \ds \int \frac{\sqrt{4-{x}^{2}}}{x}\,dx .

Solution

First make the substitutions \ds x=2\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) and \ds \,dx =2\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta . Since \ds \text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) =\frac{x}{2}, we can construct the reference triangle shown in Figure 3 below.

This figure is a right triangle. It has an angle labeled theta. This angle is opposite the vertical side. The vertical leg is labeled x, and the horizontal leg is labeled as the square root of (4 – x^2). To the left of the triangle is the equation sin(theta) = x/2.
                                           Figure 3.

Thus,

\ds \begin{array}{ccccc}\hfill \ds\int \frac{\sqrt{4-{x}^{2}}}{x}\,dx &\ds =\int \frac{\sqrt{4-{\left(2\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) \right)}^{2}}}{2\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) }2\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta \hfill &\ds &\ds &\ds \text{Substitute}\phantom{\rule{0.2em}{0ex}}x=2\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}dx=2\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta .\hfill \\[5mm]\ds &\ds =\int \frac{2\phantom{\rule{0.1em}{0ex}}{\text{cos}}^{2}(\theta) }{\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) }d\theta \hfill &\ds &\ds &\ds \text{Substitute}\phantom{\rule{0.2em}{0ex}} 1-{\text{sin}}^{2}(\theta)={\text{cos}}^{2}(\theta) \phantom{\rule{0.2em}{0ex}}\text{and simplify.}\hfill \\[5mm]\ds &\ds =\int \frac{2\left(1-{\text{sin}}^{2}(\theta) \right)}{\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) }d\theta \hfill &\ds &\ds &\ds \text{Substitute}\phantom{\rule{0.2em}{0ex}}{\text{cos}}^{2}(\theta) =1-{\text{sin}}^{2}(\theta) .\hfill \\[5mm]\ds &\ds ={\int }^{\text{​}}\left(2\phantom{\rule{0.1em}{0ex}}\text{csc}\phantom{\rule{0.1em}{0ex}}(\theta) -2\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) \right)d\theta \hfill &\ds &\ds &\ds \begin{array}{c}\text{Separate the numerator, simplify, and use}\hfill \\[5mm]\ds \text{csc}\phantom{\rule{0.1em}{0ex}}(\theta) =\frac{1}{\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) }.\hfill \end{array}\hfill \\[5mm]\ds &\ds =2\phantom{\rule{0.1em}{0ex}}\text{ln}|\text{csc}\phantom{\rule{0.1em}{0ex}}(\theta) -\text{cot}\phantom{\rule{0.1em}{0ex}}(\theta) |+2\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) +C\hfill &\ds &\ds &\ds \text{Evaluate the integral.}\hfill \\[5mm]\ds &\ds =2\phantom{\rule{0.1em}{0ex}}\text{ln}\left|\frac{2}{x}-\frac{\sqrt{4-{x}^{2}}}{x}\right|+\sqrt{4-{x}^{2}}+C.\hfill &\ds &\ds &\ds \begin{array}{c}\text{Use the reference triangle to rewrite the}\hfill \\[5mm]\ds \text{expression in terms of}\phantom{\rule{0.2em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{and simplify.}\hfill \end{array}\hfill \end{array}

In the next example, we see that we sometimes have a choice of methods.

Integrating an Expression Involving \ds \sqrt{{a}^{2}-{x}^{2}} Two Ways

Evaluate \ds {\int }^{\text{​}}{x}^{3}\sqrt{1-{x}^{2}}\phantom{\rule{0.1em}{0ex}}\,dx two ways: first by using the substitution \ds u=1-{x}^{2} and then by using a trigonometric substitution.

Solution

Method 1

Let \ds u=1-{x}^{2} and hence \ds {x}^{2}=1-u. Thus, \ds du=-2x\phantom{\rule{0.1em}{0ex}}\,dx . In this case, the integral becomes

\ds \begin{array}{ccccc}\hfill {\int }^{\text{​}}{x}^{3}\sqrt{1-{x}^{2}}\phantom{\rule{0.1em}{0ex}}\,dx &\ds =-\frac{1}{2}{\int }^{\text{​}}{x}^{2}\sqrt{1-{x}^{2}}\left(-2x\phantom{\rule{0.1em}{0ex}}\,dx \right)\hfill &\ds &\ds &\ds \text{Make the substitution.}\hfill \\[5mm]\ds &\ds =-\frac{1}{2}{\int }^{\text{​}}\left(1-u\right)\sqrt{u}\phantom{\rule{0.1em}{0ex}}du\hfill &\ds &\ds &\ds \text{Expand the expression.}\hfill \\[5mm]\ds &\ds =-\frac{1}{2}\int \left({u}^{1\text{/}2}-{u}^{3\text{/}2}\right)du\hfill &\ds &\ds &\ds \text{Evaluate the integral.}\hfill \\[5mm]\ds &\ds =-\frac{1}{2}\left(\frac{2}{3}{u}^{3\text{/}2}-\frac{2}{5}{u}^{5\text{/}2}\right)+C\hfill &\ds &\ds &\ds \text{Rewrite in terms of}\phantom{\rule{0.2em}{0ex}}(x).\hfill \\[5mm]\ds &\ds =-\frac{1}{3}{\left(1-{x}^{2}\right)}^{3\text{/}2}+\frac{1}{5}{\left(1-{x}^{2}\right)}^{5\text{/}2}+C.\hfill &\ds &\ds &\ds \end{array}

Method 2

Let \ds x=\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) . In this case, \ds \,dx =\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta . Using this substitution, we have

\ds \begin{array}{ccccc}\hfill {\int }^{\text{​}}{x}^{3}\sqrt{1-{x}^{2}}\phantom{\rule{0.1em}{0ex}}\,dx &\ds ={\int }^{\text{​}}{\text{sin}}^{3}(\theta) \phantom{\rule{0.1em}{0ex}}{\text{cos}}^{2}(\theta) d\theta \hfill &\ds &\ds &\ds \hfill\\[5mm]\ds &\ds ={\int }^{\text{​}}\left(1-{\text{cos}}^{2}(\theta) \right){\text{cos}}^{2}(\theta) \phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta \hfill &\ds &\ds &\ds \text{Let}\phantom{\rule{0.2em}{0ex}}u=\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) .\phantom{\rule{0.2em}{0ex}}\text{Thus,}\phantom{\rule{0.2em}{0ex}}du= - \text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta.\hfill \\[5mm]\ds &\ds ={\int }^{\text{​}}\left({u}^{4}-{u}^{2}\right)du\hfill &\ds &\ds &\ds \\[5mm]\ds &\ds =\frac{1}{5}{u}^{5}-\frac{1}{3}{u}^{3}+C\hfill &\ds &\ds &\ds \text{Substitute}\phantom{\rule{0.2em}{0ex}}u=\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta).\hfill \\[5mm]\ds &\ds =\frac{1}{5}{\text{cos}}^{5}(\theta) -\frac{1}{3}{\text{cos}}^{3}(\theta) +C\hfill &\ds &\ds &\ds \begin{array}{c}\text{Use a reference triangle to see that}\hfill \\[5mm]\ds \text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) =\sqrt{1-{x}^{2}}.\hfill \end{array}\hfill \\[5mm]\ds &\ds =\frac{1}{5}{\left(1-{x}^{2}\right)}^{5\text{/}2}-\frac{1}{3}{\left(1-{x}^{2}\right)}^{3\text{/}2}+C.\hfill &\ds &\ds &\ds \end{array}

Rewrite the integral \ds \int \frac{{x}^{3}}{\sqrt{25-{x}^{2}}}\,dx using the appropriate trigonometric substitution (do not evaluate the integral).

Answer

\ds {\int }^{\text{​}}125\phantom{\rule{0.1em}{0ex}}{\text{sin}}^{3}(\theta) d\theta

Hint

Substitute \ds x=5\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) and \ds \,dx =5\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta .

Integrating Expressions Involving \ds \sqrt{{a}^{2}+{x}^{2}}

For integrals containing \ds \sqrt{{a}^{2}+{x}^{2},} let’s first consider the domain of this expression. Since \ds \sqrt{{a}^{2}+{x}^{2}} is defined for all real values of \ds x, we restrict our choice to those trigonometric functions that have a range of all real numbers. Thus, our choice is restricted to selecting either \ds x=a\phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) or \ds x=a\phantom{\rule{0.1em}{0ex}}\text{cot}\phantom{\rule{0.1em}{0ex}}(\theta) . Either of these substitutions would actually work, but the standard substitution is \ds x=a\phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) or, equivalently, \ds \text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) =x\text{/}a. With this substitution, we make the assumption that \ds - \frac{\pi}2<\theta <\frac{\pi}2, so that we also have \ds \theta ={\text{tan}}^{-1}\left(\frac xa\right). The procedure for using this substitution is outlined in the following problem-solving strategy.

Problem-Solving Strategy: Integrating Expressions Involving \ds \sqrt{{a}^{2}+{x}^{2}}

  1. Check to see whether the integral can be evaluated easily by using another method. In some cases, it is more convenient to use an alternative method.
  2. Substitute \ds x=a\phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) and \ds \,dx =a\phantom{\rule{0.1em}{0ex}}{\text{sec}}^{2}(\theta) d\theta . This substitution yields
    \ds \begin{array}{ll}\ds\sqrt{{a}^{2}+{x}^{2}}&=\sqrt{{a}^{2}+{\left(a\phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) \right)}^{2}}=\sqrt{{a}^{2}\left(1+{\text{tan}}^{2}(\theta) \right)}=\sqrt{{a}^{2}{\text{sec}}^{2}(\theta) }\hfill \\[1mm]&=|a\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) |=a\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) .\hfill\end{array}

    (Since \ds -\frac{\pi }{2}<\theta <\frac{\pi }{2} and \ds \text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) \symbol{"3E}0 over this interval, \ds |a\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) |=a\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) .\right))
  3. Simplify the expression.
  4. Evaluate the integral using techniques from the section on trigonometric integrals.
  5. Use the reference triangle from to rewrite the result in terms of \ds x. You may also need to use some trigonometric identities and the relationship \ds \theta ={\text{tan}}^{-1}\left(\frac{x}{a}\right).
    (Note: The reference triangle is based on the assumption that \ds x\symbol{"3E}0; however, the trigonometric ratios produced from the reference triangle are the same as the ratios for which \ds x\le 0.\right)
This figure is a right triangle. It has an angle labeled theta. This angle is opposite the vertical side. The hypotenuse is labeled the square root of (a^2+x^2), the vertical leg is labeled x, and the horizontal leg is labeled a. To the left of the triangle is the equation tan(theta) = x/a.
Figure 4. A reference triangle can be constructed to express the trigonometric functions evaluated at \ds \theta in terms of \ds x.

Integrating an Expression Involving \ds \sqrt{{a}^{2}+{x}^{2}}

Evaluate \ds \int \frac{\,dx }{\sqrt{1+{x}^{2}}} and check the solution by differentiating.

Solution

Begin with the substitution \ds x=\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) and \ds \,dx ={\text{sec}}^{2}(\theta) d\theta . Since \ds \text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) =x, draw the reference triangle in the following figure.

This figure is a right triangle. It has an angle labeled theta. This angle is opposite the vertical side. The hypotenuse is labeled the square root of (1+x^2), the vertical leg is labeled x, and the horizontal leg is labeled 1. To the left of the triangle is the equation tan(theta) = x/1.
                                                      Figure 5.

Thus,

\ds \begin{array}{ccccc}\ds\hfill \int \frac{\,dx }{\sqrt{1+{x}^{2}}}&\ds =\int \frac{{\text{sec}}^{2}(\theta) }{\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) }d\theta \hfill &\ds &\ds &\ds \begin{array}{c}\text{Substitute}\phantom{\rule{0.2em}{0ex}}x=\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\,dx ={\text{sec}}^{2}(\theta) d\theta .\phantom{\rule{0.2em}{0ex}}\text{This}\hfill \\[5mm]\ds \text{substitution makes}\phantom{\rule{0.2em}{0ex}}\sqrt{1+{x}^{2}}=\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) .\phantom{\rule{0.2em}{0ex}}\text{Simplify.}\hfill \end{array}\hfill \\[5mm]\ds &\ds ={\int }^{\text{​}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta \hfill &\ds &\ds &\ds \text{Evaluate the integral.}\hfill \\[5mm]\ds &\ds =\text{ln}|\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) +\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) |+C\hfill &\ds &\ds &\ds \begin{array}{c}\text{Use the reference triangle to express the result}\hfill \\[5mm]\ds \text{in terms of}\phantom{\rule{0.2em}{0ex}}x.\hfill \end{array}\hfill \\[5mm]\ds &\ds =\text{ln}\left|\sqrt{1+{x}^{2}}+x\right|+C.\hfill &\ds &\ds &\ds \end{array}

To check the solution, differentiate:

\ds \begin{array}{cc}\ds \hfill \frac{d}{\,dx }\left(\text{ln}|\sqrt{1+{x}^{2}}+x|\right)&\ds =\frac{1}{\sqrt{1+{x}^{2}}+x}\cdot \left(\frac{x}{\sqrt{1+{x}^{2}}}+1\right)\hfill \\[5mm]\ds &\ds =\frac{1}{\sqrt{1+{x}^{2}}+x}\cdot \frac{x+\sqrt{1+{x}^{2}}}{\sqrt{1+{x}^{2}}}\hfill \\[5mm]\ds &\ds =\frac{1}{\sqrt{1+{x}^{2}}}.\hfill \end{array}

Since \ds \sqrt{1+{x}^{2}}+x\symbol{"3E}0 for all values of \ds x, we could rewrite \ds \text{ln}\left|\sqrt{1+{x}^{2}}+x\right|+C=\text{ln}\left(\sqrt{1+{x}^{2}}+x\right)+C, if desired.

Evaluating \ds \int \frac{\,dx }{\sqrt{1+{x}^{2}}} Using a Different Substitution

Use the substitution \ds x=\text{sinh}\phantom{\rule{0.1em}{0ex}}(\theta) to evaluate \ds \int \frac{\,dx }{\sqrt{1+{x}^{2}}}.

Solution

Because \ds \text{sinh}\phantom{\rule{0.1em}{0ex}}(\theta) has a range of all real numbers, and \ds 1+{\text{sinh}}^{2}(\theta) ={\text{cosh}}^{2}(\theta) , we may also use the substitution \ds x=\text{sinh}\phantom{\rule{0.1em}{0ex}}(\theta) to evaluate this integral. In this case, \ds \,dx =\text{cosh}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta . Consequently,

\ds \begin{array}{ccccc}\hfill \ds\int \frac{\,dx }{\sqrt{1+{x}^{2}}}&\ds =\int \frac{\text{cosh}\phantom{\rule{0.1em}{0ex}}(\theta) }{\sqrt{1+{\text{sinh}}^{2}(\theta) }}d\theta \hfill &\ds &\ds &\ds \begin{array}{c}\text{Substitute}\phantom{\rule{0.2em}{0ex}}x=\text{sinh}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\,dx =\text{cosh}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta .\hfill \\[5mm]\ds \text{Substitute}\phantom{\rule{0.2em}{0ex}}1+{\text{sinh}}^{2}(\theta) ={\text{cosh}}^{2}(\theta) .\hfill \end{array}\hfill \\[5mm]\ds &\ds =\int \frac{\text{cosh}\phantom{\rule{0.1em}{0ex}}(\theta) }{\sqrt{{\text{cosh}}^{2}(\theta) }}d\theta \hfill &\ds &\ds &\ds \sqrt{{\text{cosh}}^{2}(\theta) }=|\text{cosh}\phantom{\rule{0.1em}{0ex}}(\theta) |\hfill \\[5mm]\ds &\ds =\int \frac{\text{cosh}\phantom{\rule{0.1em}{0ex}}(\theta) }{|\text{cosh}\phantom{\rule{0.1em}{0ex}}(\theta) |}d\theta \hfill &\ds &\ds &\ds |\text{cosh}\phantom{\rule{0.1em}{0ex}}(\theta) |=\text{cosh}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.2em}{0ex}}\text{since}\phantom{\rule{0.2em}{0ex}}\text{cosh}\phantom{\rule{0.1em}{0ex}}(\theta) \symbol{"3E}0\phantom{\rule{0.2em}{0ex}}\text{for all}\phantom{\rule{0.2em}{0ex}}(\theta) .\hfill \\[5mm]\ds &\ds =\int \frac{\text{cosh}\phantom{\rule{0.1em}{0ex}}(\theta) }{\text{cosh}\phantom{\rule{0.1em}{0ex}}(\theta) }d\theta \hfill &\ds &\ds &\ds \text{Simplify.}\hfill \\[5mm]\ds &\ds ={\int }^{\text{​}}1d\theta \hfill &\ds &\ds &\ds \text{Evaluate the integral.}\hfill \\[5mm]\ds &\ds =\theta +C\hfill &\ds &\ds &\ds \text{Since}\phantom{\rule{0.2em}{0ex}}x=\text{sinh}\phantom{\rule{0.1em}{0ex}}(\theta) ,\phantom{\rule{0.2em}{0ex}}\text{we know}\phantom{\rule{0.2em}{0ex}}(\theta) ={\text{sinh}}^{-1}(x).\hfill \\[5mm]\ds &\ds ={\text{sinh}}^{-1}(x)+C.\hfill &\ds &\ds &\ds \end{array}

Analysis

This answer looks quite different from the answer obtained using the substitution \ds x=\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) . To see that the solutions are the same, set \ds y={\text{sinh}}^{-1}(x). Then \ds \text{sinh}\phantom{\rule{0.1em}{0ex}}y=x, that is,

\ds \frac{{e}^{y}-{e}^{ - y}}{2}=x.

After multiplying both sides by \ds 2{e}^{y} and rewriting, this equation becomes:

\ds {e}^{2y}-2x{e}^{y}-1=0.

Use the quadratic equation formula to solve for \ds {e}^{y}\text{:}

\ds {e}^{y}=\frac{2x\pm\sqrt{4{x}^{2}+4}}{2}.

Simplifying, we have:

\ds {e}^{y}=x\pm\sqrt{{x}^{2}+1}.

Since \ds x-\sqrt{{x}^{2}+1}<0, it must be the case that \ds {e}^{y}=x+\sqrt{{x}^{2}+1}. Therefore,

\ds y=\text{ln}\left(x+\sqrt{{x}^{2}+1}\right).

At last, we obtain

\ds {\text{sinh}}^{-1}x=\text{ln}\left(x+\sqrt{{x}^{2}+1}\right).

After we make the final observation that, since \ds x+\sqrt{{x}^{2}+1}\symbol{"3E}0,

\ds \text{ln}\left(x+\sqrt{{x}^{2}+1}\right)=\text{ln}\left|\sqrt{1+{x}^{2}}+x\right|,

we see that the two different methods produced the same solutions.

Finding an Arc Length

Find the length of the curve \ds y={x}^{2} over the interval \ds \left[0,\frac{1}{2}\right].

Solution

Because \ds \frac{dy}{\,dx }=2x, the arc length is given by

\ds \int\limits_{0}^{1\text{/}2}\sqrt{1+{\left(2x\right)}^{2}}\phantom{\rule{0.1em}{0ex}}\,dx =\int\limits_{0}^{1\text{/}2}\sqrt{1+4{x}^{2}}\phantom{\rule{0.1em}{0ex}}\,dx .

To evaluate this integral, use the substitution \ds x=\frac{1}{2}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) and \ds \,dx =\frac{1}{2}{\text{sec}}^{2}(\theta) d\theta . We also need to change the limits of integration. If \ds x=0, then \ds \theta =0 and if \ds x=\frac{1}{2}, then \ds \theta =\frac{\pi }{4}. Thus,

\ds \begin{array}{ccccc}\hfill \ds\int\limits_{0}^{1\text{/}2}\sqrt{1+4{x}^{2}}\phantom{\rule{0.1em}{0ex}}\,dx &\ds =\int\limits_{0}^{\pi \text{/}4}\sqrt{1+{\text{tan}}^{2}(\theta) }\,\frac{1}{2}{\text{sec}}^{2}(\theta) d\theta \hfill &\ds &\ds &\ds \begin{array}{c}\text{After substitution,}\hfill \\[5mm]\ds \sqrt{1+4{x}^{2}}=\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) .\phantom{\rule{0.2em}{0ex}}\text{Substitute}\hfill \\[5mm]\ds 1+{\text{tan}}^{2}(\theta) ={\text{sec}}^{2}(\theta) \phantom{\rule{0.2em}{0ex}}\text{and simplify.}\hfill \end{array}\hfill \\[5mm]\ds &\ds =\frac{1}{2}\int\limits_{0}^{\pi \text{/}4}{\text{sec}}^{3}(\theta) d\theta \hfill &\ds &\ds &\ds \begin{array}{c}\text{We derived this integral in the}\hfill \\[5mm]\ds \text{previous section.}\hfill \end{array}\hfill \\[5mm]\ds &\ds =\frac{1}{2}\left(\frac{1}{2}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) +\frac12\text{ln}|\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) +\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) |\right)\Big|_0^{\pi\text{/}4}\hfill &\ds &\ds &\ds \text{Evaluate and simplify.}\hfill \\[5mm]\ds &\ds =\frac{1}{4}\left(\sqrt{2}+\text{ln}\left(\sqrt{2}+1\right)\right).\hfill &\ds &\ds &\ds \end{array}

Rewrite \ds {\int }^{\text{​}}{x}^{3}\sqrt{{x}^{2}+4}\phantom{\rule{0.1em}{0ex}}\,dx by using a substitution involving \ds \text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) .

Answer

\ds {\int }^{\text{​}}32\phantom{\rule{0.1em}{0ex}}{\text{tan}}^{3}(\theta) \phantom{\rule{0.1em}{0ex}}{\text{sec}}^{3}(\theta) d\theta

Hint

Use \ds x=2\phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) and \ds \,dx =2\phantom{\rule{0.1em}{0ex}}{\text{sec}}^{2}(\theta) d\theta .

Integrating Expressions Involving \ds \sqrt{{x}^{2}-{a}^{2}}

The domain of the expression \ds \sqrt{{x}^{2}-{a}^{2}} is \ds \left( - \infty , - a\right]\cup \left[a,\text{+}\infty \right). Thus, either \ds x\le - a or \ds x\ge a. Hence, \ds \frac{x}{a}\le -1 or \ds \frac{x}{a}\ge 1. Since these intervals correspond to the range of \ds \text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) on the set \ds \left[0,\frac{\pi }{2}\right)\cup \left(\frac{\pi }{2},\pi \right], it makes sense to use the substitution \ds \text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) =\frac{x}{a} or, equivalently, \ds x=a\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) , where \ds 0\le \theta <\frac{\pi }{2} or \ds \frac{\pi }{2}<\theta \le \pi . The corresponding substitution for \ds \,dx is \ds \,dx =a\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta . The procedure for using this substitution is outlined in the following problem-solving strategy.

Problem-Solving Strategy: Integrals Involving \ds \sqrt{{x}^{2}-{a}^{2}}

  1. Check to see whether the integral cannot be evaluated using another method. If so, we may wish to consider applying an alternative technique.
  2. Substitute \ds x=a\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) and \ds \,dx =a\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta . This substitution yields

    \begin{array}{ll}\ds \sqrt{{x}^{2}-{a}^{2}}&=\sqrt{{\left(a\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) \right)}^{2}-{a}^{2}}=\sqrt{{a}^{2}\left({\text{sec}}^{2}(\theta) -1\right)}=\sqrt{{a}^{2}{\text{tan}}^{2}(\theta) }\\[1mm]&=a\phantom{\rule{0.1em}{0ex}}|\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) |.\end{array}


    For \ds x\ge a, we have \ds\theta\in\left[0,\frac{\pi}2\right), which implies that \tan(\theta)\ge0, and so \ds a\phantom{\rule{0.1em}{0ex}}|\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) |=a\phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) while for \ds x\le -a, \ds\theta\in\left(\frac{\pi}2,\pi\right], implying that \tan(\theta)\le0, and hence \ds a\phantom{\rule{0.1em}{0ex}}|\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) |= - a\phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) .

  3. Simplify the expression.
  4. Evaluate the integral using techniques from the section on trigonometric integrals.
  5. Use the reference triangles to rewrite the result in terms of \ds x. You may also need to use some trigonometric identities and the relationship \ds \theta ={\text{sec}}^{-1}\left(\frac{x}{a}\right).
    (Note: We need both reference triangles, since the values of some of the trigonometric ratios are different depending on whether \ds x\ge a or \ds x\le - a.\right))
a. There are also the equations sin(theta)= the square root of (x^2-a^2)/x, cos(theta) = a/x, and tan(theta) = the square root of (x^2-a^2)/a. The second triangle is in the second quadrant, with the hypotenuse labeled –x. The horizontal leg is labeled –a and is on the negative x-axis. The vertical leg is labeled the square root of (x^2-a^2). To the right of the triangle is the equation sec(theta) = x/a, xa. There are also the equations sin(theta)= the square root of (x^2-a^2)/x, cos(theta) = a/x, and tan(theta) = the square root of (x^2-a^2)/a. The second triangle is in the second quadrant, with the hypotenuse labeled –x. The horizontal leg is labeled –a and is on the negative x-axis. The vertical leg is labeled the square root of (x^2-a^2). To the right of the triangle is the equation sec(theta) = x/a, x
Figure 6. Use the appropriate reference triangle to express the trigonometric functions evaluated at \ds \theta in terms of \ds x.

Finding the Area of a Region

Find the area of the region between the graph of \ds f\left(x\right)=\sqrt{{x}^{2}-9} and the x-axis over the interval \ds \left[3,5\right].

Solution

First, sketch a rough graph of the region described in the problem, as shown in the following figure.

This figure is the graph of the function f(x) = the square root of (x^2-9). It is an increasing curve that starts on the x-axis at 3 and is in the first quadrant. Under the curve above the x-axis is a shaded region bounded to the right at x = 5.
Figure 7. Calculating the area of the shaded region requires evaluating an integral with a trigonometric substitution.

We can see that the area is \ds A=\int\limits_{3}^{5}\sqrt{{x}^{2}-9}\phantom{\rule{0.1em}{0ex}}\,dx . To evaluate this definite integral, substitute \ds x=3\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) and \ds \,dx =3\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta . We must also change the limits of integration. If \ds x=3, then \ds 3=3\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) and hence \ds \theta =0. If \ds x=5, then \ds \theta ={\text{sec}}^{-1}\left(\frac{5}{3}\right). After making these substitutions and simplifying, we have

\ds \begin{array}{ccccc}\hfill \text{Area}&\ds =\int\limits_{3}^{5}\sqrt{{x}^{2}-9}\phantom{\rule{0.1em}{0ex}}\,dx \hfill &\ds &\ds &\ds \\[5mm]\ds &\ds =\int\limits_{0}^{{\text{sec}}^{-1}\left(5\text{/}3\right)}9\phantom{\rule{0.1em}{0ex}}{\text{tan}}^{2}(\theta) \phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta \hfill &\ds &\ds &\ds \phantom{\rule{0.2em}{0ex}}{\text{tan}}^{2}(\theta) =1-{\text{sec}}^{2}(\theta) .\hfill \\[5mm]\ds &\ds =\int\limits_{0}^{{\text{sec}}^{-1}\left(5\text{/}3\right)}9\left({\text{sec}}^{2}(\theta) -1\right)\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta \hfill &\ds &\ds &\ds \text{Expand.}\hfill \\[5mm]\ds &\ds =\int\limits_{0}^{{\text{sec}}^{-1}\left(5\text{/}3\right)}9\left({\text{sec}}^{3}(\theta) -\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) \right)d\theta \hfill &\ds &\ds &\ds \text{Evaluate the integral.}\hfill \\[5mm]\ds &\ds =\left(\frac{9}{2}\text{ln}|\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) +\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) |+\frac{9}{2}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) \right)-9\phantom{\rule{0.1em}{0ex}}\text{ln}|\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) +\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) |\Big|_0^{\sec^{-1}(5\text{/}3)}\hfill &\ds &\ds &\ds \text{Simplify.}\hfill \\[5mm]\ds &\ds =\frac{9}{2}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) -\frac{9}{2}\text{ln}|\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) +\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) |\Big|_0^{\sec^{-1}(5\text{/}3)}\hfill &\ds &\ds &\ds \begin{array}{l}\text{Evaluate. Use that}\\[5mm]\phantom{\rule{0.2em}{0ex}}\text{sec}\left({\text{sec}}^{-1}\left(\frac{5}{3}\right)\right)=\frac{5}{3}\hfill \\[5mm]\ds \text{and}\phantom{\rule{0.2em}{0ex}}\text{tan}\left({\text{sec}}^{-1}\left(\frac{5}{3}\right)\right)=\frac{4}{3}.\hfill \end{array}\hfill \\[5mm]\ds &\ds =\frac{9}{2}\cdot \frac{5}{3}\cdot \frac{4}{3}-\frac{9}{2}\text{ln}\left|\frac{5}{3}+\frac{4}{3}\right|-\left(\frac{9}{2}\cdot 1\cdot 0-\frac{9}{2}\text{ln}|1+0|\right)\hfill &\ds &\ds &\ds \\[5mm]\ds &\ds =10-\frac{9}{2}\text{ln}\phantom{\rule{0.1em}{0ex}}3.\hfill &\ds &\ds &\ds \end{array}

Evaluate \ds \int \frac{\,dx }{\sqrt{{x}^{2}-4}}. Assume that \ds x\symbol{"3E}2.

Answer

\ds \text{ln}\left|\frac{x}{2}+\frac{\sqrt{{x}^{2}-4}}{2}\right|+C

Hint

Substitute \ds x=2\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) and \ds \,dx =2\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta .

Key Concepts

  • For integrals involving \ds \sqrt{{a}^{2}-{x}^{2}}, use the substitution \ds x=a\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) and \ds \,dx =a\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta .
  • For integrals involving \ds \sqrt{{a}^{2}+{x}^{2}}, use the substitution \ds x=a\phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) and \ds \,dx =a\phantom{\rule{0.1em}{0ex}}{\text{sec}}^{2}(\theta) d\theta .
  • For integrals involving \ds \sqrt{{x}^{2}-{a}^{2}}, substitute \ds x=a\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) and \ds \,dx =a\phantom{\rule{0.1em}{0ex}}\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) \phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) d\theta .

Exercises

Simplify the following expressions by writing each one using a single trigonometric function.

1. \ds 9\phantom{\rule{0.1em}{0ex}}{\text{sec}}^{2}(\theta) -9

Answer

\ds 9\phantom{\rule{0.1em}{0ex}}{\text{tan}}^{2}(\theta)

2. \ds 4-4\phantom{\rule{0.1em}{0ex}}{\text{sin}}^{2}(\theta)

3. \ds {a}^{2}+{a}^{2}{\text{sinh}}^{2}(\theta)

Answer

\ds {a}^{2}{\text{cosh}}^{2}(\theta)

4. \ds {a}^{2}+{a}^{2}{\text{tan}}^{2}(\theta)

Use the technique of completing the square to express each quadratic polynomial in the form a(x+h)^2+k.

5. \ds 4{x}^{2}-4x+1

Answer

\ds 4{\left(x-\frac{1}{2}\right)}^{2}

6. \ds 2{x}^{2}-8x+3

7. \ds - {x}^{2}-2x+4

Answer

\ds - {\left(x+1\right)}^{2}+5

Evaluate the following integrals using the method of trigonometric substitution.

8. \ds \int \frac{\,dx }{\sqrt{4-{x}^{2}}}

9. \ds \int \frac{\,dx }{\sqrt{{x}^{2}-{a}^{2}}} (a\symbol{"3E}0)

Answer

\ds \text{ln}|x+\sqrt{ - {a}^{2}+{x}^{2}}|+C

10. \ds \int\limits_0^{1\text{/}6} \sqrt{1-9{x}^{2}}\phantom{\rule{0.1em}{0ex}}\,dx

11. \ds \int \frac{\,dx }{\sqrt{1+4{x}^{2}}}

Answer

\ds \frac{1}{2}\text{ln}|\sqrt{4{x}^{2}+1}+2x|+C

12. \ds \int\limits_{1\text{/}2}^{1\text{/}\sqrt2} \frac{{x}^{2}\,dx }{\sqrt{1-{x}^{2}}}

13. \ds \int \frac{\,dx }{{x}^{2}\sqrt{1-{x}^{2}}}

Answer

\ds -\frac{\sqrt{1-{x}^{2}}}{x}+C

14. \ds \int \frac{\,dx }{{\left(1+{x}^{2}\right)}^{2}}

15. \ds \int\limits_0^{\sqrt3} \sqrt{{x}^{2}+9}\,dx

Answer

\ds \frac94\ln(3)+3

(Hint: \ds\ln(3\sqrt3)=\ln\big(3^{3\text{/}2}\big)=\frac32\ln(3).)

16. \ds \int\limits_5^{10} \frac{\sqrt{{x}^{2}-25}}{x}\,dx

17. \ds \int \frac{{\theta }^{3}d\theta }{\sqrt{9-{\theta }^{2}}}

Answer

\ds -\frac{1}{3}\sqrt{9-{\theta }^{2}}\left(18+{\theta }^{2}\right)+C

18. \ds \int \frac{\,dx }{\sqrt{{x}^{6}-{x}^{4}}}

(Hint: factor a power of x out of the root.)

19. \ds \int\limits_{-1\text{/}2}^0 \sqrt{{x}^{6}-{x}^{8}}\,dx

(Hint: when factoring a power of x out of the root, be careful with the signs.)

Answer

\ds \frac2{15}-\frac{11\sqrt3}{160}

20. \ds \int\limits_0^1 \frac{\,dx }{{\left(1+{x}^{2}\right)}^{3\text{/}2}}

21. \ds \int \frac{\,dx }{{\left({x}^{2}-9\right)}^{3\text{/}2}}

Answer

\ds -\frac{x}{9\sqrt{-9+{x}^{2}}}+C

22. \ds \int \frac{x^3}{\sqrt{4+{x}^{2}}}\,dx

23. \ds \int \frac{{x}^{2}}{\sqrt{{x}^{2}-1}}\,dx

Answer

\ds \frac{1}{2}\left(\text{ln}\left|x+\sqrt{{x}^{2}-1}\right|+x\sqrt{{x}^{2}-1}\right)+C

24. \ds \int \frac{{x}^{2} }{{x}^{2}+16}\,dx

25. \ds \int \frac{\,dx }{{x}^{2}\sqrt{{x}^{2}+1}}

Answer

\ds -\frac{\sqrt{1+{x}^{2}}}{x}+C

26. \ds \int \frac{{x}^{2}\,dx }{\sqrt{1+{x}^{2}}}

27. \ds \int\limits_{-1}^{1}{\left(1-{x}^{2}\right)}^{3\text{/}2}\,dx

Answer

\ds \frac{3\pi}8

In the following exercises, use the substitutions \ds x=\text{sinh}\phantom{\rule{0.1em}{0ex}}(\theta) ,\text{cosh}\phantom{\rule{0.1em}{0ex}}(\theta) , or \ds \text{tanh}\phantom{\rule{0.1em}{0ex}}(\theta) . Express the final answers in terms of the variable x.

28. \ds \int \frac{\,dx }{\sqrt{{x}^{2}-1}}

29. \ds \int \frac{\,dx }{x\sqrt{1-{x}^{2}}}

Answer

\ds \text{ln}\phantom{\rule{0.1em}{0ex}}(x)-\text{ln}\left|1+\sqrt{1-{x}^{2}}\right|+C

30. \ds \int \sqrt{{x}^{2}-1}\,dx

31. \ds \int \frac{\sqrt{{x}^{2}-1}}{{x}^{2}}\,dx

Answer

\ds -\frac{\sqrt{-1+{x}^{2}}}{x}+\text{ln}\left|x+\sqrt{-1+{x}^{2}}\right|+C

32. \ds \int \frac{\,dx }{1-{x}^{2}}

33. \ds \int \frac{\sqrt{1+{x}^{2}}}{{x}^{2}}\,dx

Answer

\ds -\frac{\sqrt{1+{x}^{2}}}{x}+\text{arcsinh}\phantom{\rule{0.1em}{0ex}}(x)+C

Combine the technique of completing the square with a trignometric substitution to evaluate the following integrals.

34. \ds \int \frac{1}{{x}^{2}-6x}\,dx

35. \ds \int \frac{1}{{x}^{2}+2x+5}\,dx

Answer

\ds \frac12\tan^{-1}\left(\frac{x+1}2\right)+C

36. \ds \int \frac{x}{\sqrt{ - {x}^{2}+2x+8}}\,dx

37. \ds \int \frac{1}{\sqrt{ - {x}^{2}+10x}}\,dx

Answer

\ds \sin^{-1}\left(\frac{x-5}{5}\right)+C

38. \ds \int \frac{1}{\sqrt{{x}^{2}+4x-12}}\,dx

39. Evaluate the integral  \ds \int\limits_{-3}^{3}\sqrt{9-{x}^{2}}\phantom{\rule{0.1em}{0ex}}\,dx using geometry.

Answer

\ds \frac{9\pi }{2}; area of a semicircle with radius 3

40. Find the area enclosed by the ellipse \ds \frac{{x}^{2}}{4}+\frac{{y}^{2}}{9}=1.

41. Evaluate the integral \ds \int \frac{\,dx }{\sqrt{1-{x}^{2}}} using two different substitutions. First, let \ds x=\text{cos}\phantom{\rule{0.1em}{0ex}}(\theta) and evaluate using trigonometric substitution. Second, let \ds x=\text{sin}\phantom{\rule{0.1em}{0ex}}(\theta) and use trigonometric substitution. Are the answers the same?

Answer

\ds \text{arcsin}\left(x\right)+C  and -\arccos(x)+C; these answers are the same since \ds\arcsin(x)+\arccos(x)=\frac{\pi}2 and \ds\frac{\pi}2 is a constant.

42. Evaluate the integral \ds \int \frac{\,dx }{x\sqrt{{x}^{2}-1}} using the substitution \ds x=\text{sec}\phantom{\rule{0.1em}{0ex}}(\theta) . Next, evaluate the same integral using the substitution \ds x=\text{csc}\phantom{\rule{0.1em}{0ex}}(\theta) . Show that the results are equivalent.

43. Evaluate the integral \ds \int \frac{x}{{x}^{2}+1}\,dx using the form \ds \int \frac{1}{u}du. Next, evaluate the same integral using \ds x=\text{tan}\phantom{\rule{0.1em}{0ex}}(\theta) . Are the results the same?

Answer

\ds \frac{1}{2}\text{ln}\left(1+{x}^{2}\right)+C is the result using either method.

44. State the method of integration you would use to evaluate the integral \ds \int x\sqrt{{x}^{2}+1}\phantom{\rule{0.1em}{0ex}}\,dx . Why did you choose this method?

45. State the method of integration you would use to evaluate the integral \ds \int {x}^{2}\sqrt{{x}^{2}-1}\phantom{\rule{0.1em}{0ex}}\,dx . Why did you choose this method?

Answer

Use trigonometric substitution \ds x=\text{sec}\left(\theta \right).

46. Find the area bounded by \ds y=\frac{2}{\sqrt{64-4{x}^{2}}},x=0,y=0,\text{and}\phantom{\rule{0.2em}{0ex}}x=2.

47. During each cycle, the velocity v (in feet per second) of a robotic welding device is given by \ds v(t)=2t-\frac{14}{4+{t}^{2}}, where t is time in seconds. Find the expression for the displacement s (in feet) as a function of t if \ds s=0 when \ds t=0.

Answer

\ds s(t)=t^2-7\arctan\left(\frac t2\right)

48. An oil storage tank can be described as the volume generated by revolving the area bounded by \ds y=\frac{16}{\sqrt{64+{x}^{2}}},x=0,y=0,x=2 about the x-axis. Find the volume of the tank (in cubic meters).

49. The region bounded by the graph of \ds f\left(x\right)=\frac{1}{1+{x}^{2}} and the x-axis between \ds x=0 and \ds x=1 is revolved about the x-axis. Find the volume of the solid that is generated.

Answer

\ds \frac{{\pi }^{2}}{8}+\frac{\pi }{4}

50. Find the length of the arc of the curve \ds y=x^2 over the interval \left[0,\sqrt2\right].

51. Find the length of the curve \ds y=\sqrt{16-{x}^{2}} between \ds x=0 and \ds x=2.

Answer

\ds \frac{2\pi }{3}

 

52. Find the area of the surface generated by revolving the curve \ds y=\ln(x) from x=0\ \text{to}\ \phantom{\rule{0.2em}{0ex}}x=\sqrt{2} about the y-axis.

Glossary

trigonometric substitution
an integration technique that converts an algebraic integral containing expressions of the form \ds \sqrt{{a}^{2}-{x}^{2}}, \ds \sqrt{{a}^{2}+{x}^{2}}, or \ds \sqrt{{x}^{2}-{a}^{2}} into a trigonometric integral

License

Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Calculus: Volume 2 (Second University of Manitoba Edition) Copyright © 2021 by Gilbert Strang and Edward 'Jed' Herman, modified by Varvara Shepelska is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book