Hoffman Calculus Ch0 To Ch3
Hoffman Calculus Ch0 To Ch3
C O N T E M P O R A RY
CALCULUS
Contents
0 Welcome to Calculus 1
0.1 A Preview of Calculus . . . . . . . . . . . . . . . . . . . . 1
0.2 Lines in the Plane . . . . . . . . . . . . . . . . . . . . . . . 7
0.3 Functions and Their Graphs . . . . . . . . . . . . . . . . . 20
0.4 Combinations of Functions . . . . . . . . . . . . . . . . . 30
0.5 Mathematical Language . . . . . . . . . . . . . . . . . . . 45
Calculus can be viewed as an attempt—a historically successful attempt—to solve two fundamental problems.
In this section we begin to examine geometric forms of those two problems and some fairly simple attempts
to solve them. At first, the problems themselves may not appear very interesting or useful—and the methods
for solving them may seem crude—but these simple problems and methods have led to one of the most
beautiful, powerful and useful creations in mathematics: Calculus.
2 contemporary calculus
• The U.S. Postal Service requires that the length plus the girth of a
package not exceed 84 inches. What is the largest volume that can
be mailed in a rectangular box?
welcome to calculus 3
• An oil tanker was leaking oil and a 4-inch-thick oil slick had formed.
When first measured, the slick had a radius of 200 feet, and the
radius was increasing at a rate of 3 feet per hour. At that time, how
fast was the oil leaking from the tanker?
Problems
1. Sketch the lines tangent to the curve shown below 3. The graph below shows the temperature of a cup
at x = 1, 2 and 3. Estimate the slope of each of of coffee during a 10-minute period. (Each of
the tangent lines you drew. your answers in (a)–(c) should have the units “de-
grees per minute.”)
(We could also approximate the area of the leaf using a sheet of
paper, scissors and an accurate scale. How?)
We can calculate the area A between the graph of a function y = f ( x )
and the x-axis by using similar methods. We can divide the area into
strips of width w and determine the lower and upper values of y = f ( x )
on each strip. Then we can approximate the area of each rectangle and
add all of the little areas together to get Aw , an approximation of the
exact area. The key idea is that if w is small, then the rectangles are
narrow, and the approximate area Aw should be very close to the actual
area A. If we take narrower and narrower rectangles, the approximate
areas get closer and closer to the actual area:
A = lim Aw
w →0
• Find the length of the graph of y = sin( x ) over one period (from
x = 0 to x = 2π).
Problems
5. Approximate the area of the leaf on the previous page using
(a) Approximate the shaded area between the temperature curve and
the 65◦ line from Nov. 15 to Nov. 25.
(b) The area of the “rectangle” is (base)(height) so what are the units
of your answer in part (a)?
(c) Approximate the shaded area between the temperature curve and
the 65◦ line from Nov. 5 to Nov. 30.
(d) Who might use or care about these results?
Success in calculus will require time and effort on your part, but
such a beautiful and powerful field is worth that time and effort.
welcome to calculus 7
The first graphs and functions you encountered in algebra were straight
lines and their equations. These lines were easy to graph, and the
equations were easy to evaluate and to solve. They described a variety
of physical, biological and financial phenomena such as d = rt relating
the distance d traveled to the rate r and time t spent traveling, and
C = 59 ( F − 32) for converting the temperature in degrees Fahrenheit
(F) to degrees Celsius (C).
The first part of calculus — differential calculus — will deal with
ideas, techniques and applications of tangent lines to the graphs of
functions, so it is important that you understand the graphs, properties
and equations of straight lines.
We can also use the ∆ notation and absolute values to express the
distance that we have moved. On the number line, the distance from
x = a to x = b is
(
b − a if b ≥ a
dist( a, b) =
a − b if b < a
or: q
dist( a, b) = |b − a| = |∆x | = (∆x )2
The midpoint of the interval from x = a to x = b is the point M
such that dist( a, M) = dist( M, b), or | M − a| = |b − M |. If a < M < b,
a+b
M − a = b − M ⇒ 2M = a + b ⇒ M =
2
It’s not difficult to check that this formula also works when b < M < a.
8 contemporary calculus
(−3)+6
Solution. dist(−3, 6) = |6 − (−3)| = |9| = 9; M = 2 = 23 . ◀
Solutions to Practice problems are at the Practice 1. Find the length and midpoint of the interval from x = −7
end of each section. to x = −2.
Expanding we get:
x2 − 4x + 4 + y2 − 6y + 9 = x2 − 10x + 25 + y2 + 2y + 1
−4x − 6y + 13 = −10x + 2y + 26
rise y − y1 ∆y
m = slope from P to Q = = 2 =
run x2 − x1 ∆x
Practice 4. For P = (−3, 2) and Q = (5, −14), find ∆x, ∆y, and the
slope of the line segment from P to Q.
∆y 2h
m= = =2
∆x h
In this example, the value of m is constant (2) and does not depend
on the value of h. ◀
Practice 5. Find the slope and midpoint of the line segment from
P = (2, −3) to Q = (2 + h, −3 + 5h).
Solution. y1 = x2 + x and y2 = a2 + a ⇒ ∆y = ( a2 + a) − ( x2 + x );
x1 = x and x2 = a, so ∆x = a − x and the slope is:
∆y ( a2 + a ) − ( x 2 + x )
m= =
∆x a−x
a2 − x 2 + a − x ( a − x )( a + x ) + ( a − x )
= =
a−x a−x
( a − x ) (( a + x ) + 1)
= = (a + x) + 1
a−x
Here the value of m depends on the values of both a and x. ◀
which says that during the decade from 1970 to 1980 the population of
Houston grew at an average rate of 36, 160 people per year. ◀
If the x-unit is time (in hours) and the y-unit is distance (in kilome-
ters), then
∆y km
m=
∆x hours
so the units for m are km (“kilometers per hour”), a measure of
hour
velocity, the rate of change of distance with respect to time.
If the x-unit is the number of employees at a bicycle factory and the
y-unit is the number of bicycles manufactured, then
∆y bicycles
m=
∆x employees
bicycles
and the units for m are (“bicycles per employee”), a measure
employee
of the rate of production per employee.
12 contemporary calculus
Equations of Lines
Every (non-vertical) line has the property that the slope of the segment
between any two points on the line is the same, and this constant slope
property of straight lines leads to ways of finding equations to represent
non-vertical lines.
Point-Slope Form
In calculus, we will usually know a point on a line and the slope of that
line, so the point-slope form will be the easiest to apply. Other forms
of equations for lines can be derived from the point-slope form.
If L is a non-vertical line through a known point P = ( x1 , y1 ) with a
known slope m, then the equation of the line L is:
Point-Slope: y − y1 = m( x − x1 )
Example 7. Find an equation of the line through (2, −3) with slope 5.
Two-Point Form
If two points P = ( x1 , y1 ) and Q = ( x2 , y2 ) are on the line L, then we
can calculate the slope between them and use the first point and the
point-slope equation to find an equation for L:
y2 − y1
Two-Point: y − y1 = m( x − x1 ) where m =
x2 − x1
Slope-Intercept Form
It is common practice to rewrite an equation of a line into the form
y = mx + b, the slope-intercept form of the line. The line y = mx + b
has slope m and crosses the y-axis at the point (0, b).
∆y
Practice 7. Use the ∆x definition of slope to calculate the slope of the
line y = mx + b.
welcome to calculus 13
The point-slope and the two-point forms are usually more useful for
finding an equation of a line, but the slope-intercept form is usually the
most useful form for an answer because it allows us to easily picture
the graph of the line and to quickly calculate y-values given x-values.
Parallel Lines
Two parallel lines L1 and L2 make equal angles with the x-axis, so their
angles of inclination will be equal and hence so will their slopes.
Similarly, if the slopes, m1 and m2 , of two lines are equal, then the
equations of the lines (in slope-intercept form) will always differ by a
constant:
Practice 8. Find an equation of the line that contains the point (−2, 3)
and is parallel to the line 3x + 5y = 17.
Perpendicular Lines
If two lines are perpendicular, the situation is a bit more complicated.
Assume L1 and L2 are two non-vertical lines that intersect at the
origin (for simplicity), with P = ( x1 , y1 ) and Q = ( x2 , y2 ) points away
from the origin on L1 and L2 , respectively. Then the slopes of L1 and L2
y y
will be m1 = x1 and m2 = x22 . The line connecting P and Q forms the
1
third side of triangle OPQ, which will be a right triangle if and only if
L1 and L2 are perpendicular. In particular, L1 and L2 are perpendicular
if and only if the triangle OPQ satisfies the Pythagorean Theorem:
or:
Practice 9. Find an equation of the line that goes through the point
(2, −5) and is perpendicular to the line 3y − 7x = 2.
Example 8. Find the distance (that is, the shortest distance) from the
point (1, 8) to the line L : 3y − x = 3.
tan(θ2 ) − tan(θ1 ) m − m1
tan(θ ) = tan(θ2 − θ1 ) = = 2
1 + tan(θ2 ) tan(θ1 ) 1 + m2 m1
The range of the arctan function is − π2 , π2 , so θ = arctan 1m+2m−2mm1
1
always gives the smaller of the angles. The larger angle is π − θ (or
180◦ − θ ◦ if we measure the angles in degrees).
Example 9. Find the point of intersection and the angle between the
lines y = x + 3 and y = 2x + 1.
Solution. Solving the first equation for y and then substituting into
the second equation:
( x + 3) = 2x + 1 ⇒ x=2 ⇒ y = 2+3 = 5
The point of intersection is (2, 5). Because both lines are in slope-
intercept form, it is easy to see that m1 = 1 and m2 = 2:
m2 − m1 2−1
θ = arctan = arctan
1 + m2 m1 1+2·1
1
= arctan ≈ 0.322 radians = 18.43◦
3
0.2 Problems
1. Estimate the slope of each line shown below. 2. Estimate the slope of each line shown below.
16 contemporary calculus
3. Compute the slope of the line that passes through: 7. The blocks in a city are all perfect squares. A
(a) (2, 4) and (5, 8) friend gives you directions to a good restaurant:
(b) (−2, 4) and (3, −5) “Go north 3 blocks, turn east and go 5 blocks, turn
(c) (2, 4) and ( x, x2 ) south and go 7 blocks, turn west and go 3 blocks.”
How far away (straight-line distance) is it?
(d) (2, 5) and (2 + h, 1 + (2 + h)2 )
(e) ( x, x2 + 3) and ( a, a2 + 3) 8. At the restaurant (see previous problem), a fellow
diner gives you directions to a hotel: “Go north 5
4. Compute the slope of the line that passes through:
blocks, turn right and go 6 blocks, turn right and
(a) (5, −2) and (3, 8)
go 3 blocks, turn left and go 2 blocks.” How far
(b) (−2, −4) and (5, −3) away is the hotel from the restuarant?
(c) ( x, 3x + 5) and ( a, 3a + 5)
9. The bottom of a 20-foot ladder is 4 feet from the
(d) (4, 5) and (4 + h, 5 − 3h) base of a wall.
(e) (1, 2) and ( x, 1 + x2 )
(a) How far up the wall does the ladder reach?
(f) (2, −3) and (2 + h, 1 − (1 + h)2 )
(b) What is the slope of the ladder?
(g) ( x, x2 ) and ( x + h, x2 + 2xh + h2 )
(c) What angle does it make with the ground?
(h) ( x, x2 ) and ( x − h, x2 − 2xh + h2 )
10. Let P = (1, −2) and Q = (5, 4). Find:
5. A small airplane at an altitude of 5, 000 feet is
flying east at 300 feet per second (a bit over 200 (a) the midpoint R of the line segment PQ.
1
miles per hour), and you are watching it with a (b) the point T that is 3 of the way from P to Q:
small telescope as it passes directly overhead. 1
dist( P, T ) = dist( P, Q)
(a) What is the slope of the telescope 5, 10 and 20 3
seconds after the plane passes overhead? 2
(c) the point S that is 5 of the way from P to Q.
(b) What is the slope of the telescope t seconds
11. If P = (2, 3), Q = (8, 11) and R = ( x, y), where:
after the plane passes overhead?
(c) After the plane passes overhead, is the slope of x = 2a + 8(1 − a), y = 3a + 11(1 − a), 0 ≤ a ≤ 1
the telescope increasing, decreasing or staying
the same? (a) Verify that R is on the line segment PQ.
(b) Verify that dist( P, R) = (1 − a) · dist( P, Q).
12. A rectangular box is 24 inches long, 18 inches
wide and 12 inches high.
(a) Find the length of the longest (straight) stick
that will fit into the box.
(b) What angle (in degrees) does that stick make
with the base of the box?
13. The lines y = x and y = 4 − x intersect at (2, 2).
(a) Show that the lines are perpendicular.
6. You are at the origin, (0, 0), and are watching a (b) Graph the lines together on your calculator
small bug at the point (t, 1 + t2 ) at time t seconds. using the “window” [−10, 10] × [−10, 10].
(a) What is the slope of your line of vision when (c) Why do the lines not appear to be perpendicu-
t = 5, 10 and 15 seconds? lar on the calculator display?
(b) What is the slope of your line of vision at an (d) Find a suitable window so that the lines do
arbitrary time t? appear perpendicular.
welcome to calculus 17
14. Two lines both go through the point (1, 2), one 20. Find an equation of the circle with center C and
with slope 3 and one with slope − 13 . radius r when
(a) Find equations for the lines. (a) C = (2, 7) and r = 4
(b) Choose a suitable window so that the lines will (b) C = (3, −2) and r = 1
appear perpendicular, and then graph them to- (c) C = (−5, 1) and r = 7
gether on your calculator.. (d) C = (−3, −1) and r = 4
15. Sketch the line with slope m that goes through 21. Explain how to show, without graphing, whether
the point P, then find an equation for the line. a point P = ( x, y) is inside, on, or outside the
(a) m = 3, P = (2, 5) circle with center C = (h, k) and radius r.
(b) m = −2, P = (3, 2) 22. A box with a base of dimensions 2 cm and 8 cm
(c) m = − 12 , P = (1, 4) is definitely big enough to hold two semicircular
rods with radii of 2 cm (see below).
16. Sketch the line with slope m that goes through
the point P, then find an equation for the line. (a) Will these same two rods fit in a box 2 cm high
and 7.6 cm wide?
(a) m = 5, P = (2, 1)
(b) Will they fit in a box 2 cm high and 7.2 cm
(b) m = − 23 , P = (1, 3) wide? (Suggestion: Turn one of the rods over.)
(c) m = π, P = (1, −3)
17. Find an equation for each line.
(a) L1 goes through the point (2, 5) and is parallel
to 3x − 2y = 9.
(b) L2 goes through the point (−1, 2) and is per- 23. Show that an equation of the circle with center
pendicular to 2x = 7 − 3y. C = (h, k) and radius r is ( x − h)2 + (y − k)2 = r2 .
(c) L3 goes through the point (3, −2) and is per- 24. Find an equation of the line tangent to the circle
pendicular to y = 1. x2 + y2 = 25 at the point P when:
18. Find a value for the constant (A, B or D) so that: (a) P = (3, 4)
29. Follow the steps below (and refer to the figure) to find a formula for
the distance from the origin to the line Ax + By = C.
(d) Show that the distance from the origin to the point ( x, y) is:
|C |
√
A2 + B2
30. Show that a formula for the distance from the point ( p, q) to the line
Ax + By = C is:
| Ap + Bq − C |
√
A2 + B2
(The steps will be similar to those in the previous problem, but the
algebra will be more complicated.)
welcome to calculus 19
∆y −16
slope = = = −2
∆x 8
∆y (mx2 + b) − (mx1 + b) m ( x2 − x1 )
slope = = = =m
∆x x2 − x1 x2 − x1
or 7y + 3x = −29.
20 contemporary calculus
What is a function?
Let’s begin with a (very) general definition of a function:
Function Machines
Functions are abstract structures, but sometimes it is easier to think of
them in a more concrete way. One such way is to imagine that a function
is a special-purpose computer, a machine that accepts inputs, does
something to those inputs according to a defining rule, and produces
an output. The output is the value of the function associated with the
given input value. If the defining rule for a function f is “multiply the
input by itself,” f (input) = (input)(input), then the figure and table
in the margin show the results of putting the inputs x, 5, 2.5, a, c + 3
and x + h into the machine f .
output each time, you would need a new calculator. On many calculators there is a feature
that does not produce the same output
each time you use it. What is it?
Functions Defined by Equations
If the domain of a function consists of a collection of real numbers
(perhaps all real numbers) and the range is also a collection of real
numbers, then the function is called a numerical function. We can give
the rule for a numerical function in several ways, but usually write it
as a formula. If the rule for a numerical function, f , is “the output is
the input number multiplied by itself,” then we could write the rule as
f ( x ) = x · x = x2
• f ( a ) = a2
• f (#) = #2 or
• f (input) = (input)2 .
• f ( 3 ) = 32 − 3 = 6
Notice that the two different inputs 3 and −2 both lead to the output
of 6. That is allowable for a function.
22 contemporary calculus
• f ( c ) = c2 − c
• f ( a + 1) = ( a + 1)2 − ( a + 1) = ( a2 + 2a + 1) − ( a + 1) = a2 + a
• f ( x + h) = ( x + h)2 − ( x + h) = ( x2 + 2xh + h2 ) − ( x + h)
( x + h )2 − ( x + h ) − x 2 − x
f ( x + h) − f ( x )
=
h h
( x2 + 2xh + h2 ) − ( x + h) − ( x2 − x )
=
h
2
2xh + h − h h(2x + h − 1)
= = = 2x + h − 1
h h
Example 1. A boat starts from St. Thomas and sails due west with the
velocity shown in the margin.
Practice 3. You and a friend start out together and hike along the same
trail but walk at different speeds, as shown in the figure.
Example 2. Which has the largest slope: the line through the points A
and P, the line through B and P, or the line through C and P?
Practice 4. In the figure, the point Q on the curve is fixed, and the
point P is moving to the right along the curve toward the point Q.
As P moves toward Q, is the indicated value increasing, decreasing,
remaining constant, or doing something else?
(a) x-coordinate of P
(b) x-increment from P to Q
(c) slope from P to Q
Solution. (a) The figure in the margin shows the graph of y = f ( x ) x f (x) g( x )
with several tangent lines to the graph of f . From this graph, we can 0 −1.0 0.5
1 0.0 1.0
estimate that g(1) (the slope of the line tangent to the graph of f at 2 2.0 0.0
(1, 0)) is approximately equal to 1. Similarly, g(2) ≈ 0 and g(3) ≈ −1. 3 1.0 −1.0
(b) The slope of the tangent line appears to be horizontal (slope = 0) 4 0.0 −1.0
5 −1.0 0.0
at x = 2 and at x = 5. 6 −0.5 0.5
(c) The tangent line to the graph of f appears to have greatest slope
(be steepest) near x = 1.5.
(d) We can build a table of values of g( x ) and then sketch the graph
of these values. A graph of y = g( x ) appears below. ◀
0.3 Problems
√ x
In Problems 1–4, match the numerical triples to the 7. If f ( x ) = x2 + 3, g( x ) = x − 5 and H ( x ) = x −2 :
graphs. For example, in Problem 1, A: 3, 3, 6 is (a) evaulate f (1), g(1) and H (1).
“over and up” so it matches graph (a). (b) graph f ( x ), g( x ) and H ( x ) for −5 ≤ x ≤ 10.
1. A: 3, 3, 6; B: 12, 6, 6; C: 7, 7, 3 D: 2, 4, 4 (c) evaluate f (3x ), g(3x ) and H (3x ).
(d) evaluate f ( x + h), g( x + h) and H ( x + h).
8. Find the slope of the line through the points P
and Q when:
2. A: 7, 10, 7; B: 17, 17, 25; C: 4, 4, 8 D: 12, 8, 16 (a) P = (1, 3), Q = (2, 7)
(b) P = ( x, x2 + 2), Q = ( x + h, ( x + h)2 + 2)
(c) P = (1, 3), Q = ( x, x2 + 2)
(d) P, Q as in (b) with x = 2, x = 1.1, x = 1.002
3. A: 7, 14, 10; B: 23, 45, 22; C: 8, 12, 8 D: 6, 9, 3
9. Find the slope of the line through the points P
and Q when:
(a) P = (1, 5), Q = (2, 7)
4. A: 6, 3, 9; B: 8, 1, 1; C: 12, 6, 9 D: 3.7, 1.9, 3.6 (b) P = ( x, x2 + 3x − 1),
Q = ( x + h, ( x + h)2 + 3( x + h) − 1)
(c) P, Q as in (b) with x = 1.3, x = 1.1, x = 1.002
10. If f ( x ) = x2 + x and g( x ) = 3x , evaluate and sim-
5. Water is flowing at a steady rate into each of the f ( a + h) − f ( a) g( a + h) − g( a)
plify and when
bottles shown below. Match each bottle shape h h
a = 1, a = 2, a = −1, a = x.
with the graph of the height of the water as a √
function of time 11. If f ( x ) = x2 − 2x and g( x ) = x, evaluate and
f ( a + h) − f ( a) g( a + h) − g( a)
simplify and
h h
when a = 1, a = 2, a = 3, a = x.
12. The temperatures shown below were recorded
during a 12-hour period in Chicago.
(a) At what time was the temperature the highest?
Lowest?
(b) How fast was the temperature rising at 10 a.m.?
At 1 p.m.?
(c) What could have caused the drop in tempera-
ture between 1 p.m. and 3 p.m.?
6. Sketch shapes of bottles that will have the water
height versus time graphs shown below.
welcome to calculus 27
13. The graph below shows the distance of an air- 15. Refer to the curve shown below.
plane from an airport during a long flight. (a) Sketch the lines tangent to the curve at x = 1,
2, 3, 4 and 5.
(a) How far was the airplane from the airport at 1
p.m.? At 2 p.m.? (b) For what value(s) of x is the value of the func-
tion largest? Smallest?
(b) How fast was the distance changing at 1 p.m.?
(c) For what value(s) of x is the slope of the tan-
(c) How could the distance from the plane to the gent line largest? Smallest?
airport remain unchanged from 1:45 p.m. until
2:30 p.m. without the airplane falling?
18. Define s( x ) to be the slope of the line through 21. Using the graph of y = f ( x ) below, let g( x ) be
the points (0, 0) and ( x, f ( x )) where f ( x ) is the the slope of the line tangent to the graph of f ( x )
function graphed below. For example, s(3) = at the point ( x, f ( x )). Complete the table, esti-
slope of the line through (0, 0) and (3, f (3)) = 43 . mating values of the slopes as best you can.
(a) Evaluate s(1), s(2) and s(4).
(b) For which integer value of x between 1 and 7
is s( x ) smallest?
input output
3
x x +1
3
5 5 + 1 = 1.6
3
a a +1
3
c+3 c +3 + 1
3
x+h x+h + 1
3
If x = 0, then g(0) = 0 + 1 is not defined (because of division by 0).
2. g(t) = t2 − 5t
g ( 1 ) = 12 − 5 ( 1 ) = − 4
g(−2) = (−2)2 − 5(−2) = 14
g(w + 3) = (w + 3)2 − 5(w + 3) = w2 + 6w + 9 − 5w − 15 = w2 + w − 6
g( x + h) = ( x + h)2 − 5( x + h) = x2 + 2xh + h2 − 5x − 5h
g( x + h) − g( x ) = ( x2 + 2xh + h2 − 5x − 5h) − ( x2 − 5x ) = 2xh + h2 − 5h
g( x + h) − g( x ) 2xh + h2 − 5h
= = 2x + h − 5
h h
3. (a) Friend (b) Friend (c) At t = 40. Before that, your friend is walking
faster and increasing the distance between you. Then you start to
walk faster than your friend and start to catch up. (d) Friend. You
are walking faster than your friend at t = 50, but you still have not
caught up.
Sales Tax: Some states have different rates of sales tax depending
on the type of item purchased. As an example, for many years food
purchased at restaurants in Seattle was taxed at a rate of 10%, while
most other items were taxed at a rate of 9.5% and food purchased at
grocery stores had no tax assessed. We can describe this situation by
using a multiline function: a function whose defining rule consists of
several pieces. Which piece of the rule we need to use will depend on
what we buy. In this example, we could define the tax T on an item
that costs x to be:
0 if x is the cost of a food at a grocery store
T (x) = 0.10x if x is the cost of food at a restaurant
0.095x if x is the cost of any other item
To find the tax on a $2 can of stew, we would use the first piece of
the rule and find that the tax is $0. To find the tax on a $30 restaurant
bill, we would use the second piece of the rule and find that the tax is
$3.00. The tax on a $150 textbook requires using the third rule: the tax
would be $14.25.
Wind Chill Index: The rate at which a person’s body loses heat
depends on the temperature of the surrounding air and on the speed
of the air. You lose heat more quickly on a windy day than you do on a
day with little or no wind. Scientists have experimentally determined
this rate of heat loss as a function of temperature and wind speed, and
the resulting function is called the Wind Chill Index, WCI. The WCI
is the temperature on a still day (no wind) at which your body would
lose heat at the same rate as on the windy day. For example, the WCI
value for 30◦ F air moving at 15 miles per hour is 9◦ F: your body loses
heat as quickly on a 30◦ F day with a 15 mph wind as it does on a 9◦ F
day with no wind.
If T is the Fahrenheit temperature of the air and v is the speed of the
wind in miles per hour, then the WCI can be expressed as a multiline
function of the wind speed v (and of the temperature T):
√
T if 0 ≤ v ≤ 4
10.45+6.69 v−0.447v
WCI = 91.4 − 22 (91.5 −
T ) if 4 < v ≤ 45
1.60T − 55 if v > 45
welcome to calculus 31
The WCI value for a still day (0 ≤ v ≤ 4 mph) is just the air
temperature. The WCI for wind speeds above 45 mph are the same
as the WCI for a wind speed of 45 mph. The WCI for wind speeds
between 4 mph and 45 mph decrease as the wind speeds increase. This
WCI function depends on two variables: the temperature and the wind
speed; but if the temperature is constant, then the resulting formula for
WCI only depends on the wind speed. If the air temperature is 30◦ F
(T = 30), then the formula for the Wind Chill Index is:
30◦ if 0 ≤ v ≤ 4 mph
√
WCI30 = 62.19 − 18.70 v + 1.25v if 4 mph < v ≤ 45 mph
−7◦ if v > 45 mph
The WCI graphs for temperatures of 40◦ F, 30◦ F and 20◦ F appear below:
From UMAP Module 658, “Windchill,”
by William Bosch and L.G. Cobb, 1984.
Practice 1. A Hawaiian condo rents for $380 per night during the tourist
season (from December 15 through April 30), and for $295 per night
otherwise. Define a multiline function that describes these rates.
Example 1. Define f ( x ) by:
2 if x < 0
f (x) = 2x if 0 ≤ x < 2
1 if 2 < x
Evaluate f (−3), f (0), f (1), f (4) and f (2). Graph y = f ( x ) on the
interval −1 ≤ x ≤ 4.
f ◦ g( x ) = f ( g( x ))
(a) 2 + f ( x )
(b) 3 · f ( x )
(c) f ( x − 1)
34 contemporary calculus
(a) 1 + g( x )
(b) 2g( x )
(c) g( x − 1)
(d) −3g( x )
welcome to calculus 35
Iteration of Functions
Certain applications feed the output from a function machine back into
the same machine as the new input. Each time through the machine is
called an iteration of the function.
5
+x x
Example 4. Suppose f ( x ) = and we start with the input x = 4
2
and repeatedly feed the output from f back into f . What happens?
Once we have obtained the output 2.236067977, we will just keep getting
the same output (to 9 decimal places). You might recognize this output
√
value as an approximation of 5.
√
This algorithm always finds ± 5. If we start with any positive input,
√
the values will eventually get as close to 5 as we want. Starting with
√
any negative value for the input will eventually get us close to − 5.
We cannot start with x = 0, as 05 is undefined. ◀
Definition of | x |: (
x if x ≥ 0
|x| =
−x if x < 0
√
We can also write: | x | = x2 .
The domain of y = f ( x ) = | x | consists of all real numbers. The
range of f ( x ) = | x | consists of all numbers larger than or equal to zero
(all non-negative numbers). The graph of y = f ( x ) = | x | (see margin)
has no holes or breaks, but it does have a sharp corner at x = 0.
The absolute value will be useful for describing phenomena such
as reflected light and bouncing balls that change direction abruptly or
whose graphs have corners. The absolute value function has a number
of properties we will use later.
• | a| = 0 · | a| = 0 if and only if a = 0
• | ab| = | a| · |b|
This last property is widely known as the • | a + b| ≤ | a| + |b|
triangle inequality.
Definition of ⌊ x ⌋:
(
x if x is an integer
⌊x⌋ =
largest integer strictly less than x if x is not an integer
0.4 Problems
1. If T is the Celsius temperature of the air and v is the speed of the
wind in kilometers per hour, then
√
T if 0 ≤ v ≤ 6.5
10.45+5.29 v−0.279v
WCI = 33 − 22 (33 − T ) if 6.5 < v ≤ 72
1.6T − 19.8 if v > 72
x f (x) g( x ) f ◦ g( x ) g ◦ f (x) h ◦ g( x )
−1 2 0
0 1 2
1 −1 1
2 0 2
5. Use the graphs shown below and the function 6. Use the graphs shown below and the function
h( x ) = x − 2 to determine the values of h( x ) = 5 − 2x to determine the values of
(a) f ( f (1)), f ( g(2)), f ( g(0)), f ( g(1)) (a) h ( f (0)), f (h(1)), f ( g(2)), f ( f (3))
(b) g ( f (2)), g ( f (3)), g ( g(0)), g ( f (0)) (b) g ( f (0)), g ( f (1)), g (h(2)), h ( f (3))
(c) f (h(3)), f (h(4)), h ( g(0)), h ( g(1)) (c) f ( g(0)), f ( g(1)), f (h(2)), h ( g(3))
40 contemporary calculus
7. Defining h( x ) = x − 2, f ( x ) as: 11. Write a multiline function definition for the curve
y = f ( x ) shown below.
3 if x < 1
f (x) = x − 2 if 1 ≤ x < 3
1 if 3 ≤ x
and g( x ) as:
(
x2 − 3 if x < 0
g( x ) =
⌊x⌋ if 0 ≤ x
15. The function g( x ) is graphed below. Graph off x to the nearest tenth (the first decimal place).
(a) g( x ) − 1 What function will round off x to:
(b) g( x − 1) (a) the nearest hundredth (two decimal places)?
(c) | g( x )| (b) the nearest thousandth (three decimal places)?
(d) ⌊ g( x )⌋ 21. Modify the function in Example 6 to produce a
“square wave” graph with a “long on, short off,
long on, short off” pattern.
22. Many computer languages contain a “signum” or
“sign” function defined by
1 if x > 0
sgn( x ) = 0 if x = 0
−1 if x < 0
24. Define h( x ) to be the slope of the line tangent to 26. Let f ( x ) = 1 + sin( x ).
the graph of y = f ( x ) (see figure below) at ( x, y). (a) What happens if you start with x = 1 and
(a) Estimate h(1), h(2), h(3) and h(4). repeatedly feed the output from f back into f ?
(b) Graph y = h( x ) for 0 ≤ x ≤ 4. (b) What happens if you start with x = 2 and
examine the iterates of f ?
(Be sure your calculator is in radian mode.)
2
27. Starting with x = 1, do the iterates of f ( x ) = x 2x+1
approach a number? What happens if you start
with x = 0.5 or x = 4?
x
28. Let f ( x ) = 2 + 3.
(a) What are the iterates of f if you start with
x = 2? x = 4? x = 6?
25. Using the cos (cosine) button on your calculator (b) Find a number c so that f (c) = c. This value
several times produces iterates of f ( x ) = cos( x ). of c is called a fixed point of f .
x
What number will the iterates approach if you (c) Find a fixed point of g( x ) = 2 + A.
use the cos button 20 or 30 times starting with 29. Let f ( x ) = x
+ 4.
3
(a) x = 1? (a) What are the iterates of f if you start with
(b) x = 2? x = 2? x = 4? x = 6?
(c) x = 10? (b) Find a number c so that f (c) = c.
x
(Be sure your calculator is in radian mode.) (c) Find a fixed point of g( x ) = 3 + A.
30. Some iterative procedures are geometric rather than numerical. Start with an equilateral triangle with sides
of length 1, as shown at left in the figure below.
• Remove the middle third of each line segment.
• Replace the removed portion with two segments with the same length as the removed segment.
The first two iterations of this procedure are shown at center and right in the figure below. Repeat these
steps several more times, each time removing the middle third of each line segment and replacing it with
two new segments. What happens to the length of the shape with each iteration? (The result of iterating
over and over with this procedure is called Koch’s Snowflake, named for Helga von Koch.)
welcome to calculus 43
x g( x ) x g( x )
−3 −3 π
3 − π3
−1 2 2 −2
0 2 3 −3
1
2 2 4 undefined
1 undefined 5 1
3. Define f ( x ) as:
1 if x ≤ −1
f (x) = 1−x if − 1 < x ≤ 1
2 if 1 < x
9
+x
x
9 +1 9 +5
6. Using f ( x ) = , f (1) = 1 2 = 5, f (5) = 5 2 = 3.4, f (3.4) ≈
2
3.023529412 and f (3.023529412) ≈ 3.000091554. The next iteration
gives f (3.000091554) ≈ 3.000000001: these values are approaching 3,
the square root of 9.
6
x +x 6 +1
With A = 6, f ( x ) = , so f (1) = 1 2 = 3.5, f (3.5) =
2
6
3.5 +3.5
2 = 2.607142857, and the next iteration gives f (2.607142857) ≈
2.45425636. Then f (2.45425636) ≈ 2.449494372, f (2.449494372) ≈
2.449489743 and f (2.449489743) ≈ 2.449489743 (the output is the
same as the input to 9 decimal places): these values are approaching
√
2.449489743, an approximation of 6.
A
x +x
For any positive value A, the iterates of f ( x ) = (starting with
√ 2
any positive x) will approach A.
7. The figure below shows some intermediate steps and final graphs:
8. The figure in the margin shows the graph of y = x2 and the (thicker)
graph of y = x2 .
(This is a very crude image, since we can’t really see the individual
holes, which have zero width.)
welcome to calculus 45
The calculus concepts we will explore in this book are simple and
powerful, but sometimes subtle. To succeed in calculus you will need
to master some techniques, but (more importantly) you will need to
understand ideas and be able to work with the ideas in words and
pictures — very clear words and pictures.
You also need to understand some of the common linguistic con-
structions used in mathematics. In this section, we will discuss a few of
the most common mathematical phrases, the meanings of these phrases,
and some of their equivalent forms.
Your calculus instructor is going to use these types of statements, and
it is very important that you understand exactly what your instructor
means. You have reached a level in mathematics where the precise use
of language is important.
Equivalent Statements
Two statements are equivalent if they always have the same logical
value (a logical value is either “true” or “false”): that is, they are both
true or are both false.
The statements “x = 3” and “x + 2 = 5” are equivalent statements,
because if one of them is true then so is the other — and if one of them
is false then so is the other.
The statements “x = 3” and “x2 − 4x + 3 = 0” are not equivalent,
because x = 1 makes the second statement true but the first one false.
AND and OR
In everyday language, we use the words “and” and “or” all the time,
but in mathematics we must use them very carefully.
(a) x < 5
(b) x + 2 = 6
(c) x2 − 10x + 24 = 0
(d) “(a) and (b)”
(e) “(a) or (c)”
Negation of a Statement
For some simple statements, we can construct the negation just by
adding the word “not.”
When the statement contains words such as “all,” “no” or “some,” then
the negation becomes more complicated.
(a) x + 5 = 3
(b) All prime numbers are odd.
(c) x2 < 4
(d) x divides 2 and x divides 3.
(e) No mathematician can sing well.
The only way for the statement “If you clean your room then I will
buy you an ice cream cone” to be false is if the child cleaned the room
and the parent did not buy the ice cream cone. If the child did not
clean the room but the parent bought the ice cream cone anyway, we
would say that the statement was true.
The statement “If n is a positive integer, then n2 + 5n + 5 is a prime
number” has hypothesis “n is a positive integer” and conclusion “n2 +
5n + 5 is a prime number.” This “If. . . then. . . ” statement is false,
because replacing n with the number 5 will make the hypothesis true
48 contemporary calculus
(c) If x = 3 then x2 − 5x + 6 = 0
The statement “If A then B” and its converse “If B then A.”
are not equivalent.
Wrap-up
The precise use of language by mathematicians (and mathematics
books) is an attempt to clearly communicate ideas from one person to
another, but this requires that both people understand the use and rules
of the language. If you don’t understand this usage, the communication
of the ideas will almost certainly fail.
50 contemporary calculus
0.5 Problems
In Problems 1–2, define the sets A, B and C 11. (a) If you love your country, you will vote for me.
as A = {1, 2, 3, 4, 5}, B = {0, 2, 4, 6} and C = (b) If guns are outlawed then only outlaws will
{−2, −1, 0, 1, 2, 3}. List all values of x that satisfy have guns.
each statement.
In 12–15, write the negation of each statement.
1. (a) x is in A and x is in B
12. (a) It is raining.
(b) x is in A or x is in C
(b) Some equations have solutions.
(c) x is not in B and x is in C
(c) f ( x ) and g( x ) are polynomials.
2. (a) x is not in B or C
13. (a) f ( x ) or g( x ) is positive.
(b) x is in B and C but not in A
(b) x is positive.
(c) x is not in A but is in B or C
(c) 8 is a prime number.
In Problems 3–5, list or describe all the values of x 14. (a) Some months have six Mondays.
that make each statement true. (b) All quadratic equations have solutions.
3. (a) x2 +3 > 1 (c) The absolute value of a number is positive.
(b) x3 + 3 > 1 15. (a) For all numbers a and b, | a + b| = | a| + |b|.
(c) ⌊ x ⌋ ≤ | x | (b) All snakes are poisonous.
x2 +3x
4. (a) x = x+3 (c) No dog can climb trees.
(b) x > 4 and x < 9 16. Write an “If. . . then. . . ” statement that is true but
(c) | x | = 3 and x < 0 whose converse is false.
5. (a) x + 5 = 3 or x2 = 9 17. Write an “If. . . then. . . ” statement that is true and
(b) x + 5 = 3 and x2 =9 whose converse is true.
(c) | x + 3| = | x | + 3 18. Write an “If. . . then. . . ” statement that is false and
In Problems 6–8, write the contrapositive of each whose converse is false.
statement. If false, give a counterexample. In 19–22, determine whether each statement is true
6. (a) If x > 3 then x2 > 9. or false. If false, give a counterexample.
(b) Every solution of x2 − 6x + 8 = 0 is even. 19. (a) If a and b are real numbers then:
7. (a) If x2 + x − 6 = 0 then x = 2 or x = −3. ( a + b )2 = a2 + b2
(b) All triangles have 3 sides.
(b) If a > b then a2 > b2 .
8. (a) Every polynomial has at least one zero.
(c) If a > b then a3 > b3 .
(b) If I exercise and eat right then I will be healthy.
20. (a) For all real numbers a and b, | a + b| = | a| + |b|
In Problems 9–11, write the contrapositive of each (b) For all real numbers a and b, ⌊ a⌋ + ⌊b⌋ = ⌊ a + b⌋.
statement. (c) If f ( x ) and g( x ) are linear functions, then
9. (a) If your car is properly tuned, it will get at least f ( g( x )) is a linear function.
24 miles per gallon. 21. (a) If f ( x ) and g( x ) are linear functions then
(b) You can have pie if you eat your vegetables. f ( x ) + g( x ) is a linear function.
10. (a) A well-prepared student will miss less than (b) If f ( x ) and g( x ) are linear functions then
15 points on the final exam. f ( x ) · g( x ) is a linear function.
(b) I feel good when I jog. (c) If x divides 6 then x divides 30.
welcome to calculus 51
22. (a) If x divides 50 then x divides 10. 24. (a) Every square has 4 sides.
(b) If x divides yz then x divides y or z. (b) All 4-sided polygons are squares.
(c) If x divides a2 then x divides a. (c) Every triangle has 2 equal sides.
(d) Every 4-sided polygon with equal sides is a square.
In 23–26, rewrite each statement in the form of an
25. (a) Every solution of x + 5 = 9 is odd.
“If. . . then. . . ” statement and determine whether it is
(b) Every 3-sided polygon with equal sides is a
true or false. If the statement is false, give a coun-
triangle.
terexample.
(c) Every calculus student studies hard.
23. (a) The sum of two prime numbers is a prime. (d) All (real) solutions of x2 − 5x + 6 = 0 are even.
(b) The sum of two prime numbers is never a 26. (a) Every line in the plane intersects the x-axis.
prime number. (b) Every (real) solution of x2 + 3 = 0 is even.
(c) Every prime number is odd. (c) All birds can fly.
(d) Every prime number is even. (d) No mammal can fly.
The only thing special about the x-values we picked is that they are
numbers close — and very close — to x = 2. Someone else might have
picked other nearby values for x. As the points we pick get closer and
closer to the point (2, 4) on the graph of y = x2 , the slopes of the lines
through the points and (2, 4) are better approximations of the slope of
the tangent line, and these slopes are getting closer and closer to 4.
Practice 1. What is the slope of the line through (2, 4) and ( x, y) for
y = x2 and x = 1.994? For x = 2.0003?
We can bypass much of the calculating by not picking the points one
at a time: let’s look at a general point near (2, 4). Define x = 2 + h so
h is the increment from 2 to x (see margin figure). If h is small, then
x = 2 + h is close to 2 and the point (2 + h, f (2 + h)) = 2 + h, (2 + h)2
is close to (2, 4). The slope m of the line through the points (2, 4) and
2 + h, (2 + h)2 is a good approximation of the slope of the tangent
Solution. The slope of the secant line through the points (1, 1) and
(1 + h, f (1 + h)) is:
f (1 + h ) − 1 (1 + h )2 − 1 (1 + 2h + h2 ) − 1
m= = =
(1 + h ) − 1 h h
2h + h2 h (2 + h )
= = = 2+h
h h
As h gets very small, the value of m approaches the value 2, the slope
of tangent line at the point (1, 1). ◀
Falling Tomato
Suppose we drop a tomato from the top of a 100-foot building (see
margin figure) and record its position at various times during its fall:
(g) How fast was the tomato falling 1 second after it was dropped?
∆position
average velocity =
∆time
= slope of the secant line through two points
Growing Bacteria
Suppose we set up a machine to count the number of bacteria growing
on a Petri plate (see margin figure). At first there are few bacteria, so
the population grows slowly. Then there are more bacteria to divide,
so the population grows more quickly. Later, there are more bacteria
and less room and nutrients available for the expanding population, so
the population grows slowly again. Finally, the bacteria have used up
most of the nutrients and the population declines as bacteria die.
The population graph can be used to answer a number of questions:
change in population
average change in population =
change in time
∆population 4000 bacteria bacteria
= = ≈ 570
∆time 7 days day
This is the slope of the secant line through (3, 500) and (10, 4500).
∆population
average population growth rate =
∆time
= slope of the secant line through two points
1.0 Problems
1. (a) What is the slope of the line through (3, 9) 4. (a) What is the slope of the line through (−1, −2)
and ( x, y) for y = x2 when: and ( x, y) for y = x2 + x − 2 when:
i. x = 2.97? i. x = −0.98?
ii. x = 3.001? ii. x = −1.03?
iii. x = 3 + h? iii. x = −1 + h?
(b) What happens to this last slope when h is very
(b) What happens to this last slope when h is very
small (close to 0)?
small (close to 0)?
(c) Sketch the graph of y = x2 for x near 3.
(c) Sketch the graph of y = x2 + x − 2 for x
2. (a) What is the slope of the line through (−2, 4) near −1.
and ( x, y) for y = x2 when:
5. The figure below shows the temperature during
i. x = −1.98?
a day in Ames.
ii. x = −2.03?
iii. x = −2 + h? (a) What was the average change in temperature
(b) What happens to this last slope when h is very from 9 a.m. to 1 p.m.?
small (close to 0)? (b) Estimate how fast the temperature was rising
(c) Sketch the graph of y = x2 for x near −2. at 10 a.m. and at 7 p.m.
6. The figure below shows the distance of a car from 8. The figure below shows the composite develop-
a measuring position located on the edge of a mental skill level of chessmasters at different ages
straight road. as determined by their performance against other
(a) What was the average velocity of the car from chessmasters. (From “Rating Systems for Human
t = 0 to t = 30 seconds? Abilities,” by W.H. Batchelder and R.S. Simpson,
(b) What was the average velocity from t = 10 to 1988. UMAP Module 698.)
t = 30 seconds? (a) At what age is the “typical” chessmaster play-
(c) About how fast was the car traveling at t = 10 ing the best chess?
seconds? At t = 20? At t = 30? (b) At approximately what age is the chessmas-
(d) What does the horizontal part of the graph ter’s skill level increasing most rapidly?
between t = 15 and t = 20 seconds tell you? (c) Describe the development of the “typical”
(e) What does the negative velocity at t = 25 rep- chessmaster’s skill in words.
resent? (d) Sketch graphs that you think would reason-
ably describe the performance levels versus
age for an athlete, a classical pianist, a rock
singer, a mathematician and a professional in
your major field.
As h → 0, msec = −2 + h → −2.
36 − 64 feet feet
= −56
2.0 − 1.5 sec sec
The average velocity between t = 2.0 and t = 2.5 is:
0 − 36 feet feet
= −72
2.5 − 2.0 sec sec
Calculus has been called the study of continuous change, and the limit
is the basic concept that allows us to describe and analyze such change.
An understanding of limits is necessary to understand derivatives,
integrals and other fundamental topics of calculus.
while:
(a) lim f ( x ) (b) lim f (t) (c) lim f ( x ) (d) lim f (w)
x →1 t →2 x →3 w →4
2x2 − x − 1
Example 2. Determine the value of lim .
x →3 x−1
2
Solution. We need to investigate the values of f ( x ) = 2x x−−x1−1 when
x is close to 3. If the f ( x ) values are all arbitrarily close to — or even
equal to — some number L, then L will be the limit.
One way to keep track of both the x and the f ( x ) values is to set up
a table and to pick several x values that get closer and closer (but not
equal) to 3.
We can pick some values of x that approach 3 from the left, say
x = 2.91, 2.9997, 2.999993 and 2.9999999, and some values of x that
approach 3 from the right, say x = 3.1, 3.004, 3.0001 and 3.000002. The
only thing important about these particular values for x is that they get
closer and closer to 3 without actually equaling 3. You should try some
other values “close to 3” to see what happens. Our table of values is:
64 contemporary calculus
x f (x) x f (x)
2.9 6.82 3.1 7.2
2.9997 6.9994 3.004 7.008
2.999993 6.999986 3.0001 7.0002
2.9999999 6.9999998 3.000002 7.000004
↓ ↓ ↓ ↓
3 7 3 7
As the x values get closer and closer to 3, the f ( x ) values are all close to
7. In fact, we can get f ( x ) as close to 7 as we want (“arbitrarily close”)
by taking the values of x very close (“sufficiently close”) to 3. We write:
2x2 − x − 1
lim =7
x →3 x−1
2x2 − x − 1
Example 3. Find lim .
x →1 x−1
2
Solution. You might try to evaluate f ( x ) = 2x x−−x1−1 at x = 1, but
f (1) = 00 , so f is not defined at x = 1.
It is tempting — but wrong — to conclude that this function does not
have a limit as x approaches 1.
Table Method: Trying some “test” values for x that get closer and
closer to 1 from both the left and the right, we get:
x f (x) x f (x)
0.9 2.82 1.1 3.2
0.9998 2.9996 1.003 3.006
0.999994 2.999988 1.0001 3.0002
0.9999999 2.9999998 1.000007 3.000014
↓ ↓ ↓ ↓
1 3 1 3
limits and continuity 65
which is the same answer we obtained using the first two methods. ◀
for every value of x, and my calculator gives the correct answer for
some values of x: f (3) = 1, and f (8) and f (9) both equal 1.
But my calculator says (0.1)10 + 1 − 1 = 0, so it evaluates f (10) to
Calculators are too handy to be ignored, but they are too prone to
these types of errors to be believed uncritically. Be careful.
x2 + 5x + 6 x2 + 5x + 6
(a) lim (b) lim
x →0 x2 + 3x + 2 x →−2 x2 + 3x + 2
x2 +5x +6
x x2 + 5x + 6 x2 + 3x + 2 x2 +3x +2
x2 + 5x + 6 ( x + 2)( x + 3)
f (x) = =
x2 + 3x + 2 ( x + 2)( x + 1)
( x + 3) 1
f (x) = → = −1
( x + 1) −1
as x → −2. ◀
polynomial 0
If lim = ,
x →c another polynomial 0
try dividing the top and bottom by x − c.
68 contemporary calculus
One-Sided Limits
Sometimes, what happens to us at a place depends on the direction
we use to approach that place. If we approach Niagara Falls from
the upstream side, then we will be 182 feet higher and have different
worries than if we approach from the downstream side. Similarly, the
values of a function near a point may depend on the direction we use
to approach that point.
If we let x approach 3 from the left (x is close to 3 and x < 3) then
the values of ⌊ x ⌋ = INT( x ) equal 2 (see margin).
If we let x approach 3 from the right (x is close to 3 and x > 3) then
the values of ⌊ x ⌋ = INT( x ) equal 3.
On the number line we can approach a point from the left or the
right, and that leads to one-sided limits.
lim f ( x ) = L
x →c−
The right limit, lim f ( x ), requires that x lie to the right of c (x > c).
x →c+
lim x − ⌊ x ⌋ = lim x − 1 = 2 − 1 = 1
x →2− x →2−
lim x − ⌊ x ⌋ = lim x − 2 = 2 − 2 = 0
x →2+ x →2+
lim f ( x ) = lim f ( x ) = L
x →c− x →c+
lim f ( x ) = L
x →c
Similarly, if:
lim f ( x ) = L
x →c
lim f ( x ) = lim f ( x ) = L
x →c− x →c+
Corollary:
Practice 3. Use the graph in the margin to evaluate the one- and two-
sided limits of f at x = 0, 1, 2 and 3.
1.1 Problems
1. Use the graph below to estimate the limits. 4. Use the graph below to estimate the limits.
(a) lim f ( x ) (b) lim f ( x ) In Problems 5–11, evaluate (or estimate) each limit.
x →1 x →2
(c) lim | x |
x →0
|x| |x|
10. (a) lim (b) lim
x →0− x x →0+ x
|x|
(c) lim
x →0 x
limits and continuity 71
| x − 5|
(c) lim
x →5 x−5
as x → 0, 1 and 2.
13. Find the one- and two-sided limits of: 19. Define A( x ) to be the area bounded by the t- and
y-axes, the line y = 21 t + 2 and the vertical line t = x
1 if x ≤ 2
g( x ) = 8 (See figure below). For example, A(4) = 12.
x if 2 < x < 4
6 − x if 4 < x
(a) Evaluate A(0), A(1), A(2) and A(3).
2x − 1 log10 ( x )
14. (a) lim (b) lim
x →0 x x →1 x−1
3x − 1 ln( x )
15. (a) lim (b) lim
x →0 x x →1 x−1
√
x−1−2 sin(3x )
16. (a) lim (b) lim
x →5 x−5 x →0 5x
√
x−4 sin(7x ) √
17. (a) lim (b) lim
x →16 x − 16 x →0 2x 20. Sketch the graph of f (t) = 4t − t2 for 0 ≤ t ≤ 4
(you should get a semicircle). Define A( x ) to be
18. Define A( x ) to be the area bounded by the t- and the area bounded below by the t-axis, above by the
y-axes, the “bent line” in the figure below, and the graph y = f (t) and on the right by the vertical line
vertical line t = x. For example, A(4) = 10. at t = x.
(a) Evaluate A(0), A(1), A(2) and A(3). (a) Evaluate A(0), A(2) and A(4).
(b) Graph y = A( x ) for 0 ≤ x ≤ 4. (b) Sketch a graph y = A( x ) for 0 ≤ x ≤ 4.
(c) What area does A(3) − A(1) represent? (c) What area does A(3) − A(1) represent?
72 contemporary calculus
t sin(t) sin(t) 0
(b) lim = lim = =0
t →0 t ( t + 3) t →0 t + 3 3
w−2
(c) lim = 2 To see this, make a graph or a table:
w →2 ln( w2 )
w −2 w −2
w ln( w2 )
w ln( w2 )
(b) lim [ f ( x ) − g( x )] = L − M
x→a
(c) lim k · f ( x ) = k · L
x→a
(d) lim f ( x ) · g( x ) = L · M
x→a
f (x) L
(e) lim = (if M ̸= 0)
x→a g( x ) M
The Main Limit Theorem says we get the same result if we first
perform the algebra and then take the limit or if we take the limits first
and then perform the algebra: for example, (a) says that the limit of the
sum equals the sum of the limits.
A proof of the Main Limit Theorem is not inherently difficult, but it
requires a more precise definition of the limit concept than we have at
the moment, and it then involves a number of technical difficulties.
As you may have noticed in the previous example, for some functions
f ( x ) it is possible to calculate the limit as x approaches a simply by
substituting x = a into the function and then evaluating f ( a), but
sometimes this method does not work. The following results help to
(partially) answer the question about when such a substitution is valid.
We can use the preceding Two Easy Limits and the Main Limit
Theorem to prove the following Substitution Theorem.
x2 − 2x
h i
(a) lim 5x3 − x2 + 3 (c) lim
x →2
x →2 x2 − x − 2
x3 − 7x
(b) lim
x →2 x2 + 3x
f (3 + h ) − f (3)
(b) lim f (3) (d) lim
h →0 h →0 h
(c) This limit is just an algebraic combination of the first two limits:
f (3 + h ) − f (3)
lim = lim [slope of the secant line]
h →0 h ∆x →0
= slope of the tangent line at (3, f (3))
≈ −1
This last limit represents the slope of line tangent to the graph of
f at the point (3, f (3)).
It is a pattern we will encounter often. ◀
( x, f ( x )) and ( x + h, f ( x + h))
f (1 + h ) − f (1) f (2 + h ) − f (2)
(a) lim (b) lim
h →0 h h →0 h
Solution. (a) The limit represents the slope of the line tangent to the
f (1 + h ) − f (1)
graph of f ( x ) at the point (1, f (1)), so lim ≈ 1. (b) The
h →0 h
limit represents the slope of the line tangent to the graph of f ( x ) at the
f (2 + h ) − f (2)
point (2, f (2)), so lim ≈ −1. ◀
h →0 h
g (1 + h ) − g (1) g ( h ) − g (0)
(a) lim (c) lim
h →0 h h →0 h
g (3 + h ) − g (3)
(b) lim
h →0 h
Squeezing Theorem:
then lim f ( x ) = L.
x →c
The margin figure shows the idea behind the proof of this theorem: the
function f ( x ) gets “squeezed” between the smaller function g( x ) and
the bigger function h( x ). Because g( x ) and h( x ) converge to the same
limit, L, so must f ( x ).
We can use the Squeezing Theorem to evaluate some “hard” limits by
squeezing a “complicated” function in between two “simpler” functions
with “easier” limits.
78 contemporary calculus
Solution. We could use one-sided limits to show that this limit does
not exist, but instead we will use the list method.
One way to define values of { a1 , a2 , a3 , a4 , . . .} that approach 3 from
the right is to define a1 = 3 + 1, a2 = 3 + 12 , a3 = 3 + 13 , a4 = 3 + 14 and,
in general, an = 3 + n1 . Then an > 3 so f ( an ) = 2 for all subscripts n,
and the values in the list { f ( a1 ), f ( a2 ), f ( a3 ), f ( a4 ), . . .} are all close to
2 — in fact, all of the f ( an ) values equal 2.
We can define values of {b1 , b2 , b3 , b4 , . . .} that approach 3 from the
left by b1 = 3 − 1, b2 = 3 − 12 , b3 = 3 − 13 , b4 = 3 − 14 , and, in gen-
eral, bn = 3 − n1 . Then bn < 3 so f (bn ) = bn = 3 − n1 for each sub-
script
n n, and the values in the o list { f (b1 ), f (b2 ), f (b3 ), f (b4 ), . . .} =
2, 2.5, 2 32 , 2 34 , 2 45 , . . . , 3 − n1 , . . . are all close to 3 for large values of n.
Because the values in the lists { f ( a1 ), f ( a2 ), f ( a3 ), f ( a4 ), . . .} and
{ f (b1 ), f (b2 ), f (b3 ), f (b4 ), . . .} have two different limiting values, we
can conclude that lim f ( x ) does not exist. ◀
x →3
{ f ( a1 ), f ( a2 ), f ( a3 ), f ( a4 ), . . .} = {2, 2, 2, 2, . . .}
and the f ( an ) values are all “close to” (in fact, equal) 2.
If {b1 , b2 , b3 , b4 , . . .} is a list of irrational numbers that approach 3
(for example, b1 = 3 + π, b2 = 3 + π2 ,. . . ,bn = 3 + πn ) then:
and the f (bn ) values are all close to 1 for large values of n.
Because the f ( an ) and f (bn ) values become close to two different
numbers, the limit of f ( x ) as x → 3 does not exist. A similar argument
will work as x approaches any number c, so for every c we can show
that lim ( x ) does not exist. The “holey” function does not have a limit
x →c
as x approaches any value c. ◀
1.2 Problems
1. Use the functions f and g defined by the graphs 3. Use the function h defined by the graph below to
below to determine the following limits. determine the following limits.
2. Use the functions f and g defined by the graphs 4. Use the function h defined by the graph above to
above to determine the following limits. determine the following limits.
(a) lim [ f ( x ) + g( x )] (b) lim f ( x ) · g( x ) (a) lim h(5 − x ) (b) lim [h(3 + x ) − h(3)]
x →2 x →2 x →2 x →0
5. Label the parts of the graph of f (below) that are (g) lim f ( x ) (h) lim f ( x ) (i) lim f ( x )
x →−1+ x →−1− x →−1
described by
8. Use the graph from Problem 7 to estimate:
(a) 2 + h (b) f (2)
(a) lim f ( x ) (b) lim f ( x ) (c) lim f ( x )
(c) f (2 + h) (d) f (2 + h) − f (2) x →2+ x →2− x →2
⌊x⌋ ⌊2 + x ⌋ − ⌊2⌋
(g) lim (h) lim
x →3 2 x →0+ x
(c) lim f ( g( x )) g( x )
x →2 (d) lim
(a) lim f ( x ) (b) lim f ( x ) (c) lim f ( x ) x →0 f (x)
x →1+ x →1− x →1
f (x) (f) lim g( f ( x ))
(d) lim f ( x ) (e) lim f ( x ) (f) lim f ( x ) (e) lim x →1
x →3+ x →3− x →3 x →1 g( x )
82 contemporary calculus
12. Give geometric interpretations for each limit and 16. (a) For h > 0, find the slope of the line through
use a calculator to estimate its value. the points (h, |h|) and (0, 0).
arctan(0 + h) − arctan(0) (b) For h < 0, find the slope of the line through
(a) lim
h →0 h
the points (h, |h|) and (0, 0).
arctan(1 + h) − arctan(1) |h| |h| |h|
(b) lim (c) Evaluate lim , lim and lim .
h →0 h h →0− h h →0+ h h →0 h
arctan(2 + h) − arctan(2)
(c) lim
h →0 h In 17–18, describe the behavior at each integer
of the function y = f ( x ) in the figure provided,
using one of these phrases:
• “connected and smooth”
• “connected with a corner”
• “not connected because of a simple hole that
could be plugged by adding or moving one
point”
• “not connected because of a vertical jump that
could not be plugged by moving one point”
cos(h) − 1
13. (a) What does lim represent in rela-
h →0 h
tion to the graph of y = cos( x )? It may help 17.
to recognize that:
cos(h) − 1 cos(0 + h) − cos(0)
=
h h
(b) Graphically and using your calculator, esti-
cos(h) − 1
mate lim .
h →0 h
ln(1 + h)
14. (a) What does the ratio represent in re-
h
lation to the graph of y = ln( x )? It may help 18.
to recognize that:
ln(1 + h) ln(1 + h) − ln(1)
=
h h
(b) Graphically and using your calculator, deter-
ln(1 + h) | x − 2|
mine lim . 19. Use the list method to show that lim does
h x →2 x−2
h →0 not exist .
15. Use your calculator (to generate a table of values)
1
to help you estimate the value of each limit. 20. Show that lim sin does not exist. (Sugges-
x →0 x
eh − 1
(a) lim tion: Let f ( x ) = sin 1x and let an = nπ 1
so
h →0 h
tan(1 + c) − tan(1) that f ( an ) = sin a1n = sin(nπ ) = 0 for ev-
(b) lim
c →0 c ery n. Then pick bn = 2nπ1+ π so that f (bn ) =
2
g (2 + t ) − g (2)
(c) lim when g(t) = t2 − 5. 1
sin bn = sin(2nπ + 2 ) = sin( π2 ) = 1 for all n.)
π
t →0 t
limits and continuity 83
In Problems 21–26, use the Squeezing Theorem to 1 p 1
23. lim 3 + x2 sin 24. lim 1 − x2 cos
help evaluate each limit. x →0 x x →1− x−1
√ 1
21. lim x2 cos
1
22. lim 3
x sin
1
25. lim x2 ·
1 26. lim (−1)⌊ x ⌋ (1 − cos( x ))
x →0 x2 x →0 x3 x →0 x2 x →0
sin(θ )
27. This problem outlines the steps of a proof that lim = 1.
θ θ →0+
π
Refer to the margin figure, assume that 0 < θ < 2 , and justify why
each statement must be true.
4. (a) slope of the line tangent to the graph of g at the point (1, g(1));
estimated slope ≈ −2
(b) slope of the line tangent to the graph of g at the point (3, g(3));
estimated slope ≈ 0
(c) slope of the line tangent to the graph of g at the point (0, g(0));
estimated slope ≈ 1
h i
5. lim x2 + 2 = 3 and lim [2x + 1] = 3 so lim f ( x ) = 3
x →1 x →1 x →1
sin( x )
6. lim cos( x ) = 1 and lim 1 = 1 so lim =1
x →0 x →0 x →0 x
84 contemporary calculus
a f ( a) lim f ( x )
x→a
Graphical Meaning of Continuity
1 2 2
When x is close to 1, the values of f ( x ) are close to the value f (1), and
2 1 2
3 2 DNE the graph of f does not have a hole or break at x = 1. The graph of f is
4 undefined 2 “connected” at x = 1 and can be drawn without lifting your pencil. At
x = 2 and x = 4 the graph of f has “holes,” and at x = 3 the graph has
a “break.” The function f is also continuous at 1.7 (why?) and at every
point shown except at 2, 3 and 4.
(i) f is defined at a
lim f ( x ) = f ( a)
x→a
continuous at x = 1? At x = 2? At x = 3?
lim f ( x ) = 2 = f (1)
x →1
so f is continuous at 1.
86 contemporary calculus
At x = 2, f (2) = 2, but the left and right limits are not equal:
1
lim f ( x ) = lim 2 = 2 ̸= −1 = lim = lim f ( x )
x →2− x →1− x →2+ x−3 x →2+
Theorem:
If f ( x ) and g( x ) are continuous at a
and k is any constant
• f ( x ) + g( x )
• f ( x ) − g( x )
• f ( x ) · g( x )
f (x)
• (as long as g( a) ̸= 0)
g( x )
are continuous at a.
and then use the appropriate part of the Main Limit Theorem.
For example,
so f + g is continuous at a.
If g( x ) is continuous at a and
f ( x ) is continuous at g( a)
The proof of this result involves some technical details, but just
formalizes the following line of reasoning:
The hypothesis that “g is continuous at a” means that if x is close
to a then g( x ) will be close to g( a). Similarly, “ f is continuous at g( a)”
means that if g( x ) is close to g( a) then f ( g( x )) = f ◦ g( x ) will be close
to f ( g( a)) = f ◦ g( a). Finally, we can conclude that if x is close to a,
then g( x ) is close to g( a) so f ◦ g( x ) is close to f ◦ g( a) and therefore
f ◦ g is continuous at x = a.
The next theorem presents an alternate version of the limit condition
for continuity, which we will use occasionally in the future.
Theorem:
Proof. (a) This follows from the Substitution Theorem for Polynomial
and Rational Functions and the definition of continuity.
(b) The graph of y = sin( x ) (see margin) clearly has no holes or breaks,
so it is reasonable to think that sin( x ) is continuous everywhere.
Justifying this algebraically, for every real number a:
Recall the angle addition formula for
lim sin( a + h) = lim [sin( a) cos(h) + cos( a) sin(h)] sin(θ ) and the results from Section 1.2
h →0 h →0 that lim cos(h) = 1 and lim sin(h) = 0.
h →0 h →0
= lim sin( a) · lim cos(h) + lim cos( a) · lim sin(h)
h →0 h →0 h →0 h →0
= sin( a) · 1 + cos( a) · 0 = sin( a)
so f ( x ) = sin( x ) is continuous at every point. The justification for
f ( x ) = cos( x ) is similar.
(c) For f ( x ) = | x |, when x > 0, then | x | = x and its graph (see margin)
is a straight line and is continuous because x is a polynomial.
When x < 0, then | x | = − x and it is also continuous. The only
questionable point is the “corner” on the graph when x = 0, but
the graph there is only bent, not broken:
lim |0 + h| = lim h = 0
h →0+ h →0+
and:
lim |0 + h| = lim −h = 0
h →0− h →0−
so:
lim |0 + h| = 0 = |0|
h →0
and f ( x ) = | x | is also continuous at 0.
• The trig functions tan( x ), cot( x ), sec( x ) and csc( x ) are continuous
except where they are undefined.
90 contemporary calculus
is discontinuous everywhere.
If the graph of f connects the points ( a, f ( a)) and (b, f (b)) and V
is any number between f ( a) and f (b), then the graph of f must cross
the horizontal line y = V somewhere between x = a and x = b (see
margin figure). Since f is continuous, its graph cannot “hop” over the
line y = V.
We often take this theorem for granted in some common situations:
• In 1987 it cost 22¢ to mail a first-class letter inside the United States,
and in 1990 it cost 25¢ to mail the same letter, but we cannot conclude
that there was a time when it cost 23¢ or 24¢ or 24.7¢ to send the
letter. (Postal rates did not increase in a continuous fashion. They
jumped directly from 22¢ to 25¢.)
b+ a
a b m= 2 f ( a) f (b) f (m) root between
1 2 1 −5 1 2
1 2 1.5 1 −5 −0.875 1 1.5
1 1.5 1.25 1 −0.875 0.2969 1.25 1.5
1.25 1.5 1.375 0.2969 −0.875 −0.2246 1.25 1.375
1.25 1.375 1.3125 0.2969 −0.2246 0.0515 1.3125 1.375
1.3125 1.375 1.34375
If we continue the table, the interval containing the root will squeeze
around the value 1.324718. ◀
The Bisection Algorithm has one major drawback: there are some
roots it does not find. The algorithm requires that the function take
on both positive and negative values near the root so that the graph
actually crosses the x-axis. The function f ( x ) = x2 − 6x + 9 = ( x − 3)2
has the root x = 3 but is never negative (see margin figure). We cannot
find two starting points a and b so that f ( a) and f (b) have opposite
signs, so we cannot use the Bisection Algorithm to find the root x = 3.
In Chapter 2 we will see another method — Newton’s Method — that
does find roots of this type.
The Bisection Algorithm requires that we supply two starting x-
values, a and b, at which the function has opposite signs. These values
can often be found with a little “trial and error,” or we can examine the
graph of the function to help pick the two values.
limits and continuity 93
1.3 Problems
1. At which points is the function in the graph below discontinuous?
3. Find at least one point at which each function is 6. A continuous function g has the values:
not continuous and state which of the three con-
x 1 2 3 4 5 6 7
ditions in the definition of continuity is violated
at that point. g( x ) −3 1 4 −1 3 −2 −1
(a) g has at least roots between 1 and 5.
x+5 x2 + x − 6
(a) (b)
x−3 x−2 (b) g( x ) = 3.2 in at least places between
q j k x = 1 and x = 7.
(c) cos( x ) (d) x2
(c) g( x ) = −0.7 in at least places between
x x
(e) (f) x = 3 and x = 7.
sin( x ) x
(g) ln( x2 )
π (d) g( x ) = 1.3 in at least places between
(h)
x2 − 6x + 9 x = 2 and x = 6.
(i) tan( x ) (e) Is it possible for g( x ) to equal π for some x-
4. Which two of the following functions are not con- value(s) between 5 and 6?
tinuous? Use appropriate theorems to justify that
each of the other functions is continuous. 7. This problem asks you to verify that the Interme-
7 (b) cos2 ( x5 − 7x + π ) diate Value Theorem is true for some particular
(a) p
2 + sin( x ) functions, intervals and intermediate values. In
each problem you are given a function f , an inter-
x2 − 5 x2 − 5
(c) (d) val [ a, b] and a value V. Verify that V is between
1 + cos2 ( x ) 1 + cos( x )
f ( a) and f (b) and find a value of c in the given
(e) ⌊3 + 0.5 sin( x )⌋ (f) ⌊0.3 sin( x ) + 1.5⌋ interval so that f (c) = V.
q p (a) f ( x ) = x2 on [0, 3], V = 2
(g) cos(sin( x )) (h) x2 − 6x + 10
q (b) f ( x ) = x2 on [−1, 2], V = 3
sin( x )
(i) 3 cos( x ) (j) 2
1
(c) f ( x ) = sin( x ) on 0, π2 , V = 2
(k) 1 − 3− x (l) arctan(1 − x2 ) (d) f ( x ) = x on [0, 1], V = 1
3
9. Two students claim that they both started with the 12. f ( x ) = x2 − 2 on [0, 3]
points x = 0 and x = 5 and applied the Bisection 13. g( x ) = x3 − 3x2 + 3 on [−1, 0], [1, 2], [2, 4]
Algorithm to the function graphed below. The
14. h(t) = t5 − 3t + 1 on [1, 3]
first student says that the algorithm converged
to the root labeled A, but the second claims that 15. r ( x ) = 5 − 2x on [1, 3]
the algorithm will converge to the root labeled B. 16. s( x ) = sin(2x ) − cos( x ) on [0, π ]
Who is correct?
17. p(t) = t3 + 3t + 1 on [−1, 1]
18. Explain what is wrong with this reasoning:
If f ( x ) = 1x then
21. Define A( x ) to be the area bounded by the t- and g( x ) = f ( x ) − x and start by considering the
y-axes, the curve y = f (t), and the vertical line values g(0) and g(1).
t = x (see figure below). (c) What does part (b) have to do with part (a)?
(a) Shade the part of the graph represented (d) Is the theorem in part (b) true if we replace
by A(2.1) − A(2) and estimate the value of the closed interval [0, 1] with the open interval
A(2.1) − A(2) (0, 1)?
.
0.1
23. A piece of string is tied in a loop and tossed onto
(b) Shade the part of the graph represented
quadrant I enclosing a single region (see figure
by A(4.1) − A(4) and estimate the value of
A(4.1) − A(4) below).
.
0.1 (a) Is it always possible to find a line L passing
through the origin so that L divides the region
into two equal areas? (Justify your answer.)
(b) Is it always possible to find a line L parallel to
the x-axis so that L divides the region into two
equal areas? (Justify your answer.)
(c) Is it always possible to find two lines, L paral-
lel to the x-axis and M parallel to the y-axis, so
that L and M divide the region into four equal
areas? (Justify your answer.)
22. (a) A square sheet of paper has a straight line
drawn on it from the lower-left corner to the
upper-right corner. Is it possible for you to
start on the left edge of the sheet and draw
a “connected” line to the right edge that does
not cross the diagonal line?
(b) Prove: If f is continuous on the interval [0, 1]
and 0 ≤ f ( x ) ≤ 1 for all x, then there is a
number c with 0 ≤ c ≤ 1 such that f (c) = c.
(The number c is called a “fixed point” of f
because the image of c is the same as c: f does
not “move” c.) Hint: Define a new function
limits and continuity 97
|x| |x|
lim = −1 ̸= 1 = lim
x →0− x x →0+ x
|x|
so lim does not exist.
x→a x
2. (a) To prove that k · f is continuous at a, we need to prove that k · f
satisfies the definition of continuity at a: lim k · f ( x ) = k · f ( a).
x→a
Using results about limits, we know
lim k · f ( x ) = k · lim f ( x ) = k · f ( a)
x→a x→a
It may seem strange that we have been using and calculating the values
of limits for quite a while without having a precise definition of “limit,”
but the history of mathematics shows that many concepts — including
limits — were successfully used before they were precisely defined or
even fully understood. We have chosen to follow the historical sequence,
emphasizing the intuitive and graphical meaning of limit because most
This intuitive and graphical understand- students find these ideas and calculations easier than the definition.
ing of limit was sufficient for the first 100- Mathematics, however, is more than a collection of useful tools, and
plus years of the development of calcu-
lus (from Newton and Leibniz in the late part of its power and beauty comes from the fact that in mathematics
1600s to Cauchy in the early 1800s) and it terms are precisely defined and results are rigorously proved. Math-
is sufficient for using and understanding
the results in beginning calculus. ematical tastes (what is mathematically beautiful, interesting, useful)
change over time, but because of careful definitions and proofs, the
results remain true — everywhere and forever. Textbooks seldom give
all of the definitions and proofs, but it is important to mathematics that
such definitions and proofs exist.
The goal of this section is to provide a precise definition of the limit
of a function. The definition will not help you calculate the values
of limits, but it provides a precise statement of what a limit is. The
definition of limit is then used to verify the limits of some functions
and prove some general results.
“as the values of x approach 3, the values of 2x − 1 “as the values of x approach a, the values of f ( x )
approach (are arbitrarily close to) 5” approach (are arbitrarily close to) L”
“when x is close to 3 (but not equal to 3), the value “when x is close to a (but not equal to a), the value
of 2x − 1 is close to 5” of f ( x ) is close to L”
“we can guarantee that the values of 2x − 1 are as “we can guarantee that the values of f ( x ) are as close
close to 5 as we want by restricting the values of x to L as we want by restricting the values of x to be
to be sufficiently close to 3 (but not equal to 3)” sufficiently close to a (but not equal to a)”
Let’s examine what the last phrase (“we can. . . ”) means for the Particu-
lar Limit in the previous discussion.
limits and continuity 99
The same ideas work even if the graphs of the functions are not
straight lines, but the calculations become more complicated.
The same ideas can also be used when the function and the specified
distance are given graphically, and in that case we can give the answer
graphically.
limits and continuity 101
Definition of lim f ( x ) = L:
x→a
For every given number ϵ > 0 there is a number δ > 0 so that
Solution. We need to show that “for every given ϵ > 0 there is a δ > 0
so that if x is within δ units of 3 (and x ̸= 3) then 4x − 5 is within ϵ
units of 7.”
Actually, there are two things we need to do. First, we need to find a
value for δ (typically depending on ϵ) and, second, we need to show
that our δ really does satisfy the “if. . . then. . . ” part of the definition.
Finding δ is similar to part (c) in Example 1 and Practice 1: Assume
4x − 5 is within ϵ units of 7 and solve for x. If 7 − ϵ < 4x − 5 < 7 + ϵ
then 12 − ϵ < 4x < 12 + ϵ ⇒ 3 − 4ϵ < x < 3 + 4ϵ so x is within 4ϵ units
of 3. Put δ = 4ϵ .
To show that δ = 4ϵ satisfies the definition, we merely reverse the
order of the steps in the previous paragraph. Assume that x is within δ
units of 3. Then 3 − δ < x < 3 + δ, so:
ϵ ϵ
3− < x < 3+ ⇒ 12 − ϵ < 4x < 12 + ϵ
4 4
⇒ 7 − ϵ < 4x − 5 < 7 + ϵ
The method used to prove the values of the limits for these particular
linear functions can also be used to prove the following general result
about the limits of linear functions.
Theorem: lim mx + b = ma + b
x→a
limits and continuity 103
Proof. Let f ( x ) = mx + b.
Case 1: m = 0. Then f ( x ) = 0x + b = b is simply a constant function,
and any value for δ > 0 satisfies the definition. Given any value of
ϵ > 0, let δ = 1 (any positive value for δ works). If x is is within 1 unit
of a, then f ( x ) − f ( a) = b − b = 0 < ϵ, so we have shown that for any
ϵ > 0 there is a δ > 0 that satisfies the limit definition.
Case 2: m ̸= 0. For any ϵ > 0, put δ = |mϵ | > 0. If x is within δ = |mϵ |
of a then
ϵ ϵ ϵ ϵ ϵ
a− < x < a+ ⇒ < x−a < ⇒ | x − a| <
|m| |m| |m| |m| |m|
Then the distance between f ( x ) and L = ma + b is:
use the limit definition to prove that lim f ( x ) does not exist.
x →1
• We assume that the limit does exist and equals some number L.
• We show that this assumption leads to a contradiction
• We conclude that the assumption must have been false.
Theorem:
There are rigorous proofs of all of the
other limit properties in the Main Limit If lim f ( x ) = L
x→a
Theorem, but they are somewhat more then lim k · f ( x ) = kL
complicated than the proofs given here. x→a
Theorem:
If lim f ( x ) = L and lim g( x ) = M
x→a x→a
then lim [ f ( x ) + g( x )] = L + M.
x→a
1.4 Problems
In Problems 1–4, state each answer in the form “If x 8. Knowing that lim x2 = 9, what values of x guar-
x →3
is within units of. . . ” antee that f ( x ) = x2 is within:
1. Knowing that lim 2x + 1 = 7, what values of x
x →3 (a) 1 unit of 9? (b) 0.2 units of 9?
guarantee that f ( x ) = 2x + 1 is within:
9. Knowing that lim x3 = 8, what values of x guar-
(a) 1 unit of 7? (b) 0.6 units of 7? x →2
antee that f ( x ) = x3 is within:
(c) 0.04 units of 7? (d) ϵ units of 7?
(a) 0.5 units of 8? (b) 0.05 units of 8?
2. Knowing that lim 3x + 2 = 5, what values of x √
x →1 10. Knowing that lim x = 4, what values of x
x →16√
guarantee that f ( x ) = 3x + 2 is within:
guarantee that f ( x ) = x is within:
(a) 1 unit of 5? (b) 0.6 units of 5? (a) 1 unit of 4? (b) 0.1 units of 4?
√
(c) 0.09 units of 5? (d) ϵ units of 5? 11. Knowing that lim 1 + x = 2, what values of x
x →3 √
3. Knowing that lim 4x − 3 = 5, what values of x guarantee that f ( x ) = 1 + x is within:
x →2
guarantee that f ( x ) = 4x − 3 is within: (a) 1 unit of 2? (b) 0.0002 units of 2?
(a) 1 unit of 5? (b) 0.4 units of 5? 12. You must cut four pieces of wire (all the same
length) and form them into a square. If the area
(c) 0.08 units of 5? (d) ϵ units of 5?
of the square must be within 0.06 in2 of 100 in2 ,
then each piece of wire must be within how many
4. Knowing that lim 5x − 3 = 2, what values of x
x →1 inches of 10 in?
guarantee that f ( x ) = 5x − 3 is within:
13. You need to cut four pieces of wire (all the same
(a) 1 unit of 2? (b) 0.5 units of 2? length) and form them into a square. If the area
of the square must be within 0.06 in2 of 25 in2 ,
(c) 0.01 units of 2? (d) ϵ units of 2? then each piece of wire must be within how many
inches of 5 in?
5. For Problems 1–4, list the slope of each function
Problems 14–17 give lim f ( x ) = L, the function f
f and the δ (as a function of ϵ). For these linear x→a
and a value for ϵ graphically. Find a length for δ that
functions f , how is δ related to the slope?
satisfies the limit definition for the given function
6. You have been asked to cut two boards (exactly
and value of ϵ.
the same length after the cut) and place them end
to end. If the combined length must be within
0.06 inches of 30 inches, then each board must be
within how many inches of 15?
7. You have been asked to cut three boards (exactly
14.
the same length after the cut) and place them end
to end. If the combined length must be within
0.06 inches of 30 inches, then each board must be
within how many inches of 10?
106 contemporary calculus
√
2. “Within 1 unit of 3”: If 2 < x < 4, then 4 < x < 16, which extends
from 5 units to the left of 9 to 7 units to right of 9. Using the smaller
√
of these two distances from 9: “If x is within 5 units of 9, then x is
within 1 unit of 3.”
√
“Within 0.2 units of 3”: If 2.8 < x < 3.2, then 7.84 < x < 10.24,
which extends from 1.16 units to the left of 9 to 1.24 units to the right
of 9. “If x is within 1.16 units of 9, then x is within 0.2 units of 3.
3. 4.
ϵ ϵ
5. Given any ϵ > 0, take δ = 5. If x is within δ = 5 of 4, then
4 − 5ϵ < x < 4 + 5ϵ so:
ϵ ϵ
− < x − 4 < ⇒ −ϵ < 5x − 20 < ϵ ⇒ −ϵ < (5x + 3) − 23 < ϵ
5 5
so, finally, f ( x ) = 5x + 3 is within ϵ of L = 23.
We have shown that “for any ϵ > 0, there is a δ > 0 (namely δ = 5ϵ )”
so that the rest of the definition is satisfied.
This is a much more sophisticated
6. Using “proof by contradiction” as in the solution to Example 6: (= harder) problem.
1
• Assume that the limit exists: lim = L for some value of L. Let
x →0 x
ϵ = 1. Since we’re assuming that the limit exists, there is a δ > 0 The definition says “for every ϵ” so we
can pick ϵ = 1. For this particular limit,
so that if x is within δ of 0 then f ( x ) = 1x is within ϵ = 1 of L.
the definition fails for every ϵ > 0.
• Let x1 be between 0 and 0 + δ and also require that x1 < 12 . Then
0 < x1 < 12 so f ( x1 ) = x1 > 2. Because x1 is within δ of 0,
1
f ( x1 ) > 2 is within ϵ = 1 of L, so L > 2 − ϵ = 1: that is, 1 < L.
Let x2 be between 0 and 0 − δ and also require x2 > − 12 . Then
0 > x2 > 21 so f ( x2 ) = x12 < −2. Since x2 is within δ of 0,
f ( x2 ) < −2 is within ϵ = 1 of L, so L < −2 + ϵ = −1 ⇒ −1 > L.
• The two inequalities derived above provide the contradiction we
were hoping to find. There is no value L that satisfies both 1 < L
and L < −1, so we can conclude that our assumption was false
and that f ( x ) = 1x does not have a limit as x → 0.
2
The Derivative
The two previous chapters have laid the foundation for the study of
calculus. They provided a review of some material you will need and
started to emphasize the various ways we will view and use functions:
functions given by graphs, equations and tables of values.
Chapter 2 will focus on the idea of tangent lines. We will develop a
definition for the derivative of a function and calculate derivatives of
some functions using this definition. Then we will examine some of the
properties of derivatives, see some relatively easy ways to calculate the
derivatives, and begin to look at some ways we can use them.
x y = f (x) m( x )
0 0 1
1 1 0
2 0 −1
3 −1 0
4 1 1
1
5 2 2
We used the idea of the slope of the tangent line all throughout
Chapter 1. In Section 2.1, we will formally define the derivative of a
function and begin to examine some of its properties, but first let’s see
what we can do when we have a formula for f ( x ).
Tangents to y = x2
When we have a formula for a function, we can determine the slope
of the tangent line at a point ( x, f ( x )) by calculating the slope of the
secant line through the points ( x, f ( x )) and ( x + h, f ( x + h)):
f ( x + h) − f ( x )
msec =
( x + h) − ( x )
f ( x + h) − f ( x )
mtan = lim msec = lim
h →0 h →0 ( x + h) − ( x )
Example 2. Find the slope of the line tangent to the graph of the
function y = f ( x ) = x2 at the point (2, 4).
f (2 + h ) − f (2)
mtan = lim msec = lim
h →0 h →0 (2 + h ) − (2)
(2 + h) − 22
2 4 + 4h + h2 − 4
= lim = lim
h →0 h h →0 h
4h + h 2
= lim = lim [4 + h] = 4
h →0 h h →0
y − y0 = m( x − x0 ) ⇒ y − 4 = 4( x − 2) ⇒ y = 4x − 4
f ( x + h) − f ( x )
mtan = lim msec = lim
h →0 h →0 ( x + h) − ( x )
(x + h) − x2
2 x2 + 2xh + h2 − x2
= lim = lim
h →0 h h →0 h
2xh + h 2
= lim = lim [2x + h] = 2x
h →0 h h →0
Solution. At (3, 9), the slope of the tangent line is 2x = 2(3) = 6, and
the equation of the line is y − 9 = 6( x − 3) ⇒ y = 6x − 9.
At ( p, p2 ), the slope of the tangent line is 2x = 2( p) = 2p, and the
equation of the line is y − p2 = 2p( x − p) ⇒ y = 2px − p2 . ◀
Solution. You might spend a few minutes trying to solve this problem
without using the relation mtan = 2x, but the problem is much easier
if we do use that result.
Let’s assume that the captain turns off the engine at the point ( p, q)
on the curve y = x2 and then try to determine what values p and q
must have so that the resulting tangent line to the curve will go through
the point (3, 5). The point ( p, q) is on the curve y = x2 , so q = p2 and
the equation of the tangent line, found in Example 3, must then be
y = 2px − p2 .
the derivative 113
To find the value of p so that the tangent line will go through the
point (3, 5), we can substitute the values x = 3 and y = 5 into the
equation of the tangent line and solve for p:
y = 2px − p2 ⇒ 5 = 2p(3) − p2 ⇒ p2 − 6p + 5 = 0
⇒ ( p − 1)( p − 5) = 0
Practice 5. Verify that if the rocket engines in Example 4 are shut off at
(2, 4), then the rocket will go through the point (3, 8).
2.0 Problems
1. Use the function f ( x ) graphed below to fill in the 2. Use the function g( x ) graphed below to fill in the
table and then graph m( x ), the estimated slope table and then graph m( x ), the estimated slope
of the tangent line to y = f ( x ) at the point ( x, y). of the tangent line to y = g( x ) at the point ( x, y).
x f (x) m( x ) x f (x) m( x ) x g( x ) m( x ) x g( x ) m( x )
0.0 2.5 0.0 2.5
0.5 3.0 0.5 3.0
1.0 3.5 1.0 3.5
1.5 4.0 1.5 4.0
2.0 2.0
114 contemporary calculus
3. (a) At what values of x does the graph of f 6. Match the situation descriptions with the corre-
(shown below) have a horizontal tangent line? sponding time-velocity graphs shown below.
(b) At what value(s) of x is the value of f the (a) A car quickly leaving from a stop sign.
largest? Smallest? (b) A car sedately leaving from a stop sign.
(c) Sketch a graph of m( x ), the slope of the line (c) A student bouncing on a trampoline.
tangent to the graph of f at the point ( x, f ( x )). (d) A ball thrown straight up.
(e) A student confidently striding across campus
to take a calculus test.
(f) An unprepared student walking across cam-
pus to take a calculus test.
13. f ( x ) = ax + b where a and b are constants 17. Given f ( x ) = x2 + 2x, at which point(s) ( p, f ( p))
does the line tangent to the graph at that point
14. f ( x ) = x2 + 3x 15. f ( x ) = 8 − 3x2 also go through the point (3, 6)?
16. f ( x ) = ax2 + bx + c where a, b and c are constants 18. (a) If a ̸= 0, then what is the shape of the graph
of y = f ( x ) = ax2 + bx + c?
In Problems 17–18, use the result:
(b) At what value(s) of x is the line tangent to the
f ( x ) = ax2 + bx + c ⇒ mtan = 2ax + b graph of f ( x ) horizontal?
f (1 + h ) − f (1)
mtan = lim msec = lim
h →0 h →0 (1 + h ) − (1)
( 1 + h ) − 12
2 1 + 2h + h2 − 1
= lim = lim
h →0 h h →0 h
2h + h2
= lim = lim [2 + h] = 2
h →0 h h →0
116 contemporary calculus
so the line tangent to y = x2 at the point (1, 1) has slope 2. At (0, 0):
f (0 + h ) − f (1)
mtan = lim msec = lim
h →0 h →0 (0 + h ) − (0)
( 0 + h ) − 02
2 h2
= lim = lim = lim h = 0
h →0 h h →0 h h →0
f (−1 + h) − f (−1)
mtan = lim msec = lim
h →0 h→0 (−1 + h ) − (−1)
(−1 + h)2 − (−1)2 1 − 2h + h2 −1
= lim = lim
h →0 h h →0 h
−2h + h2
= lim = lim [−2 + h] = −2
h →0 h h →0
5. From Example 4 we know the slope of the tangent line is mtan = 2x,
so the slope of the tangent line at (2, 4) is mtan = 2x = 2(2) =
4. The tangent line has slope 4 and goes through the point (2, 4),
so an equation of the tangent line (using y − y0 = m( x − x0 )) is
y − 4 = 4( x − 2) or y = 4x − 4. The point (3, 8) satisfies the equation
y = 4x − 4, so the point (3, 8) lies on the tangent line.
the derivative 117
The graphical idea of a slope of a tangent line is very useful, but for
some purposes we need a more algebraic definition of the derivative
of a function. We will use this definition to calculate the derivatives
of several functions and see that these results agree with our graphical
understanding. We will also look at several different interpretations for
the derivative, and obtain a theorem that will allow us to easily and
quickly determine the derivative of any fixed power of x.
In the previous section we found the slope of the tangent line to
the graph of the function f ( x ) = x2 at an arbitrary point ( x, f ( x )) by
calculating the slope of the secant line through the points ( x, f ( x )) and
( x + h, f ( x + h)):
f ( x + h) − f ( x )
msec =
( x + h) − ( x )
and then taking the limit of msec as h approached 0 (see margin). That
approach to calculating slopes of tangent lines motivates the definition
of the derivative of a function.
f ( x + h) − f ( x )
f ′ ( x ) = lim
h →0 h
if this limit exists and is finite.
Notation
There are three commonly used notations for the derivative of y = f ( x ):
df ∆f f ( x + h) − f ( x )
• emphasizes that the derivative is the limit of =
dx ∆x h
We will use all three notations so that you can become accustomed to
working with each of them.
118 contemporary calculus
The function f ′ ( x ) gives the slope of the tangent line to the graph of
y = f ( x ) at the point ( x, f ( x )), or the instantaneous rate of change of
the function f at the point ( x, f ( x )).
If, in the margin figure, we let x be the point a + h, then h = x − a.
As h → 0, we see that x → a and:
f ( a + h) − f ( a) f ( x ) − f ( a)
f ′ ( a) = lim = lim
h →0 h x→a x−a
We will use whichever of these two forms is more convenient alge-
braically in a particular situation.
Theorem: If f ( x ) = k, then f ′ ( x ) = 0.
If f ( x ) is differentiable at x = a
then an equation of the line tangent to f at ( a, f ( a)) is:
y = f ( a) + f ′ ( a)( x − a)
Proof. The tangent line goes through the point ( a, f ( a)) with slope
f ′ ( a) so, using the point-slope formula, y − f ( a) = f ′ ( a)( x − a) or
y = f ( a) + f ′ ( a)( x − a).
cos(h) − 1
sin(h)
lim sin( x ) · + cos( x ) ·
h →0 h h
cos(h) − 1 sin(h)
lim sin( x ) · lim + lim cos( x ) · lim
h →0 h →0 h h →0 h →0 h
The first and third limits do not depend on h, and we calculated the
second and fourth limits in Section 1.2:
The derivative of cos( x ) resembles the situation for sin( x ) but differs
by an important negative sign. You should memorize both of these
important derivatives.
dy
Example 3. For y = | x |, find .
dx
Solution. The graph of y = f ( x ) = | x | (see margin) is a “V” shape
with its vertex at the origin. When x > 0, the graph is just y = | x | = x,
which is part of a line with slope +1, so we should expect the derivative
of | x | to be +1. When x < 0, the graph is y = | x | = − x, which is part of
a line with slope −1, so we expect the derivative of | x | to be −1. When
x = 0, the graph has a corner, and we should expect the derivative of
| x | to be undefined at x = 0, as there is no single candidate for a line
tangent to the graph there.
Using the definition, consider the same three cases discussed previ-
ously: x > 0, x < 0 and x = 0.
If x > 0, then, for small values of h, x + h > 0, so:
| x + h| − | x | x+h−x h
D( f ( x )) = lim = lim = lim = 1
h →0 h h →0 h h →0 h
| x + h| − | x | −( x + h) − (− x ) −h
D( f ( x )) = lim = lim = lim = −1
h →0 h h →0 h h →0 h
|0 + h | − |0| |h|
f ′ (0) = lim = lim
h →0 h h →0 h
|h| |h|
This is undefined, as lim = +1 and lim = −1, so:
h →0+ h h →0− h
1 if x > 0
D(| x |) = undefined if x = 0 The derivative of | x | agrees with the func-
tion sgn( x ) defined in Chapter 0, except
−1 if x < 0
at x = 0: D(| x |) is undefined at x = 0
but sgn(0) = 0.
|x|
or, equivalently, D(| x |) = . ◀
x
Graphical
Slope f ′ ( x ) is the slope of the line tangent to the graph of f at ( x, f ( x )).
Physical
Velocity If f ( x ) is the position of an object at time x, then f ′ ( x ) is the
velocity of the object at time x. If the units for x are hours and f ( x ) is
distance, measured in miles, then the units for f ′ ( x ) = dx are miles ,
df
hour
miles per hour, which is a measure of velocity.
Business
Marginal Cost If f ( x ) is the total cost of producing x objects, then f ′ ( x )
is the marginal cost, at a production level of x: (approximately) the
additional cost of making one more object once we have already made x
objects. If the units for x are bicycles and the units for f ( x ) are dollars,
then the units for f ′ ( x ) = dx are dollars , the cost per bicycle.
df
bicycle
Solution. h(t) = sin(t) represents the height of the cork at any time t,
so the height of the cork when t = 2 is h(2) = sin(2) ≈ 0.91 feet above
the mean water level.
d
The velocity is the derivative of the position, so v(t) = dt h(t) =
d ∆h
dt sin ( t ) = cos ( t ) . The derivative of position is the limit of ∆t so the
,
units are feet . After 2 seconds, the velocity is v(2) = cos(2) ≈
seconds
−0.42 feet per second.
d
The acceleration is the derivative of the velocity, so a(t) = dt v(t) =
d ∆v
dt cos( t ) = − sin( t ). The derivative of velocity is the limit of ∆t , so the
units are feet/second or feet 2 . After 2 seconds the acceleration is
seconds second
a(2) = − sin(2) ≈ −0.91 sec ft . ◀
2
Practice 6. Find the height, velocity and acceleration of the cork in the
previous example after 1 second.
and to know that all of the other terms of the expansion contain a
power of h of at least 2.
You may also be familiar with Pascal’s The Binomial Theorem from algebra says (for n > 3) that:
triangle:
1 ( x + h ) n = x n + n · x n −1 h + a · x n −2 h 2 + b · x n −3 h 3 + · · · + h n
1 1
1 4 6 4 1 f ( x + h) − f ( x ) ( x + h)n − x n
D( f ( x )) = lim = lim
Among many beautiful and amazing h →0 h h →0 h
properties, the numbers in row n of the
triangle (counting the first row as row 0)
Now expand ( x + h)n to get:
give the coefficients in the expansion of
( A + B)n . Notice that each entry in the x n + n · x n −1 h + a · x n −2 h 2 + b · x n −3 h 3 + · · · + h n − x n
lim
interior of the triangle is the sum of the h →0 h
two numbers immediately above it.
Eliminating x n − x n we get:
n · x n −1 h + a · x n −2 h 2 + b · x n −3 h 3 + · · · + h n
lim
h →0 h
and we can then factor h out of the numerator:
h ( n · x n −1 + a · x n −2 h + b · x n −3 h 2 + · · · + h n −1 )
lim
h →0 h
and divide top and bottom by the factor h:
h i
lim n · x n−1 + a · x n−2 h + b · x n−3 h2 + · · · + hn−1
h →0
We are left with a polynomial in h and can now compute the limit by
simply evaluating the polynomial at h = 0 to get D( x n ) = n · x n−1 .
d d 31
Practice 7. Calculate D( x5 ), 2
dx ( x ), D( x100 ), dt ( t ) and D( x0 ).
We will occasionally use the result of the theorem for the derivatives
of all constant powers of x even though it has only been proven for
positive integer powers, so far. A proof of a more general result (for all
rational powers of x) appears in Section 2.9
d √
1
Example 5. Find D and ( x ).
x dx
Solution. Rewriting the fraction using a negative exponent:
1 1
D = D ( x −1 ) = − 1 · x −1−1 = − x −2 = − 2
x x
Rewriting the square root using a fractional exponent:
d √ 1 1 1 1 1 1
( x ) = D ( x 2 ) = · x 2 −1 = x − 2 = √
dx 2 2 2 x
These results can also be obtained by using the definition of the deriva-
tive, but the algebra involved is slightly awkward. ◀
the derivative 125
3 d 1
d
Practice 8. Find D( x 2 ), ( x 3 ), D √1x and (tπ ).
dx dt
√
Example 6. It costs x hundred dollars to run a training program for
x employees.
(a) How much does it cost to train 100 employees? 101 employees?
If you already need to train 100 employees, how much additional
money will it cost to add 1 more employee to those being trained?
√
(b) For f ( x ) = x, calculate f ′ ( x ) and evaluate f ′ at x = 100. How
does f ′ (100) compare with the last answer in part (a)?
√ 1
Solution. (a) Put f ( x ) = x = x 2 hundred dollars, the cost to train
x employees. Then f (100) = $1000 and f (101) = $1004.99, so it costs
1
$4.99 additional to train the 101st employee. (b) f ′ ( x ) = 21 x − 2 = 2√
1
x
so
f ′ (100) = √1 = 20 1
hundred dollars = $5.00. Clearly f ′ (100) is very
2 100
close to the actual additional cost of training the 101st employee. ◀
• D(constant) = 0
Proved for n = positive integer, but true
• D ( x n ) = n · x n −1 for all constants n.
Interpretations of f ′ ( x ):
• Velocity or acceleration
• Magnification factor
• Marginal change
126 contemporary calculus
2.1 Problems
f (0 + h ) − f (0) f (1 + h ) − f (1)
(a) lim (b) lim
h →0 h h →0 h
f (2 + w ) − 1 f (3 + h ) − f (3)
(c) lim (d) lim
w →0 w h →0 h
2. The figure below shows six graphs, three of which f (4 + h ) − f (4) f (5 + s ) − f (5)
(e) lim (f) lim
are derivatives of the other three. Match the func- h →0 h s →0 s
tions with their derivatives.
In Problems 3–6, find the slope msec of the secant g (0 + h ) − g (0) g (1 + h ) − g (1)
(a) lim (b) lim
line through the two given points and then calculate h →0 h h →0 h
mtan = lim msec .
h →0 g (2 + w ) − 2 g (3 + h ) − g (3)
(c) lim (d) lim
3. f ( x ) = x2 w →0 w h →0 h
In Problems 9–12, use the definition of the derivative 21. (a) Find the angle that the line tangent to y = x2
to calculate f ′ ( x ) and then evaluate f ′ (3). at (1, 1) makes with the x-axis.
(b) Find the angle that the line tangent to y = x3
9. f ( x ) = x2 +8 10. f ( x ) = 5x2 − 2x at (1, 1) makes with the x-axis.
(c) The curves y = x2 and y = x3 intersect at the
11. f ( x ) = 2x3 − 5x 12. f ( x ) = 7x3 + x point (1, 1). Find the angle of intersection of
the two curves (actually the angle between
their tangent lines) at the point (1, 1).
13. Graph f ( x ) = x2 , g( x ) = x2 + 3 and h( x ) =
22. The figure below shows the graph of y = f ( x ).
x2 − 5. Calculate the derivatives of f , g and h.
Sketch a graph of y = f ′ ( x ).
14. Graph f ( x ) = 5x, g( x ) = 5x + 2 and h( x ) =
5x − 7. Calculate the derivatives of f , g and h.
17. f ( x ) = sin( x ) at (π, 0) and ( π2 , 1). 23. The figure below shows the graph of the height of
an object at time t. Sketch a graph of the object’s
18. f ( x ) = | x + 3| at (0, 3) and (−3, 0).
upward velocity. What are the units for each axis
19. (a) Find an equation of the line tangent to the on the velocity graph?
graph of y = x2 + 1 at the point (2, 5).
(b) Find an equation of the line perpendicular to
the graph of y = x2 + 1 at (2, 5).
(c) Where is the line tangent to the graph of
y = x2 + 1 horizontal?
(d) Find an equation of the line tangent to the
graph of y = x2 + 1 at the point ( p, q).
(e) Find the point(s) ( p, q) on the graph of y =
x2 + 1 so the tangent line to the curve at ( p, q) 24. Fill in the table with units for f ′ ( x ).
goes through the point (1, −7).
20. (a) Find an equation of the line tangent to the units for x units for f ( x ) units for f ′ ( x )
graph of y = x3 at the point (2, 8).
hours miles
(b) Where, if ever, is the line tangent to the graph
people automobiles
of y = x3 horizontal?
dollars pancakes
(c) Find an equation of the line tangent to the days trout
graph of y = x3 at the point ( p, q). seconds miles per second
(d) Find the point(s) ( p, q) on the graph of y = x3 seconds gallons
so the tangent line to the curve at ( p, q) goes study hours test points
through the point (16, 0).
128 contemporary calculus
25. A rock dropped into a deep hole will drop 29. Define A( x ) to be the area bounded by the t-axis,
d( x ) = 16x2 feet in x seconds. the line y = t, and a vertical line at t = x (see
figure below).
(a) How far into the hole will the rock be after 4 (a) Evaluate A(0), A(1), A(2) and A(3).
seconds? After 5 seconds? (b) Find a formula for A( x ) valid for x ≥ 0.
(b) How fast will it be falling at exactly 4 seconds? (c) Determine A′ ( x ).
After 5 seconds? After x seconds? (d) What does A′ ( x ) represent?
√
27. It costs C ( x ) = x dollars to produce x golf balls.
What is the marginal production cost to make a
golf ball? What is the marginal production cost
when x = 25? When x = 100? (Include units.) 30. Compute each derivative.
d
36. dx f ( x ) = 2x − sin( x ) 37. D( f ( x )) = x + x2
the derivative 129
f ( x + h) − f ( x ) x3 + 3x2 h + 3xh2 + h3 − x3
f ′ ( x ) = lim = lim
h →0 h h →0 h
2 2
3x h + 3xh + h 3
= lim = lim 3x2 + 3xh + h2 = 3x2
h →0 h h →0
At the point (2, 8), the slope of the tangent line is 3(2)2 = 12 so an
equation of the tangent line is y − 8 = 12( x − 2) or y = 12x − 16.
Therefore f is continuous at c.
√ 1
Example 3. Show that f ( x ) = 3 x = x 3 is continuous but not differen-
tiable at x = 0 (see margin figure).
√ √ √
Solution. We can verify that lim 3 x = lim 3 x = 0, so lim 3 x =
x →0+ x →0− x →0
√
3 ′ 1 −2 1
0 = 0 so f is continuous at 0. But f ( x ) = x 3 = √ 3
, which is
3 3 x2
undefined at x = 0, so f is not differentiable at 0. ◀
D(3 · f ( x )) = D(3x ) = 3 = 3 · 1 = 3 · D( f ( x ))
D( f ( x ) + g( x )) = D( x + 5) = 1 = 1 + 0 = D( f ( x )) + D( g( x ))
D( f ( x ) − g( x )) = D( x − 5) = 1 = 1 − 0 = D( f ( x )) − D( g( x ))
yet the other two derivatives fail to follow the same “nice” patterns:
D(f ( x ) ·
g( x )) = D(5x ) = 5 but D( f ( x )) · D( g( x )) = 1 · 0 = 0, and
f (x) x 1 D( f ( x )) 1
D =D = but = is undefined. ◀
g( x ) 5 5 D( g( x )) 0
The two very simple functions in the previous
example show that,
f D( f )
in general, D( f · g) ̸= D( f ) · D( g) and D ̸= .
g D( g)
Practice 2. For f ( x ) = 6x + 8 and g( x ) = 2, compute the derivatives of
f
3 · f , f + g, f − g, f · g and .
g
D(k · f ( x )) = k · D( f ( x ))
D( f ( x ) + g( x )) = D( f ( x )) + D( g( x ))
D( f ( x ) − g( x )) = D( f ( x )) − D( g( x ))
D( f ( x ) · g( x )) = f ( x ) · D( g( x )) + g( x ) · D( f ( x ))
g( x ) · D( f ( x )) − f ( x ) · D( g( x ))
Part (e) requires that g( x ) ̸= 0. f (x)
D =
g( x ) [ g( x )]2
This theorem says that the simple patterns in the previous example
for constant multiples of functions and sums and differences of func-
tions are true for all differentiable functions. It also includes the correct
patterns for derivatives of products and quotients of differentiable
functions.
the derivative 133
The proofs of parts (a), (b) and (c) of this theorem are straightforward,
but parts (d) and (e) require some clever algebraic manipulations. Let’s
look at some examples before tackling the proof.
Solution. Computing D(3 sin( x )) requires part (a) of the theorem with
k = 3 and f ( x ) = sin( x ) so D(3 · sin( x )) = 3 · D(sin( x )) = 3 cos( x ),
d
while (5x2 − 7 sin( x )) uses part (c) of the theorem with f ( x ) = 5x2
dx
and g( x ) = 7 sin( x ) so:
d d d
(5x2 − 7 sin( x )) = (5x2 ) − (7 sin( x ))
dx dx dx
d 2 d
= 5 · ( x ) − 7 · (sin( x ))
dx dx
= 5(2x ) − 7(cos( x ))
x3
d
Example 6. Determine D( x2 · sin( x )) and .
dx sin( x )
x3
d d f (x)
=
dx sin( x ) dx g( x )
The Quotient Rule in words: “the bottom g( x ) · D( f ( x )) − f ( x ) · D( g( x ))
times the derivative of the top minus the =
top times the derivative of the bottom, all [ g( x )]2
over the bottom squared.”
sin( x ) · D( x3 ) − x3 · D(sin( x ))
=
[sin( x )]2
sin( x ) · 3x2 − x3 · cos( x )
=
sin2 ( x )
3x2 sin( x ) − x3 · cos( x )
=
sin2 ( x )
3t − 2
d cos( x )
Practice 6. Find D(( x2 + 1)(7x − 3)), and D .
dt 5t + 1 x
Now that we’ve seen how to use the theorem, let’s prove it.
Proof. The only general fact we have about derivatives is the definition
as a limit, so our proofs here will need to recast derivatives as limits
and then use some results about limits. The proofs involve applications
of the definition of the derivative and results about limits.
k · f ( x + h) − k · f ( x )
D(k · f ( x )) = lim
h →0 h
f ( x + h) − f ( x )
= lim k ·
h →0 h
f ( x + h) − f ( x )
= k · lim = k · D( f ( x ))
h →0 h
(c) Once again using the derivative definition and the limit laws:
[ f ( x + h) − g( x + h)] − [ f ( x ) − g( x )]
D( f ( x ) − g( x )) = lim
h →0 h
[ f ( x + h) − f ( x )] − [ g( x + h) − g( x )]
= lim
h →0 h
f ( x + h) − f ( x ) g( x + h) − g( x )
= lim − lim
h →0 h h →0 h
= D( f ( x )) − D( g( x ))
The proofs of parts (d) and (e) of the theorem are more complicated
but only involve elementary techniques, used in just the right way.
the derivative 135
D( f ( x ) · g( x )) = g( x ) · f ′ ( x ) + f ( x ) · g′ ( x ) = g · D( f ) + f · D( g)
The steps for a proof of the Quotient Rule appear in Problem 69.
D( x5 + x · sin( x )) = D( x5 ) + D( x · sin( x ))
= 5x4 + [ x · D(sin( x )) + sin( x ) · D( x )]
= 5x4 + x · cos( x ) + sin( x )
• calculate sin( x )
Practice 10. What are the height and velocity of the weight in the
previous example after 5 seconds? What are the height and velocity of
the weight be after a “long time” has passed?
Example 9. Calculate D( x · sin( x ) · cos( x )).
Solution. Clearly we need to use the Product Rule, because the only
operation in this function is multiplication. But the Product Rule deals
with a product of two functions and here we have the product of three:
x and sin( x ) and cos( x ). If, however, we think of our two functions as
f ( x ) = x · sin( x ) and g( x ) = cos( x ), then we do have the product of
two functions and:
D( x · sin( x ) · cos( x )) = D( f ( x ) · g( x ))
= f ( x ) · D( g( x )) + g( x ) · D( f ( x ))
= x sin( x ) · D(cos( x )) + cos( x ) · D( x sin( x ))
We are not done, but we have traded one hard derivative for two
easier ones. We know that D(cos( x )) = − sin( x ) and we can use the
Product Rule (again) to calculate D( x sin( x )). Then the last line of our
calculation above becomes:
and then:
− x sin2 ( x ) + cos( x ) [ x cos( x ) + sin( x )(1)]
which simplifies to − x sin2 ( x ) + x cos2 ( x ) + cos( x ) sin( x ). ◀
• [k · f ( x )]′ = k · f ′ ( x )
• [ f ( x ) + g( x )]′ = f ′ ( x ) + g′ ( x )
• [ f ( x ) − g( x )]′ = f ′ ( x ) − g′ ( x )
• [ f ( x ) · g( x )]′ = f ( x ) · g′ ( x ) + g( x ) · f ′ ( x )
f (x) ′ g( x ) · f ′ ( x ) − f ( x ) · g′ ( x )
• =
g( x ) [ g( x )]2
• The final step used to evaluate a function f indicates the first rule
used to differentiate f .
2.2 Problems
1. Use the graph of y = f ( x ) below to determine: 2. Use the graph of y = g( x ) below to determine:
(a) at which integers f is continuous. (a) at which integers g is continuous.
(b) at which integers f is differentiable. (b) at which integers g is differentiable.
f f
3. Use the values given in the table to determine the values of f · g, D( f · g), gand D g .
f (x) f (x)
x f (x) f ′ (x) g( x ) g′ ( x ) f ( x ) · g( x ) D( f ( x ) · g( x )) g( x )
D g( x )
0 2 3 1 5
1 −3 2 5 −2
2 0 −3 2 4
3 1 −1 0 3
the derivative 139
f f
4. Use the values given in the table to determine the values of f · g, D( f · g), g and D g .
f (x) f (x)
x f (x) f ′ (x) g( x ) g′ ( x ) f ( x ) · g( x ) D( f ( x ) · g( x )) g( x )
D g( x )
0 4 2 3 −3
1 0 3 2 1
2 −2 5 0 −1
3 −1 −2 −3 4
5. Use the information in the figure below to plot d 1 d t
19. 20.
f
the values of the functions f + g, f · g and g and dx 1 + x2 dt 1 + t3
their derivatives at x = 1, 2 and 3.
d 1 d 1
21. 22.
dθ cos(θ ) dθ sin(θ )
d sin(θ ) d cos(θ )
23. 24.
dθ cos(θ ) dθ sin(θ )
25. D 8x5 − 3x4 + 2x3 + 7x2 − 12x + 147
6. Use the information in the figure above to plot 26. (a) D(sin( x )) (b) D (sin( x ) + 7)
g
the values of the functions 2 f , f − g and f and (c) D(sin( x ) − 8000) (d) D(sin( x ) + k )
their derivatives at x = 1, 2 and 3. 27. Find values for the constants a, b and c so that
7. Calculate D(( x − 5)(3x + 7)) by: the parabola f ( x ) = ax2 + bx + c has f (0) = 0,
f ′ (0) = 0 and f ′ (10) = 30.
(a) using the Product Rule.
(b) expanding and then differentiating. 28. If f is a differentiable function, how are the:
Verify that both methods give the same result. (a) graphs of y = f ( x ) and y = f ( x ) + k related?
3
x − 3x + 2 (b) derivatives of f ( x ) and f ( x ) + k related?
8. Calculate D √ by:
x 29. If f and g are differentiable functions that always
(a) using the Quotient Rule. differ by a constant ( f ( x ) − g( x ) = k for all x)
(b) rewriting and then differentiating. then what can you conclude about their graphs?
Verify that both methods give the same result. Their derivatives?
30. If f and g are differentiable functions whose sum
In Problems 9–26, compute each derivative. is a constant ( f ( x ) + g( x ) = k for all x) then
what can you conclude about their graphs? Their
d d π
9. 19x3 − 7 10. 5 cos(t) + derivatives?
dx dt 2
31. If the product of f and g is a constant (that is,
11. D(sin( x ) + cos( x )) 12. D(7 sin( x ) − 3 cos( x )) D( f ( x ))
f ( x ) · g( x ) = k for all x) then how are
√ f (x)
13. D( x2 · cos( x )) 14. D( x · sin( x )) D( g( x ))
and related?
g( x )
15. D(sin2 ( x )) 16. D(cos2 ( x ))
f (x)
32. If the quotient of f and g is a constant ( =k
g( x )
d cos( x ) d sin(t)
17.
dx x2
18.
dt t3 for all x) then how are g · f ′ and f · g′ related?
140 contemporary calculus
x−5 x2 + x
46. f ( x ) = 47. f ( x ) =
x+3 x2 − 3x
48. f ( x ) = x2 − 4 49. f ( x ) = x3 − 1
56. In general, if an arrow is shot straight upward 60. (a) Find an equation for the line L that is tangent
with an initial velocity of 128 feet per second from 1
to the curve y = at the point (1, 1).
ground level on a planet with a constant gravita- x
(b) Determine where L intersects the x-axis and
tional acceleration of g feet per second2 then its
g the y-axis.
height will be h( x ) = − 2 x2 + 128x feet after x
seconds. Answer the questions in problem 40 for (c) Determine the area of the region in the first
arrows shot on Mars and Jupiter. quadrant bounded by L, the x-axis and the
y-axis (see figure below).
object g (ft/sec2 ) g (cm/sec2 )
Mercury 11.8 358
Venus 20.1 887
Earth 32.2 981
moon 5.3 162
Mars 12.3 374
Jupiter 85.3 2601
Saturn 36.6 1117
Uranus 34.4 1049 61. (a) Find an equation for the line L that is tangent
Neptune 1
43.5 1325 to the curve y = at the point (2, 12 ).
x
Source: CRC Handbook of Chemistry and Physics 1
(b) Graph y = x and L and determine where L
57. If an object on Earth is propelled upward from intersects the x-axis and the y-axis.
ground level with an initial velocity of v0 feet per (c) Determine the area of the region in the first
second, then its height after x seconds will be quadrant bounded by L, the x-axis and the
h( x ) = −16x2 + v0 x. y-axis.
(a) Find the object’s velocity after x seconds. 62. (a) Find an equation for the line L that is tan-
1
(b) Find the greatest height the object will reach. gent to the curve y = at the point ( p, 1p )
x
(c) How long will the object remain aloft? (assuming p ̸= 0).
58. In order for a 6-foot-tall basketball player to dunk (b) Determine where L intersects the x-axis and
the ball, the player must achieve a vertical jump of the y-axis.
about 3 feet. Use the information in the previous (c) Determine the area of the region in the first
problems to answer the following questions. quadrant bounded by L, the x-axis and the
(a) What is the smallest initial vertical velocity the y-axis.
player can have and still dunk the ball? (d) How does the area of the triangle in part (c)
(b) With the initial velocity achieved in part (a), depend on the initial point ( p, 1p )?
how high would the player jump on the moon? 63. Find values for the coefficients a, b and c so that
59. The best high jumpers in the world manage to lift the parabola f ( x ) = ax2 + bx + c goes through
their centers of mass approximately 3.75 feet. the point (1, 4) and is tangent to the line y =
(a) What is the initial vertical velocity these high 9x − 13 at the point (3, 14).
jumpers attain? 64. Find values for the coefficients a, b and c so that
(b) How long are these high jumpers in the air? the parabola f ( x ) = ax2 + bx + c goes through
(c) How high would they lift their centers of mass the point (0, 1) and is also tangent to the line
on the moon? y = 3x − 2 at the point (2, 4).
142 contemporary calculus
65. (a) Find a function f so that D( f ( x )) = 3x2 . 68. The graph of y = g′ ( x ) appears below. Assume
(b) Find another function g with D( g( x )) = 3x2 . that g is continuous.
(c) Can you find more functions whose deriva- (a) Assume g(0) = 0 and sketch a graph of
tives are 3x2 ? y = g ( x ).
66. (a) Find a function f so that f ′ ( x ) = 6x + cos( x ).
(b) Assume g(0) = 1 and graph y = g( x ).
(b) Find another function g with g′ ( x ) = f ′ ( x ).
67. The graph of y = f ′ ( x ) appears below.
(a) Assume f (0) = 0 and sketch a graph of
y = f ( x ).
(b) Assume f (0) = 1 and graph y = f ( x ).
1 f ( x + h) g( x ) − g( x + h) f ( x )
f (x) 1 f ( x + h) f (x)
D = lim − = lim
g( x ) h →0 h g( x + h) g( x ) h →0 h g( x + h) g( x )
f ( x + h) g( x ) + (− f ( x ) g( x ) + f ( x ) g( x )) − g( x + h) f ( x )
1
= lim
h →0 g ( x + h ) g ( x ) h
f ( x + h) − f ( x ) g( x ) − g( x + h)
1
= lim g( x ) + f (x)
h →0 g ( x + h ) g ( x ) h h
1
g( x ) · f ′ ( x ) − f ( x ) · g′ ( x )
=
[ g( x )]2
g( x ) · f ′ ( x ) − f ( x ) · g′ ( x )
=
[ g( x )]2
Practice Answers
1. f is continuous at x = −1, 0, 2, 4, 6 and 7.
f is differentiable at x = −1, 2, 4, and 7.
2. f ( x ) = 6x + 8 and g( x ) = 2 so D( f ( x )) = 6 and D( g( x )) = 0.
D(3 · f ( x )) = 3 · D( f ( x )) = 3(6) = 18
D( f ( x ) + g( x )) = D( f ( x )) + D( g( x )) = 6 + 0 = 6
D( f ( x ) − g( x )) = D( f ( x )) − D( g( x )) = 6 − 0 = 6
· g( x )) = f ( x ) g′ ( x ) + g( x ) f ′ ( x ) = (6x + 8)(0) + (2)(6) = 12
D(f ( x )
f (x) g( x ) f ′ ( x )− f ( x ) g′ ( x ) (2)(6)−(6x +8)(0) 12
D = = = =3
g( x ) [ g( x )]2 22 4
the derivative 143
4. −6 −1 11
−3 −2 1
6 5 1
f (x) g( x )
D( f ( x ) · g( x )) D D
g( x ) f (x)
−4(−2)−(3)(3) 1 (3)(3)−(−4)(−2)
5. 3 · 3 + (−4)(−2) = 17 (−4)2
= − 16 32
= 19
1(−1)−(2)(0) 2(0)−1(−1)
2 · 0 + 1(−1) = −1 12
= −1 22
= 14
3(2)−(4)(1) 4(1)−3(2)
4 · 1 + 3 · 2 = 10 32
= 29 42
= − 18
[ f ( x + h) + g( x + h)] − [ f ( x ) + g( x )]
D( f ( x ) + g( x )) = lim
h →0 h
[ f ( x + h) − f ( x )] + [ g( x + h) − g( x )]
= lim
h →0 h
f ( x + h) − f ( x ) g( x + h) − g( x )
= lim + lim
h →0 h h →0 h
= D( f ( x )) + D( g( x ))
8. (a) difference rule (b) product rule (c) difference rule (d) quotient rule
sin( x ) D( x2 − 5) − ( x2 − 5) D(sin( x )) sin( x )(2x ) − ( x2 − 5) cos( x )
9. D x2 − 5sin( x ) = 2
=
(sin( x )) sin2 ( x )
d 2
t · sin(t) D(t2 − 5) − (t2 − 5) D(t · sin(t)) t · sin(t)(2t) − (t2 − 5) [t cos(t) + sin(t)]
t − 5t · sin(t) = 2
=
dt (t · sin(t)) t2 · sin2 (t)
sin(5) (1+5) cos(5)−sin(5)
10. h(5) = 5 + 1+5 ≈ 4.84 ft.; v(5) = h′ (5) = (1+5)2
≈ 0.074 ft/sec.
sin(t)
“long time”: h(t) = 5 + ≈ 5 feet when t is very large;
1+ t
(1 + t) cos(t) − sin(t) cos(t) sin(t)
h′ (t) = = − ≈ 0 ft/sec when t is very large.
(1 + t )2 1+t (1 + t )2
11. f ′ ( x ) = 2x − 10 so f ′ ( x ) = 0 ⇒ 2x − 10 = 0 ⇒ x = 5.
g′ ( x ) = 3x2 − 12 so g′ ( x ) = 0 ⇒ 3x2 − 12 = 0 ⇒ x2 = 4 ⇒ x = ±2.
144 contemporary calculus
Polynomials are very useful, but they are not the only functions we
need. This section uses the ideas of the two previous sections to develop
techniques for differentiating powers of functions, and to determine the
derivatives of some particular functions that occur often in applications:
the trigonometric and exponential functions.
As you focus on learning how to differentiate different types and
combinations of functions, it is important to remember what derivatives
are and what they measure. Calculators and computers are available
to calculate derivatives. Part of your job as a professional will be to
decide which functions need to be differentiated and how to use the
resulting derivatives. You can succeed at that only if you understand
what a derivative is and what it measures.
D( f 2 ) = D( f · f ) = f · D( f ) + f · D( f ) = = 2 f · D( f )
3 2 2 2 2
D( f ) = D( f · f ) = f · D( f ) + f · D( f ) = f · D( f ) + f · 2 f · D( f ) = 3 f 2 · D( f )
D( f 4 ) = D( f 3 · f ) = f 3 · D( f ) + f · D( f 3 ) = f 3 · D( f ) + f · 3 f 2 · D( f ) = 4 f 3 · D( f )
Practice 1. What is the pattern here? What do you think the results
will be for D( f 5 ) and D( f 13 )?
We could keep differentiating higher and higher powers of f ( x ) by
writing them as products of lower powers of f ( x ) and using the Product
Rule, but the Power Rule for Functions guarantees that the pattern we
just saw for the small integer powers also works for all constant powers
of functions.
The Power Rule for Functions is a spe- Power Rule for Functions:
cial case of a more general theorem, the
Chain Rule, which we will examine in If p is any constant
Section 2.4, so we will wait until then to
prove the Power Rule for Functions. then D( f p ( x )) = p · f p−1 ( x ) · D( f ( x )).
d p d 1
(b) To match the pattern for 2x + 3x5 = (2x + 3x5 ) 2 , let
dx dx
f ( x ) = 2x + 3x5 and take p = 21 . Then:
d p d d
2x + 3x5 = ( f p ( x )) = p · f p−1 ( x ) · ( f ( x ))
dx dx dx
1 1 d
= (2x + 3x5 )− 2 (2x + 3x5 )
2 dx
1 1 2 + 15x4
= (2x + 3x5 )− 2 (2 + 15x4 ) = √
2 2 2x + 3x5
(c) To match the pattern for D(sin2 ( x )), let f ( x ) = sin( x ) and p = 2:
D(sin2 ( x )) = D( f p ( x )) = p · f p−1 ( x ) · D( f ( x ))
= 2 sin1 ( x ) D(sin( x )) = 2 sin( x ) cos( x )
Theorem:
D(tan( x )) = sec2 ( x ) D(sec( x )) = sec( x ) · tan( x )
D(cot( x )) = − csc2 ( x ) D(csc( x )) = − csc( x ) · cot( x )
146 contemporary calculus
sin( x ) cos( x )
Proof. From trigonometry, we know tan( x ) = , cot( x ) = ,
cos( x ) sin( x )
1 1
sec( x ) = and csc( x ) = . From calculus, we already know
cos( x ) sin( x )
D(sin( x )) = cos( x ) and D(cos( x )) = − sin( x ). So:
Similarly:
Instead of the Quotient Rule, we could have used the Power Rule to
calculate D(sec( x )) = D((cos( x ))−1 ).
cos( x )
Practice 3. Use the Quotient Rule on f ( x ) = cot( x ) = to prove
sin( x )
that f ′ ( x ) = − csc2 ( x ).
2h −1 3h −1 e h −1
h h h h
+0.1 0.717734625
−0.1 0.669670084
+0.01 0.695555006
−0.01 0.690750451
+0.001 0.693387463
−0.001 0.692907009
↓ ↓ ↓ ↓
0 ≈ 0.693 ≈ 1.099 1
3h − 1
Practice 6. Fill in the table for and show that the slope of the
h
x
line tangent to g( x ) = 3 at (0, 1) is approximately 1.099.
At (0, 1), the slope of the tangent to y = 2x is less than 1 and the
slope of the tangent to y = 3x is slightly greater than 1. You might
expect that there is a number b between 2 and 3 so that the slope of
the tangent to y = b x is exactly 1. Indeed, there is such a number,
e ≈ 2.71828182845904, with
eh − 1
lim =1
h →0 h In fact, e is a “transcendental” number,
which means that it is not the root of
The number e is irrational and plays a very important role in calculus
any polynomial equation with rational
and applications. coefficients.
We have not proved that this number e with the desired limit prop- Don’t worry — we’ll tie up some of these
loose ends in Chapter 7.
erty actually exists, but if we assume it does, then it becomes relatively
straightforward to calculate D(e x ).
Theorem: D(e x ) = e x
e x+h − e x e x · eh − e x
D(e x ) = lim = lim
h →0 h h →0 h
e h−1 eh − 1
= lim e x · = lim e x · lim
h →0 h h →0 h →0 h
= ex · 1 = ex
Notice that the limit property of e that Graphically: the height of f ( x ) = e x at any point and the slope of
we assumed was true actually says that
the tangent to f ( x ) = e x at that point are the same: as the graph gets
for f ( x ) = e x , f ′ (0) = 1. So knowing
the derivative of f ( x ) = e x at a single higher, its slope gets steeper.
point (x = 0) allows us to determine its x
derivative at every other point. d t e
(c) D(e5x )
Example 4. Find: (a) t · e (b) D
dt sin( x )
Solution. (a) Using the Product Rule with f (t) = t and g(t) = et :
d
t · e t = t · D ( e t ) + e t · D ( t ) = t · e t + e t · 1 = ( t + 1) e t
dt
(b) Using the Quotient Rule with f ( x ) = e x and g( x ) = sin( x ):
x
e sin( x ) · D(e x ) − e x · D(sin( x ))
D =
sin( x ) [sin( x )]2
sin( x ) · e x − e x (cos( x ))
=
sin2 ( x )
dy
For y = f ( x ), we write f ′ ( x ) = , so we can extend that notation to
dx
d dy 2
d y ′′′ d d2 y
d3 y
′′
write f ( x ) = = 2 , f (x) = = and so on.
dx dx dx dx dx2 dx3
the derivative 149
Important Results
Power Rule for Functions: D( f p ( x )) = p · f p−1 ( x ) · D( f ( x ))
2.3 Problems
1. Let f (1) = 2 and f ′ (1) = 3. Find the values of 2. Let f (2) = −2 and f ′ (2) = 5. Find the values of
each of the following derivatives at x = 1. each of the following derivatives at x = 2.
(a) D( f 2 ( x )) (a) D( f 2 ( x ))
(b) D( f 5 ( x )) (b) D( f −3 ( x ))
p p
(c) D( f ( x )) (c) D( f ( x ))
the derivative 151
3. For x = 1 and x = 3 estimate the values of f ( x ) 12. A mass attached to a spring is at a height of
(whose graph appears below), f ′ ( x ) and 2 sin(t)
h(t) = 3 − feet above the floor t sec-
d 2 1 + 0.1t2
(b) D f 3 ( x ) (c) D f 5 ( x )
(a) f (x) onds after it is released.
dx
(a) Graph h(t).
(b) At what height is the mass when it is released?
(c) Determine the velocity of the mass at time t.
(d) What happens to the height and the velocity
of the mass a “long time” after it is released?
13. The kinetic energy K of an object of mass m and
velocity v is 12 mv2 .
(a) Find the kinetic energy of an object with mass
m and height h(t) = 5t feet at t = 1 and t = 2
seconds.
(b) Find the kinetic energy of an object with mass
4. For x = 0 and x = 2 estimate the values of f ( x )
m and height h(t) = t2 feet at t = 1 and t = 2
(whose graph appears above), f ′ ( x ) and
seconds.
d 3 d 5
(a) D f 2 ( x )
(b) f (x) (c) f (x) 14. An object of mass m is attached to a spring and
dx dx
In Problems 5–10, find f ′ ( x ). has height h(t) = 3 + sin(t) feet at time t seconds.
(a) Find the height and kinetic energy of the object
5. f ( x ) = (2x − 8)5
when t = 1, 2 and 3 seconds.
6. f ( x ) = (6x − x2 )10 (b) Find the rate of change in the kinetic energy of
7. f ( x ) = x · (3x + 7)5 the object when t = 1, 2 and 3 seconds.
dK
8. f ( x ) = (2x + 3)6 · ( x − 2)4 (c) Can K ever be negative? Can ever be nega-
√ dt
9. f ( x ) = x2 + 6x − 1 tive? Why?
x−5 In Problems 15–20, compute f ′ ( x ).
10. f ( x ) =
( x + 3)4
15. f ( x ) = x · sin( x )
11. A mass attached to the end of a spring is at a
height of h(t) = 3 − 2 sin(t) feet above the floor t 16. f ( x ) = sin5 ( x )
seconds after it is released. 17. f ( x ) = e x − sec( x )
p
(a) Graph h(t). 18. f ( x ) = cos( x ) + 1
(b) At what height is the mass when it is released? 19. f ( x ) = e− x + sin( x )
√
(c) How high does above the floor and how close 20. f ( x ) = x2 − 4x + 3
to the floor does the mass ever get?
In Problems 21–26, find an equation for the line
(d) Determine the height, velocity and acceleration
tangent to the graph of y = f ( x ) at the given point.
at time t. (Be sure to include the correct units.)
(e) Why is this an unrealistic model of the motion 21. f ( x ) = ( x − 5)7 at (4, −1)
of a mass attached to a real spring? 22. f ( x ) = e x at (0, 1)
152 contemporary calculus
√
23. f ( x ) = 25 − x2 at (3, 4) 43. The function f ( x ) defined as
3
24. f ( x ) = sin ( x ) at (π, 0) (
x · sin( 1x ) if x ̸= 0
25. f ( x ) = ( x − a)5 at ( a, 0) f (x) =
0 if x = 0
26. f ( x ) = x · cos5 ( x ) at (0, 0)
shown below is continuous at 0 because we can
27. (a) Find an equation for the line tangent to f ( x ) =
show (using the Squeezing Theorem) that
e x at the point (3, e3 ).
(b) Where will this tangent line intersect the x- lim f ( x ) = 0 = f (0)
h →0
axis?
(c) Where will the tangent line to f ( x ) = e x at the Is f differentiable at 0? To answer this question,
point ( p, e p ) intersect the x-axis? use the definition of f ′ (0) and consider
1
s1 = 1 +
1!
1 1
s2 = 1 + +
1! 2!
1 1 1
s3 = 1 + + +
1! 2! 3!
1 1 1 1
s4 = 1 + + + +
1! 2! 3! 4!
The number e appears in a variety of unusual situa- 1 1 1 1 1
s5 = 1 + + + + +
tions. Problems 45–48 illustrate a few of these. 1! 2! 3! 4! 5!
1 1 1 1 1 1
s6 = 1 + + + + + +
45. Use your calculator to examine the values of 1! 2! 3! 4! 5! 6!
1 x
f (x) = 1 + when x is relatively large (for (b) What value do the sums in part (a) seem to be
x
example, x = 100, 1000 and 10, 000. Try some approaching?
other large values for x. If x is large, the value of (c) Calculate s7 and s8 .
f ( x ) is close to what number? 48. If it is late at night and you are tired of study-
46. If you put $1 into a bank account that pays 1% ing calculus, try the following experiment with
interest per year and compounds the interest x a friend. Take the 2 through 10 of hearts from a
times a year, then after one year you will have regular deck of cards and shuffle these nine cards
x
1+ 0.01
dollars in the account. well. Have your friend do the same with the 2
x
through 10 of spades. Now compare your cards
(a) How much money will you have after one year
one at a time. If there is a match, for example you
if the bank calculates the interest once a year?
both play a 5, then the game is over and you win.
(b) How much money will you have after one year If you make it through the entire nine cards with
if the bank calculates the interest twice a year? no match, then your friend wins. If you play the
(c) How much money will you have after one year game many times, then the ratio:
if the bank calculates the interest 365 times a
year? total number of games played
number of times your friend wins
(d) How does your answer to part (c) compare
with e0.01 ? will be approximately equal to e.
2h −1 3h −1 e h −1
h h h h
7. D(x3 e x )
= x3 D(e x ) + e x D( x3 ) = x3 e x + e x · 3x2 = x2 e x ( x + 3)
D (e x )3 = 3 (e x )2 D(e x ) = 3e2x · e x = 3e3x
The Chain Rule is the most important and most often used of the
differentiation patterns. It enables us to differentiate composites of
functions such as y = sin( x2 ). It is a powerful tool for determining
the derivatives of some new functions such as logarithms and inverse
trigonometric functions. And it leads to important applications in a
variety of fields. You will need the Chain Rule hundreds of times in
this course. Practice with it now will save you time — and points —
later. Fortunately, with practice, the Chain Rule is also easy to use. We
already know how to differentiate the composition of some functions.
In part (b):
∆y ∆y ∆u
= · = 2·3 = 6
∆x ∆u ∆x
These examples are simple cases of the Chain Rule for differentiating a
composition of functions. ◀
156 contemporary calculus
∆y ∆y ∆u ∆y ∆u
dy
= lim = lim · = lim lim
dx ∆x →0 ∆x ∆x →0 ∆u ∆x ∆x →0 ∆u ∆x →0 ∆x
∆y ∆u
dy du
= lim lim = ·
∆u→0 ∆u ∆x →0 ∆x du dx
The key step here is to argue that ∆x → 0 implies ∆u → 0, which
follows from the continuity of u as as function of x.
Although this nice short argument gets to the heart of why the Chain
Rule works, it is not quite valid. If du
dx ̸ = 0, then it is possible to show
A justification that holds true for all cases that ∆u ̸= 0 for all “very small” values of ∆x, and the “idea for a
is more complicated and provides no new
proof” becomes a real proof. There are, however, functions for which
conceptual insight. Problem 84 at the
end of this section guides you through a ∆u = 0 for infinitely many small values of ∆x (no matter how close to
rigorous proof of the Chain Rule. 0 we restrict ∆x) and this creates problems with the simple argument
outlined above.
dy du
The symbol is a single symbol, as is , so we cannot eliminate
du dx
dy du
du from the product in the Chain Rule by “cancelling” du as we
du dx
∆y ∆u
can with ∆u in the fractions · . It is, however, perfectly fine to
∆u ∆x
use the idea of cancelling du to help you remember the proper statement
of the Chain Rule.
dy dy du
= · = − sin(u) · 2x = −2x · sin( x2 + 3)
dx du dx
Notice that in the last step we have eliminated the intermediate variable
u to express the derivative only in terms of x. ◀
dy
Practice 2. Find dx for y = sin(4x + e x ).
the derivative 157
Example 6. Determine D ecos( x) using each form of the Chain Rule.
dy dy du
= · = eu · (− sin( x )) = − sin( x ) · ecos(x)
dx du dx
d d 3t
Practice 4. Calculate D (sin(7x − 1)), (sin( ax + b)) and e .
dx dt
Practice 5. Use the graph of g given in the margin along with the Chain
Rule to estimate D (sin( g( x ))) and D ( g(sin( x ))) at x = π.
d
Example 7. Determine D e3x · sin(5x + 7) and (cos( x · e x )).
dx
√
Solution. The function sin( x3 + 1) can be viewed as a composition
√
f ◦ g of f ( x ) = sin( x ) and g( x ) = x3 + 1. Then:
p
(sin( x3 + 1))′ = f ′ ( g( x )) · g′ ( x ) = cos( g( x )) · g′ ( x )
p p
= cos( x3 + 1) · D( x3 + 1)
√
For the derivative of x3 + 1, we can use the Chain Rule again or its
special case, the Power Rule:
p 1 1 3 1
D( x3 + 1) = D(( x3 + 1) 2 ) = ( x + 1) − 2 · D ( x 3 + 1)
2
1 3 1
=( x + 1)− 2 · 3x2
2
p p 1 1
Finally, D sin( x3 + 1) = cos( x3 + 1) · ( x3 + 1)− 2 · 3x2 , which
√ 2
3x2 cos( x3 + 1)
can be rewritten as √ . ◀
2 x3 + 1
This example was more complicated than the earlier ones, but it is
just a matter of applying the Chain Rule twice, to a composition of
a composition. If you proceed step by step and don’t get lost in the
details of the problem, these multiple applications of the Chain Rule
are relatively straightforward.
We can also use the Leibniz form of the Chain Rule for a composition
√
of more than two functions. If y = sin( x3 + 1), then y = sin(u) with
√
u = w and w = x3 + 1. The Leibniz form of the Chain Rule says:
dy dy du dw 1
= · · = cos(u) · √ · 3x2
dx du dw dx 2 w
p 1
= cos( x3 + 1) · √ · 3x2
2 x3 + 1
which agrees with our previous answer.
dy
Practice 6. (a) Find D(sin(cos(5x ))). (b) For y = ecos(3x) , find dx .
1
Example 9. Given that D(arcsin( x )) = √ , compute the deriva-
1 − x2
d
tives D(arcsin(5x )) and (arcsin(e x )).
dx
Solution. Write arcsin(5x ) as the composition of f ( x ) = arcsin( x )
1
with g( x ) = 5x. We know g′ ( x ) = 5 and f ′ ( x ) = √ , so we have
1 − x2
1 1
f ′ ( g( x )) = p = √ . Then:
1 − ( g( x ))2 1 − 25x2
1 5
D(arcsin(5x )) = f ′ ( g( x )) · g′ ( x ) = p ·5 = √
1 − (5x )2 1 − 25x2
We can write y = arcsin(e x ) as y = arcsin(u) with u = e x , and we know
dy 1 du
that = √ and = e x so:
du 1−u 2 dx
dy dy du 1 ex
= · = √ · ex = √
dx du dx 1 − u2 1 − e2x
f ′ (x)
We can generalize this result to say that D(arcsin( f ( x ))) = p
1 − ( f ( x ))2
d 1 du
or, in Leibniz notation, (arcsin(u)) = √ · . ◀
du 1 − u dx
2
1
Practice 7. Given that D(arctan( x )) = , compute the derivatives
1 + x2
d
D(arctan( x3 )) and (arctan(e x )).
dx
Appendix D in the back of this book shows the derivative patterns
for a variety of functions. You may not know much about some of the
functions, but with the given differentiation patterns and the Chain
Rule you should be able to calculate derivatives of compositions that
involve these new functions. It is just a matter of following the pattern.
Practice 8. Use the patterns D(sinh( x )) = cosh( x ) and D(ln( x )) = 1x
to determine:
d
(a) D(sinh(5x − 7)) (b) ln(3 + e2x ) (c) D(arcsin(1 + 3x ))
dx
d 3
Example 10. If D( F ( x )) = e x · sin( x ), find D( F (5x )) and F (t ) .
dt
Solution. D( F (5x )) = D( F ( g( x )) with g( x ) = 5x and we know that
F ′ ( x ) = e x · sin( x ) so:
D( F (5x )) = F ′ ( g( x )) · g′ ( x ) = e g( x) · sin( g( x )) · 5 = e5x · sin(5x ) · 5
dy du
With y = F (u) and u = t3 we know = eu · sin(u) and = 3t2 so:
du dt
dy dy du 3
= · = eu · sin(u) · 3t2 = et · sin(t3 ) · 3t2
dt du dt
Notice that we have eliminated the intermediate variable u (which
didn’t appear in the original problem) from the final answer. ◀
the derivative 161
dy
Proof. Write y = f p ( x ) as y = u p with u = f ( x ). Then = p · u p −1
du
du
and = f ′ ( x ) so:
dx
dy dy du
= · = p · u p −1 · f ′ ( x ) = p · f p −1 ( x ) · f ′ ( x )
dx du dx
by the Chain Rule.
2.4 Problems
In Problems 1–6 , find two functions f and g so that the given function is the composition of f and g.
2. y = sin4 (3x − 8)
p
1. y = ( x3 − 7x )5 3. y = (2 + sin( x ))5
1 √
5. y = x2 − 4
4. y = √ 6. y = tan( x )
x2 + 9
7. For each function in Problems 1–6, write y as a function of u for some u that is a function of x.
For Problems 8–9, use the values given in this table to determine the indicated quantities:
In Problems 12–22, compute the derivative. (d) If you are in a balloon that is 2,000 feet above
4 ! the Pacific Ocean and is rising at 500 feet per
12. D ( x2 + 2x + 3)87
3 minute, how fast is the air pressure on the
13. D 1−
x balloon changing?
5 ! (e) If the temperature of the gas in the balloon
d 1 5
14. x+ 15. D remained constant during this ascent, what
dx x
p
2 + sin( x ) would happen to the volume of the balloon?
d d 2
Find the indicated derivatives in Problems 26–33.
16. (t · sin(3t + 2)) 17. x · sin( x2 + 3)
dt dx
(2x + 3)2 d
q
d 26. D 27. 1 + cos2 (z)
18. (sin(2x ) · cos(5x + 1)) (5x − 7)3 dz
dx
7
d
5
28. D (sin(3x + 5)) d
19. D 20. 29. tan(3x + 5)
cos( x3 − x ) dt 3 + et dx
√
d
cos(7t2 ) 31. D sin( x + 1)
21. D (e x + e− x ) 22. D (e x − e− x ) 30.
dt
√
d sin( x)
23. An object attached to a spring is at a height of 32. D sec( x + 1) 33. e
dx
h(t) = 3 − cos(2t) feet above the floor t seconds
after it is released. In Problems 34–37 , calculate f ′ ( x ) · x ′ (t) when t = 3
(a) At what height was it released? and use these values to determine the value of
d
(b) Determine its height, velocity and acceleration ( f ( x (t))) when t = 3.
dt
at any time t.
34. f ( x ) = cos( x ), x = t2 − t + 5
(c) If the object has mass m, determine its kinetic √ 21
energy K = 12 mv2 and dK 35. f ( x ) = x, x = 2 +
dt at any time t. t
24. An employee with d days of production expe- 36. f ( x ) = e x , x = sin(t)
rience will be able to produce approximately 37. f ( x ) = tan3 ( x ), x = 8
P(d) = 3 + 15(1 − e−0.2d ) items per day. In 38–43, find a function that has the given function
(a) Graph P(d). as its derivative. (You are given a function f ′ ( x ) and
(b) Approximately how many items will a begin- are asked to find a corresponding function f ( x ).)
ning employee be able to produce each day?
38. f ′ ( x ) = (3x + 1)4 39. f ′ ( x ) = (7x − 13)10
(c) How many items will a very experienced em-
ployee be able to produce each day? √
40. f ′ ( x ) = 3x − 4 41. f ′ ( x ) = sin(2x − 3)
(d) What is the marginal production rate of an
employee with 5 days of experience? (Include 42. f ′ ( x ) = 6e3x 43. f ′ ( x ) = cos( x )esin( x)
units for your answer. What does this mean?)
If two functions are equal, then their derivatives are
25. The air pressure P(h), in pounds per square inch,
also equal. In 44–47 , differentiate each side of the
at an altitude of h feet above sea level is approxi-
trigonometric identity to get a new identity.
mately P(h) = 14.7e−0.0000385h .
1
(a) What is the air pressure at sea level? 44. sin2 ( x ) = 2 − 21 cos(2x )
(b) What is the air pressure at 30,000 feet? 45. cos(2x ) = cos2 ( x ) − sin2 ( x )
(c) At what altitude is the air pressure 10 pounds 46. sin(2x ) = 2 sin( x ) · cos( x )
per square inch? 47. sin(3x ) = 3 sin( x ) − 4 sin3 ( x )
the derivative 163
In 66–71, (a) find y′ (b) find the value(s) of x so that and justify each of the following statements.
y′ = 0 and (c) find y′′ . Typically your answer in part (a) F (y) is continuous at y = g( a) because:
(b) will contain A’s, B’s and (sometimes) C’s.
f (y) − f ( g( a))
lim F (y) = lim = F ( g( a))
66. y = Ax2 + Bx + C y→ g( a) y→ g( a) y − g( a)
67. y = Ax ( B − x ) = ABx − Ax2
(b) By considering separately the cases g( x ) =
68. y = Ax ( B − x2 ) = ABx − Ax3 g( a) and g( x ) ̸= g( a):
69. y = Ax2 ( B − x ) = ABx2 − Ax3 f ( g( x )) − f ( g( a)) g( x ) − g( a)
= F ( g( x )) ·
70. y = Ax2 + Bx x−a x−a
71. y = Ax3 + Bx2 + C for all x ̸= a.
f ( g( x )) − f ( g( a)) g( x ) − g( a)
In Problems 72–83, use the differentiation patterns (c) lim = lim F ( g( x )) ·
1 1 x→a x−a x→a x−a
D(arctan( x )) = , D(arcsin( x )) = √ g( x ) − g( a)
1 + x2 1 − x2 (d) lim F ( g( x )) · = F ( g( a)) · g′ ( a)
1 x→a x−a
and D(ln( x )) = . We have not derived the deriva- f ( g( x )) − f ( g( a))
x (e) lim = f ′ ( g( a)) · g′ ( a)
tives for these functions (yet), but if you are handed x→a x−a
the derivative pattern then you should be able to (f) ( f ◦ g)′ ( a) = f ′ ( g( a)) · g′ ( a)
164 contemporary calculus
D( f ◦ g( x )) = f ′ ( g( x )) · g′ ( x ) = 5 · 2x = 10x
D( g ◦ f ( x )) = g′ ( f ( x )) · f ′ ( x ) = 2(5x − 4) · 5 = 50x − 40
d
2. (sin(4x + e x )) = cos(4x + e x ) · D(4x + e x ) = cos(4x + e x ) · (4 + e x )
dx
3. To fill in the last column, compute:
Derivatives of Logarithms
You know from precalculus that the natural logarithm ln( x ) is defined
as the inverse of the exponential function e x : eln( x) = x for x > 0.
We can use this identity along with the Chain Rule to determine the
derivative of the natural logarithm.
1 g′ ( x )
D(ln( x )) = and D (ln( g( x ))) =
x g( x )
u u
Proof.
We know that D(e ) = e , so using the Chain Rule we have
D e f ( x) = e f ( x) · f ′ ( x ). Differentiating each side of the identity
eln( x) = x, we get:
D eln( x) = D( x ) ⇒ eln( x) · D(ln( x )) = 1
1
⇒ x · D(ln( x )) = 1 ⇒ D(ln( x )) =
x
The function ln( g( x )) is the composition of f ( x ) = ln( x ) with g( x ) so
the Chain Rule says:
You can remember the differentiation
1 g′ ( x ) pattern for the the natural logarithm in
D (ln( g( x )) = D ( f ( g( x ))) = f ′ ( g( x )) · g′ ( x ) = · g′ ( x ) = words as: “one over the inside times the
g( x ) g( x ) the derivative of the inside.”
1
Graph f ( x ) = ln( x ) along with f ′ ( x ) =
and compare the behavior of
x
the function at various points with the values of its derivative at those
1
points. Does y = possess the properties you would expect to see
x
from the derivative of f ( x ) = ln( x )?
g′ ( x ) D(sin( x )) cos( x )
D(ln(sin( x ))) = = = = cot( x )
g( x ) sin( x ) sin( x )
g′ ( x ) 2x
With g( x ) = x2 + 3, D(ln( x2 + 3)) = = 2 . ◀
g( x ) x +3
166 contemporary calculus
1 f ′ (x) 1
D (loga ( x )) = and D (loga ( f ( x ))) = ·
x ln( a) f ( x ) ln( a)
ln x 1 1 1 1
Proof. D (loga ( x )) = D = · D(ln x ) = · = .
ln a ln( a) ln( a) x x ln( a)
The second differentiation formula follows from the Chain Rule.
Derivative of a x
Once we know the derivative of e x and the Chain Rule, it is relatively
easy to determine the derivative of a x for any a > 0.
x
Proof. If a > x
a >
0, then
x
0 and a = e
ln( a )
= e x·ln(a) , so we have:
x
D( a x ) = D eln(a ) = D e x·ln(a) = e x·ln(a) · D( x · ln( a)) = a x · ln( a).
d sin(t)
Example 3. Calculate D(7x ) and 2 .
dt
Solution. D(7x ) = 7x · ln(7) ≈ (1.95)7x . We can write y = 2sin(t) as
dy dy du
y = 2u with u = sin(t). Using the Chain Rule: = · =
dt du dt
2u · ln(2) cos(t) = 2sin(t) · ln(2) · cos(t). ◀
d 2
Practice 3. Calculate D (sin(2x )) and 3t .
dt
(a) How many people are expected to have the disease in 2 years?
(c) How fast is the number of people with the disease growing now?
How fast is it expected to be growing 2 years from now?
168 contemporary calculus
2
Solution. (a) In 2 years, y = 2400 · 2 3 ≈ 3,810 people.
t
(b) We know y = 50000 and need to solve 50000 = 2400 · 2 3 for
t. Taking logarithms of each side of the equation: ln(50000) =
2
t
ln 2400 · 2 3 = ln(2400) + · ln(2) so 10.819 ≈ 7.783 + 0.231t and
3
t ≈ 13.14 years. We expect 50,000 people to have the disease about
13 years from now.
dy
(c) This question asks for when t = 0 and t = 2.
dt
dy d t
t 1 t
= 2400 · 2 3 = 2400 · 2 3 · ln(2) · ≈ 554.5 · 2 3
dt dt 3
Now, at t = 0, the rate of growth of the disease is approximately
554.5 · 20 ≈ 554.5 people/year. In 2 years, the rate of growth will be
2
approximately 554.5 · 2 3 ≈ 880 people/year. ◀
Example 6. You are riding in a balloon, and at time t (in minutes) you
are h(t) = t + sin(t) thousand feet above sea level. If the temperature
72
at an elevation h is T (h) = degrees Fahrenheit, then how fast is
1+h
the temperature changing when t = 5 minutes?
(a) Graph y = f (t) for 0 ≤ t ≤ 15. Calculate f (0), f (5) and f (10).
bacteria/hour.
t t
(c) f ′ (t) = 8 · e 5 = 51 · 40e 5 = 15 f (t) so f ′ (t) = K · f (t) with K = 15 . The
rate of change of the population is proportional to its size. ◀
Parametric Equations
Suppose a robot has been programmed to move in the xy-plane so at
time t its x-coordinate will be sin(t) and its y-coordinate will be t2 . Both
x and y are functions of the independent parameter t: x (t) = sin(t) and
y(t) = t2 . The path of the robot (see margin) can be found by plotting
( x, y) = ( x (t), y(t)) for lots of values of t.
dy
Typically we know x (t) and y(t) and need to find , the slope of
dx
the tangent line to the graph of ( x (t), y(t)). The Chain Rule says:
dy dy dx
= ·
dt dx dt
dy
so , algebraically solving for , we get:
dx
dy
dy dt
= dx
dx
dt
dy dx
If we can calculate and , the derivatives of y and x with respect
dt dt
dy
to the parameter t, then we can determine , the rate of change of y
dx
with respect to x.
dx dy
Solution. = cos(t) and = 2t. When t = 2, the object is at the
dt dt
2
point (sin(2), 2 ) ≈ (0.91, 4) and the slope of the tangent line is:
dy
dy dt 2t 2·2 4
= dx
= = ≈ ≈ −9.61
dx
dt
cos(t) cos(2) −0.42
Notice in the figure that the slope of the tangent line to the curve at
(0.91, 4) is negative and very steep. ◀
Speed
If we know the position of an object at any time, then we can determine
its speed. The formula for speed comes from the distance formula and
looks a lot like it, but involves derivatives.
the derivative 171
as ∆t → 0.
Example 10. Find the speed of the object whose location at time t is
( x, y) = sin(t), t2 when t = 0 and t = 1.
dx dy
Solution. = cos(t) and = 2t so:
dt dt
q q
speed = (cos(t))2 + (2t)2 = cos2 (t) + 4t2
p √
When t = 0, speed = cos2 (0) + 4(0)2 = 1 + 0 = 1. When t = 1,
p √
speed = cos2 (1) + 4(1)2 ≈ 0.29 + 4 ≈ 2.07. ◀
2.5 Problems
√
19. ln 5x − 3 20. ln(cos(t)) In 33–41, find a function with the given derivative.
45. For the parametric graph shown below, determine 50. After t seconds, a projectile hurled with initial ve-
dx dy dy locity v and angle θ will be at x (t) = v · cos(θ ) · t
whether , and are positive, negative or
dt dt dx feet and y(t) = v · sin(θ ) · t − 16t2 feet (see figure
0 when t = 1 and t = 3.
below). (This formula neglects air resistance.)
(a) For an initial velocity of 80 feet/second and an
angle of π4 , find T > 0 so that y( T ) = 0. What
does this value for t represent physically? Eval-
uate x ( T ).
dy
(b) For v and θ in part (a), calculate . Find T so
dx
dy
that = 0 at t = T, and evaluate x ( T ). What
dx
does x ( T ) represent physically?
46. For the parametric graph shown below, determine (c) What initial velocity is needed so a ball hit at
dx dy dy an angle of π4 ≈ 0.7854 will go over a 40-foot-
whether , and are positive, negative or
dt dt dx high fence 350 feet away?
0 when t = 1 and t = 3.
(d) What initial velocity is needed so a ball hit at
an angle of 0.7 radians will go over a 40-foot-
high fence 350 feet away?
47. The parametric graph ( x (t), y(t)) defined by 51. Use the method from the proof that D(ln( x )) = 1
x
x (t) = R · (t − sin(t)) and y(t) = R · (1 − cos(t)) to compute the derivative D(arctan( x )):
is called a cycloid, the path of a light attached to
(a) Rewrite y = arctan( x ) as tan(y) = x.
the edge of a rolling wheel with radius R.
(b) Differentiate both sides using the Chain Rule
(a) Graph ( x (t), y(t)) for 0 ≤ t ≤ 4π.
dx dy dy and solve for y′ .
(b) Find , , the tangent slope , and speed
dt dt dx (c) Use the identity 1 + tan2 (θ ) = sec2 (θ ) and the
π
when t = 2 and t = π. 1
fact that tan(y) = x to show that y′ = .
48. Describe the motion of particles whose locations 1 + x2
at time t are (cos(t), sin(t)) and (cos(t), − sin(t)). 1
52. Use the method from the proof that D(ln( x )) = x
49. (a) Describe the path of a robot whose location at to compute the derivative D(arcsin( x )):
time t is (3 · cos(t), 5 · sin(t)). (a) Rewrite y = arcsin( x ) as sin(y) = x.
(b) Describe the path of a robot whose location at (b) Differentiate both sides using the Chain Rule
time t is ( A · cos(t), B · sin(t)). and solve for y′ .
(c) Give parametric equations so the robot will
(c) Use the identity cos2 (θ ) + sin2 (θ ) = 1 and the
move along the same path as in part (a) but in 1
the opposite direction. fact that sin(y) = x to show that y′ = √ .
1 − x2
174 contemporary calculus
dy
8. x (t) = 3 cos(t) ⇒ dx dt = −3 sin( t ) and y ( t ) = 2 sin( t ) ⇒ dt =
2 cos(t) so:
s
2 2 q
dx dy
speed = + = (−3 sin(t))2 + (2 cos(t))2
dt dt
q
= 9 · sin2 (t) + 4 · cos2 (t)
√
When t = 0, the speed is 9 · 02 + 4 · 12 = 2.
√
When t = π2 , the speed is 9 · 12 + 4 · 02 = 3 (faster).
the derivative 175
and the area 1 second later when the radius is 10 feet larger than before:
is still 78.6 ft2 but the new area (after t = 0.1 seconds has passed) is
A = π (6 feet)2 ≈ 113.1 ft2 (why is the new radius 6 feet?) so:
To find A′ (0) we must first find A′ (t) and then evaluate this derivative
at t = 0. Differentiating both sides of the connecting equation, we get:
Notice that we have used the Power Rule Now we can plug in t = 0 and use the information we know:
for Functions (or, more generally, the
Chain Rule) because the area is a func-
A′ (0) = 2π · r (0) · r ′ (0) = 2π · 5 · 10 = 100π
tion of the radius, which is a function of
time.
When the radius is 5 feet, the area is increasing at 100π ft2 /sec ≈ 314.2
square feet per second. ◀
the derivative 177
Before considering other examples, let’s review the solution to the We should take care in future problems to
consider whether the information we are
previous example. The statement “the radius is increasing at a rate of given about rates of change holds true all
10 feet each second” implies that this rate of change is the same at t = 0 the time or just at a particular moment
(the moment in time we were interested in) as at any other time during in time. That didn’t matter in our first
example, but it might in other situations.
this process, say t = 1.5 or t = 98: r ′ (0) = r ′ (1.5) = r ′ (98) = 10. But
we only used the fact that r ′ (0) = 10 in our solution.
Next, notice that we let t = 0 correspond to the particular moment
in time the question asked about (the moment when r = 5). But this
choice was arbitrary: we could have let this moment correspond to
t = 2.8 or t = 7π and the eventual answer would have been the same.
Finally, notice that we explicitly wrote each variable (and their deriva-
tives) as a function of the time variable, t: A(t), r (t), A′ (t) and r ′ (t).
Consequently, we used the composition form of the Chain Rule:
Let’s redo the previous example using the Leibniz form of the Chain
Rule, keeping the above observations in mind.
Solution. We know that the two variables in this problem, the radius r
and the area A, are related to each other by the formula A = πr2 . We
also know that both r and A are changing over time, so each of them is
a function of an additional variable t (time, in seconds).
We want to know the rate of change of the area “when the radius is
dA
5 feet,” which translates to evaluating at the moment when r = 5.
dt
We write this in Leibniz notation as:
dA
dt r =5
The key steps in finding the rate of change of the area of the circle were:
(Dives deeper than 50 feet also involve a risk of the “bends,” or decom-
pression sickness, if the ascent is too rapid. Tables are available that
show the safe rates of ascent from different depths.)
Solution. (a) The diver would risk rupturing his or her lungs. The
1 cubic foot of air at a depth of 66 feet would be at a pressure of
66
P(66) = 15 1 + 33 = 45 pounds per square inch (psi). Because the
pressure at sea level, P(0) = 15 psi, is only 13 as great, each cubic foot
of air would expand to 3 cubic feet, and the diver’s lungs would be
in danger. Divers are taught to release air as they ascend to avoid
this danger. (b) The diver is ascending at a rate of 2 feet/second
the derivative 179
dV
• we know: dt = 5 m3 /sec (always true) and h = 4 m (at a particular
moment)
dh
• we want to know: dt at this particular moment
the derivative 181
r top radius 2m 2 2
= = = ⇒ r= h
h total height 7m 7 7
Knowing this, we can rewrite the volume of the water contained in the
cone, V = 13 πr2 h, as a function of the single variable h:
2
1 2 1 2 4
• connecting equation: V = πr h = π h h= πh3
3 3 7 147
The rest of the solution is reasonably straightforward.
dV dV dh d 4 3 dh
= · = πh ·
dt dh dt dh 147 dt
dV
We know = 5 always holds, and the derivative is easy to compute:
dt
4 dh
5= πh2 ·
49 dt
At the particular moment in time we want to know about (when h = 4):
4 dh 64π dh
5= πh2 · ⇒ 5= ·
49 h=4 dt h=4 49 dt h=4
and we can now solve for the quantity of interest:
dh 5 245 m
= 64π = ≈ 1.22
dt h=4 64π sec
49
Solution. Let’s assume that the smaller glass has a radius of r and the
larger glass has a radius of R, so that R > r. The areas of their openings
are πr2 and πR2 , respectively. Call the volume of water collected in
each glass v (for the smaller glass) and V (for the larger glass).
dv
(a) The smaller glass will collect water at the rate = K · πr2 and
dt
dV dV dv
the larger at the rate = K · πR2 so > and the larger glass
dt dt dt
will collect water faster than the smaller glass.
(b) The volume of water in each glass is a function of the radius
of the glass and the height of the water in the glass: v = πr2 h and
V = πR2 H where h and H are the heights of the water levels in the
smaller and larger glasses, respectively. The heights h and H vary with
t (in other words, they are each functions of t) while the radii (r and R)
remain constant, so:
dv
dv d 2 dh dh Kπr2
= πr h = πr2 ⇒ = dt2 = =K
dt dt dt dt πr πr2
Similarly:
dV
dV d 2 dH dH KπR2
= πR H = πR2 ⇒ = dt 2 = =K
dt dt dt dt πR πR2
dh dH
So =K= , which tells us the water level in each glass is rising at
dt dt
the same rate. In a one-minute period, the larger glass will collect more
rain, but the larger glass also requires more rain to raise its water level
by a fixed amount. How do you think the volumes and water levels
would change if we placed a small glass and a large plastic (rectangular)
box side by side in the rain? ◀
2.6 Problems
1. An expandable sphere is being filled with liquid at a constant rate
from a tap (imagine a water balloon connected to a faucet). When
the radius of the sphere is 3 inches, the radius is increasing at 2
inches per minute. How fast is the liquid coming out of the tap?
(V = 43 πr3 )
3. One hour later the right triangle in the previous 5. The length of a 12-foot by 8-foot rectangle is in-
problem is 15 inches long and 13 inches high creasing at a rate of 3 feet per second and the
(see figure below) and the base and height are width is decreasing at 2 feet per second (see fig-
changing at the same rate as in Problem 2. ure below).
(a) Is the area increasing or decreasing now? (a) How fast is the perimeter changing?
(b) Is the hypotenuse increasing or decreasing? (b) How fast is the area changing?
(c) Is the perimeter increasing or decreasing?
8. A mathematical species of slug has a semicircular 11. Redo the previous problem if the person is 20 feet
cross section and is always 5 times as long as it is from the lamp post.
high (see figure below). When the slug is 5 inches
12. Water is being poured at a rate of 15 cubic feet
long, it is growing at 0.2 inches per week.
per minute into a conical reservoir that is 20 feet
(a) How fast is its volume increasing?
deep and has a top radius of 10 feet (see below).
(b) How fast is the area of its “foot” (the part of the
slug in contact with the ground) increasing? (a) How long will it take to fill the empty reser-
voir?
(b) How fast is the water level rising when the
water is 4 feet deep?
(c) How fast is the water level rising when the
water is 16 feet deep?
9. Lava flowing from a hole at the top of a hill is
forming a conical mountain whose height is al-
ways the same as the width of its base (see figure
below). If the mountain is increasing in height at
2 feet per hour when it is 500 feet high, how fast
is the lava flowing (that is, how fast is the volume
of the mountain increasing)? (V = 31 πr2 h)
10. A 6-foot-tall person is walking away from a 14- 13. The string of a kite is perfectly taut and always
foot lamp post at 3 feet per second. When the makes an angle of 35◦ above horizontal.
person is 10 feet away from the lamp post:
(a) If the kite flyer has let out 500 feet of string,
(a) how fast is the length of the shadow changing?
how high is the kite?
(b) how fast is the tip of the shadow moving away
from the lamp post? (b) If the string is let out at a rate of 10 feet per
second, how fast is the kite’s height increasing?
the derivative 185
14. A small tracking telescope is viewing a hot-air 18. If the rate at which water vapor condenses onto a
balloon rise from a point 1,000 meters away from spherical raindrop is proportional to the surface
a point directly under the balloon. area of the raindrop, show that the radius of the
raindrop will increase at a constant rate.
(a) When the viewing angle is 20◦ , it is increasing
at a rate of 3◦ per minute. How high is the 19. Define A( x ) to be the area bounded by the t- and
balloon, and how fast is it rising? y-axes, and the lines y = 5 and t = x.
(b) When the viewing angle is 80◦ , it is increasing (a) Find a formula for A as a function of x.
at a rate of 2◦ per minute. How high is the (b) Determine A′ ( x ) when x = 1, 2, 4 and 9.
balloon, and how fast is it rising? (c) If x is a function of time, x (t) = t2 , find a
formula for A as a function of t.
(d) Determine A′ (t) when t = 1, 2 and 3.
(e) Suppose instead x (t) = 2 + sin(t). Find a for-
mula for A(t) and determine A′ (t).
15. The 8-foot diameter of a spherical gas bubble 20. The point P is going around the circle x2 + y2 = 1
is increasing at 2 feet per hour, and the 12-foot- twice a minute. How fast is the distance between
long edges of a cube containing the bubble are the point P and the point (4, 3) changing:
increasing at 3 feet per hour. Is the volume con-
(a) when P = (1, 0)?
tained between the spherical bubble and the cube
increasing or decreasing? At what rate? (b) when P = (0, 1)?
(c) when P = (0.8, 0.6)?
16. In general, the strength S of an animal is propor-
tional to the cross-sectional area of its muscles, (Suggestion: Write x and y as parametric func-
and this area is proportional to the square of its tions of time t.)
height H, so the strength S = aH 2 . Similarly,
the weight W of the animal is proportional to
the cube of its height, so W = bH 3 . Finally, the
relative strength R of an animal is the ratio of its
strength to its weight. As the animal grows, show
that its strength and weight increase, but that the
relative strength decreases.
17. The snow in a hemispherical pile melts at a rate
proportional to its exposed surface area (the sur-
face area of the hemisphere). Show that the height
of the snow pile is decreasing at a constant rate.
186 contemporary calculus
dr
2. The volume is V = πr2 h. We know that dt = −3 m/sec and that
h = 5 m, r = 6 m and dh
dt = 7 m/sec.
dV dh dr
= πr2 · + π · 2r ·
dt dt dt
2 m m
= π (6 m) 7 + π (2 · 6 m) −3
sec sec
Note that the units represent a rate of m3 m3
change of volume. = 72π ≈ 226.19
sec sec
Off on a Tangent
The basic idea of Newton’s Method is remarkably simple and graphical:
at a point ( x, f ( x )) on the graph of f , the tangent line to the graph
“points toward” a root of f , a place where the graph touches the x-axis.
To find a root of f , we just pick a starting value x0 , go to the point
( x0 , f ( x0 )) on the graph of f , build a tangent line there, and follow the
tangent line to where it crosses the x-axis, say at x1 .
If x1 is a root of f , we are done. If x1 is not a root of f , then x1 is
usually closer to the root than x0 was, and we can repeat the process,
using x1 as our new starting point. Newton’s method is an iterative
procedure — that is, the output from one application of the method
becomes the starting point for the next application.
Let’s begin with the function f ( x ) = x2 − 5, whose roots we already
√
know (x = ± 5 ≈ ±2.236067977), to illustrate Newton’s method.
First, pick some value for x0 , say x0 = 4, and move to the point
( x0 , f ( x0 )) = (4, 11) on the graph of f . The tangent line to the graph of
f at (4, 11) “points to” a location on the x-axis that is closer to the root
of f than the point we started with. We calculate this location on the
x-axis by finding an equation of the line tangent to the graph of f at
(4, 11) and then finding where this line intersects the x-axis.
At (4, 11), the line tangent to f has slope f ′ (4) = 2(4) = 8, so an
equation of the tangent line is y − 11 = 8( x − 4). Setting y = 0, we can
find where this line crosses the x-axis:
11 21
0 − 11 = 8( x − 4) ⇒ x = 4 − = = 2.625
8 8
Call this new value x1 : The point x1 = 2.625 is closer to the actual
√
root 5, but it certainly does not equal the actual root. So we can use
this new x-value, x1 = 2.625, to repeat the procedure:
• move to the point ( x1 , f ( x1 )) = (2.625, 1.890625)
• find x2 , the x-value where this new line intersects the x-axis:
x0 =4 (0 correct digits)
x1 = 2.625 (1 correct digit)
x2 = 2.262880952 (2 correct digits)
x3 = 2.236251252 (4 correct digits)
x4 = 2.236067985 (8 correct digits)
f ( xn ) 2xn + xn · sin( xn + 3) − 5
x n +1 = x n − ′
= xn −
f ( xn ) 2 + xn · cos( xn + 3) + sin( xn + 3)
Practice 3. Put x0 = 3 and use Newton’s method to find the first two
iterates, x1 and x2 , for the function f ( x ) = x3 − 3x2 + x − 1.
Practice 4. For the function graphed in the margin, which root do the
iterates of Newton’s method approach if:
Iteration
We have been emphasizing the geometric nature of Newton’s method,
but Newton’s method is also an example of iterating a function. If
f (x)
N (x) = x − ′ , the “pattern” in the algorithm, then:
f (x)
f ( x0 )
x1 = x0 − = N ( x0 )
f ′ ( x0 )
f (x )
x2 = x1 − ′ 1 = N ( x1 ) = N ( N ( x0 )) = N ◦ N ( x0 )
f ( x1 )
f ( x2 )
x3 = x2 − ′ = N ( x2 ) = N ( N ( N ( x0 ))) = N ◦ N ◦ N ( x0 )
f ( x2 )
and, in general:
At each step, we use the output from N as the next input into N.
Solution. This is the function from the previous Practice Problem, but
with a different starting value for x0 : f ′ ( x ) = 3x2 − 6x + 1 so,
f ( x0 ) f (1) −2
x1 = x0 − = 1− = 1− =0
f ′ ( x0 ) f ′ (1) −2
f (x ) f (0) −1
and x2 = x1 − ′ 1 = 0 − = 0− =1
f ( x1 ) f ′ (0) 1
which is the same as x0 , so x3 = x1 = 0 and x4 = x2 = 1. The values of
xn alternate between 1 and 0 and do not approach a root. ◀
the derivative 191
Newton’s method behaves badly at only a few starting points for this
particular function — for most starting points, Newton’s method con-
verges to the root of this function. There are some functions, however,
that defeat Newton’s method for almost every starting point.
√ 1
Practice 5. For f ( x ) = 3 x = x 3 and x0 = 1, verify that x1 = −2,
x2 = 4 and x3 = −8. Also try x0 = −3 and verify that the same pattern
holds: xn+1 = −2xn . Graph f and explain why the Newton’s method
iterates get farther and farther away from the root at 0.
Newton’s method is powerful and quick and very easy to program
on a calculator or computer. It usually works so well that many people
routinely use it as the first method they apply. If Newton’s method
fails for their particular function, they simply try some other method.
weeks later be hundreds of miles apart. The idea that small initial
differences can lead to dramatically diverse outcomes is sometimes
called the “butterfly effect” from the title of a talk (“Predictability: Does
the Flap of a Butterfly’s Wings in Brazil Set Off a Tornado in Texas?”)
given by Edward Lorenz, one of the first people to investigate chaos.
The “butterfly effect” has important implications about the possibility —
or rather the impossibility — of accurate long-range weather forecasting.
Chaotic behavior is also an important aspect of studying turbulent air
and water flows, the incidence and spread of diseases, and even the
fluctuating behavior of the stock market.
Newton’s method often exhibits chaotic behavior and — because it
is relatively easy to study — is often used as a model to investigate
the properties of chaotic behavior. If we use Newton’s method to
approximate the roots of f ( x ) = x3 − x (with roots 0, +1 and −1),
then starting points that are very close together can have iterates that
converge to different roots. The iterates of 0.4472 and 0.4473 converge
to the roots 0 and +1, respectively. The iterates of the median value
0.44725 converge to the root −1, and the iterates of another nearby
1 1 1
point, √ ≈ 0.44721, simply cycle between − √ and + √ and do
5 5 5
not converge at all.
2.7 Problems
1. The graph of y = f ( x ) appears below. Estimate 2. The graph of y = g( x ) appears below. Estimate
the locations of x1 and x2 when you apply New- the locations of x1 and x2 when you apply New-
ton’s method with the given starting value x0 . ton’s method starting value with the value x0
shown in the graph.
the derivative 193
3. The function graphed below has several roots. In Problems 12–15, use Newton’s method to find all
Which root do the iterates of Newton’s method roots or solutions, accurate to 2 decimal places, of
converge to if we start with x0 = 1? With x0 = 5? the given equation. It is helpful to examine a graph
to determine a “good” starting value x0 .
12. 2 + x = e x
x
13. = x2 − 2
x+3
14. x = sin( x )
4. The function graphed below has several roots. √
Which root do the iterates of Newton’s method 15. x = 5 3
converge to if we start with x0 = 2? With x0 = 6? 16. Show that if you apply Newton’s method to
√
f ( x ) = x2 − A to approximate A, then
1 A
x n +1 = xn +
2 xn
6. What happens if we apply Newton’s method to a Problems 19–22 involve chaotic behavior.
function f and start with x0 = a root of f ?
19. The iterates of numbers using the Simple Chaotic
7. What happens if we apply Newton’s method to a
Algorithm have some interesting properties.
function f and start with x0 = a maximum of f ?
(a) Verify that the iterates starting with x0 = 0 are
In Problems 8–9, a function and a value for x0 are
all equal to 0.
given. Apply Newton’s method to find x1 and x2 .
(b) Verify that if x0 = 12 , 14 , 18 and, in general, 21n ,
8. f ( x ) = x3 + x − 1 and x0 = 1
then the n-th iterate of x0 is 0 (and so are all
9. f ( x ) = x4 − x3 − 5 and x0 = 2 iterates beyond the n-th iterate.)
In Problems 10–11, use Newton’s method to find
20. When Newton’s method is applied to the func-
a root, accurate to 2 decimal places, of the given
tion f ( x ) = x2 + 1, most starting values for x0
functions using the given starting points.
lead to chaotic behavior for xn . Find a value for
10. f ( x ) = x3 − 7 and x0 = 2 x0 so that the iterates alternate: x1 = − x0 and
11. f ( x ) = x − cos( x ) and x0 = 0.7 x2 = − x1 = x0 .
194 contemporary calculus
21. The function f ( x ) defined as: 22. (a) After many iterations (50 is fine) what hap-
( pens when you apply Newton’s method start-
2x if 0 ≤ x < 21
f (x) = ing with x0 = 0.5 to:
2 − 2x if 21 ≤ x ≤ 1
i. f ( x ) = 2x (1 − x )
is called a “stretch and fold” function.
ii. f ( x ) = 3.3x (1 − x )
(a) Describe what f does to the points in the inter-
val [0, 1]. iii. f ( x ) = 3.83x (1 − x )
(b) Examine and describe the behavior of the iter- (b) What do you think happens to the iterates of
ates of 32 , 25 , 27 and 29 . f ( x ) = 3.7x (1 − x )? What actually happens?
(c) Examine and describe the behavior of the iter- (c) Repeat parts (a)–(b) with some other starting
ates of 0.10, 0.105 and 0.11. values x0 between 0 and 1 (0 < x0 < 1). Does
(d) Do the iterates of f lead to chaotic behavior? the starting value seem to effect the eventual
behavior of the iterates?
(The behavior of the iterates of f depends in a
strange way on the numerical value of the leading
coefficient. The behavior exhibited in part (b) is
an example of “chaos.”)
f ( x0 ) f (3) 2
x1 = x0 − ′
= 3− ′ = 3− = 2.8
f ( x0 ) f (3) 10
f (x ) f (2.8) 0.232
x2 = x1 − ′ 1 = 2.8 − ′ = 2.8 − ≈ 2.769948187
f ( x1 ) f (2.8) 7.72
f ( x2 )
x3 = x2 − ′ ≈ 2.769292663
f ( x2 )
4. The margin figure shows the first iteration of Newton’s Method for
x0 = 2, 3 and 5: If x0 = 2, the iterates approach the root at a; if
x0 = 3, they approach the root at c; and if x0 = 5, they approach the
root at a.
the derivative 195
1 2
5. f ( x ) = x 3 ⇒ f ′ ( x ) = 13 x − 3 . If x0 = 1, then:
f (1) 1
x1 = 1 − = 1 − 1 = 1 − 3 = −2
f ′ (1) 3
1
f (−2) (−2) 3 −2
x2 = −2 − ′ = −2 − 2 = −2 − 1 = 4
f (−2) 1 −
3 (−2)
3 3
1
f (4) (4) 3 4
x3 = 4 − ′ = 4− 2 = 4 − 1 = −8
f (4) 1 −
3 (4)
3 3
If f is differentiable at a, c is close to a
and y = L( x ) is the line tangent to f ( x ) at x = a
then L(c) is close to f (c).
Linear Approximation
Because this section uses tangent lines extensively, it is worthwhile to
recall how we find the equation of the line tangent to f ( x ) where x = a:
the tangent line goes through the point ( a, f ( a)) and has slope f ′ ( a) so,
using the point-slope form y − y0 = m( x − x0 ) for linear equations, we
have y − f ( a) = f ′ ( a) · ( x − a) ⇒ y = f ( a) + f ′ ( a) · ( x − a).
If f is differentiable at x = a
then an equation of the line L tangent to f at x = a is:
L( x ) = f ( a) + f ′ ( a) · ( x − a)
1
L ( x ) = f (9) + f ′ (9) · ( x − 9) = 3 + ( x − 9)
6
If x is close to 9, then the value of L( x ) should be a good approximation
√
of the value of x. The number 9.1 is close to 9 so 9.1 = f (9.1) ≈
√
L(9.1) = 3 + 16 (9.1 − 9) ≈ 3.016666. Similarly, 8.88 = f (8.88) ≈
√
L(8.88) = 3 + 16 (8.88 − 9) = 2.98. In fact, 9.1 ≈ 3.016621, so our
√
estimate using L(9.1) is within 0.000045 of the exact answer; 8.88 ≈
2.979933 (accurate to 6 decimal places) and our estimate is within
0.00007 of the exact answer. ◀
the derivative 197
If f is differentiable at a and L( x ) = f ( a) + f ′ ( a) · ( x − a)
then (geometrically) the graph of L( x ) is close to the graph of
f ( x ) when x is close to a
and (algebraically) the values of the L( x ) approximate the
values of f ( x ) when x is close to a:
f ( x ) ≈ L( x ) = f ( a) + f ′ ( a) · ( x − a)
You can use your calculator to verify that this approximation is within
0.0052 of the exact value of e0.1 . ◀
198 contemporary calculus
Practice 4. Use the linear approximation process and the values in the
table below to estimate the value of f when x = 1.1, 1.23 and 1.38.
x f (x) f ′ (x)
1.0 0.7854 0.5
1.2 0.8761 0.4098
1.4 0.9505 0.3378
Definitions:
error of f ∆f
The Relative Error of f is =
value of f f
∆f
The Percentage Error of f is · 100%.
f
The Differential of f
As shown in the margin, the change in value of the function f near
the point ( x, f ( x )) is ∆ f = f ( x + ∆x ) − f ( x ) and the change along
the tangent line is f ′ ( x ) · ∆x. If ∆x is small, then we have used the
approximation that ∆ f ≈ f ′ ( x ) · ∆x. This leads to the definition of a
new quantity, d f , called the differential of f .
Definition:
Solution. d f = f ′ ( x ) · dx = (3x2 − 7) dx, dg = g′ ( x ) · dx = cos( x ) dx, While we will do very little with differen-
and dh = h′ (r ) dr = 2πr dr. ◀ tials for a while, we will use them exten-
√ sively in integral calculus.
Practice 9. Determine the differentials of f ( x ) = ln( x ), u = 1 − 3x
and r = 3 cos(θ ).
pendant as 10.64 grams with an error less than 0.3 grams (10.64 ± 0.3
grams) and another scale gives the weight of the same pendant as 10.53
grams with an error less than 0.02 grams (10.53 ± 0.02 grams), then we
can have more faith in the second approximate weight because of the
smaller “error” guarantee. Before finding a guarantee on the size of the
error of the linear approximation process, we will check how well the
linear approximation process approximates values of some functions
we can compute exactly. Then we will prove one bound on the possible
error and state a somewhat stronger bound.
∆x f (2 + ∆x ) L(2 + ∆x ) | f (2 + ∆x ) − L(2 + ∆x )|
0.1 4.41 4.4 0.01
0.05 4.2025 4.2 0.0025
0.01 4.0401 4.04 0.0001
0.001 4.004001 4.004 0.000001
Cutting the value of ∆x in half makes the error one fourth as large.
Cutting ∆x to 101 1
as large makes the error 100 as large. In general:
| f (2 + ∆x ) − L(2 + ∆x )| = 22 + 4 · ∆x + (∆x )2 − 22 + 4 · ∆x
= (∆x )2
This function and error also have a nice geometric interpretation (see
margin): f ( x ) = x2 is the area of a square of side x so f (2 + ∆x ) is
the area of a square of side 2 + ∆x, and that area is the sum of the
pieces with areas 22 , 2 · ∆x, 2 · ∆x and (∆x )2 . The linear approximation
L(2 + ∆x ) = 22 + 4 · ∆x to the area of the square includes the three
largest pieces, 22 , 2 · ∆x and 2 · ∆x, but omits the small square with area
(∆x )2 so the approximation is in error by the amount (∆x )2 . ◀
Theorem:
If f ( x ) is differentiable at a
and L( a + ∆x ) = f ( a) + f ′ ( a) · ∆x
then lim | f ( a + ∆x ) − L( a + ∆x )| = 0
∆x →0
| f ( a + ∆x ) − L( a + ∆x )|
and lim = 0.
∆x →0 ∆x
Proof. First rewrite the quantity inside the absolute value as:
f ( a + ∆x ) − L( a + ∆x ) = f ( a + ∆x ) − f ( a) − f ′ ( a) · ∆x
f ( a + ∆x ) − f ( a)
= − f ′ ( a) · ∆x
∆x
f ( a + ∆x ) − f ( a)
But f is differentiable at x = a so lim = f ′ ( a ),
∆x →0 ∆x
f ( a + ∆x ) − f ( a)
which we can rewrite as lim − f ′ ( a) = 0. Thus:
∆x →0 ∆x
f ( a + ∆x ) − f ( a)
lim [ f ( a + ∆x ) − L( a + ∆x )] = lim − f ′ ( a) · lim ∆x = 0 · 0 = 0
∆x →0 ∆x →0 ∆x ∆x →0
In the next chapter we will be able to prove that the error of the
linear approximation process is in fact proportional to (∆x )2 . For now,
we just state the result.
Theorem:
If f is differentiable at a
and | f ′′ ( x )| ≤ M for all x between a and a + ∆x
then |“error”| = | f ( a + ∆x ) − L( a + ∆x )| ≤ 21 M · (∆x )2 .
2.8 Problems
1. The figure in the margin shows the tangent line to a function g at
the point (2, 2) and a line segment ∆x units long.
2. In the figure below, is the linear approximation 8. The height of a triangle is exactly 4 inches, and the
L( a + ∆x ) larger or smaller than the value of base is measured to be 7±0.5 inches (see figure
f ( a + ∆x ) when: below). Shade a part of the figure that represents
the “error” in the calculation of the area of the
(a) a = 1 and ∆x = 0.2?
triangle.
(b) a = 2 and ∆x = −0.1?
(c) a = 3 and ∆x = 0.1?
(d) a = 4 and ∆x = 0.2?
(e) a = 4 and ∆x = −0.2?
In Problems 3–4, find a formula for the linear func- 9. A rectangle has one side on the x-axis, one side on
tion L( x ) tangent to the given function f at the given the y-axis and a corner on the graph of y = x2 + 1
point ( a, f ( a)). Use the value L( a + ∆x ) to approxi- (see figure below).
mate the value of f ( a + ∆x ). (a) Use Linear Approximation of the area formula
√ to estimate the increase in the area of the rect-
3. (a) f ( x ) = x, a = 4, ∆x = 0.2
√ angle if the base grows from 2 to 2.3 inches.
(b) f ( x ) = x, a = 81, ∆x = −1
(b) Calculate exactly the increase in the area of
(c) f ( x ) = sin( x ), a = 0, ∆x = 0.3 the rectangle as the base grows from 2 to 2.3
4. (a) f ( x ) = ln( x ), a = 1, ∆x = 0.3 inches.
(b) f ( x ) = e x , a = 0, ∆x = 0.1
(c) f ( x ) = x5 , a = 1, ∆x = 0.03
5. Show that (1 + x )n ≈ 1 + nx if x is “close to” 0.
(Suggestion: Put f ( x ) = (1 + x )n and a = 0 and
then replace ∆x with x.)
π
10. You know that you can measure the diameter of (a) How far away will the ball land if θ = 4 and
a circle to within 0.3 cm of the exact value. v = 80 feet/second?
(a) How large is the “error” in the calculated area (b) Which will result in a greater change in the
of a circle with a measured diameter of 7.4 cm? distance: a 5% error in the angle θ or a 5%
(b) How large is the “error” with a measured di- error in the initial velocity v?
ameter of 13.6 cm? 17. For the function graphed below, estimate the
(c) How large is the percentage error in the calcu- value of d f when
lated area with a measured diameter of d?
(a) x = 2 and dx = 1
11. You are minting gold coins that must have a vol-
(b) x = 4 and dx = −1
ume of 47.3±0.1 cm3 . If you can manufacture the
(c) x = 3 and dx = 2
coins to be exactly 2 cm high, how much variation
can you allow for the radius?
12. If F is the fraction of carbon-14 remaining in
a plant sample Y years after it died, then Y =
5700 ln(0.5) · ln( F ).
(a) Estimate the age of a plant sample in which
83±2% (0.83 ± 0.02) of the carbon-14 remains.
(b) Estimate the age of a plant sample in which
13±2% (0.13 ± 0.02) of the carbon-14 remains.
18. For the function graphed below, estimate the
13. Your company is making dice (cubes) and speci-
value of d f when
fications require that their volume be 87±2 cm3 .
How long should each side be and how much (a) x = 1 and dx = 2
variation can be allowed? (b) x = 2 and dx = −1
14. If the specifications require a cube with a surface (c) x = 3 and dx = 1
area of 43±0.2 cm2 , how long should each side be
and how much variation can be allowed in order
to meet the specifications?
15. The period P, in seconds, for a pendulum to make
one complete swing
s and return to the release
L
point is P = 2π where L is the length of the
g
pendulum in feet and g is 32 feet/sec2 .
(a) If L = 2 feet, what is the period?
(b) If P = 1 second, how long is the pendulum? 19. Calculate the differentials d f for the following
(c) Estimate the change in P if L increases from 2 functions:
feet to 2.1 feet.
(a) f ( x ) = x2 − 3x
(d) The length of a 24-foot pendulum is increasing
(b) f ( x ) = e x
2 inches per hour. Is the period getting longer
or shorter? How fast is the period changing? (c) f ( x ) = sin(5x )
16. A ball thrown at an angle θ (with the horizontal) (d) f ( x ) = x3 + 2x with x = 1 and dx = 0.2
2
with an initial velocity v will land vg · sin(2θ ) feet (e) f ( x ) = ln( x ) with x = e and dx = −0.1
√
from the thrower. (f) f ( x ) = 2x + 5 with x = 22 and dx = 3.
206 contemporary calculus
∆ f ≈ f ′ ( x ) · ∆x = 3x2 · ∆x
∆ f ≈ f ′ ( x ) · ∆x = 3000 sec2 ( x ) · ∆x
= 3000 sec2 (0.75049) · (0.01745) = 97.9 m
10
10 ≈ 10000 · ∆θ ⇒ ∆θ ≈ = 0.001 (radians) ≈ 0.057◦
10000
∆A 12r · ∆r 2∆r
· 100% = 2
· 100% = · 100% < 200(0.03)% = 6%
A 6r r
9. Computing differentials:
1
d f = f ′ ( x ) · dx =
dx
x
du −3
du = · dx = √ dx
dx 2 1 − 3x
dr
dr = dθ = −3 sin(θ ) dθ
dθ
∆x f (4 + ∆x ) L(4 + ∆x ) | f (4 + ∆x ) − L(4 + ∆x )|
0.1 68.921 68.8 0.121
0.05 66.430125 66.4 0.030125
0.01 64.481201 64.48 0.001201
0.001 64.048012 64.048 0.000012
Implicit Differentiation
In our work up until now, the functions we needed to differentiate were
either given explicitly as a function of x, such as y = f ( x ) = x2 + sin( x ),
or it was fairly straightforward to find an explicit formula, such as
√3
solving y3 − 3x2 = 5 to get y = 5 + 3x2 . Sometimes, however, we will
have an equation relating x and y that is either difficult or impossible
to solve explicitly for y, such as y2 + 2y = sin( x ) + 4 (difficult) or
y + sin(y) = x3 − x (impossible). In each case, we can still find y′ =
f ′ ( x ) by using implicit differentiation.
The key idea behind implicit differentiation is to assume that y is a
function of x even if we cannot explicitly solve for y. This assumption
does not require any work, but we need to be very careful to treat y
as a function when we differentiate and to use the Chain Rule or the
Power Rule for Functions.
Example 1. Assume y is a function of x and compute each derivative:
d 3 2
(a) D(y3 ) (b) x y (c) (sin(y))′
dx
Solution. (a) We need the Power Rule for Functions because y is a
function of x:
D(y3 ) = 3y2 · D(y) = 3y2 · y′
(b) We need to use the Product Rule and the Chain Rule:
d 3 2 d 2 d 3 dy
x y = x3 · y + y2 · x = x3 · 2y · + y2 · 3x2
dx dx dx dx
(c) We just need to remember that D(sin(u)) = cos(u) and then use
the Chain Rule: (sin(y))′ = cos(y) · y′ . ◀
Implicit Differentiation:
Solution. The line goes through the point (1, 2) so we need to find the
slope there. Differentiating each side of the equation, we get:
D x2 + 2xy + y2 + 3x − 7y + 2 = D(0)
which yields:
2x + 2x · y′ + 2y + 2y · y′ + 3 − 7y′ = 0
⇒ (2x + 2y − 7)y′ = −2x − 2y − 3
−2x − 2y − 3
⇒ y′ =
2x + 2y − 7
−2 − 4 − 3
so the slope at (1, 2) is m = y′ = = 9. Finally, an equation
2+4−7
for the line is y − 2 = 9( x − 1) so y = 9x − 7. ◀
Practice 4. Find the points where the parabola graphed above crosses
the y-axis, and find the slopes of the tangent lines at those points.
Implicit differentiation provides an alternate method for differenti-
ating equations that can be solved explicitly for the function we want,
and it is the only method for finding the derivative of a function that
we cannot describe explicitly.
Logarithmic Differentiation
f ′ (x)
In Section 2.5 we saw that D (ln( f ( x ))) = . If we simply multiply
f (x)
′
each side by f ( x ), we have: f ( x ) = f ( x ) · D (ln( f ( x ))). When the
logarithm of a function is simpler than the function itself, it is often
easier to differentiate the logarithm of f than to differentiate f itself.
the derivative 211
Logarithmic Differentiation:
f ′ ( x ) = f ( x ) · D (ln( f ( x )))
f ( x ) = x2 f ( x ) = 2x
ln ( f ( x )) = ln( x2 ) = 2 · ln( x ) ln ( f ( x )) = ln(2x ) = x · ln(2)
D (ln ( f ( x ))) = D (2 · ln( x )) = 2x D (ln ( f ( x ))) = D ( x · ln(2)) = ln(2)
f ′ ( x ) = f ( x ) · D (ln ( f ( x ))) = x2 · 2
x = 2x f ′ ( x ) = f ( x ) · D (ln ( f ( x ))) = 2x · ln(2)
so:
Then:
f ′ ( x ) = f ( x ) · D (ln( f ( x )))
15 cos(2x )
= (3x + 7)5 sin(2x ) +2·
3x + 7 sin(2x )
= 15(3x + 7)4 sin(2x ) + 2(3x + 7)5 cos(2x )
ln ( f ( x )) = ln ( x x ) = x · ln( x )
so:
2.9 Problems
dy
In Problems 1–10 find dx in two ways: (a) by differ- x2 y2
5. + = 1, point: (0, 4)
entiating implicitly and (b) by explicitly solving for 9 16
dy
y and then differentiating. Then find the value of dx x2 y2
6. + = 1, point: (3, 0)
at the given point using your results from both the 9 16
implicit and the explicit differentiation. 7. ln(y) + 3x − 7 = 0, point: (2, e)
1. x2 + y2 = 100, point: (6, 8)
8. x2 − y2 = 16, point: (5, 3)
2. x2 + 5y2 = 45, point: (5, 2)
9. x2 − y2 = 16, point: (5, −3)
3. x2 − 3xy + 7y = 5, point: (2, 1)
√ √
4. x + y = 5, point: (4, 9) 10. y2 + 7x3 − 3x = 8, point: (1, 2)
the derivative 213
dy
In Problems 15–22 , find dx using implicit differenti-
ation and then find the slope of the line tangent to
the graph of the equation at the given point.
15. y3 − 5y = 5x2 + 7, point: (1, 3)
16. y2 − 5xy + x2 + 21 = 0, point: (2, 5)
17. y2 + sin(y) = 2x − 6, point: (3, 0)
18. y + 2x2 y3 = 4x + 7, point: (3, 1)
19. ey + sin(y) = x2 − 3, point: (2, 0)
214 contemporary calculus
Problems 29–31 use the figure from Problems 23–24. x f (x) ln ( f ( x )) D (ln ( f ( x ))) f ′ (x)
29. Find the coordinates of point A where the tangent 1 5 1.6 −1
49.
line to the ellipse is horizontal. 2 2 0.7 0
30. Find the coordinates of point B where the tangent 3 7 1.9 2
line to the ellipse is vertical.
x g( x ) ln ( g( x )) D (ln ( g( x ))) g′ ( x )
31. Find the coordinates of points C and D.
dy 50. 2 1.4 0.3 1.2
In 32–40, find dx in two ways: (a) by using the
3 3.3 1.2 0.6
“usual” differentiation patterns and (b) by using log-
7 13.6 2.6 0.2
arithmic differentiation.
Problems 51–55 illustrate how logarithmic differen-
32. y = x · sin(3x ) 33. y = ( x2 + 5)7 ( x 3 − 1)4 tiation can be used to verify some differentiation
patterns we already know (51–52, 54) and to derive
sin(3x − 1) 35. y = x5 · (3x + 2)4 some new patterns (53, 55). Assume that all of the
34. y =
x+7 functions are differentiable and that the function
36. y = 7x 37. y = esin( x) combinations are defined.
47. 1 1 0.0 1.2 (c) Now let y = x q where p and q are integers so
2 9 2.2 1.8 that yq = x p . Use implicit differentiation to
3 64 4.2 2.1 show that the Power Rule holds for all rational
exponents. (We still have not considered the
x g( x ) ln ( g( x )) D (ln ( g( x ))) g′ ( x ) case where y = x a with a an irrational num-
1 5 1.6 0.6 ber, because we haven’t actually defined what
48.
2 10 2.3 0.7 x a means for a irrational. We will take care of
3 20 3.0 0.8 that — and the extension of the Power Rule to
all real exponents — in Chapter 7.)
the derivative 215
1 2 − 2 1 2 − 2
3 3
2. Explicitly: y′ = 3x + 15 D 3x2 + 15 = 3x + 15 (6x ).
3 3
2 2
= 13 3(2)2 + 15 3 (6 · 2) = 4 (27)− 3 = 49 .
When ( x, y) =(2, 3), y′
√ set x = 0 and
4. To find where the parabola crosses the y-axis, we can
7± (−7)2 −4(1)(2)
solve for the values of y: y2 − 7y + 2 = 0 ⇒ y = 2(1)
=
√
7± 41
2 ≈ 0.3 and 6.7. The parabola crosses the y-axis (approximately)
at the points (0, 0.3) and (0, 6.7). From Example 4, we know that
−2x − 2y − 3
y′ = , so at the point (0, 0.3), the slope is approxi-
2x + 2y − 7
0 − 0.6 − 3
mately ≈ 0.56, and at the point (0, 6.7), the slope is
0 + 0.6 − 7
0 − 13.4 − 3
approximately ≈ −2.56.
0 + 13.4 − 7
5. Applying the formula f ′ ( x ) = f ( x ) · D (ln ( f ( x ))) to the function
f ( x ) = (2x + 1)3 (3x2 − 4)7 ( x + 7)4 , we have:
so:
3 7 4
D (ln ( f ( x ))) = (2) + 2 (6x ) + (1)
2x + 1 3x − 4 x+7
and thus:
6 42x 4
f ′ ( x ) = f ( x ) · D (ln ( f ( x ))) = (2x + 1)3 (3x2 − 4)7 ( x + 7)4 · + +
2x + 1 3x2 − 4 x + 7
so:
1
D (ln ( f ( x ))) = D (sin( x ) · ln( x )) = sin( x ) · D (ln( x )) + ln( x ) · D(sin( x )) = sin( x ) · + ln( x ) · cos( x )
x
and thus:
sin( x )
f ′ ( x ) = f ( x ) · D (ln ( f ( x ))) = xsin( x) · + ln( x ) · cos( x )
x
3
Derivatives and Graphs
A Little Terminology
Before we examine how calculus can help us find maximums and
minimums, we need to carefully define these concepts.
Definitions:
Definition:
See the margin figure for graphical examples of local and global
extremes of a function.
derivatives and graphs 219
You should notice that every global extreme is also a local extreme,
but there are local extremes that are not global extremes. If h( x ) is the
height of the earth above sea level at location x, then the global max-
imum of h is h(summit of Mt. Everest) = 29,028 feet. The local maxi-
mum of h for the United States is h(summit of Mt. McKinley) = 20,320
feet. The local minimum of h for the United States is h(Death Valley) =
-282 feet.
Theorem:
If f ′ ( a) > 0 or f ′ ( a) < 0
then f ( a) is not a local maximum or minimum.
f ( a + ∆x ) − f ( a)
f ′ ( a) = lim
∆x →0 ∆x
f ( a + ∆x ) − f ( a)
so f ′ ( a) = lim > 0. This means that the right and
∆x →0 ∆x
f ( a + ∆x ) − f ( a)
left limits are both positive: f ′ ( a) = lim > 0 and
∆x →0 + ∆x
f ( a + ∆x ) − f ( a)
f ′ ( a) = lim > 0.
∆x →0 − ∆x
Considering the right limit, we know that if we restrict ∆x > 0 to
f ( a + ∆x ) − f ( a)
be sufficiently small, we can guarantee that > 0 so,
∆x
multiplying each side of this last inequality by the positive number ∆x,
we have f ( a + ∆x ) − f ( a) > 0 ⇒ f ( a + ∆x ) > f ( a) for all sufficiently
small values of ∆x > 0, so any open interval containing x = a will also
contain values of x with f ( x ) > f ( a). This tell us that f ( a) is not a
maximum.
Considering the left limit, we know that if we restrict ∆x < 0 to
f ( a + ∆x ) − f ( a)
be sufficiently small, we can guarantee that > 0 so,
∆x
multiplying each side of this last inequality by the negative number ∆x,
we have f ( a + ∆x ) − f ( a) < 0 ⇒ f ( a + ∆x ) < f ( a) for all sufficiently
small values of ∆x < 0, so any open interval containing x = a will also
contain values of x with f ( x ) < f ( a). This tell us that f ( a) is not a
minimum.
The argument for the “ f ′ ( a) < 0” case is similar.
220 contemporary calculus
Theorem:
If f is defined on an open interval
and f ( a) is a local extreme of f
then either f ′ ( a) = 0 or f is not differentiable at a.
so f ′ ( x ) = 0 only at x = 1 and x = 3.
The only possible locations of local extremes of f are at x = 1 and
x = 3. We don’t know yet whether f (1) or f (3) is a local extreme of
f , but we can be certain that no other point is a local extreme. The
graph of f (see margin) shows that (1, f (1)) = (1, 6) appears to be a
local maximum and (3, f (3)) = (3, 2) appears to be a local minimum.
This function does not have a global maximum or minimum. ◀
If f ′ ( a) = 0 or f is not differentiable at a
then the point ( a, f ( a)) is a candidate to be a local extreme
but may not actually be a local extreme.
Endpoint Extremes
So far we have discussed finding extreme values of functions over the
entire real number line or on an open interval, but in practice we may
need to find the extreme of a function over some closed interval [c, d].
If an extreme value of f occurs at x = a between c and d (c < a < d)
then the previous reasoning and results still apply: either f ′ ( a) = 0 or
f is not differentiable at a. On a closed interval, however, there is one
more possibility: an extreme can occur at an endpoint of the closed
interval (see margin): at x = c or x = d.
We can extend our definition of a local extreme at x = a (which
requires f ( a) ≥ f ( x ) [or f ( a) ≤ f ( x )] for all x in some open interval
containing a) to include x = a being the endpoint of a closed interval:
f ( a) ≥ f ( x ) [or f ( a) ≤ f ( x )] for all x in an interval of the form [ a, a + h)
(for left endpoints) or ( a − h, a] (for right endpoints), where h > 0 is a
number small enough to guarantee the “half-open” interval is in the
domain of f ( x ). Using this extended definition, the function in the
margin has a local maximum (which is also a global maximum) at x = c
and a local minimum (also a global minimum) at x = d.
222 contemporary calculus
x 1 x 1 x2 1
√ − =0 ⇒ √ = ⇒ 2
=
3 64 + x2 5 3 64 + x 2 5 576 + 9x 25
2
⇒ 16x = 576 ⇒ x = ±6
but only x = 6 is in the interval [0, 10]. Evaluating f at this point gives
f (6) ≈ 4.13.
We can evaluate the formula for f ′ ( x ) for any value of x, so the
derivative is always defined.
derivatives and graphs 223
Finally, the interval [0, 10] has two endpoints, x = 0 and x = 10, and
f (0) ≈ 4.67 while f (10) ≈ 4.27.
The maximum of f on [0, 10] must occur at one of the points (0, 4.67),
(6, 4.13) and (10, 4.27), and the minimum must occur at one of these
three points as well.
The maximum value of f is 4.67 at x = 0, and the minimum value
of f is 4.13 at x = 6. ◀
Critical Numbers
The points at which a function might have an extreme value are called
critical numbers.
Definitions: A critical number for a function f is a value x = a
in the domain of f so that:
• f ′ ( a) = 0 or
• f is not differentiable at a or
With the previous function, the domain was so large that we could
always make the function output larger or smaller than any given value
by choosing an appropriate input x. The next example shows that we
can encounter the same difficulty even on a “small” interval.
1
Example 6. Show that f ( x ) = does not have a maximum or minimum
x
on the interval (0, 1).
The proof of this theorem is difficult, so we omit it. The margin figure
illustrates some of the possibilities for continuous and discontinuous
functions on open and closed intervals.
The Extreme Value Theorem guarantees that certain functions (con-
tinuous ones) on certain intervals (closed ones) must have maximums
and minimums. Other functions on other intervals may or may not
have maximums and minimums.
derivatives and graphs 225
3.1 Problems
1. Label all of the local maximums and minimums 23. Sketch the graph of a continuous function f with:
of the function in the figure below. Also label all (a) f (1) = 3, f ′ (1) = 0 and the point (1, 3) a rela-
of the critical points. tive maximum of f .
(b) f (2) = 1, f ′ (2) = 0 and the point (2, 1) a rela-
tive minimum of f .
(c) f (3) = 5, f is not differentiable at x = 3, and
the point (3, 5) a relative maximum of f .
(d) f (4) = 7, f is not differentiable at x = 4, and
the point (4, 7) a relative minimum of f .
(e) f (5) = 4, f ′ (5) = 0 and the point (5, 4) not a
2. Label the local extremes and critical points of the relative minimum or maximum of f .
function graphed below.
(f) f (6) = 3, f not differentiable at 6, and (6, 3)
not a relative minimum or maximum of f .
39. Find the coordinates of the point in the first quad- 42. Find the radius and height of the cylinder that
rant on the circle x2 + y2 = 1 so that the rectangle has the largest volume (V = πr2 h) if the sum of
in the figure below has the largest possible area. the radius and height is 9.
41. Find the value for x so the box shown below has: (c) f ′ ( x ) > 0 for x < 1 and f ′ ( x ) < 0 for x > 1?
(a) the largest possible volume. (d) f ′ ( x ) > 0 for x < 1 and f ′ ( x ) > 0 for x > 1?
(b) The smallest possible volume.
46. Suppose f (2) = 3 and f is continuous but not
differentiable at x = 2. What can we conclude
about the point (2, 3) if:
47. The figure below shows the graph of f ′ ( x ), which 52. Imagine the graph of f ( x ) = x2 . Does f have a
is continuous on (0, 12) except at x = 8. maximum value for x in the given interval?
(a) Which values of x are critical points of f ( x )?
(b) At which values of x does f attain a local max- (a) [−2, 3] (b) [−2, 3) (c) (−2, 3]
imum?
(c) At which values of x does f attain a local min- (d) [−2, 1) (e) (−2, 1]
imum?
53. Imagine the graph of f ( x ) = x2 . Does f have a
minimum value for x in the interval I?
4. This is the same function used in Example 4, but now the interval is
[0, 5] instead of [0, 10]. See the Example for the calculations.
Critical points:
• endpoints: x = 0 and x = 5
• f is differentiable for all 0 < x < 5: none
• f ′ ( x ) = 0: none in [0, 5]
If you averaged 30 miles per hour during a trip, then at some instant
during the trip you were traveling exactly 30 miles per hour.
That relatively obvious statement is the Mean Value Theorem as it
applies to a particular trip. It may seem strange that such a simple
statement would be important or useful to anyone, but the Mean Value
Theorem is important and some of its consequences are very useful in
a variety of areas. Many of the results in the rest of this chapter depend
on the Mean Value Theorem, and one of the corollaries of the Mean
Value Theorem will be used every time we calculate an “integral” in
later chapters. A truly delightful aspect of mathematics is that an idea
as simple and obvious as the Mean Value Theorem can be so powerful.
Before we state and prove the Mean Value Theorem and examine
some of its consequences, we will consider a simplified version called
Rolle’s Theorem.
Rolle’s Theorem
Pick any two points on the x-axis and think about all of the differ-
entiable functions that pass through those two points. Because our
functions are differentiable, they must be continuous and their graphs
cannot have any holes or breaks. Also, since these functions are dif-
ferentiable, their derivatives are defined everywhere between our two
points and their graphs can not have any “corners” or vertical tangents.
The graphs of the functions in the margin figure can still have all
sorts of shapes, and it may seem unlikely that they have any common
properties other than the ones we have stated, but Michel Rolle (1652–
1719) found one. He noticed that every one of these functions has one
or more points where the tangent line is horizontal (see margin), and
this result is named after him.
Rolle’s Theorem:
If f ( a) = f (b)
and f ( x ) is continuous for a ≤ x ≤ b
and differentiable for a < x < b
then there is at least one number c between a and b so that
f ′ (c) = 0.
Practice 1. Find the value(s) of c for Rolle’s Theorem for the functions
graphed below.
of f do not have to be at the same height, so the line through the two
ends does not have to have a slope of zero.
f (b) − f ( a)
f ′ (c) =
b−a
Proof. The proof of the Mean Value Theorem uses a tactic common in
mathematics: introduce a new function that satisfies the hypotheses of
some theorem we already know and then use the conclusion of that
previously proven theorem. For the Mean Value Theorem we introduce
a new function, h( x ), which satisfies the hypotheses of Rolle’s Theorem.
Then we can be certain that the conclusion of Rolle’s Theorem is true for
h( x ) and the Mean Value Theorem for f will follow from the conclusion
of Rolle’s Theorem for h.
First, let g( x ) be the linear function passing through the points
( a, f ( a)) and (b, f (b)) of the graph of f . The function g goes through
the point ( a, f ( a)) so g( a) = f ( a). Similarly, g(b) = f (b). The slope of
f (b) − f ( a) f (b) − f ( a)
the linear function g( x ) is so g′ ( x ) = for all x
b−a b−a
between a and b, and g is continuous and differentiable. (The formula
f (b)− f ( a)
for g is g( x ) = f ( a) + m( x − a) with m = b− a .)
Define h( x ) = f ( x ) − g( x ) for a ≤ x ≤ b (see margin). The function
h satisfies the hypotheses of Rolle’s theorem:
Graphically, the Mean Value Theorem says that there is at least one
point c where the slope of the tangent line, f ′ (c), equals the slope of
the line through the end points of the graph segment, ( a, f ( a)) and
(b, f (b)). The margin figure shows the locations of the parallel tangent
lines for several functions and intervals.
The Mean Value Theorem also has a very natural interpretation
if f ( x ) represents the position of an object at time x: f ′ ( x ) repre-
f (b) − f ( a)
sents the velocity of the object at the instant x and =
b−a
change in position
represents the average (mean) velocity of the ob-
change in time
ject during the time interval from time a to time b. The Mean Value
Theorem says that there is a time c (between a and b) when the instan-
taneous velocity, f ′ (c), is equal to the average velocity for the entire
f (b) − f ( a)
trip, . If your average velocity during a trip is 30 miles per
b−a
hour, then at some instant during the trip you were traveling exactly 30
miles per hour.
Corollary 1:
f (b) − f ( a)
and thus f (b) − f ( a) = 0 ⇒ f (b) = f ( a). But a and b were
b−a
two arbitrary points in I, so the value of f ( x ) is the same for any two
values of x in I, and f is a constant function on the interval I.
Corollary 2:
Proof. This corollary involves two functions instead of just one, but
we can imitate the proof of the Mean Value Theorem and introduce
a new function h( x ) = f ( x ) − g( x ). The function h is differentiable
and h′ ( x ) = f ′ ( x ) − g′ ( x ) = 0 for all x in I so, by Corollary 1, h( x ) is a
constant function and K = h( x ) = f ( x ) − g( x ) for all x in the interval.
Thus f ( x ) = g( x ) + K.
3.2 Problems
1. In the figure below, find the number(s) “c” that 9. If I take off in an airplane, fly around for a while
Rolle’s Theorem promises (guarantees). and land at the same place I took off from, then
my starting and stopping heights are the same
but the airplane is always moving. Why doesn’t
this violate Rolle’s theorem, which says there is
an instant when my velocity is 0?
10. Prove the following corollary of Rolle’s Theorem:
If P( x ) is a polynomial, then between any two
roots of P there is a root of P′ .
For Problems 2–4, verify that the hypotheses of
Rolle’s Theorem are satisfied for each of the func- 11. Use the corollary in Problem 10 to justify the con-
tions on the given intervals, and find the value of clusion that the only root of f ( x ) = x3 + 5x − 18
the number(s) “c” that Rolle’s Theorem promises. is 2. (Suggestion: What could you conclude about
f ′ if f had another root?)
2. (a) f ( x ) = x2 on [−2, 2]
(b) f ( x ) = x2 − 5x + 8 on [0, 5] 12. In the figure below, find the location(s) of the “c”
that the Mean Value Theorem promises.
3. (a) f ( x ) = sin( x ) on [0, π ]
(b) f ( x ) = sin( x ) on [π, 5π ]
4. (a) f ( x ) = x3 − x + 3 on [−1, 1]
(b) f ( x ) = x · cos( x ) on [0, π2 ]
16. For the quadratic functions in parts (a) and (b) of 24. Sketch the graphs of several members of the “fam-
Problem 13, the number c turned out to be the ily” of functions whose derivatives always equal
midpoint of the interval: c = a+2 b . 3. Give a formula that defines every function in
this family.
(a) For f ( x ) = 3x2 + x − 7 on [1, 3], show that
f (3) − f (1) 25. Sketch the graphs of several members of the “fam-
f ′ (2) = . ily” of functions whose derivatives always equal
3−1
(b) For f ( x ) = x2 − 5x + 3 on [2, 5], show that 3x2 . Give a formula that defines every function
7 f (5) − f (2) in this family.
f′ = .
2 5−2 26. At t seconds after takeoff, the upward velocity
2
(c) For f ( x ) =
Ax + Bx + C on [ a, b], show that of a helicopter was v(t) = 3t2 + 2t feet/second.
a+b f (b) − f ( a) Two seconds after takeoff, the helicopter was 80
f′ = .
2 b−a feet above sea level. Find a formula for the height
17. If f ( x ) = | x |, then f (−1) = 1 and f (3) = 3 but of the helicopter at every time t.
f (3) − f (−1) 1 27. Assume that a rocket is fired from the ground
f ′ ( x ) is never equal to = . Why
3 − (−1) 2 and has the upward velocity shown in the figure
doesn’t this violate the Mean Value Theorem?
below. Estimate the height of the rocket when
t = 1, 2 and 5 seconds.
In Problems 18–19, you are a traffic-court judge. In
each case, a driver has challenged a speeding ticket
and you need to decide if the ticket is appropriate.
29. Determine a formula for f ( x ) if you know: 33. Define A( x ) to be the area bounded by the t-axis,
f ′′ ( x ) = 6, f ′ (0) = 4 and f (0) = −5. the line y = 2t + 1 and a vertical line at t = x.
30. Determine a formula for g( x ) if you know: (a) Find a formula for A( x ).
g′′ ( x ) = 12x, g′ (1) = 9 and g(2) = 30. (b) Determine A′ ( x ).
31. Define A( x ) to be the area bounded by the t-axis,
the line y = 3 and a vertical line at t = x.
(a) Find a formula for A( x ).
(b) Determine A′ ( x ).
f (b) − f ( a) 36 − 4
m= = = 16
b−a 3−1
f ′ ( x ) = 10x − 4 so f ′ (c) = 10c − 4 = 16 ⇒ 10c = 20 ⇒ c = 2. The
graph of f showing the location of c appears below.
3. If two cars have the same velocities during an interval of time (so that
f ′ (t) = g′ (t) for t in I) then the cars are always a constant distance
apart during that time interval. (Note: “Same velocity” means same
speed and same direction. If two cars are traveling at the same
speed but in different directions, then the distance between them
changes and is not constant.)
238 contemporary calculus
This section examines some of the interplay between the shape of the
graph of a function f and the behavior of its derivative, f ′ . If we have a
graph of f , we will investigate what we can conclude about the values
of f ′ . And if we know values of f ′ , we will investigate what we can
conclude about the graph of f .
Proof. Most people find a picture such as the one in the margin to be
a convincing justification of this theorem: if the graph of f increases
near a point ( x, f ( x )), then the tangent line is also increasing, and the
slope of the tangent line is positive (or perhaps zero at a few places). A
more precise proof, however, requires that we use the definitions of the
derivative of f and of “increasing” (given above).
Case I: Assume that f is increasing on ( a, b). We know that f is
differentiable, so if x is any number in the interval ( a, b) then
f ( x + h) − f ( x )
f ′ ( x ) = lim
h →0 h
and this limit exists and is a finite value. If h is any small enough
positive number so that x + h is also in the interval ( a, b), then x <
x + h ⇒ f ( x ) < f ( x + h) (by the definition of “increasing”). We know
that the numerator, f ( x + h) − f ( x ), and the denominator, h, are both
positive, so the limiting value, f ′ ( x ), must be positive or zero: f ′ ( x ) ≥ 0.
Case II: Assume that f is decreasing on ( a, b). If x < x + h, then
f ( x ) > f ( x + h) (by the definition of “decreasing”). So the numerator The proof of this part is very similar to
of the limit, f ( x + h) − f ( x ), will be negative but the denominator, h, the “increasing” proof.
The next theorem is almost the converse of the First Shape Theorem
and explains the relationship between the values of the derivative and
the graph of a function from a different perspective. It says that if
we know something about the values of f ′ , then we can draw some
conclusions about the shape of the graph of f .
Proof. This theorem follows directly from the Mean Value Theorem,
and the last part is just a restatement of the First Corollary of the Mean
Value Theorem.
Case I: Assume that f ′ ( x ) > 0 for all x in I and pick any points a
and b in I with a < b. Then, by the Mean Value Theorem, there is a
f (b) − f ( a)
point c between a and b so that = f ′ (c) > 0 and we can
b−a
conclude that f (b) − f ( a) > 0, which means that f (b) > f ( a). Because
a < b ⇒ f ( a) < f (b), we know that f is increasing on I.
Case II: Assume that f ′ ( x ) < 0 for all x in I and pick any points
a and b in I with a < b. Then there is a point c between a and b so
f (b) − f ( a)
that = f ′ (c) < 0, and we can conclude that f (b) − f ( a) =
b−a
(b − a) f ′ (c) < 0 so f (b) < f ( a). Because a < b ⇒ f ( a) > f (b), we
know f is decreasing on I.
x −2 −1 0 1 2 3
f (x) 1 −1 −2 −1 0 2
f ′ (x) −1 0 1 2 −1 1
Example 5. Use the graph of f ′ in the margin to sketch the shape of the
graph of f . Why isn’t the graph of f ′ enough to completely determine
the graph of f ?
Practice 9. Find all extremes of f ( x ) = 3x2 − 12x + 7 and use the First
Derivative Test to classify them as maximums, minimums or neither.
3.3 Problems
In Problems 1–3, sketch the graph of the derivative of each function.
1. 2. 3.
244 contemporary calculus
Problems 4–6 show the graph of the height of a helicopter; sketch a graph of its upward velocity.
4. 5. 6.
7. In the figure below, match the graphs of the func- 8. Match the graphs showing the heights of rockets
tions with those of their derivatives. with those showing their velocities.
9. Use the Second Shape Theorem to show that 11. A student is working with a complicated function
f ( x ) = ln( x ) is monotonic increasing on the in- f and has shown that the derivative of f is always
terval (0, ∞). positive. A minute later the student also claims
10. Use the Second Shape Theorem to show that that f ( x ) = 2 when x = 1 and when x = π. With-
g( x ) = e x is monotonic increasing on the entire out checking the student’s work, how can you be
real number line. certain that it contains an error?
derivatives and graphs 245
12. The figure below shows the graph of the deriva- 13. The figure below shows the graph of the deriva-
tive of a continuous function f . tive of a continuous function g.
(a) List the critical numbers of f . (a) List the critical numbers of g.
(b) What values of x result in a local maximum? (b) What values of x result in a local maximum?
(c) What values of x result in a local minimum?
(c) What values of x result in a local minimum?
Problems 14–16 show the graphs of the upward velocities of three helicopters. Use the graphs to determine
when each helicopter was at a (relative) maximum or minimum height.
In 17–22, use information from the derivative of each 25. h( x ) = x3 + 9x − 10 has a root at x = 1. Without
function to help you graph the function. Find all graphing h, show that h has no other roots.
local maximums and minimums of each function.
26. Sketch the graphs of monotonic decreasing func-
17. f ( x ) = x3 − 3x2 − 9x − 5
tions that have exactly (a) no roots (b) one root
18. g( x ) = 2x3 − 15x2 + 6
and (c) two roots.
19. h( x ) = x4 − 8x2 + 3
20. s(t) = t + sin(t) 27. Each of the following statements is false. Give (or
2 sketch) a counterexample for each statement.
21. r (t) = 2
t +1
x2 + 3 (a) If f is increasing on an interval I, then f ′ ( x ) >
22. f ( x ) =
x 0 for all x in I.
23. f ( x ) = 2x + cos( x ) so f (0) = 1. Without graph-
(b) If f is increasing and differentiable on I, then
ing the function, you can be certain that f has
f ′ ( x ) > 0 for all x in I.
how many positive roots?
24. g( x ) = 2x − cos( x ) so g(0) = −1. Without graph- (c) If cars A and B always have the same speed,
ing the function, you can be certain that g has how then they will always be the same distance
many positive roots? apart.
246 contemporary calculus
28. (a) Find several different functions f that all have 30. Sketch functions with the given properties to help
the same derivative f ′ ( x ) = 2. determine whether each statement is true or false.
(b) Determine a function f with derivative (a) If f ′ (7) > 0 and f ′ ( x ) > 0 for all x near 7, then
f ′ ( x ) = 2 that also satisfies f (1) = 5. f (7) is a local maximum of f on [1, 7].
(c) Determine a function g with g′ ( x ) = 2 for (b) If g′ (7) < 0 and g′ ( x ) < 0 for all x near 7, then
which the graph of g goes through (2, 1). g(7) is a local minimum of g on [1, 7].
29. (a) Find several different functions h that all have (c) If h′ (1) > 0 and h′ ( x ) > 0 for all x near 1, then
the same derivative h′ ( x ) = 2x. h(1) is a local minimum of h on [1, 7].
(b) Determine a function f with derivative (d) If r ′ (1) < 0 and r ′ ( x ) < 0 for all x near 1, then
f ′ ( x ) = 2x that also satisfies f (3) = 20. r (1) is a local maximum of r on [1, 7].
(c) Determine a function g with g′ ( x ) = 2x for (e) If s′ (7) = 0, then s(7) is a local maximum of s
which the graph of g goes through (2, 7). on [1, 7].
x −2 −1 0 1 2 3
f (x) 1 −1 −2 −1 0 2
f ′ (x) −1 0 1 2 −1 1
6. f ′ ( x ) = 3x2 − 6x − 24 = 3( x − 4)( x + 2) so f ′ ( x ) = 0 if x = −2 or
x = 4.
7. The figure below left shows several possible graphs for g. Each has
the correct shape to give the graph of g′ . Notice that the graphs of g
are “parallel” (differ by a constant).
8. The figure above right shows the height graph for the balloon. The
balloon was highest at 4 p.m. and had a local minimum at 6 p.m.
9. f ′ ( x ) = 6x − 12 so f ′ ( x ) = 0 only if x = 2.
Concavity
Graphically, a function is concave up if its graph is curved with the
opening upward (see margin); similarly, a function is concave down if
its graph opens downward. The concavity of a function can be impor-
tant in applied problems and can even affect billion-dollar decisions.
An Epidemic: Suppose you, as an official at the CDC, must decide
whether current methods are effectively fighting the spread of a dis-
ease — or whether more drastic measures are required. In the margin
figure, f ( x ) represents the number of people infected with the disease
at time x in two different situations. In both cases the number of people
with the disease, f (now), and the rate at which new people are getting
sick, f ′ (now), are the same. The difference is the concavity of f , and
that difference might have a big effect on your decision. In (a), f is
concave down at “now,” and it appears that the current methods are
starting to bring the epidemic under control; in (b), f is concave up,
and it appears that the epidemic is growing out of control.
Usually it is easy to determine the concavity of a function by exam-
ining its graph, but we also need a definition that does not require a
graph of the function, a definition we can apply to a function described
by a formula alone.
f ( x ) > L( x ) = f ( a) + f ′ ( a)( x − a)
f ( x ) < L( x ) = f ( a) + f ′ ( a)( x − a)
derivatives and graphs 249
(c) f ′′ ( a) = 0 ⇒ no information
( f ( x ) may be concave up or concave down or neither at a)
Proof. (a) Assume that f ′′ ( x ) > 0 for all x in I, and let a be any point
in I. We want to show that f is concave up at a, so we need to prove
that the graph of f (see margin) is above the tangent line to f at a:
f ( x ) > L( x ) = f ( a) + f ′ ( a)( x − a) for x close to a. Assume that x
is in I and apply the Mean Value Theorem to f on the interval with
endpoints a and x: there is a number c between a and x so that
f ( x ) − f ( a)
f ′ (c) = ⇒ f ( x ) = f ( a) + f ′ (c)( x − a)
x−a
Practice 1. Use the graph of f in the lower margin figure to finish filling
in the table with “+” for positive, “−” for negative or “0.”
Inflection Points
Maximums and minimums typically occur at places where the second
derivative of a function is positive or negative, but the places where the
second derivative is 0 are also of interest.
Definition:
Practice 3. Which of the labeled points in the margin figure are inflec-
tion points?
and h′′ (positive number) < 0, so h changes concavity at (0, 0) and (0, 0)
√
is an inflection point of h( x ) = 3 x. ◀
1 1 1 1
−1 < − √ < − √ < 0 < √ < √ < 1
6 3 2 3 2 6
q
and that f ′′ (−1) = −270e−9 < 0 and f ′′ − √
1
= 12 2e > 0, we
3 2
observe that f is concave down to the left of x = − √1 and concave up
6
to the right of x = − √1 , so f does in fact have an inflection point at
6 q
x = − √1 . Likewise, f ′′ √ 1
= −12 2e < 0 and f ′′ (1) = 270e−9 > 0,
6 3 2
so f ′′ ( x ) switches sign at x = 0 and at x = √1 , and therefore f ( x )
6
changes concavity at those points as well.
We have now identified two local extrema of f and three inflection
points of f . Equally important, we have used calculus to show that these
five points of interest are the only places where extrema or inflection
points can occur. If we create a graph of f that includes these five points,
our graph is guaranteed to include all “interesting” features of the graph
of f . A window with −1 ≤ x ≤ 1 and −0.2 < y < 0.2 (because the
1
local extreme values are f ± √ ≈ ±0.14) should provide a graph
2 3
(see margin) that includes all five points of interest. ◀
Most problems in calculus textbooks are Even with calculus, we will typically need calculators or computers
set up to make solving these equations
relatively straightforward, but in general
to help solve the equations f ′ ( x ) = 0 and f ′′ ( x ) = 0 that we use to find
this will not be the case. critical numbers and candidates for inflection points.
3.4 Problems
In Problems 1–2, each statement describes a quan- 2. (a) “The child’s temperature is still rising, but
tity f (t) changing over time. For each statement, tell more slowly than it was a few hours ago.”
what f represents and whether the first and second (b) “The number of whales is decreasing, but at a
derivatives of f are positive or negative.
slower rate than last year.”
1. (a) “Unemployment rose again, but the rate of
(c) “The number of people with the flu is rising
increase is smaller than last month.”
and at a faster rate than last month.”
(b) “Our profits declined again, but at a slower
rate than last month.” 3. Sketch the graphs of functions that are defined
(c) “The population is still rising and at a faster and concave up everywhere and have exactly:
rate than last year.” (a) no roots. (b) 1 root. (c) 2 roots. (d) 3 roots.
derivatives and graphs 255
4. On which intervals is the function graphed below: 12. At which values of x labeled in the figure below
is the point ( x, g( x )) an inflection point?
(a) concave up? (b) concave down?
x f (x) f ′ (x) f ′′ ( x )
0
1
2
3
6. f ( x ) = 2x3 − 15x2 + 6; x = 0, 5
7. g( x ) = x3 − 3x2 − 9x + 7; x = −1, 3
8. h( x ) = x4 − 8x2 − 2; x = −2, 0, 2 15. Fill in the table with “+,” “−,”or “0” for the func-
3π
tion graphed below.
9. f ( x ) = sin5 ( x ); x = π
2, π, 2
1 x g( x ) g′ ( x ) g′′ ( x )
10. f ( x ) = x · ln( x ); x = e
0
11. At which values of x labeled in the figure below
1
is the point ( x, f ( x )) an inflection point?
2
3
256 contemporary calculus
16. Sketch functions f for x-values near 1 so that In Problems 19–36, locate all critical numbers, local
f (1) = 2 and: extrema and inflection points of the given function,
(a) f ′ (1) > 0, f ′′ (1) > 0 and use these results to sketch a graph of the func-
(b) f ′ (1) > 0, f ′′ (1) < 0 tion showing all points of interest.
(c) f ′ (1) < 0, f ′′ (1) > 0 19. f ( x ) = x3 − 21x2 + 144x − 350
(d) f ′ (1) > 0, f ′′ (1) = 0, f ′′ (1− ) < 0, f ′′ (1+ ) >0
1 3 45
(e) f ′ (1) > 0, f ′′ (1) = 0, f ′′ (1− ) > 0, f ′′ (1+ ) < 0 20. g( x ) = x + x2 − x + 100
6 2
17. Some people like to think of a concave-up graph 21. f ( x ) = e7x − 5x
as one that will “hold water” and of a concave-
down graph as one which will “spill water.” That 22. g( x ) = e7x − 5x
description is accurate for a concave-down graph, 23. f ( x ) = e−3x + x
but it can fail for a concave-up graph. Sketch
24. g( x ) = e−3x − x
the graph of a function that is concave up on an
interval but will not “hold water.” 25. f ( x ) = xe−3x
1 − (x−c2)2
18. The function f ( x ) = e 2b defines the Gaus- 26. g( x ) = xe5x
2π
sian distribution used extensively in statistics 4 1
27. f ( x ) = x 3 − x 3
and probability; its graph (see below) is a “bell-
4 1
shaped” curve. 28. g( x ) = 6x 3 + 3x 3
29. f ( x ) = ln 1 + x2
30. g( x ) = ln x2 − 6x + 10
p3
31. f ( x ) = x2 + 2x + 2
p
32. g( x ) = x2 + 2x + 2
2 1
(a) Show that f has a maximum at x = c. (The 33. f ( x ) = x 3 (1 − x ) 3
1 2
value c is called the mean of this distribution.) 34. g( x ) = x 3 (1 − x ) 3
(b) Show that f has inflection points where x =
35. f (θ ) = sin(θ ) + sin2 (θ )
c + b and x = c − b. (The value b is called the
standard deviation of this distribution.) 36. g(θ ) = cos(θ ) − sin2 (θ )
Observing that g′′ ( x ) > 0 for x < −5, g′′ ( x ) < 0 for −5 < x < 3
and g′′ ( x ) > 0 for x > 3 confirms that both candidates are in
fact inflection points. A graphing window with −12 ≤ x ≤ 8
(this is only one reasonable possibility) should include all points
of interest. Checking that g(−9) = −3632, g(0) = 13 and g(5) =
−1112 suggests that a graphing window with −4000 ≤ y ≤ 1000
should work (see margin).
258 contemporary calculus
5
V ′ ( x ) = 12x2 − 92x + 120 = 4(3x − 5)( x − 6) = 0 ⇒ x = or x = 6
3
5
so x = 3 and x = 6 are critical points of V.
• What are the endpoints for x in this problem? A square cannot have
a negative length, so x ≥ 0. We cannot remove more than half of the
width, so 8 − 2x ≥ 0 ⇒ x ≤ 4. Together, these two inequalities say
that 0 ≤ x ≤ 4, so the endpoints are x = 0 and x = 4. (Note that
the value x = 6 is not in this interval, so x = 6 cannot maximize the
volume and we do not consider it further.)
Practice 1. If you start with 7-inch by 15-inch pieces of tin, what size
square should you remove from each corner so the box will have as large
a volume as possible? [Hint: 12x2 − 88x + 105 = (2x − 3)(6x − 35)]
in this case, the length (call it x) and width (call it y) of the garden. The
margin figure shows a labeled diagram, which we can use to write a
formula for the function that we want to maximize:
x x2
A = x · y = x 40 − = 40x −
2 2
which is a function of a single variable (x). We want to maximize A.
A′ ( x ) = 40 − x so the only way A′ ( x ) = 0 is to have x = 40, and
A( x ) is differentiable for all x so the only critical number (other than
the endpoints) is x = 40. Finally, 0 ≤ x ≤ 80 (why?) so we also need
to check x = 0 and x = 80: the maximum area must occur at x = 0,
x = 40 or x = 80.
02
A(0) = 40(0) − = 0 square feet
2
402
A(40) = 40(40) − = 800 square feet
2
802
A(80) = 40(80) − = 0 square feet
2
so the largest rectangular garden has an area of 800 square feet, with
dimensions x = 40 feet by y = 40 − 40
2 = 20 feet. ◀
Example 3. You need to reach home as quickly as possible, but you are
in a rowboat on a lake 4 miles from shore and your home is 2 miles up
the shore (see margin). If you can row at 3 miles per hour and walk
at 5 miles per hour, toward which point on the shore should you row?
What if your home is 7 miles up the coast?
Solution. The margin figure shows a labeled diagram with the variable
x representing the distance along the shore from point A, the nearest
point on the shore to your boat, to point P, the point you row toward.
derivatives and graphs 261
T = total time
= (rowing time from boat to P) + (walking time from P to B)
distance from boat to P distance from P to B
= +
rate rowing boat rate walking along shore
√ √
x2 + 42 2−x x2 + 16 2 − x
= + = +
3 5 3 5
1 1 2 − 1 1 x 1
2
T ′ (x) = · x + 16 (2x ) − = √ −
3 2 5 3 x + 16 5
2
This derivative is defined for all values of x (and in particular for all
values in the interval 0 ≤ x ≤ 2). To find where T ′ ( x ) = 0 we solve:
x 1 p
√ − = 0 ⇒ 5x = 3 x2 + 16
3 x2 + 16 5
⇒ 25x2 = 9x2 + 144
⇒ 16x2 = 144 ⇒ x2 = 9 ⇒ x = ±3
The quickest route has P 2 miles down the coast: you should row
directly toward home.
If your home is 7 miles down the coast, then the interval for x is
0 ≤ x ≤ 7, which has endpoints x = 0 and x = 7. Our function for the
travel time is now:
√
x2 + 16 7 − x x 1
T (x) = + ⇒ T ′ (x) = √ −
3 5 3 x + 16 5
2
Example 4. Find the height and radius of the least expensive closed
cylinder that has a volume of 1,000 cubic inches. Assume that the
materials needed to construct the cylinder are free, but that it costs
80¢ per inch to weld the top and bottom onto the cylinder and to weld
the seam up the side of the cylinder (see margin).
Practice 3. Find the height and radius of the least expensive closed
cylinder that has a volume of 1,000 cubic inches, assuming that the
only cost for this cylinder is the price of the materials: the material for
the top and bottom costs 5¢ per square inch, while the material for the
sides costs 3¢ per square inch (see margin).
C = (bottom cost) + (cost of front and back) + (cost of ends) + (top cost)
= (bottom area)(7) + (front and back area)(5) + (ends area)(5) + (top area)(2)
= (wl )(7) + (2lh)(5) + (2wh)(5) + (wl )(2)
= 7wl + 10lh + 10wh + 2wl
= 9wl + 10lh + 10wh
Unfortunately, C is a function of three variables (w, l and h) but we
can use the information from the constraints to eliminate some of the
variables: the box is “three times as long as it is wide” so l = 3w and
We also know the volume V is 100 in3 and V = lwh = 3w2 h (because
100
l = 3w), so h = . Then:
3w2
2 2 100 4000
C = 27w + 40wh = 27w + 40w 2
= 27w2 +
3w 3w
which is a function of a single variable. Differentiating:
4000
C ′ (w) = 54w −
3w2
which is defined everywhere except w = 0 (yielding a box of volume 0)
and therer is no constraint interval, so C is minimized when C ′ (w) =
3 4000 100
0⇒w= ≈ 2.91 inches ⇒ l = 3w ≈ 8.73 inches ⇒ h = 3w 2 ≈
162
3.94 inches. The minimum cost is approximately $6.87. ◀
3.5 Problems
1. (a) You have 200 feet of fencing to enclose a rect- design in part (a). Design a pen that uses only
angular vegetable garden. What should the 120 feet of fencing and has four equal-sized
dimensions of your garden be in order to en- stalls but encloses more than 400 ft2 . (Hint:
close the largest area? Don’t use rectangles and squares.)
(b) Show that if you have P feet of fencing avail-
able, the garden of greatest area is a square.
(c) What are the dimensions of the largest rectan-
gular garden you can enclose with P feet of
fencing if one edge of the garden borders a
straight river and does not need to be fenced?
(d) Just thinking — calculus will not help: What
do you think is the shape of the largest garden 4. (a) You need to form a 10-inch by 15-inch piece
that can be enclosed with P feet of fencing if of tin into a box (with no top) by cutting a
we do not require the garden to be rectangu- square from each corner and folding up the
lar? What if one edge of the garden borders a sides. How much should you cut so the re-
(straight) river? sulting box has the greatest volume?
2. (a) You have 200 feet of fencing available to con-
struct a rectangular pen with a fence divider
down the middle (see below). What dimen-
sions of the pen enclose the largest total area?
6. (a) You must construct a square-bottomed box 9. You are a lifeguard standing at the edge of the
with no top that will hold 100 cubic inches of water when you notice a swimmer in trouble (see
water. If the bottom and sides are made from figure below) 40 m out in the water from a point
the same material, what are the dimensions of 60 m down the beach. Assuming you can run
the box that uses the least material? (Assume at a speed of 8 meters per second and swim at
that no material is wasted.) a rate of 2 meters per second, how far along the
(b) Suppose the box in part (a) uses different ma- shore should you run before diving into the wa-
terials for the bottom and the sides. If the bot- ter in order to reach the swimmer as quickly as
tom material costs 5¢ per square inch and the possible?
side material costs 3¢ per square inch, what
are the dimensions of the least expensive box
that will hold 100 cubic inches of water?
(This is a “classic” problem with many variations.
We could require that the box be twice as long
as it is wide, or that the box have a top, or that
the ends cost a different amount than the front
and back, or even that it costs a certain amount
to weld each edge. You should be able to set up
the cost equations for these variations.)
7. (a) Determine the dimensions of the least expen-
sive cylindrical can that will hold 100 cubic
inches if the materials cost 2¢, 5¢ and 3¢ per
square inch, respectively, for the top, bottom 10. You have been asked to determine the least ex-
and sides. pensive route for a telephone cable that connects
(b) How do the dimensions of the least expensive Andersonville with Beantown (see figure below).
can change if the bottom material costs more
than 5¢ per square inch?
8. You have 100 feet of fencing to build a pen in the
shape of a circular sector, the “pie slice” shown
rs
below. The area of such a sector is .
2
(a) What value of r maximizes the enclosed area?
(b) What central angle maximizes the area?
11. You have been asked to determine where a wa- (a) Find the dimensions of the acceptable box with
ter works should be built along a river between a square end that has the largest volume.
Chesterville and Denton (see below) to minimize (b) Find the dimensions of the acceptable box that
the total cost of the pipe to the towns. has the largest volume if its end is a rectangle
twice as long as it is wide.
(c) Find the dimensions of the acceptable box with
a circular end that has the largest volume.
14. Just thinking — you don’t need calculus for this
problem: A spider and a fly are located on op-
posite corners of a cube (see below). What is the
shortest path along the surface of the cube from
the spider to the fly?
18. The strength of a wooden beam is proportional 21. You have a 6-inch-diameter paper disk that you
to the product of its width and the square of its want to form into a drinking cup by removing a
height (see figure below). What are the dimen- pie-shaped wedge (sector) and then forming the
sions of the strongest beam that can be cut from remaining paper into a cone (see below). Find
a log with diameter: the height and top radius of the cone so the that
(a) 12 inches? the volume of the cup is as large as possible.
(b) d inches?
23. You own a small airplane that holds a maximum 1 b
ln .” Use calculus to show that Si-
of 20 passengers. It costs you $100 per flight from b−a a
monton is correct.
St. Thomas to St. Croix for gas and wages plus
an additional $6 per passenger for the extra gas Note: Models of this type have uses for describing
required by the extra weight. The charge per pas- the behavior of groups, but it is dangerous — and
senger is $30 each if 10 people charter your plane usually invalid — to apply group descriptions or
(10 is the minimum number you will fly), and comparisons to individuals in a group. (Scientific
this charge is reduced by $1 per passenger for Genius by Dean Simonton, Cambridge University
each passenger over 10 who travels (that is, if 11 Press, 1988, pp. 69–73)
fly they each pay $29, if 12 fly they each pay $28, 27. After the table was wiped and the potato chips
etc.). What number of passengers on a flight will dried off, the question remained: “Just how far
maximize your profit? could a can of cola be tipped before it fell over?”
24. Prove: If f and g are differentiable functions and
(a) For a full can or an empty can the answer was
if the vertical distance between f and g is greatest
easy: the center of gravity (CG) of the can is
at x = c, then f ′ (c) = g′ (c) and the tangent lines
at the middle of the can, half as high as the
to f and g are parallel when x = c.
height of the can, and we can tilt the can until
the CG is directly above the bottom rim (see
below left). Find θ if the height of the can is 12
cm and the diameter is 5 cm.
28. Just thinking — calculus will not help with this one.
(a) Four towns are located at the corners of a square. What is the
shortest length of road we can construct so that it is possible to
travel along the road from any town to any other town?
The problem of finding the shortest path
connecting several points in the plane is
called the “Steiner problem.” It is impor-
tant for designing computer chips and
telephone networks to be as efficient as
possible.
(b) What is the shortest connecting path for five towns located on the
corners of a pentagon?
29. (a) Find the dimensions of the rectangle with the 30. (a) Find the dimensions of the rectangle with the
greatest area that can be built so the base of greatest area that can be built so the base of
the rectangle is on the x-axis between 0 and 1 the rectangle is on the x-axis between 0 and 1
(0 ≤ x ≤ 1) and one corner of the rectangle is and one corner of the rectangle is on the curve
on the curve y = x2 (see above right). What is y = x3 . What is the area of this rectangle?
the area of this rectangle? (b) Generalize the problem in part (a) for the
curve y = Cx3 with C > 0 and 0 ≤ x ≤ 1.
(b) Generalize the problem in part (a) for the
(c) Generalize for the curve y = Cx3 with C > 0
parabola y = Cx2 with C > 0 and 0 ≤ x ≤ 1.
and 0 ≤ x ≤ B.
(c) Generalize for the parabola y = Cx2 with (d) Generalize for the curve y = Cx n with C > 0,
C > 0 and 0 ≤ x ≤ B. n a positive integer, and 0 ≤ x ≤ B.
270 contemporary calculus
31. (a) The base of a right triangle is 50 and the height (b) You have T dollars to buy fencing material to
is 20. Find the dimensions and area of the enclose a rectangular plot of land. The fence
rectangle with the greatest area that can be for the top and bottom costs $A per foot and
enclosed in the triangle if the base of the rect- for the sides it costs $B per foot. Find the
angle must lie on the base of the triangle. dimensions of the plot with the largest area.
For this largest plot, how much money was
used for the top and bottom (together), and
for the sides (together)?
(c) You have T dollars to buy fencing material to
enclose a rectangular plot of land. The fence
costs $A per foot for the top, $B/foot for the
bottom, $C/ft for the left side and $D/ft for
(b) The base of a right triangle is B and the height
the right side. Find the dimensions of the plot
is H. Find the dimensions and area of the
with the largest area. For this largest plot, how
rectangle with the greatest area that can be
much money was used for the top and bottom
enclosed in the triangle if the base of the rect-
(together), and for the sides (together)?
angle must lie on the base of the triangle.
(c) State your general conclusion from part (b) in 33. Determine the dimensions of the least expensive
words. cylindrical can that will hold V cubic inches if the
top material costs $A per square inch, the bottom
32. (a) You have T dollars to buy fencing material to
material costs $B per square inch, and the side
enclose a rectangular plot of land. The fence
material costs $C per square inch.
for the top and bottom costs $5 per foot and
for the sides it costs $3 per foot. Find the di- 34. Find the location of C in the figure below so that
mensions of the plot with the largest area. For the sum of the distances from A to C and from C
this largest plot, how much money was used to B is a minimum.
for the top and bottom, and for the sides?
which is defined for all x: the only critical numbers are the endpoints
x = 0 and x = 72 and where V ′ ( x ) = 0: x = 23 and x = 35 35
6 (but 6 is
derivatives and graphs 271
3x + 4
Practice 1. What happens to the values of f ( x ) = and g( x ) =
x−2
cos(5x )
as x becomes arbitrarily large?
2x + 7
We can express the answers to Example 1 using limits. “As x becomes
5x
arbitrarily large, the values of approach 52 ” can be written:
2x + 3
5x 5
lim =
x →∞ 2x + 3 2
derivatives and graphs 273
sin(7x + 1)
and “the values of approach 0” can be written:
3x During this discussion — and throughout
sin(7x + 1) this book — we do not treat “infinity” or
lim =0 “∞” as a number, but only as a useful no-
x →∞ 3x tation. “Infinity” is not part of the real
We read lim as “the limit as x approaches infinity,” meaning “the limit number system, and we use the common
x →∞ notation “x → ∞” and the phrase “x ap-
as x becomes arbitrarily large” or “as x increases without bound.” proaches infinity” only to mean that “x
The notation “x → −∞,” read as “x approaches negative infinity,” becomes arbitrarily large.”
means that the values of − x become arbitrarily large.
Practice 2. Rewrite your answers to Practice 1 using limit notation.
The expression lim f ( x ) asks about the behavior of f ( x ) as the
x →∞
values of x get larger and larger without any bound. One way to
determine this behavior is to look at the values of f ( x ) for some values
of x that are very “large.” If the values of the function get arbitrarily A more formal definition of the limit as
“x → ∞” appears at the end of this sec-
close to a single number as x gets larger and larger, then we will say
tion.
that number is the limit of the function as x approaches infinity.
6x + 7 sin(3x )
Practice 3. Fill in the table for f ( x ) = and g( x ) = and
3 − 2x x
use those values to estimate lim f ( x ) and lim g( x ).
x →∞ x →∞
6x +7 sin(3x )
x 3−2x x
10
200
500
20, 000
1
Example 2. How large must x be to guarantee that f ( x ) = < 0.1?
x
That f ( x ) < 0.001? That f ( x ) < E (with E > 0)?
1 1 1 1
Solution. If x > 10, then < = 0.1. If x > 1000, then < =
x 10 x 1000
0.001. In general, if E is any positive number, then we can guarantee
1 1
that | f ( x )| < E by picking only values of x > > 0: if x > , then
E E
1 1
< E. From this we can conclude that lim = 0. ◀
x x →∞ x
1
Practice 4. How large must x be to guarantee that f ( x ) = < 0.1?
x2
1
That f ( x ) < 0.001? That f ( x ) < E (with E > 0)? Evaluate lim 2 .
x →∞ x
The Main Limit Theorem (Section 1.2) about limits of combinations
of functions still holds true if the limits as “x → a” are replaced with
limits as “x → ∞” but we will not prove those results.
Polynomials arise regularly in applications, and we often need the
limit, as “x → ∞,” of ratios of polynomials or functions containing
powers of x. In these situations the following technique is often helpful:
274 contemporary calculus
7x2 + 3x − 4 9x + 2
Example 3. Determine lim and lim .
x →∞ 3x2 − 5 x →∞ 3x2 − 5x + 1
9x + 2 x2 ( 9x + x22 ) 9 2
x + x2 0
lim = lim = lim = =0
x →∞ 3x2 − 5x + 1 x → ∞ x 2 (3 − 5 + 1 ) x →∞ 3 − 5 + 1 3
x x2 x x2
because k
x → 0 and c
x2
→ 0 as x → ∞ for any constants k and c. ◀
1 1
lim =∞ and lim = −∞
x →0+ x x →0− x
x−5 x−5
Example 6. Determine lim and lim .
x →3+ x−3 x →3 − x −3
Solution. As x → 3+ , x − 5 → −2 and x − 3 → 0. Because the
denominator is approaching 0, we cannot use the Main Limit Theorem,
276 contemporary calculus
Horizontal Asymptotes
The limits of f , as “x → ∞” and “x → −∞,” provide information about
horizontal asymptotes of f .
2x + sin( x )
Example 7. Find any horizontal asymptotes of f ( x ) = .
x
Solution. Computing the limit as x → ∞:
2x + sin( x ) 2x sin( x ) sin( x )
lim = lim + = lim 2 +
x →∞ x x →∞ x x x →∞ x
sin( x )
= 2 + lim = 2+0 = 2
x →∞ x
so the line y = 2 is a horizontal asymptote of f . The limit, as “x → −∞,"
is also 2 so y = 2 is the only horizontal asymptote of f . The graphs of f
and y = 2 appear in the margin. A function may or may not cross its
asymptote. ◀
derivatives and graphs 277
Vertical Asymptotes
As with horizontal asymptotes, you have likely studied vertical asymp-
totes before (at least for rational functions). We can now define vertical
asymptotes using infinite limits.
x2 − x − 6
Example 8. Find the vertical asymptotes of f ( x ) = and
x2 − x
x2 − 3x
g( x ) = .
x2 − x
x2 + x
Practice 6. Find the vertical asymptotes of f ( x ) = and
x2 +x−2
x2 − 1
g( x ) = .
x−1
278 contemporary calculus
2x2 − x − 1 2
Practice 7. Find all asymptotes of g( x ) = = 2x − 3 + .
x+1 x+1
Some functions even have nonlinear asymptotes: asymptotes that
are not straight lines. The graphs of these functions approach some
nonlinear function when the values of x become arbitrarily large.
x4 + 3x3 + x2 + 4x + 5
Example 10. Find all asymptotes of f ( x ) = =
x2 + 1
x+5
x2 + 3x + .
x2 + 1
x+5
Solution. When x is very large, positive or negative, then is
x2 + 1
very close to 0 and the graph of f is very close to the graph of g( x ) =
x2 + 3x. The function g( x ) = x2 + 3x is a nonlinear asymptote of f .
The denominator of f is never 0 and f has no vertical asymptotes. ◀
x3 + 2 sin( x ) 2 sin( x )
Practice 8. Find all asymptotes of f ( x ) = = x2 + .
x x
If we can write f ( x ) as a sum of two functions, f ( x ) = g( x ) + r ( x ),
with lim r ( x ) = 0, then the graph of f is asymptotic to the graph of
x →±∞
g, and g is an asymptote of f . In this situation:
• if g( x ) = K, then f has a horizontal asymptote y = K
x 1
Example 11. Show that lim = .
x →∞ 2x + 1 2
Solution. Typically, we need to do two things. First we need to find a
value of N, often depending on ϵ. Then we need to show that the value
of N we found satisfies the conditions of the definition.
Assume that | f ( x ) − K | is less than ϵ and solve for x > 0:
x 2x − (2x + 1) −1 1
ϵ> = = =
2x + 1 2(2x + 1) 4x + 2 4x + 2
1 1 1
⇒ 4x + 2 > ⇒ x > −2
ϵ 4 ϵ
1 1
So, given any ϵ > 0, take N = −2 .
4 ϵ
Now we can just reverse the order of the steps above to show
that
1 1
this N satisfies the limit definition. If x > 0 and x > − 2 then:
4 ϵ
1 1 x 1
4x + 2 > ⇒ ϵ > = − = | f (x) − K|
ϵ 4x + 2 2x + 1 2
We have shown that “for every given ϵ, there is an N” that satisfies the
definition. ◀
3.6 Problems
1. The margin figure shows f ( x ) and g( x ) for 0 ≤ x ≤ 5. Define a new
f (x)
function h( x ) = .
g( x )
(a) At what value of x does h( x ) have a root?
(b) Determine the limits of h( x ) as x → 1+ , x → 1− , x → 3+ and
x → 3− .
(c) Where does h( x ) have a vertical asymptote?
280 contemporary calculus
3x2 + 5x
2. The figure below shows f ( x ) and g( x ) on the
22. ln
f (x) x2 − 4
interval 0 ≤ x ≤ 5. Let h( x ) = .
g( x ) 23. ln( x + 8) − ln( x − 5)
(a) At what value(s) of x does h( x ) have a root?
24. ln(3x + 8) − ln(2x + 5)
(b) Where does h( x ) have vertical asymptotes?
25. Salt water with a concentration of 0.2 pounds of
salt per gallon flows into a large tank that initially
contains 50 gallons of pure water.
(a) If the flow rate of salt water into the tank is 4
gallons per minute, what is the volume V (t) of
water and the amount A(t) of salt in the tank
t minutes after the flow begins?
3. The figure below shows f ( x ) and g( x ) for 0 ≤ (b) Show that the salt concentration C (t) at time t
f (x) 0.8t
x ≤ 5. Let h( x ) = . Determine the limits of is C (t) = .
g( x ) 4t + 50
h( x ) as x → 2+ , x → 2− , x → 4+ and x → 4− . (c) What happens to the concentration C (t) after
a “long” time?
(d) Redo parts (a)–(c) for a large tank that initially
contains 200 gallons of pure water.
26. Under certain laboratory conditions, an agar plate
contains B(t) = 100 2 − e−t bacteria t hours af-
3x2 − 6x 3x ( x − 2)
lim = lim = lim 3x = 6
x →2+ x−2 x →2 + x−2 x →2+
x2 + x x ( x + 1)
6. (a) f ( x ) =2
= so f has vertical asymptotes
x +x−2 ( x − 1)( x + 2)
at x = 1 and x = −2.
x2 − 1 ( x + 1)( x − 1)
(b) g( x ) = = so the value x = 1 is not in the
x−1 x−1
domain of g. If x ̸= 1, then g( x ) = x + 1: g has a “hole” when
x = 1 and no vertical asymptotes.
2
7. g( x ) = 2x − 3 + has a vertical asymptote at x = −1 and
x+1
2
no horizontal asymptotes, but lim = 0 so g has the linear
x →∞ x + 1
asymptote y = 2x − 3.
2 sin( x )
8. f ( x ) = x2 + is not defined at x = 0, so f has a vertical
x
2 sin( x )
asymptote or a “hole” there; lim x2 + = 0 + 2 = 2 so f has
x →0 x
2 sin( x )
a “hole” when x = 0. Because lim = 0, f has the nonlinear
x →∞ x
2
asymptote y = x (but no horizontal asymptotes).
derivatives and graphs 283
f ( x + h) − f ( x )
When taking limits of slopes of secant lines, msec =
h
as h → 0, we frequently encountered one difficulty: both the numerator
and the denominator approached 0. And because the denominator
approached 0, we could not apply the Main Limit Theorem. In many
situations, however, we managed to get past this “ 00 ” difficulty by using
algebra or geometry or trigonometry to rewrite the expression and then
take the limit. But there was no common approach or pattern. The alge-
(2 + h )2 − 4
braic steps we used to evaluate lim seem quite different
h →0 h
sin(2 + h) − sin(2)
from the trigonometric steps needed for lim . Although discovered by Johann Bernoulli,
h →0 h this rule was named for the Marquis
In this section we consider a single technique, called l’Hôpital’s Rule, de l’Hôpital (pronounced low-pee-TALL),
that enables us to quickly and easily evaluate many limits of the form who published it in his 1696 calculus text-
book, Analysis of the Infinitely Small for the
“ 00 ” as well as several other challenging indeterminate forms.
Understanding of Curved Lines.
A Linear Example
The graphs of two linear functions appear in the margin and we want
f (x)
to find lim . Unfortunately, lim f ( x ) = 0 and lim g( x ) = 0 so we
x →5 g ( x ) x →5 x →5
cannot apply the Main Limit Theorem. We do know, however, that f
and g are linear, so we can calculate their slopes, and we know that they
both lines go through the point (5, 0) so we can find their equations:
f ( x ) = −2( x − 5) and g( x ) = 3( x − 5).
Now the limit is easier to compute:
f (x) −2( x − 5) −2 2 slope of f
lim = lim = lim =− =
x →5 g( x ) x →5 3 ( x − 5 ) x →5 3 3 slope of g
In fact, this pattern works for any two linear functions: If f and g are
linear functions with slopes m ̸= 0 and n ̸= 0 and a common root
at x = a, then f ( x ) − f ( a) = m( x − a) and g( x ) − g( a) = n( x − a) so
f ( x ) = m( x − a) and g( x ) = n( x − a). Then:
f (x) m( x − a) m m slope of f
lim = lim = lim = =
x→a g( x ) x→a n( x − a) x→a n n slope of g
A more powerful result—that the same pattern holds true for differen-
tiable functions even if they are not linear—is called l’Hôpital’s Rule.
Idea for a proof: Even though f and g may not be linear functions,
they are differentiable. So at the point x = a they are “almost linear” in
the sense that we can approximate them quite well using their tangent
lines at that point (see margin).
Because f ( a) = g( a) = 0, f ( x ) ≈ f ( a) + f ′ ( a)( x − a) = f ′ ( a)( x − a)
and g( x ) ≈ g( a) + g′ ( a)( x − a) = g′ ( a)( x − a). So:
f (x) f ′ ( a)( x − a) f ′ ( a) f ′ ( a)
lim ≈ lim ′ = lim ′ = ′
x→a g( x ) x → a g ( a )( x − a ) x→a g ( a) g ( a)
e7x
Example 2. Evaluate lim .
x →∞ 5x
f′
The limit of may also be an indeterminate form, in which case
g′
f′
we can apply l’Hôpital’s Rule again to the ratio ′ . We can continue
g
using l’Hôpital’s Rule at each stage as long as we have an indeterminate
quotient.
x3
Example 3. Compute lim .
x →0 x − sin( x )
x3 3x2 6x 6
lim = lim = lim = lim =6
x →0 x − sin( x ) x →0 1 − cos( x ) x →0 sin( x ) x →0 cos( x )
where we have used l’Hôpital’s Rule three times in succession. (At each
stage, you should verify the conditions for l’Hôpital’s Rule hold.) ◀
x2 + e x
Practice 2. Use l’Hôpital’s Rule to find lim .
x →∞ x3 + 8x
Solution. We can compare the ratio of the number of steps each algo-
n · ln(n)
rithm requires, , and then take the limit of this ratio as n grows
n1.5
n · ln(n)
arbitrarily large: lim .
n→∞ n1.5
If this limit is infinite, we say that n · ln(n) “grows faster” than n1.5 .
If the limit is 0, we say that n1.5 grows faster than n · ln(n).
286 contemporary calculus
Because n · ln(n) and n1.5 both grow arbitrarily large when n becomes
ln(n)
large, we can simplify the ratio to 0.5 and then use l’Hôpital’s Rule:
n
1
ln(n) n 2
lim = lim = lim √ = 0
n→∞ n0.5 n→∞ 0.5n−0.5 n→∞ n
3x x2 5x
lim =3 while lim =0 and lim =∞
x →0 x x →0 x x →0 x3
Similarly, “ ∞
∞ ” is an indeterminate form because knowing that f and
g both grow arbitrarily large is not enough to determine the value of
f
the limit of g or even if the limit exists:
3x x2 5x
lim =3 while lim =∞ and lim =0
x →∞ x x →∞ x x →∞ x3
Applying this to x x :
x)
lim x x = lim eln( x = lim e x·ln(x)
x →0+ x →0+ x →0+
This last limit involves the indeterminate product x · ln( x ). From the
previous example we know that lim x · ln( x ) = 0 so we can conclude
x →0+
that:
lim x x = lim e x·ln( x) = elimx→0+ x ·ln( x )
= e0 = 1
x →0+ x →0+
because the function f (u) = eu is continuous everywhere. ◀
a x
Example 7. Evaluate lim 1+ .
x →∞ x
Solution. This expression has the form 1∞ so we first use logarithms
to convert the problem into a limit involving a product:
a x
a
lim = lim e x·ln(1+ x )
1+
x →∞ x x →∞
a
so now we need to compute lim x · ln 1 + . This limit has the form
x →∞ x
“∞ · 0” so we now convert the product to a quotient:
ln 1 + xa
a
lim x · ln 1 + = lim 1
x →∞ x x →∞
x
This last limit has the form “ 00 ” so we can finally apply l’Hôpital’s Rule:
−a
a
x2
ln 1 + x 1+ xa a a
lim 1
= lim −1
= lim a = =a
x →∞ x →∞ x →∞ 1+ 1
x x2 x
3.7 Problems
√
x2 2x 2 1 23. lim x · ln( x ) 24. lim xsin( x)
x →0+ x →0+
lim = lim = lim =
x →0 3x2 + x x →0 6x + 1 x →0 6 3 x
26. lim (1 − cos(3x )) x
3
Another student also determined the limit was 25. lim 1− x →0
x →∞ x2
an indeterminate “ 00 ” form and wrote:
1 1 28. lim [ x − ln( x )]
27. lim − x →∞
x2 2x 0 x →0 x sin( x )
lim 2
= lim = =0
x →0 3x + x x →0 6x + 1 0+1 1 2
x+5 x 3 x
1 − cos(5x ) 5 sin(5x ) 0
lim = lim = =0
x →0 3x x →0 3 3
x2 + x − 6 2x + 1 5
lim = lim =
x →2 x2 + 2x − 8 x →2 2x + 2 6
en en n · en
lim = lim 1 = lim =∞
n→∞ 100 ln(n) n→∞ n→∞ 100
n
en en en en
lim = lim = lim = lim
n→∞ n5 n→∞ 5n4 n→∞ 20n3 n→∞ 60n2
e n e n
= lim = lim =∞
n→∞ 120n n→∞ 120
Important Note about Precision of Answers: In many of the problems in this book you are required to read
information from a graph and to calculate with that information. You should take reasonable care to read the
graphs as accurately as you can (a small straightedge is helpful), but even skilled and careful people make
slightly different readings of the same graph. That is simply one of the drawbacks of graphical information.
When answers are given to graphical problems, the answers should be viewed as the best approximations we
could make, and they usually include the word “approximately” or the symbol “≈” meaning “approximately
equal to.” Your answers should be close to the given answers, but you should not be concerned if they differ
a little. (Yes those are vague terms, but it is all we can say when dealing with graphical information.)
Q for any a. Furthermore, 2 ≤ 8 − 6a ≤ 8 for 23. A point P = ( x, y) lies on the circle if and only
0 ≤ a ≤ 1, so the point in question must be on if its distance from C = (h, k) is r: dist( P, C ) = r.
the line segment PQ. So P is on the circle if and only if:
√ q
(b) dist( P, Q) = 62 + 82 = 10, while: ( x − h )2 + ( y − k )2 = r
q
dist( P, R) = (8 − 6a − 2)2 + (11 − 8a − 3)2 if and only if:
q
= (6 − 6a)2 + (8 − 8a)2 ( x − h )2 + ( y − k )2 = r 2
q
= 62 (1 − a)2 + 82 (1 − a)2
5 12
q 25. (a) − 12 (b) undefined (vertical line) (c) 5 (d) 0
= 100(1 − a)2 = 10 · |1 − a|
(horizontal line)
= |1 − a| · dist( P, Q)
27. (a) ≈ 2.22 (b) ≈ 2.24 (c) (by inspection) 3 units,
13. (a) m1 · m2 = (1)(−1) = −1 which occurs at the point (5, 3)
29. (a) If B ̸= 0, we can solve for y: y = − A C
B x + B , so
A
the slope is m = − B .
B
(b) The required slope is A (the negative recip-
(b) A
rocal of − B ) and the y-intercept is 0, so the
B
equation is y = A x or Bx − Ay = 0.
(c) Solve the equations Ax + By = C and Bx −
Ay = 0 simultaneously to get:
(c) Because 20 units of x-values are physically
AC BC
wider on the screen than 20 units of y-values. x= and y=
A2+ B2 A2 + B2
(d) Set the window so that:
(d) The
r distance from this point to the origin is:
(xmax − xmin) ≈ 1.7(ymax − ymin)
AC BC
( 2 )2 + ( 2 )2
15. (a) y − 5 = 3( x − 2) or y = 3x − 1 A + B2 A + B2
(b) y − 2 = −2( x − 3) or y = 8 − 2x s
A2 C 2 B2 C 2
(c) y − 4 = − 12 ( x − 1) or y = − 12 x + 9
2 = 2 2 2
+ 2
(A + B ) ( A + B2 )2
17. (a) y − 5 = 23 ( x − 2) or y = 32 x + 2 s
(b) y − 2 = 23 ( x + 1) or y = 32 x + 7 ( A2 + B2 ) C 2
2 =
(c) x = 3 ( A2 + B2 )2
√ s
19. Distance between the centers = 62 + 82 = 10. C2 |C |
= = √
(a) 10 − 2 − 4 = 4 (b) 10 − 2 − 7 = 1 (c) 0 (they A2 + B2 A2 + B2
intersect) (d) 15 − 10 − 3 = 2 (e) 12 − 10 − 1 = 1
p
21. Find dist( P, C ) = ( x − h)2 + (y − k )2 and com- Section 0.3
pare the value to r:
1. A: a, B: c, C: d, D:b
inside the circle
if dist( P, C ) < r
3. A: b, B: c, C: d, D: a
P is on the circle if dist( P, C ) = r
outside the circle if dist( P, C ) > r 5. (a) C (b) A (c) B
A3
x f (x) g( x )
(b) 0 1.0 1.0
1 2.0 1.0
2 2.0 −1.0
(c) f (3x ) = (3x )2 + 3 = 9x2 + 3, g(3x ) = 3 1.0 0.0
√
3x − 5 (for x ≥ 53 ), H (3x ) = 3x3x−2 4 1.5 0.5
(d) f ( x + h) = ( x + h)2 + 3 = x2 + 2xh + h2 + 3,
√ x+h 23. On your own.
g( x + h) = x + h − 5, H ( x + h) = x+ h −2
9. (a) m = 2 (b) m = 2x + 3 + h (c) If x = 1.3, then
Section 0.4
m = 5.6 + h; if x = 1.1, then m = 5.2 + h; if
x = 1.002, then m = 5.004 + h. 1. (a) ≈ −18, ≈ −2.2 (b) If T = 11◦ C, WCI11 =
f ( a+h)− f ( a)
11. h = 2a + h − 2 (if h ̸= 0). If a = 1: h. If
11 if 0 ≤ v ≤ 6.5
√
a = 2: 2 + h. If √a = 3:√4 + h. If a = x: √2x + h − 2.
22.55 − 5.29 v + 0.279v if 6.5 < v ≤ 72
g( a+h)− g( a)
h = a+hh− a . If a = 1: 1+hh−1 . If
√ √
2+ h − 2
√ √
3+ h − 3
−2.2 if v > 72
a = 2: h . If a = 3: h . If a = x:
√ √
x +h− x
h . 3. g(0) = 3, g(1) = 1, g(2) = 2, g(3) = 3, g(4) = 1,
13. (a) Approx. 250 miles, 375 miles. (b) Approx. 200 g(5) = 1.
miles/hour. (c) By flying along a circular arc
3 − x if x < 1
about 375 miles from the airport (or by landing
g( x ) = x if 1 ≤ x ≤ 3
at another airport).
1 if x > 3
(c)
x +1
19. (a) s(1) = 2, s(3) = 43 , s(4) = 5
4 (b) s( x ) = x
A4 contemporary calculus
Section 0.5
15.
1. (a) x = 2, 4 (b) x = −2, −1, 0, 1, 2, 3, 4, 5
(c) x = −2, −1, 1, 3
17. (a) f ( g( x )) = 6x + 2 + 3A, g( f ( x )) = g(3x + √
3. (a) all x (all real numbers) (b) x > 3 −2 (c) all x
2) = 6x + 4 + A. If f ( g( x )) = g( f ( x )), then
5. (a) x = −2, −3, 3 (b) no values of x (c) x ≥ 0
A = 1.
(b) f ( g( x )) = 3Bx − 1, g( f ( x )) = 3Bx + 2B − 1. 7. (a) If x ̸= 2 and x ̸= −3, then x2 + x − 6 ̸= 0.
If f ( g( x )) = g( f ( x )), then B = 0. True. (b) If an object does not have 3 sides, then
it is not a triangle. True.
19. Graph of f ( x ) = x − ⌊ x ⌋:
9. (a) If your car does not get at least 24 miles per
gallon, then it is not tuned properly. (b) If you
cannot have dessert, then you did not eat your
vegetables.
11. (a) If you will not vote for me, then you do not
love your country. (b) If not only outlaws have
guns, then guns are not outlawed. (poor English)
21. f ( x ) = ⌊1.3 + 0.5 sin( x )⌋ works. The value of A
If someone legally has a gun, then guns are not
in f ( x ) = ⌊ A + 0.5 sin( x )⌋ determines the rela-
illegal.
tive lengths of the long and short parts of the
pattern. 13. (a) Both f ( x ) and g( x ) are not positive. (b) x is
not positive. (x ≤ 0) (c) 8 is not a prime number.
23. (a) g(1) = 1, g(2) = 1, g(3) = 0, g(4) = −1.
15. (a) For some numbers a and b, | a + b| ̸= | a| + |b|.
(b) Some snake is not poisonous. (c) Some dog
can climb trees.
(b) 17. If x is an integer, then 2x is an even integer. True.
Converse: If 2x is an even integer, then x is an
integer. True. (It is not likely that these were the
statements you thought of; there are lots of other
25. ≈ 0.739 starting with x = 1, 2, 10 or any value examples.)
A5
19. (a) False. If a = 3, b = 4, then ( a + b)2 = 72 = 49, (b) At 10 a.m., temperature was rising about 5◦ per
but a2 + b2 = 32 + 42 = 9 + 16 = 25. (b) False. If hour; at 7 p.m., its was rising about −10◦ /hr
a = −2, b = −3, then a > b, but a2 = 4 < 9 = b2 . (falling about 10◦ /hr).
(c) True. 7. All of these answers are approximate.
21. (a) True. (b) False. If f ( x ) = x + 1 and 300 ft − 0 ft ft
(a) average velocity ≈ = 15
g( x ) = x + 2, Then f ( x ) · g( x ) = x2 + 3x + 2 20 sec − 0 sec sec
100 ft − 200 ft ft
is not a linear function. (c) True. (b) average velocity ≈ = −5
30 sec − 10 sec sec
23. (a) If a and b are prime numbers, then a + b is (c) At t = 10 seconds, velocity ≈ 30 feet per second
prime. False: take a = 3 and b = 5. (between 20 and 35 ft/sec); at t = 20 seconds,
(b) If a and b are prime numbers, then a + b is not velocity ≈ −1 feet per second; at t = 30 sec-
prime. False: take a = 2 and b = 3. onds, velocity ≈ −40 feet per second.
(c) If x is a prime number, then x is odd. False: 9. (a) A(0) = 0, A(1) = 3, A(2) = 6, A(2.5) = 7.5,
take x = 2. (This is the only counterexample.) A(3) = 9 (b) The area of the rectangle bounded
(d) If x is a prime number, then x is even. False: below by the t-axis, above by the line y = 3, on
take x = 3 (or 5 or 7 or. . . ) the left by the vertical line t = 1 and on the right
25. (a) If x is a solution of x + 5 = 9, then x is odd. by the vertical line t = 4. (c) Graph of y = 3x.
False: take x = 4.
(b) If a 3-sided polygon has equal sides, then it is Section 1.1
a triangle. True. (We also have non-equilateral 1. (a) 2 (b) 1 (c) DNE (does not exist) (d) 1
triangles.)
3. (a) 1 (b) −1 (c) −1 (d) 2
(c) If a person is a calculus student, then that per- 13
5. (a) −7 (b) 0 (DNE)
son studies hard. False (unfortunately), but
we won’t mention names. 7. (a) 0.54 (radian mode!) (b) −0.318 (c) −0.54
(d) If x is a (real number) solution of x2 − 5x + 9. (a) 0 (b) 0 (c) 0
6 = 0, then x is even. False: take x = 3. 11. (a) 0 (b) −1 (c) DNE
13. The one- and two-sided limits agree at x = 1,
Section 1.0 x = 4 and x = 5, but not at x = 2:
y −9
1. (a) m = x−3 . If x = 2.97, m = −−0.1791
0.03 = 5.97. If lim g( x ) = 1 lim g( x ) = 1 lim g( x ) = 1
0.006001 x →1− x →1+ x →1
x = 3.001, m = 0.001 = 6.001. If x = 3 + h,
(3 + h )2 − 9 9 + 6h + h2 − 9 lim g( x ) = 1 lim g( x ) = 4 lim g( x ) DNE
m = = = 6+h x →2− x →2+ x →2
(3 + h ) − 3 h
(b) When h is close to 0, 6 + h is close to 6. lim g( x ) = 2 lim g( x ) = 2 lim g( x ) = 2
y −4 x →4− x →4+ x →4
3. (a) m = x−2 . If x = 1.99, m = −−0.04990.01 = 4.99.
0.020016
If x = 2.004, m = 0.004 = 5.004. If x = 2 + h: lim g( x ) = 1 lim g( x ) = 1 lim g( x ) = 1
x →5− x →5+ x →5
(2 + h )2 + (2 + h ) − 2 − 4
m= = 5+h
(2 + h ) − 2 15. (a) 1.0986 (b) 1
(b) When h is very small, 5 + h is very close to 5.
17. (a) 0.125 (b) 3.5
5. All of these answers are approximate. Your an- 19. (a) A(0) = 0, A(1) = 2.25, A(2) = 5, A(3) = 8.25
swers should be close to these numbers. (b) A( x ) = 2x + 14 x2 (c) The area of the trapezoid
(a) average rate of temperature change ≈ bounded below by the t-axis, above by the line
80◦ − 64◦ 16◦ ◦ y = 12 t + 2, on the left by the vertical line t = 1
= =4 and on the right by the vertical line t = 3.
1 p.m. − 9 a.m. 4 hours hour
A6 contemporary calculus
Section 2.1
1. derivative (a) of g (b) of h (c) of f
3. (a) msec = h − 4 ⇒ mtan = lim msec = −4
5. (a) h →0
(b) msec = h + 1 ⇒ mtan = lim msec = 1
h →0
5. (a) msec = 5 − h ⇒ mtan = lim msec = 5
h →0
(b) msec = 7 − 2x − h ⇒ mtan = 7 − 2x
(b)
7. (a) −1 (b) −1 (c) 0 (d) +1 (e) DNE (f) DNE
9. Using the definition:
( x + h )2 + 8 − x 2 + 8
(c) m( x ) = cos( x ) ′
f ( x ) = lim
7. Assume we turn off the engine at the point ( p, q) h →0 h
on the curve y = x2 and then find values of 2xh + h2
= lim = lim [2x + h] = 2x
p and q so the tangent line to y = x2 at the h →0 h h →0
13. For any constant C, if f ( x ) = x2 + C, then: 25. (a) d(4) = 256 ft; d(5) = 400 ft
f ( x + h) − f ( x ) (b) d′ ( x ) = 32x ⇒ d′ (4) = 128 ft/sec and
f ′ ( x ) = lim
h →0 h d′ (5) = 160 ft/sec.
( x + h )2 + C − x 2 + C
27. Marginal production cost is C ′ ( x ) = 1
√ dollars
= lim 2 x
h →0 h per golf ball, so C ′ (25) = √1 = 1 = $0.10 per
2 25 10
2xh + h2
= lim = lim [2x + h] = 2x ball and C ′ (100) = √1 1
= 20 = $0.05 per ball.
h →0 h h →0 2 100
The graphs of f ( x ) = x2 , g( x ) = x2 + 3 and 29. (a) A(0) = 0, A(1) = 12 , A(2) = 2 and A(3) = 92 .
x2
h( x ) = x2 − 5 are “parallel” parabolas: g is f (b) A( x ) = (x ≥ 0) (c) A′ ( x ) = x (d) A′ ( x )
2
shifted up 3 units; h is f shifted down 5 units. represents the rate at which A( x ) is increasing
15. f ′ ( x ) = 2x ⇒ f ′ (1) = 2 so an equation of the tan- (the rate at which area is accumulating).
gent line at (1, 9) is y − 9 = 2( x − 1) or y = 2x + 7; 2 −4
31. (a) 9x8 (b) (c) 5 (d) πx π −1 (e) 1 if x > −5
f ′ (−2) = −4 so an equation of the tangent line at 1
3x 3 x
(−2, 12) is y − 12 = −4( x + 2) or y = −4x + 4. and −1 if x < −5
17. f ′ ( x ) = cos( x ) ⇒ f ′ (π ) = cos(π ) = −1 so an 33. f ( x ) = x3 + 4x2 (plus any constant)
equation of the tangent line at (π, 0) is y − 0 =
35. f (t) = 5 · sin(t) 37. f ( x ) = 21 x2 + 13 x3
−1( x − π ) or y = − x + π; f ′ π2 = cos π2 = 0
so an equation of the tangent line at π2 , 1 is
y − 1 = 0 x − π2 or y = 1. Section 2.2
19. (a) y − 5 = 4( x − 2) or y = 4x − 3 (b) x + 4y = 22 1. (a) 0, 1, 2, 3, 5 (b) 0, 3, 5
or y = −0.25x + 5.5 (c) f ′ ( x ) = 2x, so the 3. In the table below, und. means “undefined”:
tangent line is horizontal only if x = 0: at
f (x) ′
f (x)
the point (0, 1). (d) f ′ ( p) = 2p (the slope x f ( x ) · g( x ) ( f ( x ) · g( x ))′ g( x ) g( x )
of the tangent line) so y − q = 2p( x − p) or
0 2 13 2 −7
y = 2px + (q − 2p2 ). Since q = p2 + 1, the tangent
1 −15 16 − 35 4
25
line is y = 2px + ( p2 + 1 − 2p2 ) = 2px − p2 + 1.
2 0 −6 0 − 23
(e) We need p such that −7 = 2p(1) − p2 + 1, so
3 0 3 und. und.
p2 − 2p − 8 = 0 ⇒ p = −2 or p = 4. There are
′
two such points: (−2, 5) and (4, 17).
( f · g)′
f f
x f +g ( f + g)′ f ·g g g
21. (a) y′ ( x ) = 2x, so y′ (1) = 2 and the angle is
3
arctan(2) ≈ 1.107 radians ≈ 63◦ (b) y′ ( x ) = 3x2 5. 1 5 0 6 2 2 − 10
4
1 1 1 1
so y′ (1) = 3 and the angle is arctan(3) ≈ 1.249 2 4 2 3 2 3 − 18
radians ≈ 72◦ (c) 1.249 − 1.107 radians = 0.142 3 4 0 4 0 1 1
radians (or 71.57◦ − 63.43◦ ≈ 8.1◦ )
7. (a) D (( x − 5)(3x + 7)) = ( x − 5) · 3 + (3x + 7) · 1
23. Units on the horizontal axis are “seconds”; units
(b) D 3x2 − 8x − 35 = 6x − 8 (the same result)
on the vertical axis are “feet per second.”
9. 19 · 3x2 = 57x2 11. cos( x ) − sin( x )
67. (a) For 0 ≤ x ≤ 1, f ′ ( x ) = 1 so f ( x ) = x + C; 13. (a) If h(t) = 5t, then v(t) = h′ (t) = 5 and
because f (0) = 0, we know C = 0 and K (1) = K (2) = 12 m(52 ) = 12.5m. (b) If h(t) = t2 ,
f ( x ) = x. For 1 ≤ x ≤ 3, f ′ ( x ) = 2 − x then v(t) = h′ (t) = 2t so v(1) = 2 and
so f ( x ) = 2x − 21 x2 + K; because f (1) = 1, v(2) = 4, hence K (1) = 12 m(22 ) = 2m and
we know K = − 21 and f ( x ) = 2x − 12 x2 − 21 . K (2) = 12 m(42 ) = 8m.
For 3 ≤ x ≤ 4, f ′ ( x ) = x − 4 so f ( x ) = 15. x · (sin( x ))′ + sin( x ) · ( x )′ = x cos( x ) + sin( x )
1 2
2 x − 4x + L; because f (3) = 1, we know 17. f ′ ( x ) = e x − sec( x ) · tan( x )
L = 17 1 2 17
2 and f ( x ) = 2 x − 4x + 2 . 19. f ′ ( x ) = −e− x + cos( x )
(b) A vertical shift, up 1 unit, of the graph in (a).
21. f ′ ( x ) = 7( x − 5)6 (1) so f ′ (4) = 7(−1)6 (1) = 7.
Tangent line: y − (−1) = 7( x − 4) or y = 7x − 29.
Section 2.3
1
23. f ′ ( x ) = 12 (25 − x2 )− 2 (−2x ) = √ −x so f ′ (3) =
1. D( f 2 ( x )) = 2· f 1 ( x ) · f ′ ( x );
at x = 1, D( f 2 ( x ))
= 25− x2
√ −3 = − 34 . Tangent line: y − 4 = − 34 ( x − 3) or
2(2)(3) = 12. D( f 5 ( x )) = 5 · f 4 ( x ) · f ′ ( x ); at x = 25−9
1
1, D( f 5 ( x )) = 5(24 )(3) = 240. D( f 2 ( x )) = 12 · 3x + 4y = 25.
1 1 1
f − 2 ( x ) · f ′ ( x ); at x = 1, D( f 2 ( x )) = ( 12 )(2− 2 )(3) 25. f ′ ( x ) = 5( x − a)4 (1) so f ′ ( a) = 5( a − a)4 (1) = 0.
√
3 3 2 Tangent line: y − 0 = 0( x − a) or y = 0.
= √ = 4 .
2 2
27. (a) f ′ ( x ) = e x so f ′ (3) = e3 . Tangent line:
x f (x) f ′ (x) D( f 2 ) D( f 3 ) D( f 5 ) y − e3 = e3 ( x − 3) or y = e3 x − 2e3 .
3. 1 1 −1 −2 −3 −5 (b) 0 − e3 = e3 ( x − 3) ⇒ −1 = x − 3 ⇒ x = 2
3 2 −3 −12 −36 −240 (c) f ′ ( p) = e p so tangent line at ( p, e p ) is y − e p =
e p ( x − p); x-intercept: 0 − e p = e p ( x − p) ⇒
5. f ′ ( x ) = 5 · (2x − 8)4 · (2) = 10(2x − 8)4
−1 = x − p ⇒ x = p − 1
7. f ′ ( x ) = x · 5 · (3x + 7)4 · 3 + 1 · (3x + 7)5 =
29. f ′ ( x ) = − sin( x ) ⇒ f ′′ ( x ) = − cos( x )
(3x + 7)4 [15x + (3x + 7)] = (3x + 7)4 (18x + 7)
1 1 31. f ′ ( x ) = x2 cos( x ) + 2x sin( x ) ⇒
9. f ′ ( x ) = ( x2 + 6x − 1)− 2 · (2x + 6), which we f ′′ ( x ) = − x2 sin( x ) + 2x cos( x ) + 2x cos( x ) +
2
x+3 2 sin( x ) = − x2 sin( x ) + 4x cos( x ) + 2 sin( x )
can rewrite as √
2
x + 6x − 1 33. f ′ ( x ) = e x cos( x ) − e x sin( x ) ⇒ f ′′ ( x ) = −2e x sin( x )
11. (a) Graph of h(t) = 3 − 2 sin(t):
35. q′ = linear, q′′ = constant, q′′′ = q(4) = · · · = 0
37. p(n) = constant ⇒ p(n+1) = 0
39. f ( x ) = 5e x
41. f ( x ) = (1 + e x )5
43. No. Using the definition of the derivative:
1
f (0 + h ) − f (0) ( 0 + h ) · sin 0+ h − 0
lim = lim
h →0 h h →0 h
(b) When t = 0, h(0) = 3 feet.
1
(c) highest: 5 feet above the floor which simplifies to lim sin ; to see that this
h →0 h
lowest: 1 foot above the floor. last limit does not exist, graph sin 1h or evaluate
(d) v(t) = h′ (t) = −2 cos(t) ft/sec
sin 1h for small values of h.
a(t) = v′ (t) = 2 sin(t) ft/sec2 .
(e) This spring oscillates forever. The motion of a x
1
real spring would “damp out” due to friction. 45. 1+ ≈ 2.718 . . . = e when x is large.
x
A12 contemporary calculus
x f ◦ g( x ) ( f ◦ g)′ ( x ) x ′ (t) = − 21
t2
. At t = 3, x = 9 and x ′ (t) = − 21
9 =
− 37 so dtd ( f ( x (t))) = √1 − 73 = − 18 7
−2 1 0 .
2 9
−1 1 2 37. f ( x ) = tan3 ( x )
⇒ ′
f (x) = 3 · tan2 ( x ) · sec2 ( x );
8. & 9.
0 0 1 ′
x (t) = 8 ⇒ x (t) = 0. When t = 3, x = 8 and
1 2 2 x ′ (t) = 0 so dt
d
( f ( x (t))) = 0.
2 −2 −2 1 11
39. f ( x ) = 77 (7x − 13)
69. (a) y′ = 2ABx − 3Ax2 = Ax (2B − 3x ) 25. D 5sin( x) = 5sin( x) · ln(5) · cos( x )
2B
(b) x = 0, 3 1
27. · (sec( x ) tan( x ) + sec2 ( x )) = sec( x )
(c) y′′ = 2AB − 6Ax sec( x )+tan( x )
71. (a) y′ = 3Ax2 + 2Bx = x (3Ax + 2B) 29. f ( x ) = ln( x ), f ′ ( x ) = 1x . Let P = ( p, ln( p)). So
2B
(b) x = 0, − 3A we need y − ln( p) = 1p ( x − p) with x = 0 and
(c) y′′ = 6Ax + 2B y = 0: −ln( p) = −1 ⇒ p = e, hence P = (e, 1).
d 2x 100Ae−t
73. arctan( x2 ) = 31. 100(−1)(1 + Ae−t )−2 · ( Ae−t )(−1) =
dx 1 + x4 (1 + Ae−t )2
1 ex
75. D (arctan(e x )) = 2
· ex = 33. f ( x ) = 8 ln( x ) + any constant
1 + (e x ) 1 + e2x
35. f ( x ) = ln(3 + sin( x ))+ any constant
3x2
77. D(arcsin( x3 )) = √
1 − x6 37. g( x ) = 35 e5x + any constant
d 1 et 2
39. f ( x ) = e x + any constant
arcsin(et ) = p · et = √
79.
dt 1 − ( e t )2 1 − e2t
d 1 41. h( x ) = ln(sin( x )) + any constant
81. (ln(sin( x ))) = · cos( x ) = cot( x )
dx sin( x ) 43. (a) When t = 0, A is at (0, 1) and B is at (0, 1).
d 1 d d
83. ds (ln(es )) = es · es = 1 or ds (ln(es )) = ds ( s ) =1 When t = 1, A is at (1, 3) and B is at (1, 3).
(b) Both robots traverse the same path (the line
Section 2.5 segment y = 2x + 1 for 0 ≤ x ≤ 1):
1 1
1. D(ln(5x )) = ·5 =
5x x
k 1 k −1 k
3. D(ln( x )) = k · kx =
x x
1
5. D(ln(cos( x ))) = · (− sin( x )) = − tan( x )
cos( x )
1 1 1
7. D(log2 (5x )) = · · (5) =
5x ln(2) x ln(2)
1
9. D(ln(sin( x ))) = · cos( x ) = cot( x )
sin( x )
1 1 cot( x )
11. D(log2 (sin( x ))) = · · cos( x ) =
sin( x ) ln(2) ln(2)
47. (a) x (t) = R(t − sin(t)), y(t) = R(1 − cos(t)): 1 dV 2π dr
7. Volume V = πr2 h = πr2 3 ⇒ dt = 3 r · dt .
So when r = 50 ft and dr
dt = 6 ft , we have
hr
3
ft3
dV 2π ft ft
dt = 3 (50 ft) 6 hr = 200π hr ≈ 628.32 hr .
15. V = s3 − 34 πr3 ⇒ dV 2 ds 2 dr
dt = 3s dt − 4πr dt so when
dV
1. V = 43 πr3 ⇒ = 4πr2 · dr
dt dt . We know dr
dt r =3 =
r = 4 ft, dr = 1 ft , s = 12 ft and ds ft dV
dt = 3 hr : dt =
2 in/min, so dV = 4π (3 in)2 (2 in/min) = dt hr
dt r =3
3
72π in3 /min ≈ 226.19 in3 /min. 3(12 ft)2 3 ft − 4π (4 ft)2 1 ft ≈ 1094.94 ft .
hr hr hr
h i 3
3. (a) A = 21 bh ⇒ dA dt = 1
2 b dh
dt + h db
dt so with The volume is increasing at about 1,095 ft .
hr
b = 15 in, h = 13 in, db in dh in 17. Given: dV 2
dt = 3 hr , dt = −3 hr : dt = k · 2πr with k constant. We also
have V = 3 πr ⇒ dV
2 3 2 dr
dt = 2πr dt so k · 2πr =
2
dA 1 in in dr dr
= (15 in) −3 + (13 in) 3 2πr2 dt ⇒ dt = k. The radius r is changing at a
dt 2 hr hr
constant rate.
which is < 0, so A is decreasing.
√ 19. (a) A = 5x (b) dA 2
(b) Hypotenuse C = b2 + h2 so: dx = 5 for all x > 0. (c) A = 5t
dA dA
(d) dt = 10t. When t = 1, dt = 10; when
dC b db + h dh 15(3) + 13(−3) t = 2, dA dA
= √dt dt
= √ dt = 20; when t = 3, dt = 30.
dt b2 + h2 152 + 132 dA
(e) A = 10 + 5 · sin(t) ⇒ dt = 5 · cos(t).
which is > 0 so C is increasing. 21. In (b) and (c) we must use radians because our for-
(c) Perimeter P = b + h + C so: mulas for derivatives of trigonometric functions
dP db dh dC 6 assume angles are measured in radians.
= + + = 3 + (−3) + √
dt dt dt dt 394 (a) tan(10◦ ) = 40
x ⇒x= 40
tan(10◦ )
≈ 226.9 ft.
which is > 0 so P is increasing. (b) x = tan40(θ ) = 40 cot(θ ) ⇒ dx 2 dθ
dt = −40 csc ( θ ) dt
dy
5. (a) Perimeter P = 2x + 2y ⇒ dP dx
dt = 2 dt + 2 dt = ⇒ dθ
2
sin (θ ) dx ◦
dt = − 40 dt so when θ = 10 ≈ 0.1745
2(3 ft/sec) + 2(−2 ft/sec) = 2 ft/sec. dx ft
dy radians and dt = −25 :
(b) Area A = xy ⇒ dA = x dt + y dx dA min
dt dt ⇒ dt =
dθ sin2 (0.1745) (0.1736)2 (25)
ft + (8 ft) 3 ft = 0 ft2 /sec.
(12 ft) −2 sec sec =− (−25) ≈
dt 40 40
A15
rad ≈ 1.079 ◦ .
≈ 0.0188 min 19. (a) 2(0) − ⌊2(0)⌋ = 0 − 0 = 0
min
(c) dx
= −40 csc2 (θ ) dθ
dt =
−40 dθ so when θ = (b) 2( 21 ) − ⌊2( 12 )⌋ = 1 − 1 = 0
dt sin2 (θ ) dt
◦ rad 2( 41 ) − ⌊2( 14 )⌋ = 21 − 0 = 12 → 0
10◦ ≈ 0.1745 rad and dθ
dt = 2 min ≈ 0.0349 min :
2( 81 ) − ⌊2( 18 )⌋ = 41 − 0 = 14 → 21 → 0
dθ −40 ft 2( 21n ) − ⌊2( 21n )⌋ = 2n1−1 − 0 = 2n1−1
≈ (0.0349) ≈ −46.3
dt (0.1736)2 min → 2n1−2 → · · · → 41 → 1
→0
2
(The “-” indicates the distance to the sign is
21. (a) If 0 ≤ x ≤ 12 , then f stretches x to twice its
decreasing: you are approaching the sign.)
value, 2x. If 12 < x ≤ 1, then f stretches
Your speed is 46.3 ft .
min x to twice its value (2x) and “folds” the
part above the value 1 (2x − 1) to below 1:
Section 2.7 1 − (2x − 1) = 2 − 2x.
1. The locations of x1 and x2 appear below: (b) f ( 32 ) = 23
f ( 52 ) = 45 , f ( 45 ) = 25 , and the values continue
to cycle.
f ( 27 ) = 47 , f ( 47 ) = 67 , f ( 76 ) = 27 , and the values
continue to cycle.
f ( 29 ) = 49 , f ( 49 ) = 89 , f ( 98 ) = 29 , and the values
continue to cycle.
(c) 0.1, 0.2, 0.4, 0.8, 0.4, 0.8, and the pair of values
0.4 and 0.8 continue to cycle.
0.105, 0.210, 0.42, 0.84, 0.32, 0.64, 0.72, 0.56,
0.88, 0.24, 0.48, 0.96, 0.08, 0.16, 0.32, . . .
0.11, 0.22, 0.44, 0.88, 0.24, 0.48, 0.96, 0.08, 0.16,
3. x0 = 1: a; x0 = 5: b
0.32, 0.64, 0.72, 0.56, 0.88, . . .
5. x0 = 1: 1, 2, 1, 2, 1, . . .
(d) Probably so.
x0 = 5: x1 is undefined because f ′ (5) = 0
7. If f is differentiable, then f ′ ( x0 ) = 0 and x1 =
f (x )
x0 − f ′ ( x0 ) is undefined. Section 2.8
0
9. f ( x ) = x4 − x3 − 5 ⇒ f ′ ( x ) = 4x3 − 3x2 so
3 37
1. (a) The desired points appear below:
x0 = 2 ⇒ x1 = 2 − 20 = 20 = 1.85 ⇒ x2 =
1.854 −1.853 −5
1.85 − 4(1.85)3 −3(1.85)2
≈ 1.824641
11. f ( x ) = x − cos( x ) ⇒ f ′ ( x ) = 1 + sin( x ) so x0 =
0.7 ⇒ x1 = 0.7394364978 ⇒ x2 = 0.7390851605,
so root ≈ 0.74.
x 2
13. To solve x+ 3 = x − 2 we search for roots of
x
f ( x ) = x2 − 2 − x+ 3 . If x0 = −4, then the iterates
xn → −3.3615; if x0 = −2, then xn → −1.1674; if
x0 = 2, then the iterates xn → 1.5289.
(b) The “error” appears in the figure above.
15. For x5 − 3 = 0 and x0 = 1, xn → 1.2457.
17. f ( x ) = x3 − A ⇒ f ′ ( x ) = 3x2 so: 3. (a) With f (4) = 2 and f ′ (4) = 1
√ = 14 , the tan-
2 4
xn3 − A gent line is y − 2 = 14 ( x − 4) or y = 14 x + 1
1 A √
x n +1 = x n − = 2xn + 2
3xn2 3 xn and 4.2 = f (4.2) ≈ 14 (4.2) + 1 = 2.05
A16 contemporary calculus
√
(3, −4), which is the local and global minimum, f (2) ≈ 6.49, so f ( x ) = 3 x2 + 4 − x has a local
(−2, 21), which is a local and global maximum, max at x = 0, a global and local min at x = √1 ,
2
and (5, 0), which is a local maximum. and a global and local max at x = 2.
27. f ( x ) = 2 − x3 ⇒ f ′ ( x ) = −3x2 , which is defined 37. f ( x ) = x3 − ln( x ) ⇒ f ′ ( x ) =h 3x2 i− 1x , which ex-
for all values of x; f ′ ( x ) = 0 only when x = 0, ists for all x in the interval 21 , 2 , and f ′ ( x ) =
so that is a critical number. The endpoints are 0⇒x= √1
. The endpoints are x = 1
and x = 2,
3 2
3
x = −2 and x = 1, which are also critical num-
so the three critical numbers are x = 21 , x = √
3
1
bers. The critical points are (−2, 10), which is a 3
1 1
local and global maximum, (0, 2), which is not a and x = 2: f 2 ≈ 0.82, f √ 3 ≈ 0.70 and
3
local or global maximum or minimum, and (1, 1), f (2) ≈ 7.3 so f ( x ) = x3 − ln( x ) has a local max
which is a local and global minimum. at x = 12 , a global and local min at x = √ 1
3 , and a
3
29. f ′ ( x ) = 3x2 − 3 = 3( x − 1)( x + 1), which is de- global and local max at x = 2.
fined for all x; f ′ ( x ) = 0 only when x = −1 √
39. A( x ) = 4x 1 − x2 for 0 < x < 1, so:
and x = 1, so these are critical numbers. The
− x2
endpoints x = −2 and x = 1 are also critical
p
′ 2
A (x) = 4 √ + 1−x
numbers. The critical points are (−2, 3), which is 1 − x2
1 − 2x2
a local and global minimum on [−2, 1], the point
=4 √
(−1, 7), which is a local and global maximum on 1 − x2
[−2, 1], and the point (1, 3), which is a local and
hence A′ ( x ) > 0 if 0 < x < √1 and A′ ( x ) < 0 if
global minimum on [−2, 1]. 2
√1 < x < 1. Max when x = √1 : A √1 =2
31. f ′ ( x ) = 5x4 − 20x3 + 15x2 = 5x2 ( x2 − 4x + 3) = 2 2 2
5x2 ( x − 3)( x − 1), which is defined for all x; 41. V = x (8 − 2x )2 for 0 ≤ x ≤ 4, so:
f ′ ( x ) = 0 only when x = 0 or x = 1 in the
interval [0, 2], so each of these values is a crit- V ′ = x (2)(8 − 2x )(−2) + (8 − 2x )2
ical number. The endpoints x = 0 and x = 2 = (8 − 2x )(−4x + 8 − 2x )
are also critical numbers. The critical points are = (8 − 2x )(8 − 6x ) = 4(4 − x )(4 − 3x )
(0, 7), which is a local minimum, (1, 8) which is a
local and global maximum, and (2, −1), which is ′ 4 ′ 4
V < 0 if x >
hence
2
3 and V > 0 if 0 < x < 3 .
a local and global minimum. (It is also true that V 43 = 43 8 − 38 = 1024 27 ≈ 37.926 cubic units
f ′ (3) = 0, but x = 3 is not in the interval [0, 2].) is the largest volume. Smallest volume is 0, which
33. f ( x ) = 1
x 2 +1
⇒ f ′ ( x ) = (x− 2x
2 +1)2 , which is defined occurs when x = 0 and x = 4.
for all values of x; f ′ ( x ) = 0 only when x = 0, 43. (a) 4: the endpoints and two values of x for which
which is not in the interval [1, 3] so x = 0 is a f ′ ( x ) = 0 (b) 2: the endpoints (c) At most n + 1:
not a critical number. The endpoints x = 1 and the two endpoints and the n − 1 points x for
x = 3are critical numbers. The critical points are
which f ′ ( x ) = 0; at least 2: the endpoints.
1, 1 , which is a local and global maximum, and
2 45. (a) local minimum at (1, 5) (b) no extreme at (1, 5)
1
3, 10 , which is a local and global minimum. (c) local maximum at (1, 5) (d) no extreme at (1, 5)
− 1 47. (a) 0, 2, 6, 8, 11, 12 (b) 0, 6, 11 (c) 2, 8, 12
35. f ′ ( x ) = 32 x2 + 4 2 · 2x − 1 = √ 3x − 1, which
x 2 +4
′
exists for all x; f ( x ) = 0 only when 3x = 49. If f does not attain a maximum on [ a, b] or f does
√
x2 + 4 ⇒ x = √1 . The endpoints are x = 0 not attain a minimum on [ a, b], then f must have
2
and x = 2, so the critical numbers a discontinuity on [ a, b].
are x = 0,
1
x= √ and x = 2: f (0) = 6, f √1 ≈ 5.66 and 51. (a) yes, −1 (b) no (c) yes, −1 (d) no (e) yes, 1 − π
2 2
A21
53. (a) yes, 0 (b) yes, 0 (c) yes, 0 (d) yes, 0 (e) yes, 0 19. f ′ (c) = 17 at some time c does not prove the
55. (a) S( x ) is minimum when x ≈ 8 motorist “could not have been speeding.”
3. 6.
7. A: Q, B: P, C: R
9. f ′ ( x ) = 1x > 0 for x > 0 so f ( x ) = ln( x ) is
increasing on (0, ∞).
11. If f is increasing then f (1) < f (π ) so f (1) and
f (π ) cannot both equal 2.
13. (a) x = 3, x = 8 (b) maximum at x = 8 (c) none
(or only at right endpoint)
4. 14. Relative maximum height at x = 2 and x = 7;
relative minimum height at x = 4.
15. Relative maximum height at x = 6; relative mini-
mum height at x = 8.
17. f ( x ) = x3 − 3x2 − 9x − 5 has a relative minimum
at (3, −32) and a relative maximum at (−1, 0).
19. h( x ) = x4 − 8x2 + 3 has a relative max at
(0, 3) and relative minimums at (2, −13) and
(−2, −13).
21. r (t) = 2(t2 + 1)−1 has a relative maximum at
(0, 2) and no relative minimums.
23. No positive roots. f ( x ) = 2x + cos( x ) is con-
tinuous and f (0) = 1 > 0. Because f ′ ( x ) =
2 − sin( x ) ≥ 1 > 0 for all x, f is increasing and
5.
never decreases back to the x-axis (a root).
24. One positive root. g( x ) = 2x − cos( x ) is contin-
uous, g(0) = −1 < 0 and g(1) = 2 − cos(1) ≥
1 > 0 so by the Intermediate Value Theorem,
g has a root between 0 and 1. Because g′ ( x ) =
2 + sin( x ) ≥ 1 > 0 for all x, g is always increasing
and can have only that one root.
A23
23. f ′ ( x ) = −3e−3x + 1 ⇒ f ′′ ( x ) = 9e−3x > 0 for (b) Using a rectangle with sides of length x and
all x, hence f is always concave up and has y (see figure above) 2x + 2y = P ⇒ y =
P
no inflection points. Its only critical number: 2 − x. We to maximize A = x · y =
want
−3e−3x + 1 = 0 ⇒ e−3x = 13 ⇒ x = 31 · ln (3) ≈ x P
−x = P
x − x2 and A′ ( x ) = P
− 2x
2 2 2
0.37, which must be a local min. Try a window so A′ ( x )
= 0 when x = P
⇒ y = P2 − = P4 ;
P
4 4
with −1 ≤ x ≤ 2 and 0 ≤ y ≤ 3. ′′
A ( x ) = −2 < 0 for all x, so x = P4 yields the
25. f ′ ( x ) = (1 − 3x )e−3x ⇒ f ′′ ( x ) = (9x − 6)e−3x so maximum enclosed area. This garden is a P4
the only critical number is x = 1
3 and f ′′ 1
3 − by P4 square.
3e−1 < 0, so it must be a local max. The only (c) Using a rectangle with sides of length x and y
inflection point is where x = 23 . Try a window (see figure below) 2x + y = P ⇒ y = P − 2x.
with −1 ≤ x ≤ 2 and −2 ≤ y ≤ 1. We want to maximize A = xy = x ( P − 2x ) =
27. f ′ ( x ) = 1 − 23
(4x − 1), so the critical numbers Px − 2x2 and A′ ( x ) = P
− 4x ′
so A ( x ) = 0
3x
P P
5
are x = 0 and x = 14 ; f ′′ ( x ) = 29 x − 3 (2x + 1) when x = 4 ⇒ y = P−2 4 = P2 .
so the only candidates for an inflection point
are x = 0 and x = − 12 . Because f ′′ ( x ) < 0
when x < − 12 and x > 0, the graph of f is con-
cave up on those intervals
and concave down for
− 12 < x < 0; because f 14 > 0, f has a local min
at x = 41 . Try −1.5 ≤ x ≤ 2.5 and −1 ≤ y ≤ 3. (d) A circle. A semicircle.
29. Critical number at x = 0, which is a local min; in- 3. (a) If x is the horizontal length and y is the ver-
flection points at x = ±1; concave up on (−1, 1), tical length, then 120 = 2x + 5y ⇒ y =
concave down elsewhere; try a window with 24 − 25 x. We want to maximize A = xy =
−3 ≤ x ≤ 3 and −1 ≤ y ≤ 3. x 24 − 25 x = 24x − 25 x2 and A′ ( x ) = 24 − 45 x
The pen shown here: the least expensive cylindrical can decreases:
the least expensive can becomes narrower and
taller.
9. Recall that time = distance
rate . Let the run distance
= x (so 0 ≤ x ≤ 60; why?), hence the run time
= 8x and the swim distance = 402 + (60 − x )2
p
(b) We want to minimize the cost: the triangle is a right triangle with sides 7 and
10. Using either approach, the maximum area
C ( x ) = 3000 dist(C, W ) + 7000 dist(W, D )
p q of the triangle is 12 (7)(10) = 35 square inches,
= 3000 x2 + 9 + 7000 (10 − x )2 + 25 and the third side is the hypotenuse with length
√ √
so, differentiating gives: 72 + 102 = 149 ≈ 12.2 inches.
Differentiating and simplifying: 28. See below left for (a), below right for (b):
π 36r3 − 6r5
V ′ (r ) = ·√
6 9r4 − r6
so V ′ (r ) = 0 when 36r3 − 6r5 = 6r3 (6 − r2 ) = 0;
√
r = 0 results
q in√zero volume, so r = 6 ≈ 2.45 in
√
⇒ h = 9 − ( 6)2 = 3 ≈ 1.73 in.
23. Let n ≥ 10 be the number of passengers. The
income is I (n) = n(30 − (n − 10)) = 40n − n2 In the solutions to these “shortest path” problems,
and the cost is C (n) = 100 + 6n, so the profit is the roads all meet at 120◦ angles.
P(n) = I (n) − C (n) = (40n − n2 ) − (100 + 6n) =
29. (a) A = (base)(height) = (1 − x )( x2 ) = x2 − x3
34n − n2 − 100 ⇒ P′ (n) = 34 − 2n so P′ (n) = 0
for 0 ≤ x ≤ 1, so A′ ( x ) = 2x − 3x2 and
when n = 17: 17 passengers on the flight maxi-
A′ ( x ) = 0 ⇒ x = 23 (clearly the endpoints
mize your profit. (This is an example of treating
x = 0 and x = 1 will not yield the largest
a naturally discrete variable, the number of pas- 2
area). So A 23 = 31 23 = 27 4
sengers, as a continuous variable.) .
(b) A( x ) = (1 − x )(Cx2 ) = Cx2 − Cx3 where
25. Apply Problem 24 with R = f and E = g.
0 ≤ x ≤ 1, so A′ ( x ) = 2Cx − 3Cx2 and
27. (a) Let D be diameter of the can’s base and H = A′ ( x ) = 0 if x = 23 (as before, neither end-
the can’s height. Then: 2
point works). So A 32 = 13 · C 32 = 4C
27 .
radius of can (c) A( x ) = ( B − x )(Cx2 ) = BCx2 − Cx3 , where
θ = arctan
height of CG 0 ≤ x ≤ B, so A′ ( x ) = 2BCx − 3Cx2 =
Cx (2B − 3x ) and A′ ( x ) = 0 if x = 23 B. So
D/2 D
= arctan = arctan 2
H/2 H
B
A 2B C = 3 ( C ) 2B
3
4 3
= 27 B C.
For this can, D = 5 cm and H = 12 cm so 31. (a) Position the lower-left vertex of the triangle at
θ = arctan 2.5
6 ≈ 0.395 radians. The can can (0, 0) so the hypotenuse sits on y = 20 − 50 20
x
be tilted about 22.6◦ before it falls over. and the area of the rectangle is A = xy =
(b) Differentiating C ( x ) yields: x 20 − 25 x = 20x − 25 x2 ⇒ A′ ( x ) = 20 − 45 x
(60 + 19.2x )(19.2x ) − (360 + 9.6x2 )(19.2) and A′ ( x ) = 0 when x = 25. Then y = 10 and
(60 + 19.2x )2 the area of the rectangle is 25 · 10 = 250.
(b) Proceeding as in part (a), y = H− HBx
so C ′ ( x ) = 0 ⇒ (19.2)(9.6x2 + 60x − 360) = 0
H H 2
and A( x ) = x H − B x = Hx − B x ⇒
⇒ x = 3.75 or x = −10: the height of the cola
A′ ( x ) = H − 2H ′
B x and A ( x ) = 0 when
is 3.75 cm. B H
x = 2 . Then y = 2 and area of rectangle
(c) C (3.75) = 3.75 (The center of gravity is exactly
is B2 · H2 = BH
4 .
at the top edge of the cola. It turns out that
when the CG of a can-and-liquid system is as 33. Let r and h be radius and height of can, and F =
low as possible then the CG is at the top edge (top cost) + (bottom cost) + (cost of sides) =
2.5 A (πr )2 + B (πr )2 + C (2πrh). But volume V =
of the liquid.) Then θ = arctan 3.75 ≈ 0.588
V 2CV
radians: in this situation, the can can be tilted πr2 h ⇒ h = πr 2
2 so F (r ) = ( A + B ) πr + r ⇒
′ 2CV ′
F (r )2( A + B)πr − r2 , so F (r ) = 0 when r =
about 33.7◦ before it falls over. q
CV
(d) Less far. 3
π ( A+ B)
. Now you can find h and F.
A28 contemporary calculus
1
Section 3.6 ln( x ) x 1
9. lim = lim = lim =0
x →∞ x p x →∞ px p−1 x →∞ px p
1. (a) h( x ) has a root at x = 1.
1 − cos(3x ) 3 sin(3x ) 9 cos(3x ) 9
(b) lim h( x ) = 0, lim h( x ) = 0 11. lim 2
= lim = lim =
x →1+ x →1− x →0 x x →0 2x x →0 2 2
lim h( x ) = −∞, lim h( x ) = +∞
x →3+ x →3− f′ m m
13. For a ̸= 0: ′
= x m−n → am−n . For a = 0:
(c) y = h( x ) has a vertical asymptote at x = 3 g n n
3. lim h( x ) = +∞, lim h( x ) = −∞
0 if m > n
x →2+ x →2−
lim h( x ) = 0, lim h( x ) = 0 x m − am
1 if m = n
x →4+ x →4− lim n =
x→a x − a n +∞ if m < n and (m − n) is even
5. 0 7. −3 9. 0 11. DNE
DNE if m < n and (m − n) is odd
2
13. 3 15. 0 17. −7 19. 3 1 − cos( x ) sin( x )
15. lim = lim =0
x →0 x · cos( x ) x →0 − x · sin( x ) + cos( x )
21. cos(0) = 1 23. ln(1) = 0
f′ pe px p
17. ′ = → so p = 3(5) = 15.
25. (a) V (t) = 50 + 4t gals, A(t) = 0.8t lbs of salt g 3 3
(b) C (t) =
A(t)
=0.8t 19. (a) All three limits are +∞.
V (t) 50+4t
(b) After applying L’Hôpital’s Rule m times:
(c) as t → ∞, C (t) → 0.8
= 0.2 lbs per gal
4
(d) V (t) = 200 + 4t and A(t) = 0.8t, so C (t) = f (m) a · bm · ebn
0.8t 0.8 =
200+4t → 4 = 0.2 lbs per gal g(m) c(m)(m − 1)(m − 2) · · · (2)(1)
constant · ebn
27. +∞ 29. −∞ 31. −∞ 33. −∞ = → +∞
another constant
35. +∞ 37. −∞ 39. 1 41. −∞ ln( x ) − sin( x )
21. lim = lim · tan( x ) = −1 · 0 = 0
x →0+ csc( x ) x →0 + x
43. horizontal: y = 0; vertical: x = 0 1
ln( x ) x
√
44. horizontal: y = 0; vertical: x = 0; “hole”: (1, 1) 23. lim = lim = lim −2 x = 0
x →0+ x − 21 x →0+ − 12 x − 32 x →0+
45. horizontal: y = 0; vertical: x = 3 and x = 1 x
3 x ·ln 1− 3
47. vertical: x = −1 25. Write 1− =e x2 and compute:
x2
49. horizontal: y = 1; vertical: x = 1
3
51. slant: y = 2x + 1; vertical: x = 0 ln 1 − x2 −6
lim = lim =0
53. other: y = sin( x ); vertical: x = 2 x →∞ 1
x
x →∞ x − 3x
55. other: y = x2 so that the original limit equals e0 = 1.
57. other: y = cos( x ); vertical: x = 3 sin( x ) − x cos( x ) − 1
√ 27. lim = lim
59. y = x; x = −3 x →0 x · sin( x ) x →0 x · cos( x ) + sin( x )
Basic Patterns
D( f + g) = D( f ) + D( g) D( f − g) = D( f ) − D( g)
g · D( f ) − f · D( g)
D( f · g) = f · D( g) + g · D( f ) f Product Rule and Quotient Rule
D =
g g2
Power Rules
D ( x p ) = p · x p −1 D ( f n ) = n · f n −1 · D ( f )
Chain Rule
D ( f ( g( x ))) = f ′ ( g( x )) · g′ ( x ) dy dy du
= ·
dx du dx
D (eu ) = eu D ( au ) = au · ln( a)
1 1 f ′ (x)
D (ln(|u|)) = D (loga (|u|)) = D (ln( f ( x ))) =
u u · ln( a) f (x)
Trigonometric Functions
1 1 1
D(arcsin(u)) = √ D(arctan(u)) = D(arcsec(u)) = √
1 − u2 1 + u2 | u | u2 − 1
−1 −1 −1
D(arccos(u)) = √ D(arccot(u)) = D(arccsc(u)) = √
1 − u2 1 + u2 | u | u2 − 1
Hyperbolic Functions
1 1
D(argsinh(u)) = √ D(argcosh(u)) = √ (for u > 1)
1 + u2 u2 −1
1 1
D(argtanh(u)) = (for |u| < 1) D(argcoth(u)) = (for |u| > 1)
1 − u2 1 − u2
−1 −1
D(argsech(u)) = √ (for 0 < u < 1) D(argcsch(u)) = √ (for u ̸= 0)
| u | 1 − u2 | u | u2 + 1
H
How to Succeed in Calculus
when students get a bit behind or confused, they are most likely to
miss a class or two (or five). That is absolutely the worst time to miss
classes. Attend class anyway. Ask where on campus you can get some
free tutoring or counseling. Ask a classmate to help you for an hour
after class. If you must miss a class, ask a classmate what material was
covered and skim those sections before the next class. Even if you did
not read the material, return to class as soon as possible.
Work together. Study with a friend. Work in small groups. It is
much more fun and is very effective for doing well in calculus. Recent
studies — and our personal observations — indicate that students who
regularly work together in small groups are less likely to drop the
course and are more likely to get A’s or B’s. You need lots of time to
work on the material alone, but study groups of 3–5 students, working
together two or three times a week for a couple hours, seem to help
everyone in the group. Study groups offer you a way to get and give
help on the material and they can provide an occasional psychological
boost (“misery loves company?”); they are a place to use the mathemat-
ical language of the course, to trade mathematical tips, and to “cram”
for the next day’s test. Students in study groups are less likely to miss
important points in the course, and they get to know some very nice
people — their classmates.
Use the textbook effectively. There are a number of ways to use a
mathematics textbook:
• to review the material and see how it connects with the rest of the
course.
The first time you read a section, just try to see what problems are
being discussed. Skip around, look at the pictures, and read some
of the problems and the definitions. If something looks complicated,
skip it. If an example looks interesting, read it and try to follow the
explanation. This is an exploratory phase. Don’t highlight or underline
at this stage — you don’t know what is important yet and what is just a
minor detail.
The next time through the section, proceed in a more organized
fashion, reading each introduction, example, explanation, theorem and
proof. This is the beginning of the “mastery” stage. If you don’t
understand the explanation of an example, put a question mark (in
pencil) in the margin and go on. Read and try to understand each step
in the proofs and ask yourself why that step is valid. If you don’t see
A33
what justified moving from one step to another in the proof, pencil in
question marks in the margin. This second phase will go more slowly
than the first, but if you don’t understand some details, just keep going.
Don’t get bogged down yet.
Now worry about the details. Go quickly over the parts you already
understand, but slow down and try to figure out the parts marked with
question marks. Try to solve the example problems before you refer to
the explanations. If you now understand parts that were giving you
trouble, cross out the question marks. If you still don’t understand
something, put in another question mark and write down your question
to ask a teacher, tutor or classmate.
Finally, it is time to try the problems at the end of the section. Many
of them are similar to examples in the section, but now you need to
solve them. Some of the problems are more complicated than the
examples, but they still require the same basic techniques. Some of
the problems will require that you use concepts and facts from earlier
in the course, a combination of old and new concepts and techniques.
Working lots of problems is the “secret” of success in calculus.
Work the Problems. Many students read a problem, work it out and
check the answer in the back of the book. If their answer is correct, they
go on to the next problem. If their answer is wrong, they manipulate
(finagle, fudge, massage) their work until their new answer is correct,
and then they go on to the next problem. Do not try the next problem
yet! Before going on, spend a short time, just half a minute, thinking
about what you have just done in solving the problem. Ask yourself:
“What was the point of this problem?” “What big steps did I need to
take to solve this problem?” “What was the process?” Do not simply
review every single step of the solution process. Instead, look at the
outline of the solution, the process, the “big picture.” If your first
answer was wrong, ask yourself, “What about this problem should
have suggested the right process the first time?” As much learning and
retention can take place in the 30 seconds you spend reviewing the
process as took place in the 10 minutes you took to solve the problem.
A correct answer is important, but a correct process — carefully used —
will get you many correct answers.
There is one more step that too many students omit. Go back and
quickly look over the section one more time. Don’t worry about
the details, just try to understand the overall logic and layout of the
section. Ask yourself, “What was I expected to learn in this section?”
Typically, this last step — a review and overview — goes quickly, but it
is very valuable. It can help you see and retain the important ideas and
connections.
T
Trigonometry Facts
Trigonometric Functions
y x y
sin(θ ) = cos(θ ) = tan(θ ) =
r r x
x r r
cot(θ ) = sec(θ ) = csc(θ ) =
y x y
Fundamental Identities
1 sin(θ ) 1
sec(θ ) = tan(θ ) = =
cos(θ ) cos(θ ) cot(θ )
1 cos(θ ) 1
csc(θ ) = cot(θ ) = =
sin(θ ) sin(θ ) tan(θ )
Product-to-Sum Formulas
1
sin( x ) · sin(y) = 2 cos( x − y) − 12 cos( x + y)
1
cos( x ) · cos(y) = 2 cos( x − y) + 21 cos( x + y)
1
sin( x ) · cos(y) = 2 sin( x + y) + 12 sin( x − y)
Sum-to-Product Formulas
x−y
x+y
sin( x ) + sin(y) = 2 sin · cos
2 2
x−y
x+y
cos( x ) + cos(y) = 2 cos · cos
2 2
sin( x + y)
tan( x ) + tan(y) =
cos( x ) · cos(y)
Double-Angle Formulas
2 tan( x )
tan(2x ) =
1 − tan2 ( x )
Half-Angle Formulas
x r
1
sin =± (1 − cos( x ))
2 2
x
The quadrant of determines the ±. x r
2 1
cos =± (1 + cos( x ))
2 2
x 1 − cos( x )
tan =
2 sin( x )