# 7.5: Strategy for Integration

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

In addition to the techniques of integration we have already seen, several other tools are widely available to assist with the process of integration. Among these tools are** integration tables**, which are readily available in many books, including the appendices to this one. Also widely available are **computer algebra systems (CAS)**, which are found on calculators and in many campus computer labs, and are free online.

## Tables of Integrals

Integration tables, if used in the right manner, can be a handy way either to evaluate or check an integral quickly. Keep in mind that when using a table to check an answer, it is possible for two completely correct solutions to look very different. For example, in Trigonometric Substitution, we found that, by using the substitution \(\displaystyle x=tanθ,\) we can arrive at

\(\displaystyle ∫\frac{dx}{\sqrt{1+x^2}}=ln(x+\sqrt{x^2+1})+C.\)

However, using \(\displaystyle x=sinhθ\), we obtained a different solution—namely,

\(\displaystyle ∫\frac{dx}{\sqrt{1+x^2}}=sinh^{−1}x+C.\)

We later showed algebraically that the two solutions are equivalent. That is, we showed that \(\displaystyle sinh^{−1}x=ln(x+\sqrt{x^2+1})\). In this case, the two antiderivatives that we found were actually equal. This need not be the case. However, as long as the difference in the two antiderivatives is a constant, they are equivalent.

Example \(\displaystyle \PageIndex{1}\): Using a Formula from a Table to Evaluate an Integral

Use the table formula

\(\displaystyle ∫\frac{\sqrt{a^2−u^2}}{u^2}du=−\frac{\sqrt{a^2−u^2}}{u}−sin^{−1}\frac{u}{a}+C\)

to evaluate \(\displaystyle ∫\frac{\sqrt{16−e^{2x}}}{e^x}dx.\)

**Solution**

If we look at integration tables, we see that several formulas contain expressions of the form \(\displaystyle \sqrt{a^2−u^2}.\) This expression is actually similar to \(\displaystyle \sqrt{16−e^{2x}},\) where \(\displaystyle a=4\) and \(\displaystyle u=e^x\). Keep in mind that we must also have \(\displaystyle du=e^x\). Multiplying the numerator and the denominator of the given integral by \(\displaystyle e^x\) should help to put this integral in a useful form. Thus, we now have

\(\displaystyle ∫\frac{\sqrt{16−e^{2x}}}{e^x}dx=∫\frac{\sqrt{16−e^{2x}}}{e^{2x}}e^xdx.\)

Substituting \(\displaystyle u=e^x\) and \(\displaystyle du=e^x\) produces \(\displaystyle ∫\frac{\sqrt{a^2−u^2}}{u^2}du.\) From the integration table (#88 in Appendix A),

\(\displaystyle ∫\frac{\sqrt{a^2−u^2}}{u^2}du=−\frac{\sqrt{a^2−u^2}}{u}−sin^{−1}\frac{u}{a}+C.\)

Thus,

\(\displaystyle ∫\frac{\sqrt{16−e^{2x}}}{e^x}dx=∫\frac{\sqrt{16−e^{2x}}}{e^{2x}}e^xdx\) Substitute \(\displaystyle u=e^x\) and \(\displaystyle du=e^xdx.\)

\(\displaystyle =∫\frac{\sqrt{4^2−u^2}}{u^2}du\) Apply the formula using \(\displaystyle a=4\).

\(\displaystyle =−\frac{\sqrt{4^2−u^2}}{u}−sin^{−1}\frac{u}{4}+C\) Substitute \(\displaystyle u=e^x\).

\(\displaystyle =−\frac{\sqrt{16−e^{2x}}}{u}−sin^{−1}(\frac{e^x}{4})+C\)

## Computer Algebra Systems

If available, a CAS is a faster alternative to a table for solving an integration problem. Many such systems are widely available and are, in general, quite easy to use.

Example \(\displaystyle \PageIndex{2}\): Using a Computer Algebra System to Evaluate an Integral

Use a computer algebra system to evaluate \(\displaystyle ∫\frac{dx}{\sqrt{x^2−4}}.\) Compare this result with \(\displaystyle ln∣\frac{\sqrt{x^2−4}}{2+}\frac{x}{2}∣+C,\) a result we might have obtained if we had used trigonometric substitution.

**Solution**

Using Wolfram Alpha, we obtain

\(\displaystyle ∫\frac{dx}{\sqrt{x^2−4}}=ln∣\sqrt{x^2−4}+x∣+C.\)

Notice that

\(\displaystyle ln∣\frac{\sqrt{x^2−4}}{2}+\frac{x}{2}∣+C=ln∣\frac{\sqrt{x^2−4}+x}{2}∣+C=ln∣\sqrt{x^2−4}+x∣−ln2+C.\)

Since these two antiderivatives differ by only a constant, the solutions are equivalent. We could have also demonstrated that each of these antiderivatives is correct by differentiating them.

You can access an integral calculator for more examples.

Example \(\displaystyle \PageIndex{3}\): Using a CAS to Evaluate an Integral

Evaluate \(\displaystyle ∫sin^3xdx\) using a CAS. Compare the result to \(\displaystyle \frac{1}{3}cos^3x−cosx+C\), the result we might have obtained using the technique for integrating odd powers of \(\displaystyle sinx\) discussed earlier in this chapter.

**Solution**

Using Wolfram Alpha, we obtain

\(\displaystyle ∫sin^3xdx=\frac{1}{12}(cos(3x)−9cosx)+C.\)

This looks quite different from \(\displaystyle \frac{1}{3}cos^3x−cosx+C.\) To see that these antiderivatives are equivalent, we can make use of a few trigonometric identities:

\(\displaystyle \frac{1}{12}(cos(3x)−9cosx)=\frac{1}{12}(cos(x+2x)−9cosx)\)

\(\displaystyle =\frac{1}{12}(cos(x)cos(2x)−sin(x)sin(2x)−9cosx)\)

\(\displaystyle =\frac{1}{12}(cosx(2cos^2x−1)−sinx(2sinxcosx)−9cosx)\)

\(\displaystyle =\frac{1}{12}(2cos_3x−cosx−2cosx(1−cos^2x)−9cosx)\)

\(\displaystyle =\frac{1}{12}(4cos_3x−12cosx)\)

\(\displaystyle =\frac{1}{3}cos_3x−cosx.\)

Thus, the two antiderivatives are identical.

We may also use a CAS to compare the graphs of the two functions, as shown in the following figure.

**Figure \(\PageIndex{1}\):** The graphs of \(\displaystyle y=\frac{1}{3}cos^3x−cosx\) and \(\displaystyle y=\frac{1}{12}(cos(3x)−9cosx)\) are identical.

Exercise \(\PageIndex{1}\)

Use a CAS to evaluate \(\displaystyle ∫\frac{dx}{\sqrt{x^2+4}}\).

**Hint**-
Answers may vary.

**Answer**-
Possible solutions include \(\displaystyle sinh^{−1}(\frac{x}{2})+C\) and \(\displaystyle ln∣\sqrt{x^2+4}+x∣+C.\)

## Key Concepts

- An integration table may be used to evaluate indefinite integrals.
- A CAS (or computer algebra system) may be used to evaluate indefinite integrals.
- It may require some effort to reconcile equivalent solutions obtained using different methods.

## Glossary

**computer algebra system (CAS)**- technology used to perform many mathematical tasks, including integration

**integration table**- a table that lists integration formulas

### Contributors

Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is licensed with a CC-BY 3/0 license. Download for free at http://cnx.org/contents/fd53eae1-fa2...49835c3c@5.191.