Skip to main content
Logo image

Coordinated Calculus

Section 5.2 Antiderivatives from Formulas

Supplemental Videos.

The main topics of this section are also presented in the following videos:
The general problem of finding an antiderivative is difficult. In part, this is due to the fact that we are trying to undo the process of differentiating, and the undoing is much more difficult than the doing. For example, while it is evident that an antiderivative of \(f(x) = \sin(x)\) is \(F(x) = -\cos(x)\) and that an antiderivative of \(g(x) = x^2\) is \(G(x) = \frac{1}{3} x^3\text{,}\) combinations of \(f\) and \(g\) can be far more complicated. Consider the functions
\begin{equation*} 5\sin(x) - 4x^2, \ x^2 \sin(x), \ \frac{\sin(x)}{x^2}, \ \text{and} \ \sin(x^2)\text{.} \end{equation*}
In the above cases, the antiderivative might not be obvious and in some cases, for example, \(\sin(x^2)\) the antiderivative cannot be written down using elementary functions. This warrants the question, how do we find an antiderivative from a function given by a formula in general? We will begin to answer that question in this chapter.

Subsection 5.2.1 Basic antiderivatives

What is involved in trying to find an antiderivative for each? From our experience with derivative rules, we know that derivatives of sums and constant multiples of basic functions are simple to execute, but derivatives involving products, quotients, and composites of familiar functions are more complicated. Therefore, it stands to reason that antidifferentiating products, quotients, and composites of basic functions may be even more challenging. We defer our study of all but the most elementary antiderivatives to later in the text.
Before proceeding any further it will be useful to state two properties.

Properties of Antiderivatives: Sums and Constant Multiples.

Let \(f\) and \(g\) be functions that have an antiderivative and \(c\) a constant then
\begin{align*} \int\left(f(x) \pm g(x)\right) dx &= \int f(x)dx \pm \int g(x)dx\\ \int cf(x) dx &= c\int f(x)dx\text{.} \end{align*}
In other words, the antiderivative of a sum is the sum of the antiderivatives.
We forgo a formal proof of these properties but note that they are a consequence of the Constant Multiple Rule and Sum Rule for derivatives in Section 2.1 .
We do note that whenever we know the derivative of a function, we have a function-derivative pair, so we also know the antiderivative of a function. For instance, since we know that
\begin{equation*} \frac{d}{dx}[-\cos(x)] = \sin(x)\text{,} \end{equation*}
we also know that \(F(x) = -\cos(x)\) is an antiderivative of \(f(x) = \sin(x)\text{.}\) \(F\) and \(f\) together form a function-derivative pair. Clearly, every basic derivative rule leads us to such a pair, and thus to a known antiderivative.
In Example 5.14, we will construct a list of the basic antiderivatives we know at this time. Those rules will help us antidifferentiate sums and constant multiples of basic functions. For example, since \(-\cos(x)\) is an antiderivative of \(\sin(x)\) and \(\frac{1}{3}x^3\) is an antiderivative of \(x^2\text{,}\) it follows that
\begin{equation*} F(x) = -5\cos(x) - \frac{4}{3}x^3 \end{equation*}
is an antiderivative of \(f(x) = 5\sin(x) - 4x^2\text{.}\)
Finally, before proceeding to build a list of common functions whose antiderivatives we know, we recall that each function has more than one antiderivative. Because the derivative of any constant is zero, we may add a constant of our choice to any antiderivative. For instance, we know that \(G(x) = \frac{1}{3}x^3\) is an antiderivative of \(g(x) = x^2\text{.}\) But we could also have chosen \(G(x) = \frac{1}{3}x^3 + 7\text{,}\) since in this case as well, \(G'(x) = x^2\text{.}\) If \(g(x) = x^2\text{,}\) we say that the general antiderivative of \(g\) is
\begin{equation*} G(x) = \frac{1}{3}x^3 + C\text{,} \end{equation*}
where \(C\) represents an arbitrary real number constant. Regardless of the formula for \(g\text{,}\) including \(+C\) in the formula for its antiderivative \(G\) results in the most general possible antiderivative.
In the following example, we work to build a list of basic functions whose antiderivatives we already know.

Example 5.14.

Use your knowledge of derivatives of basic functions to complete the above table of antiderivatives. For each entry, your task is to find a function \(F\) whose derivative is the given function \(f\text{.}\)
Table 5.15. Familiar basic functions.
given function, \(f(x)\) antiderivative, \(F(x)\)  
\(k\text{,}\) (\(k\) is constant)
\(x^n\text{,}\) \(n \ne -1\)
\(\frac{1}{x}\)
\(\sin(x)\)
\(\cos(x)\)
\(\sec(x) \tan(x)\)
\(\csc(x) \cot(x)\)
\(\sec^2 (x)\)
\(\csc^2 (x)\)
\(e^x\)
\(a^x\) \((a \gt 1)\)
\(\frac{1}{1+x^2}\)
\(\frac{1}{\sqrt{1-x^2}}\)
Hint.
You might start by constructing a list of all the basic functions whose derivative you know.
Answer.
given function, \(f(x)\) antiderivative, \(F(x)\)  
\(k\text{,}\) (\(k \ne 0\)) \(kx+C\)
\(x^n\text{,}\) \(n \ne -1\) \(\frac{1}{n+1}x^{n+1}+C\)
\(\frac{1}{x}\) \(\ln|x|+C\)
\(\sin(x)\) \(-\cos(x)+C\)
\(\cos(x)\) \(\sin(x)+C\)
\(\sec(x) \tan(x)\) \(\sec(x)+C\)
\(\csc(x) \cot(x)\) \(-\csc(x)+C\)
\(\sec^2 (x)\) \(\tan(x)+C\)
\(\csc^2 (x)\) \(\cot(x)+C\)
\(e^x\) \(e^x+C\)
\(a^x\) \((a \gt 1)\) \(\frac{1}{\ln(a)} a^x+C\)
\(\frac{1}{1+x^2}\) \(\arctan(x)+C\)
\(\frac{1}{\sqrt{1-x^2}}\) \(\arcsin(x)+C\)
Solution.
given function, \(f(x)\) antiderivative, \(F(x)\)  
\(k\text{,}\) (\(k \ne 0\)) \(kx+C\)
\(x^n\text{,}\) \(n \ne -1\) \(\frac{1}{n+1}x^{n+1}+C\)
\(\frac{1}{x}\) \(\ln|x|+C\)
\(\sin(x)\) \(-\cos(x)+C\)
\(\cos(x)\) \(\sin(x)+C\)
\(\sec(x) \tan(x)\) \(\sec(x)+C\)
\(\csc(x) \cot(x)\) \(-\csc(x)+C\)
\(\sec^2 (x)\) \(\tan(x)+C\)
\(\csc^2 (x)\) \(\cot(x)+C\)
\(e^x\) \(e^x+C\)
\(a^x\) \((a \gt 1)\) \(\frac{1}{\ln(a)} a^x+C\)
\(\frac{1}{1+x^2}\) \(\arctan(x)+C\)
\(\frac{1}{\sqrt{1-x^2}}\) \(\arcsin(x)+C\)
Table 5.16. Familiar basic functions and their antiderivatives.

Subsection 5.2.2 Evaluating Definite Integrals Involving Expressions

Now that we have some basic antiderivatives in hand we can proceed to solve problems involving the definite integral when the integrand is an expression. Specifically, we seek to use antiderivatives and the Fundamental Theorem of Calculus to evaluate expressions like \(\displaystyle \int_0^1 \left(x^3 - x - e^x + 2\right) \,dx\text{.}\)
Since our current interest in antiderivatives is so that we can evaluate definite integrals by the Fundamental Theorem of Calculus the constant \(C\) is actually irrelevant, and mathematicians genrally omit it in these types of problems. To see why, consider the definite integral
\begin{equation*} \int_0^1 x^2 \, dx\text{.} \end{equation*}
For the integrand \(g(x) = x^2\text{,}\) suppose we find and use the general antiderivative \(G(x) = \frac{1}{3} x^3 + C\text{.}\) Then, by the Fundamental Theorem of Calculus,
\begin{align*} \int_0^1 x^2 \, dx &= \left. \frac{1}{3} x^3 + C \right|_0^1\\ &= \left(\frac{1}{3} (1)^3 + C \right) - \left(\frac{1}{3} (0)^3 + C \right)\\ &= \frac{1}{3} + C - 0 - C\\ &= \frac{1}{3}\text{.} \end{align*}
Observe that the \(C\)-values appear as opposites in the evaluation of the integral and thus do not affect the definite integral’s value.

Example 5.17.

Use the FTC and the results in Table 5.16 to evaluate the three given definite integrals.
  1. \(\displaystyle \displaystyle \int_0^1 \left(x^3 - x - e^x + 2\right) \,dx\)
  2. \(\displaystyle \displaystyle \int_0^{\frac{\pi}{3}} (2\sin (t) - 4\cos(t) + \sec^2(t) - \pi) \, dt\)
  3. \(\displaystyle \displaystyle \int_0^1 (\sqrt{x}-x^2) \, dx\)
Hint.
Be sure to recall the sum and constant multiple rules, which work not only for differentiating, but also for antidifferentiating.
Answer.
  1. \(\int_0^1 \left(x^3 - x - e^x + 2\right) \,dx = \frac{11}{4} - 3\text{.}\)
  2. \(\int_0^{\frac{\pi}{3}} (2\sin (t) - 4\cos(t) + \sec^2(t) - \pi) \, dt = 1 - \sqrt{3} - \frac{\pi^2}{3}\text{.}\)
  3. \(\int_0^1 (\sqrt{x} - x^2) \, dx = \frac{1}{3}\text{.}\)
Solution.
  1. By standard antiderivative rules and the FTC,
    \begin{align*} \int_0^1 \left(x^3 - x - e^x + 2\right) \,dx =\mathstrut \amp \left. \frac{1}{4} x^4 - \frac{1}{2}x^2 - e^x + 2x \right|_0^1\\ =\mathstrut \amp \left(\frac{1}{4} (1)^4 - \frac{1}{2}(1)^2 - e^1 + 2(1) \right) - \left(\frac{1}{4} (0)^4 - \frac{1}{2}(0)^2 - e^0 + 2(0) \right)\\ =\mathstrut \amp \frac{1}{4} - \frac{1}{2} - e + 2 - \left(0 - 0 - 1 + 0 \right)\\ =\mathstrut \amp -\frac{1}{4} - e + 3\\ =\mathstrut \amp \frac{11}{4} - 3\text{.} \end{align*}
  2. Calculating the needed antiderivative and applying the FTC,
    \begin{align*} \int_0^{\frac{\pi}{3}} (2\sin (t) - 4\cos(t) + \sec^2(t) - \pi) \, dt =\mathstrut \amp \left. \left(-2\cos(t) - 4\sin(t) + \tan(t) - \pi t \right) \right|_0^{\frac{\pi}{3}}\\ =\mathstrut \amp \left(-2\cos(\frac{\pi}{3}) - 4\sin(\frac{\pi}{3}) + \tan(\frac{\pi}{3}) - \pi (\frac{\pi}{3}) \right) -\\ \ \amp \left(-2\cos(0)) - 4\sin(0) + \tan(0) - \pi (0) \right)\\ =\mathstrut \amp -2 \cdot \frac{1}{2} - 4 \cdot \frac{\sqrt{3}}{2} + \sqrt{3} - \frac{\pi^2}{3} - (-2 - 0 + 0 - 0)\\ =\mathstrut \amp 1 - \sqrt{3} - \frac{\pi^2}{3}\text{.} \end{align*}
  3. Noting that \(\frac{d}{dx}[\frac{2}{3} x^{\frac{3}{2}}] = x^{\frac{1}{2}}\text{,}\) we find that
    \begin{align*} \int_0^1 (\sqrt{x} - x^2) \, dx =\mathstrut \amp \left. \frac{2}{3}x^{\frac{3}{2}} - \frac{1}{3}x^3 \right|_0^1\\ =\mathstrut \amp \frac{2}{3} - \frac{1}{3} - (0 - 0 )\\ =\mathstrut \amp \frac{1}{3}\text{.} \end{align*}

Subsection 5.2.3 Integration and the Area between Two Curves

Integration allows us to find the area between a curve and the \(x\)-axis. In fact, by visually inspecting the graphs of two different curves we can develop a technique for finding the area between two curves. Consider the graphs of the curves \(y=x^2+1\) and \(y=x+3\) displayed in Figure 5.18. We might ask if there is a way to find the area enclosed by these two curves as is colored in the figure.
Figure 5.18. Graphs of the curves \(y=x^2+1\) and \(y=x+3\text{.}\)
In fact, using the knowledge we have about integration, we can figure out this quantity exactly.

Example 5.19.

What is the exact area enclosed by the curves given by the functions \(f(x)=x^2+1\) and \(g(x)=x+3\text{?}\)
Hint.
It might help to answer the following questions:
  • Where do the curves intersect?
  • Based upon Figure 5.18 how would you calculate exact area between \(g(x)\) and the \(x\)-axis between the points of intersection?
  • Based upon Figure 5.18 how would you calculate exact area between \(f(x)\) and the \(x\)-axis between the points of intersection?
  • What is the relationship between the areas you calculated above?
Answer.
\(\frac{9}{2}\)
Solution.
The first step in solving this problem is to determine where the curves intersect. We can find the point of intersection by setting the two curves equal to each other.
\begin{align*} x^2+1 \amp=x+3\\ x^2-x-2 \amp=x+3\\ x^2-x-2 \amp=0\\ (x+1)(x-2) \amp=0 \end{align*}
Therefore, the curves intersect at two \(x\)-values, \(x=-1,2\text{.}\) This means were are concerned with the interval \([-2,2]\) .
We next note that on the interval in question, \([-2,2]\text{,}\) the curve \(g(x)=x+3\) is above the curve \(f(x)=x^2+1\text{.}\) We also note that \(\int_{-1}^{2}(x+3)dx\) would give the area shown in Figure 5.20 and \(\int_{-1}^{2}(x^2+1)dx\) Figure 5.21.
Figure 5.20. Graph of the curve \(y=x+3\text{.}\)
Figure 5.21. Graph of the curve \(y=x+3\text{.}\)
By overlaying Figure 5.20 and Figure 5.21 as in Figure 5.22 you can see that Figure 5.18 should be given by subtracting \(\int_{-1}^{2}(x^2+1)dx\) from \(\int_{-1}^{2}(x+3)dx\) .
Figure 5.22. Graphs of the curves \(y=x^2+1\) and \(y=x+3\text{.}\)
Therefore, the area between the curves \(y=x^2+1\) and \(y=x+3\) is given by the following quantity:
\begin{align*} \int_{-1}^{2}(x+3)\,dx-\int_{-1}^{2}(x^2+1)\,dx \amp= \int_{-1}^{2}\left((x+3)-(x^2+1)\right)\,dx \\ \mathstrut \amp=\int_{-1}^{2}(-x^2+x+2)\,dx\\ \mathstrut \amp= \left. -\frac{1}{3}x^3+\frac{1}{2}x^2+2x \right|_{-1}^{2}\\ \mathstrut \amp= \frac{9}{2} \end{align*}

Exercises 5.2.4 Exercises

1. Finding Antiderivatives.

Find an antiderivative \(P\) of
\begin{equation*} p(t) = \frac 1{\root 4\of{t^{3}}}. \end{equation*}
\(P(t) =\)

2. Finding Antiderivatives (Constants).

Evaluate the given indefinite integrals.
a) \(\displaystyle\int \, dx\) = \(+ C\text{.}\)
b) \(\displaystyle\int 1 \, dy\) = \(+ C\text{.}\)
c) \(\displaystyle\int \pi \,dz\) = \(+ C\text{.}\)

3. Finding Antiderivatives (Polynomials).

Evaluate the given indefinite integrals.
a) \(\displaystyle\int x \, dx\) = \(+ C\text{.}\)
b) \(\displaystyle\int a \, dx\) = \(+ C\text{.}\)
c) \(\displaystyle\int t^2 \, dx\) = \(+ C\text{.}\)

4. Finding Antiderivatives.

Find: \(\int\, 4t^{1}\sqrt{t}+\frac{1}{t\sqrt{t}}\, dt =\)

5. Finding Antiderivatives (Power Functions).

Evaluate the definite integrals
a) \(\displaystyle\int_{1}^{3} \dfrac{1}{x} \, dx =\)
b) \(\displaystyle\int_{1}^{6} \dfrac{1}{x^2} \, dx =\)
c) \(\displaystyle\int_{1}^{3} \dfrac{1}{x^{6}} \, dx =\)
d) \(\displaystyle\int_{0}^{3} x^2 \, dx =\)
e) \(\displaystyle\int_{0}^{1} x^{40} \, dx =\)

6. Finding Antiderivatives (\(n^{th}\)-Roots).

Evaluate the definite integrals
a) \(\displaystyle\int_{0}^{16} \sqrt{t} \, dt =\)
b) \(\displaystyle\int_{9}^{16} \dfrac{1}{\sqrt{z}} \, dz =\)
c) \(\displaystyle\int_{1}^{64} \sqrt[3]{x} \, dx =\)

7. Definite Integrals from Antiderivatives.

Evaluate the definite integrals
a) \(\displaystyle\int_{2}^{5} (6 x^2 + 10 x - 3) \, dx =\)
b) \(\displaystyle\int_{4}^{10} (x - 3)^2 \, dx =\)
c) \(\displaystyle\int_{-1}^{1} (x^{5} - x^{9}) \, dx =\)

8. Definite Integrals from Antiderivatives (Trigonometric Functions).

Evaluate the definite integrals
a) \(\displaystyle\int_{\pi/2}^{\pi} 8 \cos x \, dx =\)
b) \(\displaystyle\int_{0}^{\pi/4} 7 \sec^2 \theta \, d\theta =\)
c) \(\displaystyle\int_{\pi/6}^{\pi/3} 5 \csc t \cot t \, dt =\)

9. Finding exact displacement.

The velocity function is \(v(t) = t^2 - 5 t + 6\) for a particle moving along a line. Find the displacement (net distance covered) of the particle during the time interval \([-1,5]\text{.}\)
displacement =

10. Evaluating the definite integral of a rational function.

The value of \(\displaystyle \int_{5}^{11} \frac{1}{ x^2 } dx\) is

11. Evaluating the definite integral of a linear function.

Evaluate the definite integral
\begin{equation*} \int_{ 2 } ^ { 8 } (10 x + 6) dx \end{equation*}

12. Evaluating the definite integral of a quadratic function.

Evaluate the definite integral
\begin{equation*} \int_{ -10 } ^ { 10 } (100 -x^2) dx \end{equation*}

13. Simplifying an integrand before integrating.

Evaluate the definite integral
\begin{equation*} \int_{ 3 } ^ { 7 } \frac {2 x^2 + 9 } { \sqrt x } dx \end{equation*}

14. Evaluating the definite integral of a trigonometric function.

Evaluate the definite integral
\begin{equation*} \int_{ 0 } ^ { \pi } 2 \sin(x) dx \end{equation*}

15. Analyzing a velocity function.

The instantaneous velocity (in meters per minute) of a moving object is given by the function \(v\) as pictured in Figure 5.23. Assume that on the interval \(0 \le t \le 4\text{,}\) \(v(t)\) is given by \(v(t) = -\frac{1}{4}t^3 + \frac{3}{2}t^2 + 1\text{,}\) and that on every other interval \(v\) is piecewise linear, as shown.
Figure 5.23. The velocity function of a moving body.
  1. Determine the exact distance traveled by the object on the time interval \(0 \le t \le 4\text{.}\)
  2. What is the object’s average velocity on \([12,24]\text{?}\)
  3. At what time is the object’s acceleration greatest?
  4. Suppose that the velocity of the object is increased by a constant value \(c\) for all values of \(t\text{.}\) What value of \(c\) will make the object’s total distance traveled on \([12,24]\) be 210 meters?

16. Evaluating the definite integral of a piecewise function.

A function \(f\) is given piecewise by the formula
\begin{equation*} f(x) = \begin{cases} -x^2 + 2x + 1, \amp \ \text{if} \ 0 \le x \lt 2 \\ -x + 3, \amp \ \text{if} \ 2 \le x \lt 3 \\ x^2 - 8x + 15, \amp \ \text{if} \ 3 \le x \le 5 \end{cases} \end{equation*}
.
  1. Determine the exact value of the net signed area enclosed by \(f\) and the \(x\)-axis on the interval \([2,5]\text{.}\)
  2. Compute the exact average value of \(f\) on \([0,5]\text{.}\)
  3. Find a formula for a function \(g\) on \(5 \le x \le 7\) so that if we extend the above definition of \(f\) so that \(f(x) = g(x)\) if \(5 \le x \le 7\text{,}\) it follows that \(\int_0^7 f(x) \, dx = 0\text{.}\)