## Section8.1Antiderivatives

We have previously studied the differentiation operator. Given a function relationship between two variables $x \overset{f}{\mapsto} Q\text{,}$ the derivative $f'$ is the function relating $x$ to the rate of change $\frac{dQ}{dx}\text{.}$ Differentiation is the operation that goes maps $f \overset{\frac{d}{dx}}\mapsto f'\text{.}$ Because $f'$ is itself a function, we can apply differentiation again $f' \overset{\frac{d}{dx}}\mapsto f''\text{.}$ This process can repeat indefinitely.

Consider as an example $f(x) = x^4+2x^2-3x\text{.}$ There is a sequence of functions corresponding to the derivatives:

\begin{align*} f(x) &= x^4+2x^2-3x, \\ f'(x) &= 4x^3+4x-3, \\ f''(x) &= 12x^2+4, \\ f^{(3)}(x) &= 24x, \\ f^{(4)}(x) &= 24, \\ f^{(5)}(x) &= 0, \\ f^{(6)}(x) &= 0. \end{align*}

This pattern continues with $f^{(n)}(x) = 0$ for $n=5,6,7,\ldots\text{.}$

As the example above illustrates, given a function we can find its derivative. One of the major themes of mathematics is the idea of inverse operations. Is there an inverse operation to differentiation? That is, given $f(x)\text{,}$ instead of computing $f'(x)\text{,}$ can we find a function $F(x)$ so that $F(x) \overset{\frac{d}{dx}}\mapsto f(x)\text{?}$ This inverse operation, using $f(x)$ to find $F(x)\text{,}$ is called antidifferentiation.

In this section, we define antiderivatives. We discuss why a function has infinitely many different antiderivatives. Based on the First Part of the Fundamental Theorem of Calculus, we recognize that accumulation functions are special examples of antiderivatives for continuous rates of accumulation. Motivated by this observation, we introduce the indefinite integral as the notation for antidifferentiation. Examples will illustrate how we use our known differentiation rules to develop corresponding antidifferentiation rules.

### Subsection8.1.1Terminology

###### Definition8.1.1Antiderivatives

Given a function $f(x)\text{,}$ we say that $F(x)$ is an antiderivative of $f(x)$ if $f(x)$ is the derivative of $F(x)\text{.}$ That is, $F'(x)=f(x)\text{.}$

The derivative of any constant is zero, so adding a constant to a function creates a new function that has the same derivative as the original. This means that differentiation is not one-to-one.

###### Example8.1.2

Compare the following derivatives:

\begin{align*} \frac{d}{dx}[x^2+3x] &= 2x+3,\\ \frac{d}{dx}[x^2+3x-1] &= 2x+3,\\ \frac{d}{dx}[x^2+3x+4] &= 2x+3. \end{align*}

Each of the functions have the same derivative. We say that $x^2+3x\text{,}$ $x^2+3x-1\text{,}$ and $x^2+3x+4$ are all antiderivatives of $2x+3\text{.}$ More generally, we know $x^2+3x+C$ will be an antiderivative for any constant value $C\text{.}$

If we know that a function $F(x)$ is an antiderivative of $f(x)\text{,}$ then we know that all functions of the form $F(x)+C\text{,}$ where $C$ is a constant, are also antiderivatives. This shows that infinitely many different functions have the same derivative. We call all such functions antiderivatives.

We will later prove the following theorem. It states that the only way that two antiderivatives can be different is that they differ by a constant. The proof of the theorem will use a Mean Value Theorem for derivatives.

Consequently, knowing just one antiderivative allows us to determine all possible antiderivatives by adding some constant. Suppose $F(x)$ is an antiderivative of $f(x)\text{.}$ Then any other antiderivative must be $F(x)+C$ for some constant $C\text{.}$ If we leave the constant as an unspecified parameter, we call this the general antiderivative. Graphically, different antiderivatives correspond to a vertical translation of the graph. That is, all antiderivatives have the same graph shifted up or down relative to one another.

In the case that $f(x)$ is continuous on some interval $I\text{,}$ we can define an accumulation function starting at any convenient point $a \in I\text{,}$

\begin{equation*} A(x) = \int_a^x f(z) \, dz. \end{equation*}

By the Part One of the Fundamental Theorem of Calculus, we know that $A'(x) = f(x)\text{.}$ That is, $A(x)$ is itself an antiderivative of $f(x)$ and any other antiderivative could be written $F(x) = \int_a^x f(z) \, dz + C\text{.}$

Owing to this close connection between antiderivatives and integrals, the standard notation for finding antiderivatives is with the integral symbol using an indefinite integral. An indefinite integral will not have any limits of integration, uses the same variable of integration as the independent variable, and refers to antiderivatives rather than definite integrals.

###### Definition8.1.4Indefinite Integrals

Given a function $f(x)\text{,}$ the indefinite integral of $f(x)$ with respect to $x\text{,}$ written $\displaystyle \int f(x) \, dx\text{,}$ is the general antiderivative of $f(x)\text{.}$ That is, if $F(x)$ is any antiderivative such that $F'(x)=f(x)\text{,}$ then

\begin{equation*} \int f(x)\, dx = F(x) + C. \end{equation*}

Using our earlier example, we can write the indefinite integral of $2x+3$ as

\begin{equation*} \int 2x+3 \, dx = x^2 + 3x + C. \end{equation*}

The indefinite integral represents the infinite family of all antiderivatives of $2x+3\text{.}$

### Subsection8.1.2Examples

For the most part, finding antiderivatives corresponds to recognizing how a function might have been computed as a derivative. Every statement about differentiation has an equivalent statement about integrals. To check whether a proposed function is an antiderivative, we calculate its derivative and compare that with the function inside the integral.

###### Example8.1.5

Find $\displaystyle \frac{d}{dx}\Big[ (3x+5)^4 \Big]$ and then write down the equivalent statement as an integral.

Solution

The last operation in the expression $(3x+5)^4$ is the power acting on the expression $u=3x+5\text{.}$ The derivative requires a chain rule:

\begin{align*} \frac{d}{dx}\Big[(3x+5)^4\Big] &= 4u^3 \frac{du}{dx} \\ &= 4(3x+5)^3(3)\\ &=12 (3x+5)^3. \end{align*}

Once we know the derivative, we can write the equivalent integral

\begin{equation*} \int 12 (3x+5)^3 \, dx = (3x+5)^4 + C. \end{equation*}

This says that $(3x+5)^4$ is an antiderivative of $12(3x+5)^3\text{,}$ along with that same formula plus any constant.

We must learn to recognize which differentiation rules would result in a particular formula for a given function. Because differentiation is a linear operator, antidifferentiation is as well.

If the integrand $f(x)$ is expressed as a sum of terms, we typically first try to find antiderivatives of each term.

###### Example8.1.7

Find $\displaystyle \int 4x^3 - 2e^{2x} \, dx\text{.}$

Solution

We are looking for a function $F(x)$ for which $F'(x)=4x^3 - 2e^{2x}\text{.}$ From experience computing derivatives, we know

\begin{gather*} \frac{d}{dx}[x^4] = 4x^3, \\ \frac{d}{dx}[e^{2x}] = 2e^{2x}. \end{gather*}

This suggests we should use the difference $F(x) = x^4-e^{2x}\text{.}$ We verify by differentiation:

\begin{equation*} F'(x) = \frac{d}{dx}[x^4-e^{2x}] = 4x^3 - 2e^{2x}. \end{equation*}

This verifies that $F(x)$ is an antiderivative of $4x^3-2e^{2x}\text{.}$ The general antiderivative is written as the indefinite integral,

\begin{equation*} \int 4x^3-2e^{2x}\,dx = x^4 - e^{2x} + C. \end{equation*}

Most derivative rules do not result in a product of expressions. The product rule for derivatives results in the sum of two products. The quotient rule results in in difference of quotients. Only the chain rule creates a derivative by multiplying two expresions together. Consequently, if we see an integrand with expressions multiplied together, we should consider whether we would benefit from expanding the product as a sum.

###### Example8.1.8

Find $\displaystyle \int x^2(x^2-3) \, dx\text{.}$

Solution

The function $f(x) = x^2(x^2-3)$ is a product that can be expanded to a sum using the distributive property.

\begin{equation*} f(x) = x^4 - 3x^2. \end{equation*}

Our experience with the power rule suggests that we should be able to integrate this expression. We know

\begin{equation*} \frac{d}{dx}[x^5] = 5x^4. \end{equation*}

To eliminate the unwanted constant multiple of 5, we can multiply both sides by $\frac{1}{5}$ to get

\begin{equation*} \frac{d}{dx}\Big[ \frac{1}{5}x^5 \Big] = x^4. \end{equation*}

This suggests an antiderivative

\begin{equation*} F(x) = \frac{1}{5}x^5 - x^3. \end{equation*}

We verify using regular differentiation rules:

\begin{align*} F'(x) &= \frac{d}{dx}[\frac{1}{5}x^5 - x^3]\\ &= \frac{1}{5}(5x^4) - 3x^2 \\ &= x^4 - 3x^2 = f(x). \end{align*}

We have found

\begin{equation*} \int x^2 (x^2-3) \, dx = \frac{1}{5}x^5 - x^3 + C. \end{equation*}

Just as it is useful to collect and learn the basic building blocks for differentiation, we can collect and learn basic building blocks for integration. Each derivative rule has its equivalent statement about antiderivatives. If we incorporate the chain rule, we extend each of the elementary rules to generalized rules.

1. Power Rule: For any power $n \ne -1\text{,}$

\begin{equation*} \int x^n \, dx = \frac{1}{n+1} x^{n+1} + C. \end{equation*}
2. Generalized Power Rule: For any power $n \ne -1$ and expression $u\text{,}$

\begin{equation*} \int u^n \cdot \frac{du}{dx} \, dx = \frac{1}{n+1} u^{n+1} + C. \end{equation*}
3. Logarithm Rule:

\begin{equation*} \int \frac{1}{x} \, dx = \ln(|x|) + C. \end{equation*}
4. Generalized Logarithm Rule: For any expression $u\text{,}$

\begin{equation*} \int \frac{u'}{u} \, dx = \ln(|u|) + C. \end{equation*}
5. Elementary Exponential Rule: For any real value $k \ne 0\text{,}$

\begin{equation*} \int e^{kx} \, dx = \frac{1}{k} e^{kx} + C. \end{equation*}
6. Generalized Exponential Rule: For any expression $u\text{,}$

\begin{equation*} \int e^{u} \cdot \frac{du}{dx} \, dx = e^{u} + C. \end{equation*}
###### Example8.1.9

$\displaystyle \int x^2 e^{x^3} \, dx$

Solution

Because the integrand has a product of expressions, we should begin by looking to see if the problem involves the chain rule. The exponential term $e^{x^3}$ involves the expression $u=x^3$ which has a derivative $u'=3x^2\text{.}$ Notice that the other factor in the problem, $x^2\text{,}$ differs from $u'$ only by a constant multiple. That is, we can recognize our problem as a generalized exponential

\begin{align*} \int x^2 e^{x^3} \, dx &= \int \frac{1}{3}(3x^2) e^{x^3} \, dx \\ &\underset{u=x^3}= \int \frac{1}{3} e^{u} \cdot \frac{du}{dx} \, dx\\ &\underset{u=x^3}= \frac{1}{3} e^{u} + C\\ &= \frac{1}{3} e^{x^3} + C. \end{align*}

### Subsection8.1.3Finding a Particular Antiderivative

Adding a constant to a function represents a graphical transformation of a vertical shift. Consequently, different antiderivatives have the same graph shifted vertically from one another. Consider the function $f(x) = x^2 - 4x\text{.}$ Integration gives us

\begin{equation*} \int x^2 - 4x \, dx = \frac{1}{3}x^3 - 2x^2 + C. \end{equation*}

The function $F(x) = \frac{1}{3}x^3 - 2x^2$ has the derivative $F'(x)=x^2-4x\text{,}$ as does every function $F(x)+C\text{.}$

The following dynamic graph has a slider for the integration constant $C\text{.}$ Notice that changing the value of $C$ shifts the graph up or down. See if you can find a value so that the graph $y=F(x)+C$ goes through $(x,y) = (3,2)\text{.}$

We can solve for the integration constant to find a particular antiderivative passing through a given point.

###### Example8.1.11

Find the constant $C$ so that $F(x) = \frac{1}{3}x^3 - 2x^2 + C$ satisfies $F(3)=2\text{.}$

Solution

Substitute the value $x=3$ into the equation for $F(x)\text{.}$

\begin{align*} F(3) &= \frac{1}{3}(3^3) - 2(3^2) + C\\ &= 9 - 18 + C \\ &= -9 + C \end{align*}

Because we want $F(3)=2\text{,}$ we create the equation

\begin{equation*} -9+C = 2 \end{equation*}

so that we can solve for $C$ to get $C=11\text{.}$

###### Example8.1.12

Find a function $P(t)$ so that $P'(t) = 20e^{-2t} + 3t$ and $P(0) = 50\text{.}$

Solution

Start by finding the general antiderivative.

\begin{equation*} \int [ 20e^{-2t} + 3t ] dt = -10 e^{-2t} + \frac{3}{2}t^2 + C \end{equation*}

We therefore see that $P(t) = -10 e^{-2t} + \frac{3}{2}t^2 + C\text{.}$ Now we substitute $t=0$ and $P(0)=50$ to solve for $C\text{.}$

\begin{align*} P(0) &= -10 e^{0} + \frac{3}{2} (0^2) + C \\ 50 &= -10 + C\\ 60 &= C \end{align*}

Having found $C=60\text{,}$ we can conclude

\begin{equation*} P(t) = -10 e^{-2t} + \frac{3}{2}t^2 + 60. \end{equation*}

Because the derivative represents a rate of change, finding particular antiderivatives is equivalent to finding a quantity as a function of an independent variable when we know the rate of change as a function and we know an initial value.

###### Example8.1.13

A cup of coffee starts at a temperature of 160 degrees Fahrenheit. The temperature changes at a rate of change (degrees per minute) modeled by the formula $-3.6e^{-0.04t}$ where $t$ is the time in minutes. Find the temperature as a function of time.

Solution

Let $T$ represent the temperature of the cup of coffee in degrees Fahrenheit. Our given information shows that

\begin{equation*} \frac{dT}{dt} = -3.6e^{-0.04t}. \end{equation*}

The temperature $T$ must be an antiderivative of this formula,

\begin{align*} T &= \int -3.6e^{-0.04t} \, dt \\ &= \frac{-3.6}{-0.04}e^{-0.04t} + C \\ &= 90e^{-0.04t} + C. \end{align*}

To find the value of $C\text{,}$ substitute $t=0$ and $T=160\text{.}$

\begin{gather*} T = 90e^{-0.04t} + C \\ 160 = 90e^{0} + C \\ 160 = 90 + C \\ 70 = C \end{gather*}

Consequently, we have $T = 90e^{-0.04t} + 70\text{.}$

### Subsection8.1.4Summary

1. An antiderivative of $f(x)$ is any function $F(x)$ so that $\frac{d}{dx}[F(x)] = f(x)\text{.}$ If $F(x)$ is an antiderivative of $f(x)\text{,}$ then so is $F(x)+C$ for any value of $C\text{.}$

2. The Fundamental Theorem of Calculus guarantees that every continuous function has an antiderivative. In particular, if $f(x)$ is continuous on an interval $I$ with $a \in I\text{,}$ then the accumulation function

\begin{equation*} A(x) = \int_a^x f(z) \, dz \end{equation*}

is an antiderivative on the interval $I\text{.}$

3. We use the indefinite integral as the operator for antidifferentiation. For a function $f(x)$ with antiderivative $F(x)\text{,}$ we write

\begin{equation*} \int [ f(x) ]\, dx = F(x) + C \end{equation*}

where $C$ (or any other chosen symbol) represents an arbitrary constant of integration.

4. The constant of integration graphically represents an arbitrary vertical shift of the graph of a function. Given any point representing an initial value, we can solve for the constant of integration so that there is the graph of an antiderivative which passes through the given point.

### Subsection8.1.5Exercises

Calculate the specified derivative and then write the equivalent indefinite integral.

###### 1

$\displaystyle \frac{d}{dx}\Big[ 2x^4 \Big]$

###### 2

$\displaystyle \frac{d}{dx}\Big[ (2x+3)^5 \Big]$

###### 3

$\displaystyle \frac{d}{dx}\Big[ \sqrt{x^2+3} \Big]$

###### 4

$\displaystyle \frac{d}{dx}\Big[ \ln(|x^2-4x|) \Big]$

###### 5

$\displaystyle \frac{d}{dx}\Big[ e^{3x^4} \Big]$

###### 6

$\displaystyle \frac{d}{dx}\Big[ x^2 e^{-3x} \Big]$

###### 7

$\displaystyle \frac{d}{dx}\Big[ x \ln(|x|) \Big]$

###### 8

$\displaystyle \frac{d}{dx}\Big[ \frac{x-1}{x-3} \Big]$

Compute the indefinite integral by finding the general antiderivative. Some integrands need to be rewritten before integration.

###### 9

$\displaystyle \int -3x^5 + 2x^2 + 3 \,dx$

###### 10

$\displaystyle \int 2x - 4x^{-1} + 5x^{-3} \,dx$

###### 11

$\displaystyle \int x^3(3x^2-4x+7) \,dx$

###### 12

$\displaystyle \int (x+4)(x-8) \,dx$

###### 13

$\displaystyle \int \frac{x^2+4x-5}{3x^2} \,dx$

###### 14

$\displaystyle \int e^{2x} \,dx$

###### 15

$\displaystyle \int 4e^{-3x} \,dx$

###### 16

$\displaystyle \int xe^{x^2} \,dx$

###### 17

$\displaystyle \int 2x^3e^{-x^4} \,dx$

###### 18

$\displaystyle \int \frac{1}{x+3} \,dx$

###### 19

$\displaystyle \int \frac{3}{2x+1} \,dx$

###### 20

$\displaystyle \int \frac{x}{x^2+4} \,dx$

###### 21

$\displaystyle \int \frac{e^{2x}}{e^{2x}+1} \,dx$

###### 22

$\displaystyle \int -xe^{-x} + e^{-x} \,dx$

###### 23

$\displaystyle \int \frac{2xe^{2x}-e^{2x}}{x^2} \,dx$

Use the given information to find the particular function.

###### 24

Find $f(x)$ if $f'(x) = 2x-5$ with $f(1)=4\text{.}$

###### 25

Find $g(x)$ if $g'(x) = 3e^{-3x}$ with $g(0)=2\text{.}$

###### 26

The velocity of a vehicle on track that runs left to right is $v(t) = \frac{1}{2}t^2 - 8t + 24\text{.}$ If the vehicle is at a position $s=0$ when $t=1\text{,}$ find the position $s(t)$ as a function of time.

###### 27

A population changes at a rate defined by $R(t) = 0.24t^2 - 24 t + 216\text{,}$ where $t$ is measured in years. If the population is $P=120000$ when $t=0\text{,}$ find the population as a function of time.

###### 28

A radiation detector absorbs radiation at a rate of $R(t) = 5e^{-0.1t}$ (grays per minute). Find the total amount of radiation absorbed by the detector as a function of time $t$ (minutes) since $t=0\text{.}$