Applications of Differentiation
Applications of Differentiation
3.8
In this section, we round out our exposition of the derivative by presenting a collection of
applications selected from a variety of fields. It has often been said that mathematics is the
language of nature. Today, the concepts of calculus are being applied in virtually every
field of human endeavor. The applications in this section represent but a small sampling of
some elementary uses of the derivative. These are not all of the uses of the derivative nor
are they necessarily the most important uses. Our intent is simply to present some interesting applications in a variety of settings.
Recall that the derivative of a function gives the instantaneous rate of change of that
function. So, when you see the word rate, you should be thinking of a derivative. You can
hardly pick up a newspaper without finding reference to some rates (e.g., inflation rate or
interest rate). These can be thought of as derivatives. There are also many quantities with
which you are familiar, but that you might not recognize as rates of change. Our first
example is of this type.
Suppose that Q(t) represents the electrical charge in a wire at time t. Then, the derivative Q (t) gives the current flowing through the wire. To see this, consider the cross section of a wire as shown in Figure 3.86. Between times t1 and t2 , the net charge passing
through such a cross section is Q(t2 ) Q(t1 ). The average current (charge per unit time)
over this time interval is then defined as
Q(t2 ) Q(t1 )
.
t2 t1
Figure 3.86
An electrical wire.
The instantaneous current I (t) at any time t1 can then be found by computing the limit
I (t1 ) = lim
tt1
Q(t) Q(t1 )
.
t t1
(8.1)
Notice that (8.1) is simply the alternative definition of derivative discussed in section 2.2.
Thus, we have that I (t) = Q (t).
Example 8.1
5 ohms 10 farads
12 henry
~
8 volts
Figure 3.87
A simple electrical circuit.
The electrical circuit shown in Figure 3.87 includes a 5-ohm resistor, a 12-henry inductor, a 10-farad capacitor and a battery supplying 8 volts of AC current modeled by the
oscillating function 8 sin 2t , where t is measured in seconds. Find the current in the
circuit at any time t.
Solution
It can be shown (using the elementary laws of electricity) that the charge
in this circuit is given by
Q(t) = 12 sin(4t /3) + 4 sin 2t coulombs.
The current is then
Q (t) = 48 cos(4t /3) + 8 cos 2t amps (coulombs per second).
The next example we offer comes from chemistry. It is very important for chemists to
have a handle on the rate at which a given reaction proceeds. Reaction rates give chemists
information about the nature of the chemical bonds being formed and broken, as well as information about the type and quantity of product to expect. A simple situation is depicted
Section 3.8
311
in the schematic
A + B C,
which indicates that chemicals A and B (the reactants) combine to form chemical C (the
product). Let [C](t) denote the concentration (in moles per liter) of the product. The average reaction rate between times t1 and t2 is
[C](t2 ) [C](t1 )
.
t2 t1
The instantaneous reaction rate at any given time t1 is then given by
[C](t) [C](t1 )
d[C]
lim
=
(t1 ).
tt1
t t1
dt
Depending on the details of the reaction, it is often possible to write down an equation
d[C]
relating the reaction rate
to the concentrations of the reactants, [A] and [B].
dt
Example 8.2
In an autocatalytic chemical reaction, the reactant and the product are the same. The reaction continues until some saturation level is reached. From experimental evidence,
chemists know that the reaction rate is jointly proportional to the amount of the product
present and the difference between the saturation level and the amount of the product. If
the initial concentration of the chemical is 0 and the saturation level is 1 (corresponding
to 100%), then the concentration x(t) of the chemical satisfies the equation
x (t) = rx(t)[1 x(t)],
where r > 0 is a constant.
Find the concentration of chemical for which the reaction rate x (t) is a maximum.
Solution
Calculus and elementary physics are quite closely connected historically. It should
come as no surprise, then, that physics provides us with such a large number of important
applications of the calculus. We have already explored the concepts of velocity and acceleration. Another important application in physics where the derivative plays a role involves
density. There are many different kinds of densities that we could consider. For example,
we could study population density (number of people per unit area) or color density (depth
of color per unit area) used in the study of radiographs. However, the most common type
312
x1
x
Figure 3.88
A thin rod.
of density discussed is mass density (mass per unit volume). You probably already have
some idea of what we mean by mass density, but how would you define it? If the object of
interest is made of some homogeneous material (i.e., the mass of any portion of the object
of a given volume is the same), then the mass density is simply
mass density =
mass
volume
and this quantity is constant throughout the object. However, if the mass of a given volume
varies in different parts of the object, then this formula only represents the average density
of the object. In the next example we find a means of computing the mass density at a specific point in a nonhomogeneous object.
Suppose that the function f (x) gives us the mass (in kilograms) of the first x meters of
a thin rod (see Figure 3.88).
The total mass between marks x and x1 (x > x1 ) is given by f (x) f (x1 ) kg. The
average linear density (i.e., mass per unit length) between x and x1 is then defined as
f (x) f (x1 )
.
x x1
Finally, the linear density at x = x1 is defined as
(x1 ) = lim
xx1
f (x) f (x1 )
= f (x1 ),
x x1
(8.2)
Suppose that the mass in a thin rod is given by f(x) = 2x . Compute the linear density
at x = 2 and at x = 8 and compare the densities at the two points.
Solution
1
1
(x) = f (x) = (2) = .
2 2x
2x
Thus, (2) = 1/ 4 = 1/2 and (8) = 1/ 16 = 1/4. Notice that this says that the rod
is inhomogeneous (i.e., the mass density in the rod is not constant). Specifically, we
have that the rod is less dense at x = 8 than at x = 2.
Our next example comes from medicine (cardiology, to be precise). The rate of change in
this application is not actually a derivative. However, heart rate is one of the most familiar and
Section 3.8
313
Figure 3.89
A normal electrocardiogram (EKG).
important rates of change in our lives. The language and concepts of calculus enable us to understand some of the exciting research currently being conducted in this field.
Cardiologists have long used graphs to help them identify heart problems. You are
probably familiar with the term electrocardiogram (ECG or more commonly, EKG), a
graph depicting some of the electrical activity of the heart. A small section of a normal
EKG is shown in Figure 3.89.
A well-trained cardiologist can determine an amazing amount of information from an
EKG strip. Each section of the EKG (containing one peak) corresponds to a primary phase
of heart activity, and the particular shape of the curve can indicate various problems with
the heart. You should notice that the plot appears to be periodic (that is, the same shape is
repeated over and over). It is a simple matter to measure the length of the period from peak
to peak (each peak corresponds to a contraction of the ventricles of the heart, and the
distance between peaks gives the heart rate). Specifically, if successive peaks occur at
times t1 and t2 seconds, the heart rate equals
1 beat
60
beats per minute.
=
t2 t1 seconds
t2 t1
Note that heart rate is not a derivative. To get a derivative, we would need to have a function representing heart beats as a function of time and would then take the limit as t2 t1 .
From an EKG, all we have is a number of observations at specific times and therefore cannot compute a limit. Having defined heart rate, what can we learn about the human body?
Example 8.4
70
60
50
40
30
20
10
The following graphs depict heart rate over time. Which one would you say corresponds to a healthy individual at rest?
70
60
50
40
30
20
10
Time
10
20
30
Constant rate
70
60
50
40
30
20
10
Time
10
20
30
Smooth change
Time
10
20
Erratic rate
30
314
Solution
Before answering, we should clarify a couple of points. First, since heart
rate is only measured at discrete time intervals (the intervals separating the peaks of the
EKG), a graph of heart rate over time is like a computer graph: a finite set of points. If
the points are connected and there are many points, the plot may appear to be smooth
like the idealized plots we show. Second, be sure to read the graphs carefully! Each
graph shows a person resting with a heart rate of about 60 beats per minute (bpm). The
difference is in the variation from this average. The first person has a constant heart rate
of exactly 60 bpm. The graph depicts a steady 1 beat per second, and is not the flatline of a person whose heart has stopped beating. The second person shows a smooth
rise and fall in heart rate, and the third person has a somewhat erratic heart rate.
Which heart rate do you think is healthy? Research by cardiologists in the 1980s
and 1990s indicate that healthy hearts generally have a very erratic heart rate, even at
rest (Youre right if you picked plot 3!). Highly periodic heart rates like those in plot 2
have been observed in patients who were resting comfortably prior to experiencing a
heart attack. The constant heart rate in plot 1 is typical of a person experiencing a heart
attack. We should point out that the variations in the healthy third plot are too small to
discern without sophisticated equipment. These observations have led to the design of a
new type of heart monitor that can be worn by at-risk patients. Current research is investigating the possibility of designing smart heart pacemakers that can identify and
avoid an impending crisis.
The following example comes from economics. Much as with heart rate, the rate of
change discussed here is not precisely a derivative, but the derivative has proved to be a
useful tool in economic modeling. In economics, the term marginal is used to indicate a
rate. Thus, marginal cost is the derivative of the cost function, marginal profit is the derivative of the profit function, and so on.
Example 8.5
Suppose that
C(x) = 0.02x 2 + 2x + 4000
is the total cost (in dollars) for a company to produce x units of a certain product. Compute the marginal cost at x = 100 and compare this to the actual cost of producing the
100th unit.
Solution
You might think that it is an unfair assumption to start with a function
that purports to represent cost. After all, cost is determined by accountants after a product is produced. Thats true, but in order to project what your cost would be for quantities you havent actually produced, it is helpful to develop a mathematical model of
cost. In practice, this means that you make some observations of the cost of producing
a number of different quantities and then try to fit that data to the graph of a known
function, which you can then analyze using the tools of calculus. (This is one way in
which the calculus is brought to bear on real-world problems.) The marginal cost
function is
C (x) = 0.04x + 2
and so, the marginal cost at x = 100 is C (100) = 4 + 2 = 6 dollars per unit. On the
other hand, the actual cost of producing item number 100 would be C(100) C(99).
Section 3.8
315
(Why?) We have
C(100) C(99) = 200 + 200 + 4000 (196.02 + 198 + 4000)
= 4400 4394.02 = 5.98 dollars.
Note that this is very close to the marginal cost of $6.
Our final example comes from psychology. You have probably heard references to
the learning curve for a piece of computer software or other technical product. The
phrase comes from research attempting to quantify and understand the dynamics of learning something new.
Example 8.6
y
100
80
60
40
20
x
2
Figure 3.90
y = 80/(1 + 3e0.4t ).
Solution
The graph of y = f (t) looks like the one shown in Figure 3.90.
Note that with no training the person gets 20% correct and after some steady
improvement seems to have trouble getting beyond the 80% mark. To compute the derivative, note that we do not need to use the quotient rule, since the numerator is simply
a constant. We rewrite the function as
10
We have now discussed examples of six rates of change drawn from engineering and
the sciences. Add these to the examples we have seen in previous sections (velocity, population growth, etc.) and we have an impressive list of applications of the derivative. Even
so, we have barely begun to scratch the surface. In any field where it is possible to quantify
and analyze the properties of a function, calculus and the derivative are powerful tools.
This list includes at least some portion of every major field of study. The continued study
of calculus will give you the ability to read (and understand) technical studies in a wide variety of fields and to see (as we have in this section) the underlying unity that mathematics
brings to human endeavors.
316
EXERCISES 3.8
1.
2.
3.
7.
8.
An important model of population growth is the socalled logistic equation x (t) = x(t)[1 x(t)]. Here,
x(t) represents not the actual population size but the proportion
of sustainable capacity: for instance, x(t) = 0.5 means that the
population is half of the total number of organisms that the environment can support and x(t) = 1.1 means that there are
10% more organisms than the available resources can support.
Note that the differential equation here is the same as was used
to describe an autocatalytic chemical reaction. The equation
has two competing contributions to the rate of change x (t).
The term x(t) by itself would mean that the larger x(t) is, the
faster the population (or concentration of chemical) grows.
This is balanced by the term 1 x(t), which indicates that
the closer x(t) gets to 1, the slower the population growth is.
With these two terms together, the model has the property that
for small x(t), slightly larger x(t) means greater growth, but as
x(t) approaches 1, the growth tails off. Explain in terms of
population growth and the concentration of chemical why the
model is reasonable.
9.
10.
11.
12.
13.
14.
15.
16.
4.
Many people find the healthy heart example (example 8.4) surprising. To make it more believable, explain
how your level of activity affects your heart rate. Also, explain
how breathing rate and emotional status can affect heart rate.
Given these and many other factors, discuss whether you
should expect your heart rate to be exactly constant.
5.
6.
Section 3.8
Show that the reaction rate for this value of x(t) is negative.
Explain why the concentration x(t) would never get this large,
so that this mathematical solution is not physically relevant.
Explain why x(t) must be between 0 and a, and find the maximum and minimum reaction rates on this closed interval.
17.
18.
For the solution in exercise 17, find and graph x (t). Compute
lim x (t) and describe in words how the reaction rate changes
over time.
20.
21.
22.
0.0, 0.99, 2.12, 3.19, 4.12, 5.17, 6.08, 6.95, 8.16, 9.26, 10.24,
11.28, 12.22, 13.14, 14.21, 15.18
24.
0.0, 0.99, 2.02, 3.01, 4.02, 5.03, 6.01, 6.99, 8.01, 9.02, 10.02,
11.02, 12.02, 13.01, 14.01, 15.02
25.
0.0, 0.98, 1.96, 2.90, 3.80, 4.74, 5.72, 6.70, 7.70, 8.72, 9.74,
10.80, 11.90, 13.06, 14.08, 15.10
26.
0.0, 0.98, 1.96, 3.02, 3.98, 5.04, 6.22, 7.17, 8.15, 9.17, 10.13,
11.08, 12.11, 13.06, 14.08, 15.10
27.
28.
317
30.
31.
32.
33.
35.
36.
37.
318
38.
39.
160x 0.4 + 90
,
4x 0.4 + 15
41.
C(x)
= C(x)/x as the average cost function. Suppose that
42.
For the cost function in exercise 41, show that C (1000) >
C(1000)
and show that increasing the production (x) by 1 will
increase the average cost.
43.
For the cost function in exercise 41, prove that average cost is
44.
If the cost function is linear, C(x) = a + bx with a and b positive, show that there is no minimum average cost and that
C (x) = C(x)
for all x.
45.
Let R(x) be the revenue and C(x) be the cost from manufacturing x items. Profit is defined as P(x) = R(x) C(x). Show
that at the value of x that maximizes profit, marginal revenue
equals marginal cost.
46.
47.
48.
pH
ml of base added
49.
50.
319
0.05x(t) + 2. This is a model of an experiment in which a radioactive substance is decaying at the rate of 5% but the substance is being replenished at the constant rate of 2. Find the
value of x(t) for which x (t) = 0. Pick various starting values
of x(0) less than and greater than the constant solution and determine if the solution x(t) will increase or decrease. Based on
these conclusions, conjecture the value of lim x(t), the limitt
ing amount of radioactive substance in the experiment.
1. f (x) = e3x , x0 = 0
2. f (x) = x 2 + 3, x0 = 1
In exercises 3 and 4, use a linear approximation to estimate the
quantity.
3.
3
7.96
4. sin 3
5.
x 3 + 5x 1 = 0
7.
8.
6.
1
1 + x is valid for
Show that the approximation
(1 x)
small x.
f (x) = x + 3x 9x
11.
13.
10.
f (x) = x 4x + 1
f (x) = x 4x + 2
12.
f (x) = x 3x 24x
14.
f (x) = x 2 ln x
15.
f (x) = xe4x
f (x) = x x 2 4
16.
f (x) = (x 1)
17.
f (x) =
18.
f (x) =
x2
x
+4
f (x) = x 3 + 3x 2 9x on [0, 4]
20.
f (x) = x 3 + 3x 2 9x on [4, 0]
21.
22.
f (x) = x 2 ex on [1, 4]
f (x) = x 3 + 4x 2 + 2x
24.
f (x) = x 4 3x 2 + 2x
25.
f (x) = x 5 2x 2 + x
26.
f (x) = x 5 + 4x 2 4x
27.
28.
f (x) = x 4 + 4x 3
30.
f (x) = x 4 + 4x 2
31.
f (x) = x 4 + 4x
32.
f (x) = x 4 4x 2
33.
f (x) =
x
x2 + 1
34.
f (x) =
35.
f (x) =
x2
+1
36.
f (x) =
37.
f (x) =
x3
1
38.
f (x) =
2/3
x
x2 + 2
x2
x2
x
x2 1
x2
1
x2
4
x2 1
320
39.
40.
Show that the line through the two points of exercise 39 is perpendicular to the tangent line to y = 2x 2 at (2, 1).
41.
42.
43.
44.
Suppose that C(x) = 0.02x 2 + 4x + 1200 is the cost of manufacturing x items. Show that C (x) > 0 and explain in business
terms why this has to be true. Show that C (x) > 0 and explain
why this indicates that the manufacturing process is not very
efficient.
45.
46.
47.
Suppose that the mass of the first x meters of a thin rod is given
by m(x) = 20 + x 2 for 0 x 4. Find the density of the rod
and briefly describe the composition of the rod.
48.
49.
50.
For the cost function in exercise 49, find the value of x which
= C(x)/x .
minimizes the average cost C(x)
51.
52.