Chapter 16: Indefinite Integrals
Notice that a constant C is the
only
thing that can be added to F(x) without affecting the derivative. If it were possible to add some other function G(x), then we would have to have
, i.e.,
. This implies that G(x) must be a constant on any interval in its domain. We won't actually
prove
this hear but the idea is simple. Any function that is not constant must either increase or decrease for certain values of x, and at such x it has a nonzero derivative. To put this another way, the
only
function G(x) whose graph is always pointing horizontally is a constant function.
There is a subtle point involved here . If you consider any interval contained in the domain of the function f(x), then exists and is zero on such an interval, so we can argue that G(x) is a constant. However, if the domain of f(x) is split into disjoint intervals, then the function G(x) can take on distinct constant values on them. Thus it becomes a step function rather than a constant. Usually, we have a single interval in mind and this point is not stressed at all.
= .
The above example
suggests how we can take the antiderivative of any power function
. Just increase the power by 1, and divide by n+1 in order to cancel the factor of n+1 that arises when taking the derivative of
. In other words,
=
, for any
except
(the formula makes no sense if n = -1; the antiderivative of the function
is a special case, and it will be dealt with in the exercises below.
This formula can be regarded as the reverse of the
rule for taking derivatives. As in that rule,
is allowed to be negative or fractional.
The same formula can be used with other names for the x-variable, for
example,
; ; .
Antiderivatives, like derivatives, are
linear
. This means that if we know the antiderivatives of a bunch of functions, then we can compute the antiderivative of any linear combination of those functions. For example, using the above formula for
, we can find the antiderivative of any polynomial.
Example 1.
(a)
=
+ 3*
+
=
.
(b)
=
=
-
=
.
In practical problems, often the time t is playing the role of the x-variable, and the function f(t) to be integrated is the rate of change of something. Just as the derivative procedure takes us from the distance function s(t) to the velocity function v(t) and from the velocity to the acceleration a(t), the antiderivative procedure takes us from a(t) to v(t) and then to s(t). Below we will give examples of this.
From Acceleration to Velocity to Distance; Falling Bodies
Earlier in the course, we encountered the falling body formula for the height of an object above the ground after t seconds. However, we did not give any explanation of how that formula arises --- in fact, at first the whole formula (especially the "1/2" at the beginning) looks "pulled out of a hat." Now we are ready to derive the formula starting from a basic principle of physics: near the surface of the earth gravity causes a constant force of acceleration . That "gravitational acceleration" g is 9.806194 m/ (we'll use simply 9.8 m/ or 32 ft/ ). More precisely, the gravitational acceleration is -g if we take upward to be the positive direction; it is g if downward is taken to be the positive direction. We shall usually take upward to be the positive direction. If we are near the surface of some other planet, the same principle applies, but with a different value of g.
The basic principle can be restated as follows: if no force other than gravity is affecting the object's motion (in particular, we neglect air resistance), then the acceleration function a(t) is the constant -g: a(t) = -g. Our object is to derive the formula for the height function s(t). We do this in two steps:
Finding
v(t)
. Since dv/dt = a(t), it follows that v(t) is an antiderivative of a(t) = -g. But the antiderivative of the constant -g is
. Thus,
=
. How do we find C? Here we have to suppose that we know "initial information," i.e. the value of
when
, which we call
. (Often, but not always, the initial time
will be 0.) In order for
to equal
, we must have
, i.e., our constant of integration is
. In general, ( it you solve for the constant of integration using initial information). Thus,
=
. (In this simple situation, we could have obtained the same result by common sense: if something starts at value
and decreases at
constant
rate g, then after
seconds its value is
. If the
initial time is t = 0, as is often the case, then
.
Finding s(t) . Let us suppose that , i.e., the starting time for the falling body is taken to be t = 0. Since ds/dt = v(t), it follows that s(t) is an antiderivative of , i.e.,
= = - .
(We used rather than C for the constant of integration because it has no relation to the C in the last paragraph.) To find the constant of integration we must again have initial information. Suppose we know the height at time 0: . Substituting this value for s(t) when t = 0 gives = , i.e.,
. We obtain our final formula:
.
This completes the derivation of the falling body formula.
Having the derivative relations ds/dt = v(t) and dv/dt = a(t), together with a formula for a(t), we can work back to find s(t), provided we also have two Pieces of initial information that allow us to find the two constants of integration that arise. We assumed that the two known values are the initial velocity and the initial height.
The first step is to find = = . The initial information is that . Hence, substituting t = 1 gives: 2 = v(1) = -1/2+C, and so C = 2.5. Thus . The second step is to find
s(t) = = = .
Now we use the initial information that s(1) = 0: 0 = s(1) =
. Solving for
, we obtain
. Thus,
.
We can check this answer by verifying three things: (i) it has the right second derivative ; (ii) its value when t = 1 is 0; and (iii) the value of its derivative when t = 1 is 2. These computations are easy to do, and they give us the assurance that we did not make any careless errors in the last paragraph.
Antiderivatives of sin and cos
From the derivative formulas d/dx sin x = cos x and d/dx cos x = - sin x we obtain the corresponding antiderivative formulas:
,
.
Notice that the derivative of sin is cos, but its antiderivative is not cos but rather it is minus cos.
Substitution
In practical applications we rarely encounter the pure sine or cosine function. As we have seen, it is useful to be able to work with the more general sinusoidal function
,
Example 3:
If a and b are constants, find formulas for:
a . for any n other than -1,
b .
c.
(a) We substitute . We also find du/dx, which in this case is simply the constant a. We then treat du and dx as if they were algebraic quantities, writing / = and , and so = 1/ . Thus, in our integral we change to and we change to 1/ , thereby obtaining an integral purely in terms of the new variable u:
=
=
=
(Your final answer should be written in terms of x, not u.)
Explanation: This might be a good place to explain what the substitution means and give some idea why it works. To begin with, we have an expression inside the integral sign and when we get through with the substitution we convert this to an expression . Why should two such expressions be the same?
The idea is to keep in mind that what we are looking for is a function whose derivative with respect to x is f(x), "solving" or "integrating f with respect to x" just means finding a function with f(x) as its derivative. Now, if as above, we can find write and we can find G(w) such that then by the chain rule we have = . That is, the function ) is the antiderivative we are looking for .
For our purposes the use of the symbols "du", "dx" is simply a powerful nmemonic for helping us systematically write f(x) in the desired form.
Although we don't go into details here of exactly how it is done if is a function of there is a way to define symbols and so that their ratio / is equal to . There are "differentials" d(sin(x)), , ... etc. and the fact that / = makes calculations like and work as expected and if two functions have the same differential then they differ by a constant.
Thought of this way, the problem of finding , a function whose derivative is f(x), is exactly the same as finding a function F(x) such that . The substitutions and calculations with "du", "dx" etc. are calculations using the algebra or "calculus" of differentials in which one finds that that the differential x is equal to another of the form
If we can then find a function which is an antiderivative for g(u) (i.e. if we can solve . Then we can see that is an antiderivative for , since / = = / = , so is an antiderivative of as needed.
The method demonstrated above (when it works) systematically helps us find the alternative antiderivative problem and the "substituting" back for "u" in terms of "x" at the end of the procedure is simply finding the G(u(x)) answer.
The point is that although we don't need to know all of the details one should keep in mind that the symbol
in
, is more than just a whimsical notation!
It is instructive to check this answer by taking its derivative. We find ourselves using the chain rule --- as always happens when checking an antiderivative that was found by a u-substitution:
=
.
Thus, the 1/ term that we obtained when converting to is needed to cancel the factor of a = / that comes out from the chain rule.
This also explains the importance of the
(or
or
, depending on what the variable of integration is) inside the integral. Keeping track of that part of the integral in the course of a u-substitution will give you the right antiderivative. Do not get into the careless habit of omitting the
(or
or
) in an integral.
(b) Again we take , so that dx = du, and our integral becomes
= 1/a (- cos u)+C = -
.
You should check this formula by taking the derivative of -
(c) This works just like part (b). The result is
=
.
Example 4:
Find:
a
.
b . ;
c
.
.
(a) Here we take u equal to the expression inside the cosine, namely,
. Then
/
=
, and so
. Fortunately, the integral contains x as well as dx, and so, bringing the x and dx together, we can replace the product
by
:
=
=
sin u +C =
.
Notice how, when we check by taking
(
), we get
because of the chain rule.
(b) Here we can greatly simplify the denominator if we take
. Then
/
=
, and so
, which --- fortunately for us --- happens to be what is in the numerator (except for the constant
, which does not cause us any problems). That is, we can replace
by
:
=
=
=
=
=
.
(c) Here we can obtain a much simpler integrand by substituting in place of the expression in the radical: . Then / = , and so . So the numerator in the integral is , and we obtain
= = = .