4.09 Antiderivatives
4.09 Antiderivatives
4.09 Antiderivatives
9: Antiderivatives
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'(t) .
Furthermore, the acceleration a(t) is the derivative of the velocity v(t) —that is, a(t) = v'(t) = s (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'(t) , determining the velocity function requires
us to find an antiderivative of the acceleration function. Then, since v(t) = s'(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 later in
the text (Introduction to Techniques of Integration).
Consider the function f (x) = 2x. Knowing the power rule of differentiation, we conclude that F (x) = x is an antiderivative of f since
2
F '(x) = 2x. Are there any other antiderivatives of f ? Yes; since the derivative of any constant C is zero, x + C is also an antiderivative of 2x.
2
–
Therefore, x + 5 and x − √2 are also antiderivatives. Are there any others that are not of the form x + C for some constant C ? The answer
2 2 2
is no. From Corollary 2 of the Mean Value Theorem, we know that if F and G are differentiable functions such that F '(x) = G'(x), then
F (x) − G(x) = C for some constant C . This fact leads to the following important theorem.
We use this fact and our knowledge of derivatives to find all the antiderivatives for several functions.
1
b. f (x) =
x
c. f (x) = cos x
d. f (x) = e x
Solution:
a. Because
d
3 2
(x ) = 3 x
dx
4.9.1 https://math.libretexts.org/@go/page/4469
d 1
(ln x) = .
dx x
Therefore,
d 1
(ln |x|) = .
dx x
1 1
Thus, F (x) = ln |x| is an antiderivative of . Therefore, every antiderivative of is of the form ln |x| + C for some constant C and every
x x
1
function of the form ln |x| + C is an antiderivative of .
x
c. We have
d
(sin x) = cos x,
dx
so F (x) = sin x is an antiderivative of cos x. Therefore, every antiderivative of cos x is of the form sin x + C for some constant C and
every function of the form sin x + C is an antiderivative of cos x.
d. Since
d
x x
(e ) = e ,
dx
Exercise 4.9.1
Find all antiderivatives of f (x) = sin x .
Hint
What function has a derivative of sin x ?
Answer
− cos x + C
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
df
antiderivatives of more complicated functions. Given a function f , we use the notation f '(x) or to denote the derivative of f . Here we
dx
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
The symbol ∫ is called an integral sign, and ∫ f (x)dx is called the indefinite integral of f .
Definition: Indefinite Integrals
Given a function f , the indefinite integral of f , denoted
∫ f (x)dx, (4.9.3)
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 .
4.9.2 https://math.libretexts.org/@go/page/4469
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 is an antiderivative of 2x and any antiderivative of 2x is of the form x + C , we write
2 2
2
∫ 2xdx = x + C. (4.9.5)
Figure 4.9.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 ≠ −1 ,
n+1
x
n
∫ x dx = + C,
n+1
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.
Table : Integration Formulas
Differentiation Formula Indefinite Integral
d
0
(k) = 0 ∫ kdx = ∫ kx dx = kx + C
dx
n+1
d x
n
(x ) = n x
n−1 n
∫ x dn = +C for n ≠ −1
dx n+1
d 1 1
(ln |x|) = ∫ dx = ln |x| + C
dx x x
d
x x x x
(e ) = e ∫ e dx = e +C
dx
4.9.3 https://math.libretexts.org/@go/page/4469
Differentiation Formula Indefinite Integral
d
(sin x) = cosx ∫ cosxdx = sin x + C
dx
d
(cosx) = − sin x ∫ sin xdx = − cosx + C
dx
d
2 2
(tan x) = sec x ∫ sec xdx = tan x + C
dx
d
(cscx) = −cscx cot x ∫ cscx cot xdx = −cscx + C
dx
d
(secx) = secx tan x ∫ secx tan xdx = secx + C
dx
d
2 2
(cot x) = −csc x ∫ csc xdx = − cot x + C
dx
d 1 1
−1 −1
(sin x) = ∫ = sin x +C
−−−− − −−−− −
dx √1 − x
2 √1 − x2
d 1 1
−1 −1
(tan x) = ∫ dx = tan x +C
2 2
dx 1 +x 1 +x
d 1 1
−1 −1
(sec |x|) = ∫ dx = sec |x| + C
−−−−− −−−−−
dx 2 2
x √x − 1
x √x − 1
it is important to check whether this statement is correct by verifying that F '(x) = f (x).
Solution:
a. Since
2
d x
( +e
x
+ C) = x + e
x
,
dx 2
the statement
2
x
x x
∫ (x + e )dx = +e +C
2
is correct.
2
x
Note that we are verifying an indefinite integral for a sum. Furthermore, and e are antiderivatives of x and e , respectively, and the sum
x x
2
of the antiderivatives is an antiderivative of the sum. We discuss this fact again later in this section.
b. Using the product rule, we see that
d x x x x x x
(x e −e + C) = e + xe −e = xe .
dx
x x x
∫ x e dx = x e −e +C
is correct.
4.9.4 https://math.libretexts.org/@go/page/4469
Note that we are verifying an indefinite integral for a product. The antiderivative xex−ex is not a product of the antiderivatives. Furthermore,
the product of antiderivatives, x e /2 is not an antiderivative of xe since
2 x x
2 x 2 x
d x e x e
( ) = xe
x
+ ≠ xe
x
.
dx 2 2
Exercise 4.9.2
Verify that
Hint
Calculate
d
(x sin x + cos x + C ).
dx
Answer
d
(x sin x + cos x + C ) = sin x + x cos x − sin x = x cos x
dx
In Table, 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 Example a. we showed that an antiderivative of the
2
x
sum x + e is given by the sum (
x
)+e
x
—that is, an antiderivative of a sum is given by a sum of antiderivatives. This result was not specific
2
to this example. In general, if F and G are antiderivatives of any functions f and g , respectively, then
d
(F (x) + G(x)) = F '(x) + G'(x) = f (x) + g(x).
dx
Similarly,
In addition, consider the task of finding an antiderivative of kf (x), where k is any real number. Since
d d
(kf (x)) = k F (x) = kF '(x)
dx dx
∫ kf (x)dx = kF (x) + C .
Constant Multiples
∫ 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 Exampleb. for an example involving an
4.9.5 https://math.libretexts.org/@go/page/4469
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.
From the second part of Note, each coefficient can be written in front of the integral sign, which gives
3 2 3 2
∫ 5 x dx − ∫ 7 x dx + ∫ 3xdx + ∫ 4dx = 5 ∫ x dx − 7 ∫ x dx + 3 ∫ xdx + 4 ∫ 1dx.
Then, to evaluate the integral, integrate each of these terms separately. Using the power rule, we have
4
−2/3
∫ (x + )dx = ∫ xdx + 4 ∫ x dx
2/3
x
1 1
2 (−2/3)+1
= x +4 x + C ])
2 −2
( )+1
3
1
2 1/3
= x + 12 x + C.
2
1
Then, use the fact that tan −1
(x) is an antiderivative of 2
to conclude that
(1 + x )
4
−1
∫ dx = 4tan (x) + C .
2
1 +x
Therefore,
∫ tan x cos x = ∫ sin x = − cos x + C .
Exercise 4.9.3
Evaluate ∫ (4x 3
− 5x
2
+ x − 7)dx .
Hint
Integrate each term in the integrand separately, making use of the power rule.
Answer
5 1
4 3 2
x − x + x − 7x + C
3 2
4.9.6 https://math.libretexts.org/@go/page/4469
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
dy
= f (x)
dx
is a simple example of a differential equation. Solving this equation means finding a function y with a derivative f . Therefore, the solutions of
Equation 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
dy
2
= 6x
dx
are given by
2
y = ∫ 6 x dx = 2 x
3
+C .
Sometimes we are interested in determining whether a particular solution curve passes through a certain point (x0 , y0 ) —that is, y(x0 ) = y0 .
The problem of finding a function y that satisfies a differential equation
dy
= f (x)
dx
is an example of an initial-value problem. The condition y(x 0) = y0 is known as an initial condition. For example, looking for a function y that
satisfies the differential equation
dy
2
= 6x
dx
is an example of an initial-value problem. Since the solutions of the differential equation are y = 2x + C , to find a function y that also satisfies
3
the initial condition, we need to find C such that y(1) = 2(1) + C = 5 . From this equation, we see that C = 3 , and we conclude that
3
dy
Figure 4.9.2 : Some of the solution curves of the differential equation = 6x
2
are displayed. The function y = 2x 3
+3 satisfies the
dx
differential equation and the initial condition y(1) = 5.
4.9.7 https://math.libretexts.org/@go/page/4469
Solve the initial-value problem
dy
= sin x, y(0) = 5. (4.9.9)
dx
Solution
dy
First we need to solve the differential equation. If = sin x , then
dx
Next we need to look for a solution y that satisfies the initial condition. The initial condition y(0)=5 means we need a constant C such that
− cos x + C = 5. Therefore,
C = 5 + cos(0) = 6. (4.9.11)
Exercise 4.9.4
dy
Solve the initial value problem = 3x
−2
, y(1) = 2 .
dx
Hint
Find all antiderivatives of f (x) = 3x −2.
Answer
3
y =− +5
x
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.
Example 4.9.5 :
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.
a. How many seconds elapse before the car stops?
b. How far does the car travel during that time?
Solution
a. First we introduce variables for this problem. Let t be the time (in seconds) after the brakes are first applied. Let a(t) be the acceleration of
the car (in feet per seconds squared) at time t . Let v(t) be the velocity of the car (in feet per second) at time t . Let s(t) be the car’s position
(in feet) beyond the point where the brakes are applied at time t .
The car is traveling at a rate of 88f t/sec. Therefore, the initial velocity is v(0) = 88 ft/sec. Since the car is decelerating, the acceleration is
a(t) = −15f t/s
2
.
The acceleration is the derivative of the velocity,
v'(t) = 15.
4.9.8 https://math.libretexts.org/@go/page/4469
To find how long it takes for the car to stop, we need to find the time t such that the velocity is zero. Solving −15t + 88 = 0, we obtain
88
t = sec.
15
88
b. To find how far the car travels during this time, we need to find the position of the car after sec. We know the velocity v(t) is the
15
derivative of the position s(t) . Consider the initial position to be s(0) = 0 . Therefore, we need to solve the initial-value problem
s'(t) = −15t + 88, s(0) = 0.
Integrating, we have
15
2
s(t) = − t + 88t + C .
2
88 88
After t = sec, the position is s( ) ≈ 258.133 ft.
15 15
Exercise 4.9.5
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.
Answer
2.93sec, 64.5f t
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
dy
= f (x), y(x0 ) = y0
dx
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.
Glossary
antiderivative
a function F such that F '(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 ∫ f (x)dx to denote the indefinite integral of f
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is licensed with a
CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
4.9: Antiderivatives is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.
4.9.9 https://math.libretexts.org/@go/page/4469