We have learned several antidifferentiation techniques:
-substitution, integration by parts, trigonometric substitution, and the method of partial fractions. However, there will still be cases of integrals that can not be solved by these methods. Consider the integral
none of these methods can be used to solve this integral. In fact, an elementary algebraic antiderivative for
does not exist. No antidifferentiation method will provide us with a simple algebraic formula for a function
that satisfies
The goal of this section is to recognize that there are many functions for which an algebraic formula for an antiderivative does not exist, and appreciate the role that computing technology can play in finding antiderivatives of other complicated functions. Moreover, tables of integrals can be helpful in finding antiderivatives quickly, even when we are able to compute them by hand.
Example 5.109.
For each of the indefinite integrals below, look at the table of integrals in
Appendix A and decide how an antiderivative may be obtained using the table. It is also worthwhile to ask whether any of the methods we have learned so far can also be used to find an antiderivative.
Solution.
This can be evaluated by following Rule (a) in the table. It may also be evaluated using trigonometric substitution.
This requires algebraic manipulation before you can successfully use a substitution. We can evaluate by recognizing that so we can split the original integral into two integrals. Then, evaluate with the substitution and evaluate by following Rule (a) in the table or by using trigonometric substitution.
This integral can be found by using the substitution which transforms the integral to The antiderivative of is again found using Rule (a) in the table; trigonometric substitution may also be used.
The final integral can be evaluated by following Rule (g) in the table. It may also be evaluated using trigonometric substitution.
Subsection 5.12.1 Using an Integral Table
Calculus has a rich history, spanning across many centuries and continents. Core concepts like limit and continuity can be traced back to Greek mathematicians, astronomers, and philosophers in 400-300 BC. Scholars in China, India, the Middle East, and Europe developed these ideas further over hundreds of years until the first unified accounts of differential and integral calculus were given, independently, by Isaac Newton and Gottfried Wilhelm Leibniz in the 17th century.
It is instructive to realize that because the personal computer didn’t exist until the late 1980s, calculus (and all other mathematics) had to be done by hand for millenia. In the 21st century, however, computers have revolutionized many aspects of the world we live in, including mathematics. In this section we investigate the role that integral tables and computer algebra systems can play in evaluating indefinite integrals.
As seen in the short table of integrals found in
Appendix A, there are many forms of integrals that involve
and
These integral rules can be developed using the technique known as
trigonometric substitution that we learned in the last section. To see how these rules are used, consider the differences among
The first integral is a familiar basic one, and results in
The second integral can be evaluated using a standard
-substitution with
The third, however, is not familiar and does not lend itself to
-substitution.
Using the substitutions
and
(so that
), it follows that
Whenever we are applying a rule in the table, we are doing a
-substitution, particularly when the substitution is more complicated than setting
as in the last example.
Example 5.110.
Solution.
Here, we want to use Rule (c) from the table, but we now set and We also choose the “” option in the rule. With this substitution, it follows that so Applying the substitution,
By Rule (c), we now find that
Whenever we use a
-subsitution in conjunction with
Appendix A, it’s important that we not forget to address any constants that arise and include them in our computations, such as the
that appeared in
Example 5.110.
Example 5.111.
For each of the following integrals, evaluate the integral using
-substitution and/or an entry from the table found in
Appendix A.
Hint.
Compare to
Try a straightforward -substitution; the table is unneeded.
Let and and look for a similar integral in the table.
Let and find a related integral in the table.
Answer.
Solution.
Letting and it follows that and and therefore
Using Rule (k) in
Appendix A and the fact that
we see
Subsection 5.12.2 Using Computer Algebra Systems
A computer algebra system (CAS) is a computer program that is capable of executing symbolic mathematics. For example, if we ask a CAS to solve the equation
for the variable
where
and
are arbitrary constants, the program will return
Research to develop the first CAS dates to the 1960s, and these programs became publicly available in the early 1990s. Two prominent examples are the programs
Maple and
Mathematica, which were among the first computer algebra systems to offer a graphical user interface. Today,
Maple and
Mathematica are exceptionally powerful professional software packages that can execute an amazing array of sophisticated mathematical computations. They are also very expensive, as each is a proprietary program. The CAS
SAGE is an open-source, free alternative to
Maple and
Mathematica.
For the purposes of this text, when we need to use a CAS, we are going to turn instead to a similar, but somewhat different computational tool, the web-based “computational knowledge engine” called
WolframAlpha. There are two features of
WolframAlpha that make it stand out from the CAS options mentioned above: (1) unlike
Maple and
Mathematica,
WolframAlpha is free (provided we are willing to navigate some pop-up advertising); and (2) unlike any of the three, the syntax in
WolframAlpha is flexible. Think of
WolframAlpha as being a little bit like doing a Google search: the program will interpret what is input, and then provide a summary of options.
If we want to have
WolframAlpha evaluate an integral for us, we can provide it syntax such as
to which the program responds with
To find the partial fraction decomposition of any rational function, in
WolframAlpha, entering
partial fraction 5x/(x^2-x-2)
While there is much to be enthusiastic about regarding CAS programs such as
WolframAlpha, there are several things we should be cautious about: (1) a CAS only responds to exactly what is input; (2) a CAS can answer using powerful functions from very advanced mathematics; and (3) there are problems that even a CAS cannot do without additional human insight.
Although (1) likely goes without saying, we have to be careful with our input: if we enter syntax that defines the wrong function, the CAS will work with precisely the function we define. For example, if we are interested in evaluating the integral
a CAS will (correctly) reply with
But if we are sufficiently well-versed in antidifferentiation, we will recognize that this function cannot be the one that we seek: integrating a rational function such as
we expect the logarithm function to be present in the result.
Regarding (2), even for a relatively simple integral such as
some CASs will invoke advanced functions rather than simple ones. For instance, if we use
Maple to execute the command
the program responds with
While this is correct (save for the missing arbitrary constant, which
Maple never reports), the inverse hyperbolic tangent function is not a common nor familiar one; a simpler way to express this function can be found by using the partial fractions method, and happens to be the result reported by
WolframAlpha:
Using sophisticated functions from more advanced mathematics is sometimes the way a CAS says to the user “I don’t know how to do this problem.” For example, if we want to evaluate
and we ask
WolframAlpha to do so, the input
The function “erf
” is the
error function, which is actually defined by an integral:
So, in producing an output involving an integral, the CAS has basically reported back to us the very question we asked.
Finally, as remarked at (3) above, there are times that a CAS will actually fail without some additional human insight. If we consider the integral
and ask
WolframAlpha to evaluate
int (1+x) * exp(x) * sqrt(1+x^2 * exp(2x)) dx
,
the program thinks for a moment and then reports
(
no result found in terms of standard mathematical functions)
But in fact this integral is not that difficult to evaluate. If we let
then
which means that the preceding integral has the form
which is a straightforward one for any CAS to evaluate.
So, we should proceed with some caution: while any CAS is capable of evaluating a wide range of integrals (both definite and indefinite), there are times when the result can mislead us. We must think carefully about the meaning of the output, whether it is consistent with what we expect, and whether or not it makes sense to proceed.