## 4.10 Antiderivatives

### Learning Objectives

• Find the general antiderivative of a given function.
• Explain the terms and notation used for an indefinite integral.
• State the power rule for integrals.
• Use antidifferentiation to solve simple initial-value problems.

At this point, we have seen how to calculate derivatives of many functions and have been introduced to a variety of their applications. We now ask a question that turns this process around: Given a function $f$, how do we find a function with the derivative $f$ and why would we be interested in such a function?

We answer the first part of this question by defining antiderivatives. The antiderivative of a function $f$ is a function with a derivative $f$. Why are we interested in antiderivatives? The need for antiderivatives arises in many situations, and we look at various examples throughout the remainder of the text. Here we examine one specific example that involves rectilinear motion. In our examination in Derivatives of rectilinear motion, we showed that given a position function $s(t)$ of an object, then its velocity function $v(t)$ is the derivative of $s(t)$—that is, $v(t)=s^{\prime}(t)$. Furthermore, the acceleration $a(t)$ is the derivative of the velocity $v(t)$—that is, $a(t)=v^{\prime}(t)=s^{\prime \prime}(t)$. Now suppose we are given an acceleration function $a$, but not the velocity function $v$ or the position function $s$. Since $a(t)=v^{\prime}(t)$, determining the velocity function requires us to find an antiderivative of the acceleration function. Then, since $v(t)=s^{\prime}(t)$, determining the position function requires us to find an antiderivative of the velocity function. Rectilinear motion is just one case in which the need for antiderivatives arises. We will see many more examples throughout the remainder of the text. For now, let’s look at the terminology and notation for antiderivatives, and determine the antiderivatives for several types of functions. We examine various techniques for finding antiderivatives of more complicated functions in the second volume of this text (Introduction to Techniques of Integration).

# The Reverse of Differentiation

At this point, we know how to find derivatives of various functions. We now ask the opposite question. Given a function $f$, how can we find a function with derivative $f$? If we can find a function $F$ with derivative $f$, we call $F$ an antiderivative of $f$.

### Definition

A function $F$ is an antiderivative of the function $f$ if

$F^{\prime}(x)=f(x)$

for all $x$ in the domain of $f$.

Consider the function $f(x)=2x$. Knowing the power rule of differentiation, we conclude that $F(x)=x^2$ is an antiderivative of $f$ since $F^{\prime}(x)=2x$. Are there any other antiderivatives of $f$? Yes; since the derivative of any constant $C$ is zero, $x^2+C$ is also an antiderivative of $2x$. Therefore, $x^2+5$ and $x^{2}-\sqrt{2}$ are also antiderivatives. Are there any others that are not of the form $x^2+C$ for some constant $C$? The answer is no. From Corollary 2 of the Mean Value Theorem, we know that if $F$ and $G$ are differentiable functions such that $F^{\prime}(x)=G^{\prime}(x)$, then $F(x)-G(x)=C$ for some constant $C$. This fact leads to the following important theorem.

### General Form of an Antiderivative

Let $F$ be an antiderivative of $f$ over an interval $I$. Then,

1. for each constant $C$, the function $F(x)+C$ is also an antiderivative of $f$ over $I$;
2. if $G$ is an antiderivative of $f$ over $I$, there is a constant $C$ for which $G(x)=F(x)+C$ over $I$.

In other words, the most general form of the antiderivative of $f$ over $I$ is $F(x)+C$.

We use this fact and our knowledge of derivatives to find all the antiderivatives for several functions.

### Finding Antiderivatives

For each of the following functions, find all antiderivatives.

1. $f(x)=3x^2$
2. $f(x)=\frac{1}{x}$
3. $f(x)= \cos x$
4. $f(x)=e^x$

Find all antiderivatives of $f(x)= \sin x$.

#### Hint

What function has a derivative of $\sin x$?

# Indefinite Integrals

We now look at the formal notation used to represent antiderivatives and examine some of their properties. These properties allow us to find antiderivatives of more complicated functions. Given a function $f$, we use the notation $f^{\prime}(x)$ or $\frac{df}{dx}$ to denote the derivative of $f$. Here we introduce notation for antiderivatives. If $F$ is an antiderivative of $f$, we say that $F(x)+C$ is the most general antiderivative of $f$ and write

$\int f(x) dx=F(x)+C$.

The symbol $\int$ is called an integral sign, and $\int f(x) dx$ is called the indefinite integral of $f$.

### Definition

Given a function $f$, the indefinite integral of $f$, denoted

$\int f(x) dx$,

is the most general antiderivative of $f$. If $F$ is an antiderivative of $f$, then

$\int f(x) dx=F(x)+C$.

The expression $f(x)$ is called the integrand and the variable $x$ is the variable of integration.

Given the terminology introduced in this definition, the act of finding the antiderivatives of a function $f$ is usually referred to as integrating $f$.

For a function $f$ and an antiderivative $F$, the functions $F(x)+C$, where $C$ is any real number, is often referred to as the family of antiderivatives of $f$. For example, since $x^2$ is an antiderivative of $2x$ and any antiderivative of $2x$ is of the form $x^2+C$, we write

$\int 2x dx=x^2+C$.

The collection of all functions of the form $x^2+C$, where $C$ is any real number, is known as the family of antiderivatives of $2x$. (Figure) shows a graph of this family of antiderivatives.

Figure 1. The family of antiderivatives of $2x$ consists of all functions of the form $x^2+C$, where $C$ is any real number.

For some functions, evaluating indefinite integrals follows directly from properties of derivatives. For example, for $n \ne −1$,

$\int x^n dx=\frac{x^{n+1}}{n+1}+C$,

which comes directly from

$\frac{d}{dx}(\frac{x^{n+1}}{n+1})=(n+1)\frac{x^n}{n+1}=x^n$.

This fact is known as the power rule for integrals.

### Power Rule for Integrals

For $n \ne −1$,

$\int x^n dx=\frac{x^{n+1}}{n+1}+C$.

Evaluating indefinite integrals for some other functions is also a straightforward calculation. The following table lists the indefinite integrals for several common functions. A more complete list appears in Appendix B.

Integration Formulas
Differentiation Formula Indefinite Integral
$\frac{d}{dx}(k)=0$ $\int kdx=\int kx^0 dx=kx+C$
$\frac{d}{dx}(x^n)=nx^{n-1}$ $\int x^n dx=\frac{x^{n+1}}{n+1}+C$ for $n\ne −1$
$\frac{d}{dx}(\ln |x|)=\frac{1}{x}$ $\int \frac{1}{x}dx=\ln |x|+C$
$\frac{d}{dx}(e^x)=e^x$ $\int e^x dx=e^x+C$
$\frac{d}{dx}(\sin x)= \cos x$ $\int \cos x dx= \sin x+C$
$\frac{d}{dx}(\cos x)=− \sin x$ $\int \sin x dx=− \cos x+C$
$\frac{d}{dx}(\tan x)= \sec^2 x$ $\int \sec^2 x dx= \tan x+C$
$\frac{d}{dx}(\csc x)=−\csc x \cot x$ $\int \csc x \cot x dx=−\csc x+C$
$\frac{d}{dx}(\sec x)= \sec x \tan x$ $\int \sec x \tan x dx= \sec x+C$
$\frac{d}{dx}(\cot x)=−\csc^2 x$ $\int \csc^2 x dx=−\cot x+C$
$\frac{d}{dx}( \sin^{-1} x)=\frac{1}{\sqrt{1-x^2}}$ $\int \frac{1}{\sqrt{1-x^2}} dx= \sin^{-1} x+C$
$\frac{d}{dx}(\tan^{-1} x)=\frac{1}{1+x^2}$ $\int \frac{1}{1+x^2} dx= \tan^{-1} x+C$
$\frac{d}{dx}(\sec^{-1} |x|)=\frac{1}{x\sqrt{x^2-1}}$ $\int \frac{1}{x\sqrt{x^2-1}} dx= \sec^{-1} |x|+C$

From the definition of indefinite integral of $f$, we know

$\int f(x) dx=F(x)+C$

if and only if $F$ is an antiderivative of $f$. Therefore, when claiming that

$\int f(x) dx=F(x)+C$

it is important to check whether this statement is correct by verifying that $F^{\prime}(x)=f(x)$.

### Verifying an Indefinite Integral

Each of the following statements is of the form $\int f(x) dx=F(x)+C$. Verify that each statement is correct by showing that $F^{\prime}(x)=f(x)$.

1. $\int (x+e^x) dx=\frac{x^2}{2}+e^x+C$
2. $\int xe^xdx=xe^x-e^x+C$

Verify that $\int x \cos x dx=x \sin x+ \cos x+C$.

#### Hint

Calculate $\frac{d}{dx}(x \sin x+ \cos x+C)$.

In (Figure), we listed the indefinite integrals for many elementary functions. Let’s now turn our attention to evaluating indefinite integrals for more complicated functions. For example, consider finding an antiderivative of a sum $f+g$. In (Figure)a. we showed that an antiderivative of the sum $x+e^x$ is given by the sum $(\frac{x^2}{2})+e^x$—that is, an antiderivative of a sum is given by a sum of antiderivatives. This result was not specific to this example. In general, if $F$ and $G$ are antiderivatives of any functions $f$ and $g$, respectively, then

$\frac{d}{dx}(F(x)+G(x))=F^{\prime}(x)+G^{\prime}(x)=f(x)+g(x)$.

Therefore, $F(x)+G(x)$ is an antiderivative of $f(x)+g(x)$ and we have

$\int (f(x)+g(x)) dx=F(x)+G(x)+C$.

Similarly,

$\int (f(x)-g(x)) dx=F(x)-G(x)+C$.

In addition, consider the task of finding an antiderivative of $kf(x)$, where $k$ is any real number. Since

$\frac{d}{dx}(kf(x))=k\frac{d}{dx}F(x)=kF^{\prime}(x)$

for any real number $k$, we conclude that

$\int kf(x) dx=kF(x)+C$.

These properties are summarized next.

### Properties of Indefinite Integrals

Let $F$ and $G$ be antiderivatives of $f$ and $g$, respectively, and let $k$ be any real number.

Sums and Differences

$\int (f(x) \pm g(x)) dx=F(x) \pm G(x)+C$

Constant Multiples

$\int kf(x) dx=kF(x)+C$

From this theorem, we can evaluate any integral involving a sum, difference, or constant multiple of functions with antiderivatives that are known. Evaluating integrals involving products, quotients, or compositions is more complicated (see (Figure)b. for an example involving an antiderivative of a product.) We look at and address integrals involving these more complicated functions in Introduction to Integration. In the next example, we examine how to use this theorem to calculate the indefinite integrals of several functions.

### Evaluating Indefinite Integrals

Evaluate each of the following indefinite integrals:

1. $\int (5x^3-7x^2+3x+4) dx$
2. $\int \frac{x^2+4\sqrt[3]{x}}{x} dx$
3. $\int \frac{4}{1+x^2} dx$
4. $\int \tan x \cos x dx$

Evaluate $\int (4x^3-5x^2+x-7) dx$.

#### Hint

Integrate each term in the integrand separately, making use of the power rule.

# Initial-Value Problems

We look at techniques for integrating a large variety of functions involving products, quotients, and compositions later in the text. Here we turn to one common use for antiderivatives that arises often in many applications: solving differential equations.

A differential equation is an equation that relates an unknown function and one or more of its derivatives. The equation

$\frac{dy}{dx}=f(x)$

is a simple example of a differential equation. Solving this equation means finding a function $y$ with a derivative $f$. Therefore, the solutions of (Figure) are the antiderivatives of $f$. If $F$ is one antiderivative of $f$, every function of the form $y=F(x)+C$ is a solution of that differential equation. For example, the solutions of

$\frac{dy}{dx}=6x^2$

are given by

$y=\int 6x^2 dx=2x^3+C$.

Sometimes we are interested in determining whether a particular solution curve passes through a certain point $(x_0,y_0)$—that is, $y(x_0)=y_0$. The problem of finding a function $y$ that satisfies a differential equation

$\frac{dy}{dx}=f(x)$

$y(x_0)=y_0$

is an example of an initial-value problem. The condition $y(x_0)=y_0$ is known as an initial condition. For example, looking for a function $y$ that satisfies the differential equation

$\frac{dy}{dx}=6x^2$

and the initial condition

$y(1)=5$

is an example of an initial-value problem. Since the solutions of the differential equation are $y=2x^3+C$, to find a function $y$ that also satisfies the initial condition, we need to find $C$ such that $y(1)=2(1)^3+C=5$. From this equation, we see that $C=3$, and we conclude that $y=2x^3+3$ is the solution of this initial-value problem as shown in the following graph.

Figure 2. Some of the solution curves of the differential equation $\frac{dy}{dx}=6x^2$ are displayed. The function $y=2x^3+3$ satisfies the differential equation and the initial condition $y(1)=5$.

### Solving an Initial-Value Problem

Solve the initial-value problem

$\frac{dy}{dx}= \sin x, \, y(0)=5$.

Solve the initial value problem $\frac{dy}{dx}=3x^{-2}, \, y(1)=2$.

#### Hint

Find all antiderivatives of $f(x)=3x^{-2}$.

Initial-value problems arise in many applications. Next we consider a problem in which a driver applies the brakes in a car. We are interested in how long it takes for the car to stop. Recall that the velocity function $v(t)$ is the derivative of a position function $s(t)$, and the acceleration $a(t)$ is the derivative of the velocity function. In earlier examples in the text, we could calculate the velocity from the position and then compute the acceleration from the velocity. In the next example we work the other way around. Given an acceleration function, we calculate the velocity function. We then use the velocity function to determine the position function.

### Decelerating Car

A car is traveling at the rate of 88 ft/sec (60 mph) when the brakes are applied. The car begins decelerating at a constant rate of 15 ft/sec2.

1. How many seconds elapse before the car stops?
2. How far does the car travel during that time?

Suppose the car is traveling at the rate of 44 ft/sec. How long does it take for the car to stop? How far will the car travel?

#### Hint

$v(t)=-15t+44$.

### Key Concepts

• If $F$ is an antiderivative of $f$, then every antiderivative of $f$ is of the form $F(x)+C$ for some constant $C$.
• Solving the initial-value problem
$\frac{dy}{dx}=f(x),y(x_0)=y_0$

requires us first to find the set of antiderivatives of $f$ and then to look for the particular antiderivative that also satisfies the initial condition.

For the following exercises, show that $F(x)$ is an antiderivative of $f(x)$.

1. $F(x)=5x^3+2x^2+3x+1, \, f(x)=15x^2+4x+3$

2. $F(x)=x^2+4x+1, \, f(x)=2x+4$

3. $F(x)=x^2e^x, \, f(x)=e^x(x^2+2x)$

4. $F(x)= \cos x, \, f(x)=− \sin x$

5. $F(x)=e^x, \, f(x)=e^x$

For the following exercises, find the antiderivative of the function.

6. $f(x)=\frac{1}{x^2}+x$

7. $f(x)=e^x-3x^2+ \sin x$

8. $f(x)=e^x+3x-x^2$

9. $f(x)=x-1+4 \sin (2x)$

For the following exercises, find the antiderivative $F(x)$ of each function $f(x)$.

10. $f(x)=5x^4+4x^5$

11. $f(x)=x+12x^2$

12. $f(x)=\frac{1}{\sqrt{x}}$

13. $f(x)=(\sqrt{x})^3$

14. $f(x)=x^{1/3}+(2x)^{1/3}$

15. $f(x)=\frac{x^{1/3}}{x^{2/3}}$

16. $f(x)=2 \sin (x)+ \sin (2x)$

17. $f(x)=\sec^2 (x)+1$

18. $f(x)= \sin x \cos x$

19. $f(x)= \sin^2 (x) \cos (x)$

20. $f(x)=0$

21. $f(x)=\frac{1}{2} \csc^2 (x)+\frac{1}{x^2}$

22. $f(x)= \csc x \cot x+3x$

23. $f(x)=4 \csc x \cot x- \sec x \tan x$

24. $f(x)=8 \sec x( \sec x-4 \tan x)$

25. $f(x)=\frac{1}{2}e^{-4x}+ \sin x$

For the following exercises, evaluate the integral.

26. $\int (-1) dx$

27. $\int \sin x dx$

28. $\int (4x+\sqrt{x}) dx$

29. $\int \frac{3x^2+2}{x^2} dx$

30. $\int (\sec x \tan x+4x) dx$

31. $\int (4\sqrt{x}+\sqrt[4]{x}) dx$

32. $\int (x^{-1/3}-x^{2/3}) dx$

33. $\int \frac{14x^3+2x+1}{x^3} dx$

34. $\int (e^x+e^{−x}) dx$

For the following exercises, solve the initial value problem.

35. $f^{\prime}(x)=x^{-3}, \, f(1)=1$

36. $f^{\prime}(x)=\sqrt{x}+x^2, \, f(0)=2$

37. $f^{\prime}(x)= \cos x+ \sec^2 (x), \, f(\frac{\pi}{4})=2+\frac{\sqrt{2}}{2}$

38. $f^{\prime}(x)=x^3-8x^2+16x+1, \, f(0)=0$

39. $f^{\prime}(x)=\frac{2}{x^2}-\frac{x^2}{2}, \, f(1)=0$

For the following exercises, find two possible functions $f$ given the second- or third-order derivatives.

40. $f^{\prime \prime}(x)=x^2+2$

41. $f^{\prime \prime}(x)=e^{−x}$

42. $f^{\prime \prime}(x)=1+x$

43. $f^{\prime \prime \prime}(x)= \cos x$

44. $f^{\prime \prime \prime}(x)=8e^{-2x}- \sin x$

45. A car is being driven at a rate of 40 mph when the brakes are applied. The car decelerates at a constant rate of 10 ft/sec2. How long before the car stops?

46. In the preceding problem, calculate how far the car travels in the time it takes to stop.

47. You are merging onto the freeway, accelerating at a constant rate of 12 ft/sec2. How long does it take you to reach merging speed at 60 mph?

48. Based on the previous problem, how far does the car travel to reach merging speed?

49. A car company wants to ensure its newest model can stop in 8 sec when traveling at 75 mph. If we assume constant deceleration, find the value of deceleration that accomplishes this.

50. A car company wants to ensure its newest model can stop in less than 450 ft when traveling at 60 mph. If we assume constant deceleration, find the value of deceleration that accomplishes this.

For the following exercises, find the antiderivative of the function, assuming $F(0)=0$.

51. [T] $f(x)=x^2+2$

52. [T] $f(x)=4x-\sqrt{x}$

53. [T] $f(x)= \sin x+2x$

54. [T] $f(x)=e^x$

55. [T] $f(x)=\frac{1}{(x+1)^2}$

56. [T] $f(x)=e^{-2x}+3x^2$

For the following exercises, determine whether the statement is true or false. Either prove it is true or find a counterexample if it is false.

57. If $f(x)$ is the antiderivative of $v(x)$, then $2f(x)$ is the antiderivative of $2v(x)$.

58. If $f(x)$ is the antiderivative of $v(x)$, then $f(2x)$ is the antiderivative of $v(2x)$.

59. If $f(x)$ is the antiderivative of $v(x)$, then $f(x)+1$ is the antiderivative of $v(x)+1$.

60. If $f(x)$ is the antiderivative of $v(x)$, then $(f(x))^2$ is the antiderivative of $(v(x))^2$.

## Glossary

antiderivative
a function $F$ such that $F^{\prime}(x)=f(x)$ for all $x$ in the domain of $f$ is an antiderivative of $f$
indefinite integral
the most general antiderivative of $f(x)$ is the indefinite integral of $f$; we use the notation $\int f(x) dx$ to denote the indefinite integral of $f$
initial value problem
a problem that requires finding a function $y$ that satisfies the differential equation $\frac{dy}{dx}=f(x)$ together with the initial condition $y(x_0)=y_0$