APEX Calculus1 Version 4
APEX Calculus1 Version 4
APEX Calculus1 Version 4
Version 4.0
Contribu ng Authors
Troy Siemers, Ph.D.
Department of Applied Mathema cs
Editor
Jennifer Bowen, Ph.D.
Department of Mathema cs and Computer Science
Preface v
1 Limits 1
1.1 An Introduc on To Limits . . . . . . . . . . . . . . . . . . . . . 1
1.2 Epsilon-Delta Defini on of a Limit . . . . . . . . . . . . . . . . 9
1.3 Finding Limits Analy cally . . . . . . . . . . . . . . . . . . . . . 18
1.4 One Sided Limits . . . . . . . . . . . . . . . . . . . . . . . . . 30
1.5 Con nuity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
1.6 Limits Involving Infinity . . . . . . . . . . . . . . . . . . . . . . 46
2 Deriva ves 59
2.1 Instantaneous Rates of Change: The Deriva ve . . . . . . . . . 59
2.2 Interpreta ons of the Deriva ve . . . . . . . . . . . . . . . . . 75
2.3 Basic Differen a on Rules . . . . . . . . . . . . . . . . . . . . 82
2.4 The Product and Quo ent Rules . . . . . . . . . . . . . . . . . 89
2.5 The Chain Rule . . . . . . . . . . . . . . . . . . . . . . . . . . 100
2.6 Implicit Differen a on . . . . . . . . . . . . . . . . . . . . . . 111
2.7 Deriva ves of Inverse Func ons . . . . . . . . . . . . . . . . . 122
Index A.11
P
A Note on Using this Text
Thank you for reading this short preface. Allow us to share a few key points
about the text so that you may be er understand what you will find beyond this
page.
This text is Part I of a three–text series on Calculus. The first part covers
material taught in many “Calc 1” courses: limits, deriva ves, and the basics of
integra on, found in Chapters 1 through 6.1. The second text covers material
o en taught in “Calc 2:” integra on and its applica ons, along with an introduc-
on to sequences, series and Taylor Polynomials, found in Chapters 5 through
8. The third text covers topics common in “Calc 3” or “mul variable calc:” para-
metric equa ons, polar coordinates, vector–valued func ons, and func ons of
more than one variable, found in Chapters 9 through 14. All three are available
separately for free at www.apexcalculus.com. These three texts are intended
to work together and make one cohesive text, APEX Calculus, which can also be
downloaded from the website.
Prin ng the en re text as one volume makes for a large, heavy, cumbersome
book. One can certainly only print the pages they currently need, but some
prefer to have a nice, bound copy of the text. Therefore this text has been split
into these three manageable parts, each of which can be purchased for about
$15 at Amazon.com.
A result of this spli ng is that some mes a concept is said to be explored in
a “later sec on,” though that sec on does not actually appear in this par cular
text. Also, the index makes reference to topics and page numbers that do not
appear in this text. This is done inten onally to show the reader what topics are
available for study. Downloading the .pdf of APEX Calculus will ensure that you
have all the content.
New to Version 3.0 was the addi on of interac ve, 3D graphics in the .pdf
version. Nearly all graphs of objects in space can be rotated, shi ed, and zoomed
in/out so the reader can be er understand the object illustrated.
As of this wri ng, the only pdf viewers that support these 3D graphics are
Adobe Reader & Acrobat (and only the versions for PC/Mac/Unix/Linux com-
puters, not tablets or smartphones). To ac vate the interac ve mode, click on
the image. Once ac vated, one can click/drag to rotate the object and use the
scroll wheel on a mouse to zoom in/out. (A great way to inves gate an image
is to first zoom in on the page of the pdf viewer so the graphic itself takes up
much of the screen, then zoom inside the graphic itself.) A CTRL-click/drag pans
the object le /right or up/down. By right-clicking on the graph one can access
a menu of other op ons, such as changing the ligh ng scheme or perspec ve.
One can also revert the graph back to its default view. If you wish to deac vate
the interac vity, one can right-click and choose the “Disable Content” op on.
Thanks
There are many people who deserve recogni on for the important role they
have played in the development of this text. First, I thank Michelle for her sup-
port and encouragement, even as this “project from work” occupied my me
and a en on at home. Many thanks to Troy Siemers, whose most important
contribu ons extend far beyond the sec ons he wrote or the 227 figures he
coded in Asymptote for 3D interac on. He provided incredible support, advice
and encouragement for which I am very grateful. My thanks to Brian Heinold
and Dimplekumar Chalishajar for their contribu ons and to Jennifer Bowen for
reading through so much material and providing great feedback early on. Thanks
to Troy, Lee Dewald, Dan Joseph, Meagan Herald, Bill Lowe, John David, Vonda
Walsh, Geoff Cox, Jessica Liber ni and other faculty of VMI who have given me
numerous sugges ons and correc ons based on their experience with teaching
from the text. (Special thanks to Troy, Lee & Dan for their pa ence in teaching
Calc III while I was s ll wri ng the Calc III material.) Thanks to Randy Cone for
encouraging his tutors of VMI’s Open Math Lab to read through the text and
check the solu ons, and thanks to the tutors for spending their me doing so.
A very special thanks to Kris Brown and Paul Janiczek who took this opportu-
nity far above & beyond what I expected, me culously checking every solu on
and carefully reading every example. Their comments have been extraordinarily
helpful. I am also thankful for the support provided by Wane Schneiter, who as
my Dean provided me with extra me to work on this project. Finally, a huge
heap of thanks is to be bestowed on the numerous people I do not know who
took the me to email me correc ons and sugges ons. I am blessed to have so
many people give of their me to make this book be er.
APEX – Affordable Print and Electronic teXts
APEX is a consor um of authors who collaborate to produce high–quality,
low–cost textbooks. The current textbook–wri ng paradigm is facing a poten-
al revolu on as desktop publishing and electronic formats increase in popular-
ity. However, wri ng a good textbook is no easy task, as the me requirements
alone are substan al. It takes countless hours of work to produce text, write
examples and exercises, edit and publish. Through collabora on, however, the
cost to any individual can be lessened, allowing us to create texts that we freely
distribute electronically and sell in printed form for an incredibly low cost. Hav-
ing said that, nothing is en rely free; someone always bears some cost. This text
“cost” the authors of this book their me, and that was not enough. APEX Cal-
culus would not exist had not the Virginia Military Ins tute, through a generous
Jackson–Hope grant, given the lead author significant me away from teaching
so he could focus on this text.
Each text is available as a free .pdf, protected by a Crea ve Commons At-
tribu on - Noncommercial 4.0 copyright. That means you can give the .pdf to
anyone you like, print it in any form you like, and even edit the original content
and redistribute it. If you do the la er, you must clearly reference this work and
you cannot sell your edited work for money.
We encourage others to adapt this work to fit their own needs. One might
add sec ons that are “missing” or remove sec ons that your students won’t
need. The source files can be found at github.com/APEXCalculus.
You can learn more at www.vmi.edu/APEX.
Version 4.0
Key changes from Version 3.0 to 4.0:
• Numerous typographical and “small” mathema cal correc ons (again, thanks
to all my close readers!).
• “Large” mathema cal correc ons and adjustments. There were a number
of places in Version 3.0 where a defini on/theorem was not correct as
stated. See www.apexcalculus.com for more informa on.
Consider the func on y = sinx x . When x is near the value 1, what value (if
any) is y near?
While our ques on is not precisely formed (what cons tutes “near the value
Chapter 1 Limits
y
1”?), the answer does not seem difficult to find. One might think first to look at a
graph of this func on to approximate the appropriate y values. Consider Figure
1 1.1.1, where y = sinx x is graphed. For values of x near 1, it seems that y takes on
values near 0.85. In fact, when x = 1, then y = sin1 1 ≈ 0.84, so it makes sense
that when x is “near” 1, y will be “near” 0.84.
0.8 Consider this again at a different value for x. When x is near 0, what value
(if any) is y near? By considering Figure 1.1.2, one can see that it seems that y
0.6 takes on values near 1. But what happens when x = 0? We have
sin 0 “0”
. x
y→ → .
0 0
0.5 1 1.5
The expression “0/0” has no value; it is indeterminate. Such an expression gives
Figure 1.1.1: sin(x)/x near x = 1. no informa on about what is going on with the func on nearby. We cannot find
out how y behaves near x = 0 for this func on simply by le ng x = 0.
Finding a limit entails understanding how a func on behaves near a par cu-
lar value of x. Before con nuing, it will be useful to establish some nota on. Let
y
y = f(x); that is, let y be a func on of x for some func on f. The expression “the
limit of y as x approaches 1” describes a number, o en referred to as L, that y
1
nears as x nears 1. We write all this as
Notes:
2
1.1 An Introduc on To Limits
with the value of the func on at that par cular x value; we are only concerned
with the values of the func on when x is near 1.
Now approximate limx→0 sin(x)/x numerically. We already approximated x sin(x)/x
the value of this limit as 1 graphically in Figure 1.1.2. The table in Figure 1.1.4 -0.1 0.9983341665
shows the value of sin(x)/x for values of x near 0. Ten places a er the decimal -0.01 0.9999833334
-0.001 0.9999998333
point are shown to highlight how close to 1 the value of sin(x)/x gets as x takes
0 not defined
on values very near 0. We include the x = 0 row in bold again to stress that we
0.001 0.9999998333
are not concerned with the value of our func on at x = 0, only on the behavior 0.01 0.9999833334
of the func on near 0. 0.1 0.9983341665
This numerical method gives confidence to say that 1 is a good approxima-
on of limx→0 sin(x)/x; that is, Figure 1.1.4: Values of sin(x)/x with x
near 0.
lim sin(x)/x ≈ 1.
x→0
0.28
S To graphically approximate the limit, graph
0.26
y = (x2 − x − 6)/(6x2 − 19x + 3) x
2.5 3 3.5
on a small interval that contains 3. To numerically approximate the limit, create
a table of values where the x values are near 3. This is done in Figures 1.1.5 and Figure 1.1.5: Graphically approxima ng a
1.1.6, respec vely. limit in Example 1.1.1.
The graph shows that when x is near 3, the value of y is very near 0.3. By
considering values of x near 3, we see that y = 0.294 is a be er approxima on. x x2 −x−6
6x2 −19x+3
The graph and the table imply that
2.9 0.29878
x2 − x − 6 2.99 0.294569
lim 2 ≈ 0.294. 2.999 0.294163
x→3 6x − 19x + 3
3 not defined
3.001 0.294073
This example may bring up a few ques ons about approxima ng limits (and 3.01 0.293669
the nature of limits themselves). 3.1 0.289773
1. If a graph does not produce as good an approxima on as a table, why Figure 1.1.6: Numerically approxima ng
bother with it? a limit in Example 1.1.1.
2. How many values of x in a table are “enough?” In the previous example,
could we have just used x = 3.001 and found a fine approxima on?
Notes:
3
Chapter 1 Limits
Graphs are useful since they give a visual understanding concerning the be-
havior of a func on. Some mes a func on may act “erra cally” near certain
x values which is hard to discern numerically but very plain graphically. Since
graphing u li es are very accessible, it makes sense to make proper use of them.
Since tables and graphs are used only to approximate the value of a limit,
there is not a firm answer to how many data points are “enough.” Include
enough so that a trend is clear, and use values (when possible) both less than
and greater than the value in ques on. In Example 1.1.1, we used both values
less than and greater than 3. Had we used just x = 3.001, we might have been
tempted to conclude that the limit had a value of 0.3. While this is not far off,
y we could do be er. Using values “on both sides of 3” helps us iden fy trends.
1
Example 1.1.2 Approxima ng the value of a limit
Graphically and numerically approximate the limit of f(x) as x approaches 0,
where {
x+1 x<0
0.5 f(x) = .
−x2 + 1 x > 0
Notes:
4
1.1 An Introduc on To Limits
S A graph and table of f(x) = 1/(x − 1)2 are given in Figures Figure 1.1.10: Values of f(x) near x = 1 in
1.1.11 and 1.1.12, respec vely. Both show that as x approaches 1, f(x) grows Example 1.1.3.
larger and larger.
We can deduce this on our own, without the aid of the graph and table. If x
is near 1, then (x − 1)2 is very small, and: y
1 100
= very large number.
very small number
Since f(x) is not approaching a single number, we conclude that
1 50
lim
x→1 (x − 1)2
5
Chapter 1 Limits
Figure 1.1.13: Observing that f(x) = sin(1/x) has no limit as x → 0 in Example 1.1.5.
Notes:
6
1.1 An Introduc on To Limits
given two points on the graph of f, we are finding the slope of the secant line f
f(1 + h) − f(1)
lim = ? . x
h→0 h 2 4 6
(b)
f
As we do not yet have a true defini on of a limit nor an exact method for
compu ng it, we se le for approxima ng the value. While we could graph the
difference quo ent (where the x-axis would represent h values and the y-axis 20
would represent values of the difference quo ent) we se le for making a table.
See Figure 1.1.16. The table gives us reason to assume the value of the limit is
about 8.5. 10
f(1+h)−f(1)
h h
−0.5 9.25
−0.1 8.65
−0.01 8.515
Notes: 0.01 8.485
0.1 8.35
0.5 7.75
7
Exercises 1.1
Terms and Concepts 13. lim f(x), where
x→2
{
x+2 x≤2
1. In your own words, what does it mean to “find the limit of f(x) = .
3x − 5 x>2
f(x) as x approaches 3”?
14. lim f(x), where
0 x→3
2. An expression of the form 0
is called . { 2
x −x+1 x≤3
f(x) = .
2x + 1 x>3
3. T/F: The limit of f(x) as x approaches 5 is f(5).
x2 + 8x + 7 22. f(x) = ln x, a = 5
11. lim
x→−1 x2 + 6x + 5
23. f(x) = sin x, a = π
2
x + 7x + 10
12. lim 24. f(x) = cos x, a = π
x→2 x2 − 4x + 4
8
1.2 Epsilon-Delta Defini on of a Limit
The problem with these defini ons is that the words “tends,” “approach,”
and especially “near” are not exact. In what way does the variable x tend to, or
approach, c? How near do x and y have to be to c and L, respec vely?
The tradi onal nota on for the x-tolerance is the lowercase Greek le er
delta, or δ, and the y-tolerance is denoted by lowercase epsilon, or ε. One more
rephrasing of 3′ nearly gets us to the actual defini on:
Le ng the symbol “−→” represent the word “implies,” we can rewrite 3′′ as
The point is that δ and ε, being tolerances, can be any posi ve (but typically
small) values. Finally, we have the formal defini on of the limit with the nota on
seen in the previous sec on.
Notes:
9
Chapter 1 Limits
means that given any ε > 0, there exists δ > 0 such that for all x in I,
where x ̸= c, if |x − c| < δ, then |f(x) − L| < ε.
(Mathema cians o en enjoy wri ng ideas without using any words. Here is
the wordless defini on of the limit:
lim f(x) = L ⇐⇒ ∀ ε > 0, ∃ δ > 0 s.t. 0 < |x − c| < δ −→ |f(x) − L| < ε.)
x→c
Note the order in which ε and δ are given. In the defini on, the y-tolerance
ε is given first and then the limit will exist if we can find an x-tolerance δ that
works.
An example will help us understand this defini on. Note that the explana-
on is long, but it will take one through all steps necessary to understand the
y
ideas.
}
ε = .5
Example 1.2.1 √ Evalua ng a limit using the defini on
2 } Show that lim x = 2.
ε = .5
x→4
S Before we use the formal defini on, let’s try some numerical
1 Choose ε > 0. Then ...
tolerances. What if the y tolerance is 0.5, or ε = 0.5? How close to 4 does x
have to be so that y is within 0.5 units of 2, i.e., 1.5 < y < 2.5? In this case, we
can proceed as follows:
. x
2 4 6
y 1.5 < y < 2.5
√
1.5 < x < 2.5
}
ε = .5
1.52 < x < 2.52
2 } 2.25 < x < 6.25.
ε = .5
... choose δ smaller
than each of these So, what is the desired x tolerance? Remember, we want to find a symmetric
1
interval of x values, namely 4 − δ < x < 4 + δ. The lower bound of 2.25 is 1.75
width width
z
= 1.75
}| {z
= 2.25
}| {
units from 4; the upper bound of 6.25 is 2.25 units from 4. We need the smaller
. x of these two distances; we must have δ < 1.75. See Figure 1.2.1.
2 4 6
10
1.2 Epsilon-Delta Defini on of a Limit
Given the y tolerance ε = 0.5, we have found an x tolerance, δ < 1.75, such
that whenever x is within δ units of 4, then y is within ε units of 2. That’s what
we were trying to find.
What if the y tolerance is 0.01, i.e., ε = 0.01? How close to 4 does x have to
be in order for y to be within 0.01 units of 2 (or 1.99 < y < 2.01)? Again, we
just square these values to get 1.992 < x < 2.012 , or
What is the desired x tolerance? In this case we must have δ < 0.0399, which
is the minimum distance from 4 of the two bounds given above.
What we have so far: if ε = 0.5, then δ < 1.75 and if ε = 0.01, then δ <
0.0399. A pa ern is not easy to see, so we√switch to general ε try to determine
δ symbolically. We start by assuming y = x is within ε units of 2:
|y − 2| < ε
−ε < y − 2 < ε (Defini on of absolute value)
√ √
−ε <
x−2< ε (y = x)
√
2−ε< x<2+ε (Add 2)
(2 − ε) < x < (2 + ε)
2 2
(Square all)
4 − 4ε + ε < x < 4 + 4ε + ε
2 2
(Expand)
4 − (4ε − ε2 ) < x < 4 + (4ε + ε2 ). (Rewrite in the desired form)
The “desired form” in the last step is “4 − something < x < 4 + something.”
Since we want this last interval to describe an x tolerance around 4, we have that
either δ < 4ε − ε2 or δ < 4ε + ε2 , whichever is smaller:
δ < min{4ε − ε2 , 4ε + ε2 }.
Since ε > 0, the minimum is δ < 4ε − ε2 . That’s the formula: given an ε, set
δ < 4ε − ε2 .
We can check this for our previous values. If ε = 0.5, the formula gives
δ < 4(0.5)−(0.5)2 = 1.75 and when ε = 0.01, the formula gives δ < 4(0.01)−
(0.01)2 = 0.399.
So given any ε > 0, set δ < 4ε − ε2 . Then if |x − 4| < δ (and x ̸= 4), then
|f(x) − 2| < ε, sa sfying
√ the defini on of the limit. We have shown formally
(and finally!) that lim x = 2.
x→4
Notes:
11
Chapter 1 Limits
The previous example was a li le long in that we sampled a few specific cases
of ε before handling the general case. Normally
√ this is not done. The previous
example is also a bit unsa sfying in that 4 = 2; why work so hard to prove
something so obvious? Many ε-δ proofs are long and difficult to do. In this sec-
on, we will focus on examples where the answer is, frankly, obvious, because
the non–obvious examples are even harder. In the next sec on we will learn
some theorems that allow us to evaluate limits analy cally, that is, without us-
ing the ε-δ defini on.
ε
|x2 − 4| < ε −→ |x − 2| · |x + 2| < ε −→ |x − 2| < . (1.1)
|x + 2|
ε
Could we not set δ = ?
|x + 2|
We are close to an answer, but the catch is that δ must be a constant value (so
it can’t contain x). There is a way to work around this, but we do have to make an
assump on. Remember that ε is supposed to be a small number, which implies
that δ will also be a small value. In par cular, we can (probably) assume that
δ < 1. If this is true, then |x − 2| < δ would imply that |x − 2| < 1, giving
1 < x < 3.
ε
Now, back to the frac on . If 1 < x < 3, then 3 < x + 2 < 5 (add 2
|x + 2|
to all terms in the inequality). Taking reciprocals, we have
1 1 1
< < which implies
5 |x + 2| 3
1 1
< which implies
5 |x + 2|
ε ε
< . (1.2)
5 |x + 2|
ε
This suggests that we set δ < . To see why, let consider what follows when
5
we assume |x − 2| < δ:
Notes:
12
1.2 Epsilon-Delta Defini on of a Limit
|x − 2| < δ
ε }
|x − 2| < (Our choice of δ) length of ε
5 ε
ε
|x − 2| · |x + 2| < |x + 2| · (Mul ply by |x + 2|) 4 length of
5 δ = ε/5
ε
|x2 − 4| < |x + 2| · (Combine le side)
5
ε ε
|x2 − 4| < |x + 2| · < |x + 2| · =ε (Using (1.2) as long as δ < 1)
5 |x + 2| δ
. z }| {
x
2
We have arrived at |x2 − 4| < ε as desired. Note again, in order to make this
happen we needed δ to first be less than 1. That is a safe assump on; we want Figure 1.2.2: Choosing δ = ε/5 in Exam-
ε to be arbitrarily small, forcing δ to also be small. ple 1.2.2.
We have also picked δ to be smaller than “necessary.” We could get . by with
a slightly larger δ, as shown in Figure 1.2.2. The dashed outer lines show the
boundaries defined by our choice of ε. The do ed inner lines show the bound-
aries defined by se ng δ = ε/5. Note how these do ed lines are within the
dashed lines. That is perfectly fine; by choosing x within the do ed lines we are
guaranteed that f(x) will be within ε of 4.
In summary, given ε > 0, set δ = ε/5. Then |x − 2| < δ implies |x2 − 4| < ε
(i.e. |y − 4| < ε) as desired. This shows that lim x2 = 4. Figure 1.2.2 gives a
x→2
visualiza on of this; by restric ng x to values within δ = ε/5 of 2, we see that
f(x) is within ε of 4.
Make note of the general pa ern exhibited in these last two examples. In
some sense, each starts out “backwards.” That is, while we want to
2. |f(x) − L| < ε,
2. |x − c| < something.
When we have properly done this, the something on the “greater than” side of
the inequality becomes our δ. We can refer to this as the “scratch–work” phase
of our proof. Once we have δ, we can formally start with |x − c| < δ and use
algebraic manipula ons to conclude that |f(x) − L| < ε, usually by using the
same steps of our “scratch–work” in reverse order.
Notes:
13
Chapter 1 Limits
ε
|x − 1| < . (1.3)
|x2 + x − 1|
0<x<2
0 < x2 < 4. (squared each term)
Since 0 < x < 2, we can add 0, x and 2, respec vely, to each part of the inequal-
ity and maintain the inequality.
0 < x2 + x < 6
−1 < x2 + x − 1 < 5. (subtracted 1 from each part)
In Equa on (1.3), we wanted |x − 1| < ε/|x2 + x − 1|. The above shows that
given any x in [0, 2], we know that
So we set δ < ε/5. This ends our scratch–work, and we begin the formal proof
(which also helps us understand why this was a good choice of δ).
Given ε, let δ < ε/5. We want to show that when |x − 1| < δ, then |(x3 −
Notes:
14
1.2 Epsilon-Delta Defini on of a Limit
|x − 1| < δ
ε
|x − 1| <
5
ε ε
|x − 1| < < 2 (for x near 1, from Equa on (1.4))
5 |x + x − 1|
|x − 1| · |x2 + x − 1| < ε
|x3 − 2x + 1| < ε
|(x3 − 2x) − (−1)| < ε,
|ex − 1| < ε
−ε < ex − 1 < ε (Defini on of absolute value)
1−ε<e <1+ε
x
(Add 1)
ln(1 − ε) < x < ln(1 + ε) (Take natural logs) Note: Recall ln 1 = 0 and ln x < 0 when
0 < x < 1. So ln(1 − ε) < 0, hence we
consider its absolute value.
Making the safe assump on that ε < 1 ensures the last inequality is valid (i.e.,
so that ln(1 − ε) is defined). We can then set δ to be the minimum of | ln(1 − ε)|
and ln(1 + ε); i.e.,
|x − 0| < δ
−δ < x < δ (Defini on of absolute value)
− ln(1 + ε) < x < ln(1 + ε).
ln(1 − ε) < x < ln(1 + ε). (since ln(1 − ε) < − ln(1 + ε))
Notes:
15
Chapter 1 Limits
The above line is true by our choice of δ and by the fact that since | ln(1 − ε)| >
ln(1 + ε) and ln(1 − ε) < 0, we know ln(1 − ε) < − ln(1 + ε).
We note that we could actually show that limx→c ex = ec for any constant c.
We do this by factoring out ec from both sides, leaving us to show limx→c ex−c =
1 instead. By using the subs tu on u = x−c, this reduces to showing limu→0 eu =
1 which we just did in the last example. As an added benefit, this shows that in
fact the func on f(x) = ex is con nuous at all values of x, an important concept
we will define in Sec on 1.5.
This formal defini on of the limit is not an easy concept grasp. Our examples
are actually “easy” examples, using “simple” func ons like polynomials, square–
roots and exponen als. It is very difficult to prove, using the techniques given
above, that lim (sin x)/x = 1, as we approximated in the previous sec on.
x→0
There is hope. The next sec on shows how one can evaluate complicated
limits using certain basic limits as building blocks. While limits are an incredibly
important part of calculus (and hence much of higher mathema cs), rarely are
limits evaluated using the defini on. Rather, the techniques of the following
sec on are employed.
Notes:
16
Exercises 1.2
Terms and Concepts 6. lim (3 − x) = −2
x→5
|x − a| < δ. ( )
9. lim 2x2 + 3x + 1 = 6
x→1
2. Which is given first in establishing a limit, the x–tolerance
or the y–tolerance? ( )
10. lim x3 − 1 = 7
x→2
17
Chapter 1 Limits
Suppose that limx→2 f(x) = 2 and limx→2 g(x) = 3. What is limx→2 (f(x) +
g(x))? Intui on tells us that the limit should be 5, as we expect limits to behave
in a nice way. The following theorem states that already established limits do
behave nicely.
2. Iden ty lim x = c
x→c
Notes:
18
1.3 Finding Limits Analy cally
We make a note about Property #8: when n is even, L must be greater than
0. If n is odd, then the statement is true for all L.
We apply the theorem to an example.
S
( )
1. Using the Sum/Difference rule, we know that lim f(x) + g(x) = 2 + 3 =
x→2
5.
(
2. Using the Scalar Mul ple and Sum/Difference rules, we find that lim 5f(x)+
) x→2
g(x)2 = 5 · 2 + 32 = 19.
3. Here we combine the Power, Scalar Mul ple, Sum/Difference and Con-
stant Rules. We show quite a few steps, but in general these can be omit-
ted:
=9
i.e., the limit at 2 was found just by plugging 2 into the func on. This holds
true for all polynomials, and also for ra onal func ons (which are quo ents of
polynomials), as stated in the following theorem.
Notes:
19
Chapter 1 Limits
p(x) p(c)
2. lim = , where q(c) ̸= 0.
x→c q(x) q(c)
as it seemed fairly obvious. The previous theorems state that many func ons
behave in such an “obvious” fashion, as demonstrated by the ra onal func on
in Example 1.3.2.
Polynomial and ra onal func ons are not the only func ons to behave in
such a predictable way. The following theorem gives a list of func ons whose
behavior is par cularly “nice” in terms of limits. In the next sec on, we will give
a formal name to these func ons that behave “nicely.”
Notes:
20
1.3 Finding Limits Analy cally
using the Constant limit rule. Either way, we find the limit is 1.
3. Applying the Product limit rule of Theorem 1.3.1 and Theorem 1.3.3 gives
4. Again, we can approach this in two ways. First, we can use the exponen-
al/logarithmic iden ty that eln x = x and evaluate lim eln x = lim x = 1.
x→1 x→1
We can also use the limit Composi on Rule of Theorem 1.3.1. Using The-
orem 1.3.3, we have lim ln x = ln 1 = 0 and lim ex = e0 = 1, sa sfying
x→1 x→0
the condi ons of the Composi on Rule. Applying this rule,
Notes:
21
Chapter 1 Limits
The sec on could have been tled “Using Known Limits to Find Unknown
Limits.” By knowing certain limits of func ons, we can find limits involving sums,
products, powers, etc., of these func ons. We further the development of such
compara ve tools with the Squeeze Theorem, a clever and intui ve way to find
the value of some limits.
Before sta ng this theorem formally, suppose we have func ons f, g and h
where g always takes on values between f and h; that is, for all x in an interval,
f(x) ≤ g(x) ≤ h(x).
If f and h have the same limit at c, and g is always “squeezed” between them,
then g must have the same limit as well. That is what the Squeeze Theorem
states.
then
lim g(x) = L.
x→c
It can take some work to figure out appropriate func ons by which to “squeeze”
a given func on. However, that is generally the only place where work is neces-
sary; the theorem makes the “evalua ng the limit part” very simple.
We use the Squeeze Theorem in the following example to finally prove that
sin x
lim = 1.
x→0 x
Notes:
22
1.3 Finding Limits Analy cally
. θ . θ . θ
1 1 1
tan θ θ sin θ
≥ ≥
2 2 2
2
Mul ply all terms by , giving
sin θ
1 θ
≥ ≥ 1.
cos θ sin θ
Taking reciprocals reverses the inequali es, giving
sin θ
cos θ ≤ ≤ 1.
θ
(These inequali es hold for all values of θ near 0, even nega ve values, since
cos(−θ) = cos θ and sin(−θ) = − sin θ.)
Now take limits.
sin θ
lim cos θ ≤ lim ≤ lim 1
θ→0 θ→0 θ θ→0
Notes:
23
Chapter 1 Limits
sin θ
cos 0 ≤ lim ≤1
θ→0 θ
sin θ
1 ≤ lim ≤1
θ→0 θ
sin θ
Clearly this means that lim = 1.
θ→0 θ
Two notes about the previous example are worth men oning. First, one
might be discouraged by this applica on, thinking “I would never have come up
with that on my own. This is too hard!” Don’t be discouraged; within this text we
will guide you in your use of the Squeeze Theorem. As one gains mathema cal
maturity, clever proofs like this are easier and easier to create.
Second, this limit tells us more than just that as x approaches 0, sin(x)/x
approaches 1. Both x and sin x are approaching 0, but the ra o of x and sin x
approaches 1, meaning that they are approaching 0 in essen ally the same way.
Another way of viewing this is: for small x, the func ons y = x and y = sin x are
essen ally indis nguishable.
We include this special limit, along with three others, in the following theo-
rem.
sin x 1
3. lim (1 + x) x = e
1. lim =1 x→0
x→0 x
cos x − 1 ex − 1
2. lim =0 4. lim =1
x→0 x x→0 x
Notes:
24
1.3 Finding Limits Analy cally
Our final theorem for this sec on will be mo vated by the following exam-
ple.
x2 − 1 12 − 1 “ 0 ” y
lim = = ,
x→1 x − 1 1−1 0 3
x2 − 1 (x − 1)(x + 1)
= .
x−1 x−1 . x
1 2
Clearly lim x + 1 = 2. Recall that when considering limits, we are not concerned
x→1
with the value of the func on at 1, only the value the func on approaches as x
approaches 1. Since (x2 − 1)/(x − 1) and x + 1 are the same at all points except
x = 1, they both approach the same value as x approaches 1. Therefore we can
conclude that
x2 − 1
lim = 2.
x→1 x − 1
The key to the above example is that the func ons y = (x2 − 1)/(x − 1) and
y = x + 1 are iden cal except at x = 1. Since limits describe a value the func on
is approaching, not the value the func on actually a ains, the limits of the two
func ons are always equal.
Notes:
25
Chapter 1 Limits
Theorem 1.3.6 Limits of Func ons Equal At All But One Point
Let g(x) = f(x) for all x in an open interval, except possibly at c, and let
lim g(x) = L for some real number L. Then
x→c
lim f(x) = L.
x→c
The Fundamental Theorem of Algebra tells us that when dealing with a ra-
g(x)
onal func on of the form g(x)/f(x) and directly evalua ng the limit lim
x→c f(x)
returns “0/0”, then (x − c) is a factor of both g(x) and f(x). One can then use
algebra to factor this term out, cancel, then apply Theorem 1.3.6. We demon-
strate this once more.
(x2 + x − 2)
= lim
x→3 (2x2 + 9x − 5)
10 1
= = .
40 4
We end this sec on by revisi ng a limit first seen in Sec on 1.1, a limit of
a difference quo ent. Let f(x) = −1.5x2 + 11.5x; we approximated the limit
f(1 + h) − f(1)
lim ≈ 8.5. We formally evaluate this limit in the following ex-
h→0 h
ample.
Notes:
26
1.3 Finding Limits Analy cally
This sec on contains several valuable tools for evalua ng limits. One of the
main results of this sec on is Theorem 1.3.3; it states that many func ons that
we use regularly behave in a very nice, predictable way. In Sec on 1.5 we give a
name to this nice behavior; we label such func ons as con nuous. Defining that
term will require us to look again at what a limit is and what causes limits to not
exist.
Notes:
27
Exercises 1.3
Terms and Concepts In Exercises 15 – 18, use the following informa on to eval-
uate the given limit, when possible. If it is not possible to
1. Explain in your own words, without using ε-δ formality, why determine the limit, state why not.
lim b = b. • lim f(x) = 2, lim f(x) = 1, f(1) = 1/5
x→c x→1 x→10
• lim g(x) = 0, lim g(x) = π, g(10) = π
2. Explain in your own words, without using ε-δ formality, why x→1 x→10
lim x = c.
x→c
15. lim f(x)g(x)
x→1
3. What does the text mean when it says that certain func- ( )
ons’ “behavior is ‘nice’ in terms of limits”? What, in par- 16. lim cos g(x)
x→10
cular, is “nice”?
17. lim f(x)g(x)
x→1
4. Sketch a graph that visually demonstrates the Squeeze The-
orem. ( )
18. lim g 5f(x)
x→1
5. You are given the following informa on:
In Exercises 19 – 34, evaluate the given limit.
(a) lim f(x) = 0
x→1
19. lim x2 − 3x + 7
(b) lim g(x) = 0 x→3
x→1
( ) x2 − 10x + 16
32. lim
13. lim g f(f(x)) x→2 x2 − x − 2
x→6
x2 − 5x − 14
14. lim f(x)g(x) − f 2 (x) + g2 (x) 33. lim
x→6 x→−2 x2 + 10x + 16
28
x2 + 9x + 8 Exercises 39 – 43 challenge your understanding of limits but
34. lim
x→−1 x2 − 6x − 7 can be evaluated using the knowledge gained in this sec on.
(d) Show why the answer to part (c) does not violate the
Composi on Rule of Theorem 1.3.1.
29
Chapter 1 Limits
lim f(x) = L,
x→c−
means given any ε > 0, there exists δ > 0 such that for all a < x < c, if
|x − c| < δ, then |f(x) − L| < ε.
Right-Hand Limit
Let f be a func on defined on (c, b) for some b > c and let L be a real
number.
The limit of f(x), as x approaches c from the right, is L, or, the right-hand
limit of f at c is L, denoted by
lim f(x) = L,
x→c+
means given any ε > 0, there exists δ > 0 such that for all c < x < b, if
|x − c| < δ, then |f(x) − L| < ε.
Notes:
30
1.4 One Sided Limits
Prac cally speaking, when evalua ng a le -hand limit, we consider only val-
ues of x “to the le of c,” i.e., where x < c. The admi edly imperfect nota on
x → c− is used to imply that we look at values of x to the le of c. The nota-
on has nothing to do with posi ve or nega ve values of either x or c. A similar
statement holds for evalua ng right-hand limits; there we consider only values
of x to the right of c, i.e., x > c. We can use the theorems from previous sec ons
to help us evaluate these limits; we just restrict our view to one side of c.
We prac ce evalua ng le - and right-hand limits through a series of exam-
ples.
Example 1.4.1
{ Evalua ng one sided limits
x 0≤x≤1 y
Let f(x) = , as shown in Figure 1.4.1. Find each of the
3−x 1<x<2
following: 2
2. As x goes to 1 from the right, we see that f(x) is approaching the value of 2.
Recall that it does not ma er that there is an “open circle” there; we are
evalua ng a limit, not the value of the func on. Therefore lim f(x) = 2.
x→1+
4. Using the defini on and by looking at the graph we see that f(1) = 1.
5. As x goes to 0 from the right, we see that f(x) is also approaching 0. There-
fore lim f(x) = 0. Note we cannot consider a le -hand limit at 0 as f is
x→0+
not defined for values of x < 0.
Notes:
31
Chapter 1 Limits
8. The graph and the defini on of the func on show that f(2) is not defined.
lim f(x) = L
x→c
The phrase “if, and only if” means the two statements are equivalent: they
are either both true or both false. If the limit equals L, then the le and right
hand limits both equal L. If the limit is not equal to L, then at least one of the
le and right-hand limits is not equal to L (it may not even exist).
One thing to consider in Examples 1.4.1 – 1.4.4 is that the value of the func-
on may/may not be equal to the value(s) of its le /right-hand limits, even when
these limits agree.
y
Example 1.4.2
{ Evalua ng limits of a piecewise–defined func on
2−x 0<x<1
2 Let f(x) = , as shown in Figure 1.4.2. Evaluate the
(x − 2)2 1 < x < 2
following.
Notes:
32
1.4 One Sided Limits
4. f(1) is not defined. Note that 1 is not in the domain of f as defined by the
problem, which is indicated on the graph by an open circle when x = 1.
Example 1.4.3
{ Evalua ng limits of a piecewise–defined func on
y
(x − 1)2 0 ≤ x ≤ 2, x ̸= 1
Let f(x) = , as shown in Figure 1.4.3. Evaluate
1 x=1
the following. 1
Example 1.4.4
{ Evalua ng limits of a piecewise–defined func on
x2 0≤x≤1
Let f(x) = , as shown in Figure 1.4.4. Evaluate the fol-
2−x 1<x≤2
lowing.
Notes:
33
Chapter 1 Limits
Notes:
34
Exercises 1.4
Terms and Concepts 2
y
1.5
1. What are the three ways in which a limit may fail to exist? 7. 1
0.5
2. T/F: If lim f(x) = 5, then lim f(x) = 5
x→1− x→1
x
.
0.5 1 1.5 2
3. T/F: If lim f(x) = 5, then lim f(x) = 5 (a) lim f(x) (d) f(1)
x→1− x→1+ x→1−
y
2
Problems 1.5
8. 1
In Exercises 5 – 12, evaluate each expression using the given
graph of f(x). 0.5
. x
0.5 1 1.5 2
y
(a) lim f(x) (c) lim f(x)
2 x→1− x→1
5. 1
y
0.5 2
x 1.5
.
0.5 1 1.5 2
9. 1
1.5 y
4
6. 1
2
0.5
10. x
x −4 −3 −2 −1 1 2 3 4
.
0.5 1 1.5 2 −2
(b) lim f(x) (e) lim f(x) (a) lim f(x) (c) lim f(x)
x→2−
x→1+ x→0− x→0
(c) lim f(x) (f) lim f(x) (b) lim f(x) (d) f(0)
x→2+
x→1 x→0+
35
{
y cos x x<π
16. f(x) =
4
sin x x≥π
2 (a) lim f(x) (c) lim f(x)
x→π − x→π
11. x (b) lim f(x) (d) f(π)
−4 −3 −2 −1 1 2 3 4 x→π +
−2
{
1 − cos2 x x<a
17. f(x) = ,
. −4 sin2 x x≥a
(a) lim f(x) (e) lim f(x) where a is a real number.
x→−2− x→2−
(b) lim f(x) (f) lim f(x) (a) lim f(x) (c) lim f(x)
x→2+ x→a− x→a
x→−2+
(g) lim f(x) (b) lim f(x) (d) f(a)
(c) lim f(x) x→2 x→a+
x→−2
(a) lim f(x) (c) lim f(x) (b) lim f(x) (d) f(2)
x→a− x→a x→2+
nuous. 1.5
Notes:
37
Chapter 1 Limits
We can make the appropriate adjustments to talk about con nuity on half–
open intervals such as [a, b) or (a, b] if necessary.
Using this new defini on, we can adjust our answer in Example 1.5.1 by stat-
ing that f is con nuous on [0, 1) and (1, 3], as men oned in that example. We
Notes:
38
1.5 Con nuity
can also revisit Example 1.5.2 and state that the floor func on is con nuous on
the following half–open intervals
. . . , [−2, −1), [−1, 0), [0, 1), [1, 2), . . . .
This can tempt us to conclude that f is con nuous everywhere; a er all, if f is
con nuous on [0, 1) and [1, 2), isn’t f also con nuous on [0, 2)? Of course, the
answer is no, and the graph of the floor func on immediately confirms this.
Con nuous func ons are important as they behave in a predictable fashion:
func ons a ain the value they approach. Because con nuity is so important,
most of the func ons you have likely seen in the past are con nuous on their
domains. This is demonstrated in the following example where we examine the
intervals of con nuity of a variety of common func ons.
Notes:
39
Chapter 1 Limits
1. Sums/Differences: f ± g
2. Constant Mul ples: c · f
3. Products: f·g
4. Quo ents: f/g (as long as g ̸= 0 on I)
5. Powers: fn
√
6. Roots: n
f (If n is even then require f(x) ≥ 0 on I.)
Notes:
40
1.5 Con nuity
A common way of thinking of a con nuous func on is that “its graph can
be sketched without li ing your pencil.” That is, its graph forms a “con nuous”
curve, without holes, breaks or jumps. While beyond the scope of this text,
this pseudo–defini on glosses over some of the finer points of con nuity. Very
strange func ons are con nuous that one would be hard pressed to actually
sketch by hand.
This intui ve no on of con nuity does help us understand another impor-
tant concept as follows. Suppose f is defined on [1, 2] and f(1) = −10 and
f(2) = 5. If f is con nuous on [1, 2] (i.e., its graph can be sketched as a con nu-
ous curve from (1, −10) to (2, 5)) then we know intui vely that somewhere on
[1, 2] f must be equal to −9, and −8, and −7, −6, . . . , 0, 1/2, etc. In short, f
takes on all intermediate values between −10 and 5. It may take on more val-
ues; f may actually equal 6 at some me, for instance, but we are guaranteed all
values between −10 and 5.
Notes:
41
Chapter 1 Limits
While this no on seems intui ve, it is not trivial to prove and its importance
is profound. Therefore the concept is stated in the form of a theorem.
2. f(d) < 0: Then we know there is a root of f on the interval [d, b] – we have
halved the size of our interval, hence are closer to a good approxima on
of the root.
3. f(d) > 0: Then we know there is a root of f on the interval [a, d] – again,we
have halved the size of our interval, hence are closer to a good approxi-
ma on of the root.
42
1.5 Con nuity
Itera on 1: f(0.7) < 0, f(0.9) > 0, and f(0.8) > 0. So replace 0.9 with 0.8 and
repeat.
Itera on 2: f(0.7) < 0, f(0.8) > 0, and at the midpoint, 0.75, we have f(0.75) >
0. So replace 0.8 with 0.75 and repeat. Note that we don’t need to con-
nue to check the endpoints, just the midpoint. Thus we put the rest of
the itera ons in Figure 1.5.5.
Itera on # Interval Midpoint Sign
No ce that in the 12th itera on we have the endpoints of the interval each 1 [0.7, 0.9] f(0.8) > 0
star ng with 0.739. Thus we have narrowed the zero down to an accuracy of 2 [0.7, 0.8] f(0.75) > 0
the first three places a er the decimal. Using a computer, we have 3 [0.7, 0.75] f(0.725) < 0
4 [0.725, 0.75] f(0.7375) < 0
5 [0.7375, 0.75] f(0.7438) > 0
f(0.7390) = −0.00014, f(0.7391) = 0.000024. 6 [0.7375, 0.7438] f(0.7407) > 0
7 [0.7375, 0.7407] f(0.7391) > 0
Either endpoint of the interval gives a good approxima on of where f is 0. The 8 [0.7375, 0.7391] f(0.7383) < 0
Intermediate Value Theorem states that the actual zero is s ll within this interval. 9 [0.7383, 0.7391] f(0.7387) < 0
10 [0.7387, 0.7391] f(0.7389) < 0
While we do not know its exact value, we know it starts with 0.739. 11 [0.7389, 0.7391] f(0.7390) < 0
This type of exercise is rarely done by hand. Rather, it is simple to program 12 [0.7390, 0.7391]
a computer to run such an algorithm and stop when the endpoints differ by a
preset small amount. One of the authors did write such a program and found Figure 1.5.5: Itera ons of the Bisec on
the zero of f, accurate to 10 places a er the decimal, to be 0.7390851332. While Method of Root Finding
it took a few minutes to write the program, it took less than a thousandth of a
second for the program to run the necessary 35 itera ons. In less than 8 hun-
dredths of a second, the zero was calculated to 100 decimal places (with less
than 200 itera ons).
Notes:
43
Exercises 1.5
Terms and Concepts 13. a = 1
y
2
1. In your own words, describe what it means for a func on
to be con nuous. 1.5
Theorem states.
0.5
0.5
7. T/F: If f is con nuous at c, then lim f(x) = f(c).
x→c+
. x
0.5 1 1.5 2
8. T/F: If f is con nuous on [a, b], then lim f(x) = f(a).
x→a−
15. a = 1
y
9. T/F: If f is con nuous on [0, 1) and [1, 2), then f is con nu-
2
ous on [0, 2).
1.5
10. T/F: The sum of con nuous func ons is also con nuous.
1
Problems 0.5
. x
In Exercises 11 – 18, a graph of a func on f is given along with 0.5 1 1.5 2
11. a = 1 4
y
2 2
1.5 x
−4 −3 −2 −1 1 2 3 4
1 −2
−4
0.5 .
. x
0.5 1 1.5 2 17. (a) a = −2
(b) a = 0
12. a = 1
y
(c) a = 2
2 y
4
1.5
2
1
x
−4 −3 −2 −1 1 2 3 4
0.5
−2
. x
0.5 1 1.5 2 −4
.
44
18. a = 3π/2 31. g(s) = ln s
y
2
32. h(t) = cos t
1.5 √
33. f(k) = 1 − ek
1
In Exercises 19 – 22, determine if f is con nuous at the indi- 35. Let f be con nuous on [1, 5] where f(1) = −2 and f(5) =
cated values. If not, explain why. −10. Does a value 1 < c < 5 exist such that f(c) = −9?
Why/why not?
{
1 x=0
19. f(x) = sin x 36. Let g be con nuous on [−3, 7] where g(0) = 0 and g(2) =
x
x>0
25. Does a value −3 < c < 7 exist such that g(c) = 15?
(a) x = 0 Why/why not?
(b) x = π
37. Let f be con nuous on [−1, 1] where f(−1) = −10 and
{
x3 − x x<1 f(1) = 10. Does a value −1 < c < 1 exist such that
20. f(x) =
x−2 x≥1 f(c) = 11? Why/why not?
(a) x = 0
38. Let h be a func on on [−1, 1] where h(−1) = −10 and
(b) x = 1 h(1) = 10. Does a value −1 < c < 1 exist such that
{ h(c) = 0? Why/why not?
x2 +5x+4
x2 +3x+2
x ̸= −1
21. f(x) =
3 x = −1 In Exercises 39 – 42, use the Bisec on Method to approxi-
mate, accurate to two decimal places, the value of the root
(a) x = −1 of the given func on in the given interval.
(b) x = 10
{ 39. f(x) = x2 + 2x − 4 on [1, 1.5].
x2 −64
x2 −11x+24
x ̸= 8
22. f(x) = 40. f(x) = sin x − 1/2 on [0.5, 0.55]
5 x=8
(a) x = 0 41. f(x) = ex − 2 on [0.65, 0.7].
(b) x = 8
42. f(x) = cos x − sin x on [0.7, 0.8].
In Exercises 23 – 34, give the intervals on which the given
func on is con nuous.
Review
23. f(x) = x2 − 3x + 9 {
x2 − 5 x<5
√ 43. Let f(x) = .
24. g(x) = x2 − 4 5x x≥5
45
Chapter 1 Limits
50 1
lim = ∞.
x→0 x2
Also note that as x gets very large, f(x) gets very, very small. We could represent
. this concept with nota on such as
x
−1 −0.5 0.5 1
1
lim = 0.
2
Figure 1.6.1: Graphing f(x) = 1/x for x→∞ x2
values of x near 0. We explore both types of use of ∞ in turn.
lim f(x) = ∞,
x→c
means that given any N > 0, there exists δ > 0 such that for all x
in I, where x ̸= c, if |x − c| < δ, then f(x) > N.
means that given any N < 0, there exists δ > 0 such that for all x
in I, where x ̸= c, if |x − c| < δ, then f(x) < N.
The first defini on is similar to the ε–δ defini on from Sec on 1.2. In that
defini on, given any (small) value ε, if we let x get close enough to c (within δ
units of c) then f(x) is guaranteed to be within ε of L. Here, given any (large)
value N, if we let x get close enough to c (within δ units of c), then f(x) will be
Notes:
46
1.6 Limits Involving Infinity
lim f(x) = ∞,
x→c−
means given any N > 0, there exists δ > 0 such that for all
a < x < c, if |x − c| < δ, then f(x) > N.
• Let f be a func on defined on (c, b) for some b > c.
The limit of f(x), as x approaches c from the right, is infinity, or,
the right-hand limit of f at c is infinity, denoted by
lim f(x) = ∞,
x→c+
means given any N > 0, there exists δ > 0 such that for all
c < x < b, if |x − c| < δ, then f(x) > N.
• The term le - (or, right-) hand limit of f at c is nega ve infinity is
defined in a manner similar to Defini on 1.6.1.
47
Chapter 1 Limits
√
|x − 1| < 1/ N, then:
1
|x − 1| < √
N
1
(x − 1) <
2
N
1
> N,
(x − 1)2
y
Example 1.6.2 Evalua ng limits involving infinity
50 1
Find lim , as shown in Figure 1.6.3.
x→0 x
1
Figure 1.6.3: Evalua ng lim . The graphs in the two previous examples demonstrate that if a func on f has
x→0 x
a limit (or, le - or right-hand limit) of infinity at x = c, then the graph of f looks
similar to a ver cal line near x = c. This observa on leads to a defini on.
Notes:
48
1.6 Limits Involving Infinity
y
tends toward ∞ or −∞ at those points. We can graphically confirm this by look-
ing at Figure 1.6.4. Thus the ver cal asymptotes are at x = ±2.
10
stra ng this important concept is f(x) = (sin x)/x. We have considered this 3
func on several mes in the previous sec ons. We found that limx→0 sinx x = 1;
i.e., there is no ver cal asymptote. No simple algebraic cancella on makes this
2
fact obvious; we used the Squeeze Theorem in Sec on 1.3 to prove this.
each return the indeterminate form “0/0” when we blindly plug in x = 0 and
x = 1, respec vely. However, 0/0 is not a valid arithme cal expression. It gives
no indica on that the respec ve limits are 1 and 2.
With a li le cleverness, one can come up with 0/0 expressions which have
a limit of ∞, 0, or any other real number. That is why this expression is called
indeterminate.
A key concept to understand is that such limits do not really return 0/0.
Rather, keep in mind that we are taking limits. What is really happening is that
Notes:
49
Chapter 1 Limits
Notes:
50
1.6 Limits Involving Infinity
We can also define limits such as lim f(x) = ∞ by combining this defini on 1
x→∞
with Defini on 1.6.1.
y y y
1 1
1
0.5 0.5
0.5
x x
−20 −10 10 20 −20 −10 10 20
−0.5 −0.5
x
−20 −10 10 20
. −1 . −1
.
(a) (b) (c)
Notes:
51
Chapter 1 Limits
We can analy cally evaluate limits at infinity for ra onal func ons once we
understand limx→∞ 1/x. As x gets larger and larger, 1/x gets smaller and smaller,
approaching 0. We can, in fact, make 1/x as small as we want by choosing a large
enough value of x. Given ε, we can make 1/x < ε by choosing x > 1/ε. Thus
we have limx→∞ 1/x = 0.
It is now not much of a jump to conclude the following:
1 1
lim = 0 and lim =0
x→∞ xn x→−∞ xn
x3 + 2x + 1
lim .
x→∞ 4x3 − 2x2 + 9
A good way of approaching this is to divide through the numerator and denom-
inator by x3 (hence mul plying by 1), which is the largest power of x to appear
in the func on. Doing this, we get
x3 + 2x + 1 1/x3 x3 + 2x + 1
lim = lim ·
x→∞ 4x3 − 2x2 + 9 x→∞ 1/x3 4x3 − 2x2 + 9
1 + 2/x2 + 1/x3
= lim .
x→∞ 4 − 2/x + 9/x3
Then using the rules for limits (which also hold for limits at infinity), as well as
the fact about limits of 1/xn , we see that the limit becomes
1+0+0 1
= .
4−0+0 4
This procedure works for any ra onal func on. In fact, it gives us the follow-
ing theorem.
Notes:
52
1.6 Limits Involving Infinity
an xn + an−1 xn−1 + · · · + a1 x + a0
f(x) = ,
bm xm + bm−1 xm−1 + · · · + b1 x + b0
3. If n > m, then lim f(x) and lim f(x) are both infinite.
x→∞ x→−∞
We can see why this is true. If the highest power of x is the same in both
the numerator and denominator (i.e. n = m), we will be in a situa on like the
example above, where we will divide by xn and in the limit all the terms will
approach 0 except for an xn /xn and bm xm /xn . Since n = m, this will leave us with
the limit an /bm . If n < m, then a er dividing through by xm , all the terms in the
numerator will approach 0 in the limit, leaving us with 0/bm or 0. If n > m, and
we try dividing through by xn , we end up with all the terms in the denominator
tending toward 0, while the xn term in the numerator does not approach 0. This
is indica ve of some sort of infinite limit.
Intui vely, as x gets very large, all the terms in the numerator are small in
comparison to an xn , and likewise all the terms in the denominator are small
compared to bn xm . If n = m, looking only at these two important terms, we
have (an xn )/(bn xm ). This reduces to an /bm . If n < m, the func on behaves
like an /(bm xm−n ), which tends toward 0. If n > m, the func on behaves like
an xn−m /bm , which will tend to either ∞ or −∞ depending on the values of n,
m, an , bm and whether you are looking for limx→∞ f(x) or limx→−∞ f(x).
With care, we can quickly evaluate limits at infinity for a large number of
func ons by considering the largest powers of x. For instance, consider again
x
lim √ , graphed in Figure 1.6.7(b). When x is very large, x2 + 1 ≈ x2 .
x→±∞ x2 + 1
Thus √ √ x x
x2 + 1 ≈ x2 = |x|, and √ ≈ .
x2 + 1 |x|
This expression is 1 when x is posi ve and −1 when x is nega ve. Hence we get
asymptotes of y = 1 and y = −1, respec vely.
Notes:
53
Chapter 1 Limits
x x2 + 2x − 1 x2 − 1
1. lim 3. lim
10 20 30 40 x→−∞ x3 + 1 x→∞ 3 − x
x2 + 2x − 1
2. lim
x→∞ 1 − x − 3x2
−0.5 .
S
(b)
1. The highest power of x is in the denominator. Therefore, the limit is 0; see
. y
Figure 1.6.8(a).
x
20 40
2. The highest power of x is x2 , which occurs in both the numerator and de-
nominator. The limit is therefore the ra o of the coefficients of x2 , which
−20 is −1/3. See Figure 1.6.8(b).
54
1.6 Limits Involving Infinity
Chapter Summary
In this chapter we:
• defined the limit,
• defined con nuity and explored proper es of con nuous func ons, and
• considered limits that involved infinity.
Why? Mathema cs is famous for building on itself and calculus proves to
be no excep on. In the next chapter we will be interested in “dividing by 0.”
That is, we will want to divide a quan ty by smaller and smaller numbers and
see what value the quo ent approaches. In other words, we will want to find a
limit. These limits will enable us to, among other things, determine exactly how
fast something is moving when we are only given posi on informa on.
Later, we will want to add up an infinite list of numbers. We will do so by
first adding up a finite list of numbers, then take a limit as the number of things
we are adding approaches infinity. Surprisingly, this sum o en is finite; that is,
we can add up an infinite list of numbers and get, for instance, 42.
These are just two quick examples of why we are interested in limits. Many
students dislike this topic when they are first introduced to it, but over me an
apprecia on is o en formed based on the scope of its applicability.
Notes:
55
Exercises 1.6
Terms and Concepts 1
10. f(x) = .
(x − 3)(x − 5)2
1. T/F: If lim f(x) = ∞, then we are implicitly sta ng that the (a) lim f(x) (d) lim f(x)
x→5 x→3− x→5−
limit exists. (b) lim f(x) (e) lim f(x)
x→3+ x→5+
x
2 4 6
4. T/F: If lim f(x) = ∞, then f has a ver cal asymptote at
x→5
x = 5.
−50 .
5. T/F: ∞/0 is not an indeterminate form.
1
11. f(x) =
6. List 5 indeterminate forms. ex + 1
y
8. Let lim f(x) = ∞. Explain how we know that f is/is not 1
x→7
con nuous at x = 7.
0.5
.
x
−10 −5 5 10
Problems −0.5
. −1
In Exercises 9 – 14, evaluate the given limits using the graph
of the func on.
12. f(x) = x2 sin(πx)
1
9. f(x) =
(x + 1)2
y
y
100
100
50
50
x
−10 −5 5 10
−50
. x
−2 −1 .. −100
56
13. f(x) = cos(x) In Exercises 19 – 24, iden fy the horizontal and ver cal
asymptotes, if any, of the given func on.
(a) lim f(x)
x→−∞ 2x2 − 2x − 4
19. f(x) =
(b) lim f(x) x2 + x − 20
x→∞
−3x2 − 9x − 6
y 20. f(x) =
5x2 − 10x − 15
1
0.5 x2 + x − 12
21. f(x) =
7x3 − 14x2 − 21x
x
−4π −3π −2π −π π 2π 3π 4π
x2 − 9
−0.5 22. f(x) =
9x − 9
. −1
x2 − 9
23. f(x) =
9x + 27
14. f(x) = 2x + 10
x2 − 1
(a) lim f(x) 24. f(x) =
x→−∞ −x2 − 1
y x3 + 2x2 + 1
25. lim
150 x→∞ x−5
100
x3 + 2x2 + 1
26. lim
x→∞ 5−x
50
x3 + 2x2 + 1
27. lim
x→−∞ x2 − 5
. x
−10 −5 5
x3 + 2x2 + 1
28. lim
x→−∞ 5 − x2
In Exercises 15 – 18, numerically approximate the following
limits:
x + 5x − 36
2
(b) lim (fg)(x) (d) lim f(x)g(x)
16. f(x) = x→2 x→2
x3 − 5x2 + 3x + 9
{
x2 − 1 x<3
x2 − 11x + 30 31. Let f(x) = .
17. f(x) = 3 x+5 x≥3
x − 4x2 − 3x + 18
Is f con nuous everywhere?
x2 − 9x + 18
18. f(x) = 32. Evaluate the limit: lim ln x.
x2 − x − 6 x→e
57
2: D
The previous chapter introduced the most fundamental of calculus topics: the
limit. This chapter introduces the second most fundamental of calculus topics:
the deriva ve. Limits describe where a func on is going; deriva ves describe
how fast the func on is going.
We have been given a posi on func on, but what we want to compute is a
velocity at a specific point in me, i.e., we want an instantaneous velocity. We
do not currently know how to calculate this.
However, we do know from common experience how to calculate an average
velocity. (If we travel 60 miles in 2 hours, we know we had an average velocity
of 30 mph.) We looked at this concept in Sec on 1.1 when we introduced the
difference quo ent. We have
where the minus sign indicates that the riders are moving down. By narrowing
the interval we consider, we will likely get a be er approxima on of the instan-
taneous velocity. On [2, 2.5] we have
f(2 + h) − f(2)
h
Average Velocity where h is small.
h /s We really want to use h = 0, but this, of course, returns the familiar “0/0”
1 −80 indeterminate form. So we employ a limit, as we did in Sec on 1.1.
0.5 −72 We can approximate the value of this limit numerically with small values of
0.1 −65.6 h as seen in Figure 2.1.1. It looks as though the velocity is approaching −64 /s.
0.01 −64.16 Compu ng the limit directly gives
0.001 −64.016
f(2 + h) − f(2) −16(2 + h)2 + 150 − (−16(2)2 + 150)
Figure 2.1.1: Approxima ng the instan- lim = lim
h→0 h h→0 h
taneous velocity with average veloci es
over a small me period h. −64h − 16h 2
= lim
h→0 h
= lim (−64 − 16h)
h→0
= −64.
Notes:
60
2.1 Instantaneous Rates of Change: The Deriva ve
those two points – it is a common prac ce to approximate func ons with straight
lines.
As h → 0, these secant lines approach the tangent line, a line that goes
through the point (2, f(2)) with the special slope of −64. In parts (c) and (d) of
Figure 2.1.2, we zoom in around the point (2, 86). In (c) we see the secant line,
which approximates f well, but not as well the tangent line shown in (d).
y y
150
100
100
50
50
x
1 2 3
x
.
−50 . 2 2.5 3
(a) (b)
.
y y
100 100
50 50
x x
. 1.5 2 2.5 . 1.5 2 2.5
(c) (d)
Figure 2.1.2: Parts (a), (b) and (c) show the secant line to f(x) with h = 1, zoomed in
different amounts. Part (d) shows the tangent line to f at x = 2.
Notes:
61
Chapter 2 Deriva ves
f(c + h) − f(c)
lim ,
h→0 h
provided the limit exists. If the limit exists, we say that f is differen able
at c; if the limit does not exist, then f is not differen able at c. If f is
differen able at every point in I, then f is differen able on I.
1. f ′ (1) 3. f ′ (3)
2. The equa on of the tangent line 4. The equa on of the tangent line
to the graph of f at x = 1. to the graph f at x = 3.
f(1 + h) − f(1)
f ′ (1) = lim
h→0 h
3(1 + h)2 + 5(1 + h) − 7 − (3(1)2 + 5(1) − 7)
= lim
h→0 h
3h2 + 11h
= lim
h→0 h
= lim (3h + 11) = 11.
h→0
Notes:
62
2.1 Instantaneous Rates of Change: The Deriva ve
2. The tangent line at x = 1 has slope f ′ (1) and goes through the point
(1, f(1)) = (1, 1). Thus the tangent line has equa on, in point-slope form,
y = 11(x − 1) + 1. In slope-intercept form we have y = 11x − 10.
f(3 + h) − f(3)
f ′ (3) = lim
h→0 h
y
3(3 + h)2 + 5(3 + h) − 7 − (3(3)2 + 5(3) − 7)
= lim 60
h→0 h
3h2 + 23h
= lim 40
h→0 h
= lim (3h + 23)
h→0
20
= 23.
x
4. The tangent line at x = 3 has slope 23 and goes through the point (3, f(3)) = 1 2 3 4
.
(3, 35). Thus the tangent line has equa on y = 23(x−3)+35 = 23x−34.
Figure 2.1.3: A graph of f(x) = 3x2 + 5x −
A graph of f is given in Figure 2.1.3 along with the tangent lines at x = 1 and 7 and its tangent lines at x = 1 and x = 3.
x = 3.
Another important line that can be created using informa on from the deriva-
ve is the normal line. It is perpendicular to the tangent line, hence its slope is
the opposite–reciprocal of the tangent line’s slope.
where f ′((c) ̸= )0. When f ′ (c) = 0, the normal line is the ver cal line
through c, f(c) ; that is, x = c.
Notes:
63
Chapter 2 Deriva ves
y the normal line will have slope −1/11. An equa on for the normal line is
−1
3 n(x) = (x − 1) + 1.
11
The normal line is plo ed with y = f(x) in Figure 2.1.4. Note how the line looks
2 perpendicular to f. (A key word here is “looks.” Mathema cally, we say that the
normal line is perpendicular to f at x = 1 as the slope of the normal line is the
1 opposite–reciprocal of the slope of the tangent line. However, normal lines may
not always look perpendicular. The aspect ra o of the picture of the graph plays
a big role in this.)
. x
We also found that f ′ (3) = 23, so the normal line to the graph of f at x = 3
1 2 3 4
will have slope −1/23. An equa on for the normal line is
Figure 2.1.4: A graph of f(x) = 3x2 + 5x − −1
7, along with its normal line at x = 1. n(x) = (x − 3) + 35.
23
Linear func ons are easy to work with; many func ons that arise in the
course of solving real problems are not easy to work with. A common prac ce
in mathema cal problem solving is to approximate difficult func ons with not–
so–difficult func ons. Lines are a common choice. It turns out that at any given
point on the graph of a differen able func on f, the best linear approxima on
to f is its tangent line. That is one reason we’ll spend considerable me finding
tangent lines to func ons.
One type of func on that does not benefit from a tangent–line approxima-
on is a line; it is rather simple to recognize that the tangent line to a line is the
line itself. We look at this in the following example.
f(1 + h) − f(1)
f ′ (1) = lim
h→0 h
3(1 + h) + 5 − (3 + 5)
= lim
h→0 h
3h
= lim
h→0 h
= lim 3
h→0
= 3.
Notes:
64
2.1 Instantaneous Rates of Change: The Deriva ve
We just found that f ′ (1) = 3. That is, we found the instantaneous rate of
change of f(x) = 3x + 5 is 3. This is not surprising; lines are characterized by
being the only func ons with a constant rate of change. That rate of change
is called the slope of the line. Since their rates of change are constant, their
instantaneous rates of change are always the same; they are all the slope.
So given a line f(x) = ax + b, the deriva ve at any point x will be a; that is,
f ′ (x) = a.
It is now easy to see that the tangent line to the graph of f at x = 1 is just f,
with the same being true for x = 7.
h −0.5
for a small value of h. We choose (somewhat arbitrarily) to let h = 0.1. Thus
. −1
sin(0.1) − sin 0
f ′ (0) ≈ ≈ 0.9983.
0.1 Figure 2.1.5: f(x) = sin x graphed with an
approxima on to its tangent line at x = 0.
Thus our approxima on of the equa on of the tangent line is y = 0.9983(x −
0) + 0 = 0.9983x; it is graphed in Figure 2.1.5. The graph seems to imply the
approxima on is rather good.
Recall from Sec on 1.3 that limx→0 sinx x = 1, meaning for values of x near
0, sin x ≈ x. Since the slope of the line y = x is 1 at x = 0, it should seem
reasonable that “the slope of f(x) = sin x” is near 1 at x = 0. In fact, since we
approximated the value of the slope to be 0.9983, we might guess the actual
value is 1. We’ll come back to this later.
Notes:
65
Chapter 2 Deriva ves
This process describes a func on; given one input (the value of c), we return
exactly one output (the value of f ′ (c)). The “do something” box is where the
tedious work (taking limits) of this func on occurs.
Instead of applying this func on repeatedly for different values of c, let us
apply it just once to the variable x. We then take a limit just once. The process
now looks like:
do something return
input variable x
to f and x func on f ′ (x)
The output is the “deriva ve func on,” f ′ (x). The f ′ (x) func on will take a
number c as input and return the deriva ve of f at c. This calls for a defini on.
f(x + h) − f(x)
f ′ (x) = lim
h→0 h
is the deriva ve of f.
Nota on:
Let y = f(x). The following nota ons all represent the deriva ve of f:
dy df d d
f ′ (x) = y′ = = = (f) = (y).
dx dx dx dx
dy
Important: The nota on is one symbol; it is not the frac on “dy/dx”. The
dx
nota on, while somewhat confusing at first, was chosen with care. A frac on–
looking symbol was chosen because the deriva ve has many frac on–like prop-
er es. Among other places, we see these proper es at work when we talk about
the units of the deriva ve, when we discuss the Chain Rule, and when we learn
about integra on (topics that appear in later sec ons and chapters).
Notes:
66
2.1 Instantaneous Rates of Change: The Deriva ve
f(x + h) − f(x)
f ′ (x) = lim
h→0 h
3(x + h)2 + 5(x + h) − 7 − (3x2 + 5x − 7)
= lim
h→0 h
3h2 + 6xh + 5h
= lim
h→0 h
= lim (3h + 6x + 5)
h→0
= 6x + 5
So f ′ (x) = 6x + 5. Recall earlier we found that f ′ (1) = 11 and f ′ (3) = 23. Note
our new computa on of f ′ (x) affirm these facts.
f(x + h) − f(x)
f ′ (x) = lim
h→0 h
1
x+h+1 − 1
x+1
= lim
h→0 h
Now find common denominator then subtract; pull 1/h out front to facilitate
reading.
( )
1 x+1 x+h+1
= lim · −
h→0 h (x + 1)(x + h + 1) (x + 1)(x + h + 1)
( )
1 x + 1 − (x + h + 1)
= lim ·
h→0 h (x + 1)(x + h + 1)
( )
1 −h
= lim ·
h→0 h (x + 1)(x + h + 1)
−1
= lim
h→0 (x + 1)(x + h + 1)
−1
=
(x + 1)(x + 1)
−1
= .
(x + 1)2
Notes:
67
Chapter 2 Deriva ves
−1
So f ′ (x) = . To prac ce using our nota on, we could also state
(x + 1)2
( )
d 1 −1
= .
dx x + 1 (x + 1)2
= sin x · 0 + cos x · 1
= cos x !
We have found that when f(x) = sin x, f ′ (x) = cos x. This should be somewhat
surprising; the result of a tedious limit process and the sine func on is a nice
func on. Then again, perhaps this is not en rely surprising. The sine func on
is periodic – it repeats itself on regular intervals. Therefore its rate of change
also repeats itself on the same regular intervals. We should have known the
deriva ve would be periodic; we now know exactly which periodic func on it is.
Thinking back to Example 2.1.4, we can find the slope of the tangent line to
f(x) = sin x at x = 0 using our deriva ve. We approximated the slope as 0.9983;
y
we now know the slope is exactly cos 0 = 1.
1
Example 2.1.8 Finding the deriva ve of a piecewise defined func on
Find the deriva ve of the absolute value func on,
{
0.5 −x x < 0
f(x) = |x| = .
x x≥0
See Figure 2.1.6.
x
−1 −0.5 0.5 1
. f(x + h) − f(x)
S We need to evaluate lim . As f is piecewise–
h
h→0
Figure 2.1.6: The absolute value func on, defined, we need to consider separately the limits when x < 0 and when x > 0.
f(x) = |x|. No ce how the slope of
the lines (and hence the tangent lines)
abruptly changes at x = 0.
Notes:
68
2.1 Instantaneous Rates of Change: The Deriva ve
When x < 0:
d( ) −(x + h) − (−x)
− x = lim
dx h→0 h
−h
= lim
h→0 h
= lim −1
h→0
= −1.
d( )
When x > 0, a similar computa on shows that x = 1.
dx
We need to also find the deriva ve at x = 0. By the defini on of the deriva-
ve at a point, we have
f(0 + h) − f(0)
f ′ (0) = lim .
h→0 h
Since x = 0 is the point where our func on’s defini on switches from one piece
to the other, we need to consider le and right-hand limits. Consider the fol-
lowing, where we compute the le and right hand limits side by side.
Notes:
69
Chapter 2 Deriva ves
1
f(x + h) − f(x) 1−1
lim = lim = lim 0 = 0.
h→0 h h→0 h h→0
0.5
So far we have {
cos x x < π/2
f ′ (x) = .
x 0 x > π/2
π
2
Notes:
70
2.1 Instantaneous Rates of Change: The Deriva ve
For all the func ons f in this text, we can determine differen ability on [a, b]
by considering the limits limx→a+ f ′ (x) and limx→b− f ′ (x). This is o en easier to
evaluate than the limit of the difference quo ent.
Notes:
71
Chapter 2 Deriva ves
The one-sided limit of the difference quo ent does not exist at x = 0 for f;
therefore f is differen able on (0, ∞) and not( differen
√ ) able on [0, ∞).
We state (without proof) that f ′ (x) = 1/ 2 x . Note that limx→0+ f ′ (x) =
∞; this limit was easier to evaluate than the limit of the difference quo ent,
though it required us to already know the deriva ve of f.
y
Now consider g:
√ √
1 g(a + h) − g(a) (0 + h)3 − 0
lim = lim
h→0+ h h→0+ h
y = x1/2
h3/2
= lim
h→0+ h
y = x3/2
= lim h1/2 = 0.
h→0+
x
1
As the one-sided limit exists at x = 0, we conclude g is differen able on its
domain of [0, ∞). √
Figure 2.1.10: A graph of y = x1/2 and We state (without proof) that g ′ (x) = 3 x/2. Note that limx→0+ g ′ (x) = 0;
y = x3/2 in Example 2.1.10. again, this limit is easier to evaluate than the limit of the difference quo
√ ent.
The two func ons are graphed in Figure 2.1.10. Note how f(x) = x seems
to “go ver cal” as x approaches 0, implying the slopes of its tangent lines are
growing
√ toward infinity. Also note how the slopes of the tangent lines to g(x) =
3
x approach 0 as x approaches 0.
Most calculus textbooks omit this topic and simply avoid specific cases where
it could be applied. We choose in this text to not make use of the topic unless
it is “needed.” Many theorems in later sec ons require a func on f to be differ-
en able on an open interval I; we could remove the word “open” and just use
“. . . on an interval I,” but choose to not do so in keeping with the current math-
ema cal tradi on. Our first use of differen ability on closed intervals comes in
Chapter 7, where we measure the lengths of curves.
This sec on defined the deriva ve; in some sense, it answers the ques on of
“What is the deriva ve?” The next sec on addresses the ques on “What does
the deriva ve mean?”
Notes:
72
Exercises 2.1
Terms and Concepts 19. h(x) = x3 , at x = 4.
1. T/F: Let f be a posi on func on. The average rate of change 20. f(x) = 3x2 − x + 4, at x = −1.
on [a, b] is the slope of the line through the points (a, f(a))
and (b, f(b)). 1
21. r(x) = , at x = −2.
x
2. T/F: The defini on of the deriva ve of a func on at a point
1
involves taking a limit. 22. r(x) = , at x = 3.
x−2
3. In your own words, explain the difference between the av- In Exercises 23 – 26, a func on f and an x–value a are given.
erage rate of change and instantaneous rate of change. Approximate the equa on of the tangent line to the graph of
f at x = a by numerically approxima ng f ′ (a), using h = 0.1.
4. In your own words, explain the difference between Defini-
ons 2.1.1 and 2.1.4. 23. f(x) = x2 + 2x + 1, x = 3
6. If two lines are perpendicular, what is true of their slopes? 25. f(x) = ex , x = 2
10. g(x) = x2
2
3
11. h(x) = x 1
x
12. f(x) = 3x2 − x + 4 −2 −1 1 2
−1
.
1
13. r(x) =
x 1
28. The graph of f(x) = is shown.
x+1
1
14. r(s) = (a) Use the graph to approximate the slope of the tan-
s−2
gent line to f at the following points: (0, 1) and
In Exercises 15 – 22, a func on and an x–value c are given. (1, 0.5).
(Note: these func ons are the same as those given in Exer- (b) Using the defini on, find f ′ (x).
cises 7 through 14.) (c) Find the slope of the tangent line at the points (0, 1)
(a) Give the equa on of the tangent line at x = c. and (1, 0.5).
(b) Give the equa on of the normal line at x = c. y
3
16. f(x) = 2x, at x = 3.
2
x
.
18. g(x) = x2 , at x = 2. −1 1 2 3
73
In Exercises 29 – 32, a graph of a func on f(x) is given. Using
the graph, sketch f ′ (x).
y
y 5
2 34. x
−2 −1 1 2
29. 1
x −5
−2 −1 1 2 3 4
−1
.
.
30. √ (5 − 6x)x3/2
x5 (1 − x), domain = [0, 1], f ′ (x) =
x
−6 −4 −2 2 35. f(x) = √
2 1−x
−2
(√ )
(√ ) sin x
. 36. f(x) = cos x , domain = [0, ∞), f ′ (x) = − √
2 x
y
5
Review
31. x
−2 −1 1 2 x2 + 2x − 35
37. Approximate lim .
x→5 x2 − 10.5x + 27.5
.
. −5 38. Use the Bisec on Method to approximate, accurate to two
decimal places, the root of g(x) = x3 + x2 + x − 1 on
y [0.5, 0.6].
1
0.5 39. Give intervals on which each of the following func ons are
con nuous.
32. x
−2π −π π 2π
1 √
−0.5 (a) (c) 5−x
. ex + 1
−1 1 √
. (b) 2 (d) 5 − x2
x −1
In Exercises 33 – 34, a graph of a func on g(x) is given. Using
the graph, answer the following ques ons. 40. Use the graph of f(x) provided to answer the following.
1. Where is g(x) > 0? 1. Where is g′ (x) < 0? (a) lim f(x) =? (c) lim f(x) =?
x→−3− x→−3
2. Where is g(x) < 0? 2. Where is g′ (x) > 0?
(b) lim f(x) =? (d) Where is f con nu-
3. Where is g(x) = 0? 3. Where is g′ (x) = 0? x→−3+ ous?
y
y 3
5
1
33. x
−2 −1 1 2
x
−4 −2
. −1
. −5
74
.
2.2 Interpreta ons of the Deriva ve
Notes:
75
Chapter 2 Deriva ves
ers’ height would have dropped by about 64 feet. Knowing that the riders were
accelera ng as they fell would inform us that this is an under–approxima on. If
all we knew was that f(2) = 86 and f ′ (2) = −64, we’d know that we’d have to
stop the riders quickly otherwise they would hit the ground.
Notes:
76
2.2 Interpreta ons of the Deriva ve
One of the most fundamental applica ons of the deriva ve is the study of
mo on. Let s(t) be a posi on func on, where t is me and s(t) is distance. For
instance, s could measure the height of a projec le or the distance an object has
traveled.
Let’s let s(t) measure the distance traveled, in feet, of an object a er t sec-
onds of travel. Then s ′ (t) has units “feet per second,” and s ′ (t) measures the
instantaneous rate of distance change – it measures velocity.
Now consider v(t), a velocity func on. That is, at me t, v(t) gives the ve-
locity of an object. The deriva ve of v, v ′ (t), gives the instantaneous rate of
velocity change – accelera on. (We o en think of accelera on in terms of cars:
a car may “go from 0 to 60 in 4.8 seconds.” This is an average accelera on, a
measurement of how quickly the velocity changed.) If velocity is measured in
feet per second, and me is measured in seconds, then the units of accelera on
(i.e., the units of v ′ (t)) are “feet per second per second,” or ( /s)/s. We o en
shorten this to “feet per second squared,” or /s2 , but this tends to obscure the
meaning of the units.
Perhaps the most well known accelera on is that of gravity. In this text, we
use g = 32 /s2 or g = 9.8m/s2 . What do these numbers mean?
A constant accelera on of 32( /s)/s means that the velocity changes by
32 /s each second. For instance, let v(t) measures the velocity of a ball thrown
straight up into the air, where v has units /s and t is measured in seconds. The
ball will have a posi ve velocity while traveling upwards and a nega ve velocity
while falling down. The accelera on is thus −32 /s2 . If v(1) = 20 /s, then
when t = 2, the velocity will have decreased by 32 /s; that is, v(2) = −12 /s.
We can con nue: v(3) = −44 /s, and we can also figure that v(0) = 52 /s.
These ideas are so important we write them out as a Key Idea.
Notes:
77
Chapter 2 Deriva ves
f(c + h) − f(c)
8
Given a func on y = f(x), the difference quo ent gives a
h
change in y values divided by a change in x values; i.e., it is a measure of the
4 “rise(over run,”
) or(“slope,” of the) line that goes through two points on the graph
of f: c, f(c) and c+h, f(c+h) . As h shrinks to 0, these two points come close
. x together; in the limit we find f ′ (c), the slope of a special line called the tangent
1 2 3 4 line that intersects f only once near x = c.
Lines have a constant rate of change, their slope. Nonlinear func ons do not
Figure 2.2.1: A graph of f(x) = x2 .
have a constant rate of change, but we can measure their instantaneous rate of
change at a given x value c by compu ng f ′ (c). We can get an idea of how f is
behaving by looking at the slopes of its tangent lines. We explore this idea in the
following example.
y
16 Example 2.2.3 Understanding the deriva ve: the rate of change
Consider f(x) = x2 as shown in Figure 2.2.1. It is clear that at x = 3 the func on
12 is growing faster than at x = 1, as it is steeper at x = 3. How much faster is it
growing?
8
Notes:
78
2.2 Interpreta ons of the Deriva ve
S Figure 2.2.4 shows the graph of f along with its tangent line, .
zoomed in at x = 3. No ce that near x = 3, the tangent line makes an excellent (b)
approxima on of f. Since lines are easy to deal with, o en it works well to ap- .
proximate a func on with its tangent line. (This is especially true when you don’t Figure 2.2.3: Graphs of f and f ′ in Example
actually know much about the func on at hand, as we don’t in this example.) 2.2.4, along with tangent lines in (b).
While the tangent line to f was drawn in Example 2.2.4, it was not explicitly
computed. Recall that the tangent line to f at x = c is y = f ′ (c)(x − c) + f(c).
While f is not explicitly given, by the graph it looks like f(3) = 4. Recalling that
f ′ (3) = 3, we can compute the tangent line to be approximately y = 3(x−3)+4. y
It is o en useful to leave the tangent line in point–slope form.
To use the tangent line to approximate f(3.1), we simply evaluate y at 3.1
instead of f. 4
Notes:
79
Chapter 2 Deriva ves
If we know f(c) and f ′ (c) for some value x = c, then compu ng the tangent
line at (c, f(c)) is easy: y(x) = f ′ (c)(x − c) + f(c). In Example 2.2.5, we used
the tangent line to approximate a value of f. Let’s use the tangent line at x = c
to approximate a value of f near x = c; i.e., compute y(c + h) to approximate
f(c + h), assuming again that h is “small.” Note:
( )
y(c + h) = f ′ (c) (c + h) − c + f(c) = f ′ (c) · h + f(c).
This is the exact same approxima on method used above! Not only does it make
intui ve sense, as explained above, it makes analy cal sense, as this approxima-
on method is simply using a tangent line to approximate a func on’s value.
Notes:
80
Exercises 2.2
Terms and Concepts In Exercises 15 – 18, graphs of func ons f(x) and g(x) are
given. Iden fy which func on is the deriva ve of the other.
1. What is the instantaneous rate of change of posi on y
called?
4 g(x)
Problems y
4
g(x) f(x)
4. Given f(5) = 10 and f ′ (5) = 2, approximate f(6). 2
16. x
5. Given P(100) = −67 and P ′ (100) = 5, approximate 2
P(110). −2
−4
6. Given z(25) = 187 and z′ (25) = 17, approximate z(20). .
y
7. Knowing f(10) = 25 and f ′ (10) = 5 and the methods de- 5
scribed in this sec on, which approxima on is likely to be
most accurate: f(10.1), f(11), or f(20)? Explain your rea-
f(x)
soning. 17. . x
−5 5
−5
9. Given H(0) = 17 and H(2) = 29, approximate H ′ (2). .
y
10. Let V(x) measure the volume, in decibels, measured inside 2
a restaurant with x customers. What are the units of V ′ (x)?
f(x)
11. Let v(t) measure the velocity, in /s, of a car moving in a 18. x
straight line t seconds a er star ng. What are the units of −4 −2 2 4
v ′ (t)?
g(x)
−2
12. The height H, in feet, of a river is recorded t hours a er mid-
night, April 1. What are the units of H ′ (t)?
(b) Is T ′ (8) likely greater than or less than 0? Why? 21. f(x) = cos x at x = π.
√
(c) Is T(8) likely greater than or less than 0? Why? 22. f(x) = x at x = 9.
81
Chapter 2 Deriva ves
In this sec on (and in some sec ons to follow) we will learn some of what
mathema cians have already discovered about the deriva ves of certain func-
ons and how deriva ves interact with arithme c opera ons. We start with a
theorem.
1. Constant Rule: d
5. (sin x) = cos x
d( ) dx
c = 0, where c is a constant.
dx d
6. (cos x) = − sin x
2. Power Rule: dx
d ( n)
x = nxn−1 , where n is an d x
dx 7. (e ) = ex
integer, n > 0. dx
d 1
8. (ln x) =
dx x
Notes:
82
2.3 Basic Differen a on Rules
This theorem starts by sta ng an intui ve fact: constant func ons have no
rate of change as they are constant. Therefore their deriva ve is 0 (they change
at the rate of 0). The theorem then states some fairly amazing things. The Power
Rule states that the deriva ves of Power Func ons (of the form y = xn ) are very
straigh orward: mul ply by the power, then subtract 1 from the power. We see
something incredible about the func on y = ex : it is its own deriva ve. We also
see a new connec on between the sine and cosine func ons.
One special case of the Power Rule is when n = 1, i.e., when f(x) = x. What
is f ′ (x)? According to the Power Rule,
d( ) d ( 1)
f ′ (x) = x = x = 1 · x0 = 1.
dx dx
In words, we are asking “At what rate does f change with respect to x?” Since f
is x, we are asking “At what rate does x change with respect to x?” The answer
is: 1. They change at the same rate.
Example 2.3.1 Using Theorem 2.3.1 to find, and use, deriva ves
Let f(x) = x3 .
y
1. Find f ′ (x). 4
−4
S .
1. The Power Rule states that if f(x) = x3 , then f ′ (x) = 3x2 . Figure 2.3.1: A graph of f(x) = x3 , along
′ 2
with
. its deriva ve f (x) = 3x and its tan-
2. To find the equa on of the line tangent to the graph of f at x = −1, we gent line at x = −1.
need a point and the slope. The point is (−1, f(−1)) = (−1, −1). The
slope is f ′ (−1) = 3. Thus the tangent line has equa on y = 3(x−(−1))+
(−1) = 3x + 2.
3. We can use the tangent line to approximate (−1.1)3 as −1.1 is close to
−1. We have
(−1.1)3 ≈ 3(−1.1) + 2 = −1.3.
We can easily find the actual answer; (−1.1)3 = −1.331.
4. See Figure 2.3.1.
Notes:
83
Chapter 2 Deriva ves
Theorem 2.3.1 gives useful informa on, but we will need much more. For
instance, using the theorem, we can easily find the deriva ve of y = x3 , but
it does not tell how to compute the deriva ve of y = 2x3 , y = x3 + sin x nor
y = x3 sin x. The following theorem helps with the first two of these examples
(the third is answered in the next sec on).
Theorem 2.3.2 allows us to find the deriva ves of a wide variety of func ons.
It can be used in conjunc on with the Power Rule to find the deriva ves of any
polynomial. Recall in Example 2.1.5 that we found, using the limit defini on,
the deriva ve of f(x) = 3x2 + 5x − 7. We can now find its deriva ve without
expressly using limits:
d( 2 ) d ( 2) d( ) d( )
3x + 5x + 7 = 3 x +5 x + 7
dx dx dx dx
= 3 · 2x + 5 · 1 + 0
= 6x + 5.
We were a bit pedan c here, showing every step. Normally we would do all
d( 2 )
the arithme c and steps in our head and readily find 3x +5x+7 = 6x+5.
dx
Example 2.3.2 Using the tangent line to approximate a func on value
Let f(x) = sin x + 2x + 1. Approximate f(3) using an appropriate tangent line.
Notes:
84
2.3 Basic Differen a on Rules
The deriva ve of a func on f is itself a func on, therefore we can take its
deriva ve. The following defini on gives a name to this concept and introduces
its nota on.
In general, when finding the fourth deriva ve and on, we resort to the f (4) (x)
Notes:
85
Chapter 2 Deriva ves
nota on, not f ′′′′ (x); a er a while, too many cks is confusing.
2. f(x) = sin x
1. Using the Power and Constant Mul ple Rules, we have: f ′ (x) = 8x. Con-
nuing on, we have
d( )
f ′′ (x) = 8x = 8; f ′′′ (x) = 0; f (4) (x) = 0.
dx
No ce how all successive deriva ves will also be 0.
2. We employ Theorem 2.3.1 repeatedly.
f ′ (x) = cos x; f ′′ (x) = − sin x; f ′′′ (x) = − cos x; f (4) (x) = sin x.
Note how we have come right back to f(x) again. (Can you quickly figure
what f (23) (x) is?)
3. Employing Theorem 2.3.1 and the Constant Mul ple Rule, we can see that
Notes:
86
2.3 Basic Differen a on Rules
enthusiasts talk of how fast a car can go from 0 to 60 mph; they are bragging
about the accelera on of the car.
We started this chapter with amusement–park riders free–falling with posi-
on func on f(t) = −16t2 + 150. It is easy to compute f ′ (t) = −32t /s and
f ′′ (t) = −32 ( /s)/s. We may recognize this la er constant; it is the accelera-
on due to gravity. In keeping with the unit nota on introduced in the previous
sec on, we say the units are “feet per second per second.” This is usually short-
ened to “feet per second squared,” wri en as “ /s2 .”
It can be difficult to consider the meaning of the third, and higher order,
deriva ves. The third deriva ve is “the rate of change of the rate of change of
the rate of change of f.” That is essen ally meaningless to the unini ated. In
the context of our posi on/velocity/accelera on example, the third deriva ve
is the “rate of change of accelera on,” commonly referred to as “jerk.”
Make no mistake: higher order deriva ves have great importance even if
their prac cal interpreta ons are hard (or “impossible”) to understand. The
mathema cal topic of series makes extensive use of higher order deriva ves.
Notes:
87
Exercises 2.3
Terms and Concepts 20. f(x) = ln(5x2 )
3. Give an example of a func on f(x) where f ′ (x) = f(x). 24. f(x) = (1 − x)3
9. If f(x) describes a posi on func on, then f ′ (x) describes 29. h(t) = t2 − et
what kind of func on? What kind of func on is f ′′ (x)?
30. p(θ) = θ4 − θ3
10. Let f(x) be a func on measured in pounds, where x is mea-
sured in feet. What are the units of f ′′ (x)? 31. f(θ) = sin θ − cos θ
34. f(t) = et + 3 at t = 0
12. g(x) = 14x3 + 7x2 + 11x − 29
35. g(x) = ln x at x = 1
13. m(t) = 9t5 − 18 t3 + 3t − 8
36. f(x) = 4 sin x at x = π/2
14. f(θ) = 9 sin θ + 10 cos θ
37. f(x) = −2 cos x at x = π/4
15. f(r) = 6er
38. f(x) = 2x + 3 at x = 5
16. g(t) = 10t4 − cos t + 7 sin t
17. f(x) = 2 ln x − x
Review
1 4 1 3 1 2
18. p(s) = s + s + s +s+1
4 3 2 39. Given that e0 = 1, approximate the value of e0.1 using the
tangent line to f(x) = ex at x = 0.
19. h(t) = et − sin t − cos t
88
2.4 The Product and Quo ent Rules
d( )
Important: f(x)g(x) ̸= f ′ (x)g ′ (x)! While this answer is simpler than
dx
the Product Rule, it is wrong.
We prac ce using this new rule in an example, followed by an example that
demonstrates why this theorem is true.
S To make our use of the Product Rule explicit, let’s set f(x) = 15
5x2 and g(x) = sin x. We easily compute/recall that f ′ (x) = 10x and g ′ (x) =
cos x. Employing the rule, we have 10
d( 2 )
5x sin x = 5x2 cos x + 10x sin x.
dx 5
At x = π/2, we have
( π )2 (π) π (π) . π π
x
y ′ (π/2) = 5 cos + 10 sin = 5π. 2
2 2 2 2
We graph y and its tangent line at x = π/2, which has a slope of 5π, in Figure Figure 2.4.1: A graph of y = 5x2 sin x and
2.4.1. While this does not prove that the Product Rule is the correct way to han- its tangent line at x = π/2.
dle deriva ves of products, it helps validate its truth. .
Notes:
89
Chapter 2 Deriva ves
We now do something a bit unexpected; add 0 to the numerator (so that nothing
is changed) in the form of −f(x+h)g(x)+f(x+h)g(x), then do some regrouping
as shown.
It is o en true that we can recognize that a theorem is true through its proof
yet somehow doubt its applicability to real problems. In the following example,
we compute the deriva ve of a product of func ons in two ways to verify that
the Product Rule is indeed “right.”
Notes:
90
2.4 The Product and Quo ent Rules
The uninformed usually assume that “the deriva ve of the product is the
product of the deriva ves.” Thus we are tempted to say that y ′ = (2x + 3)(4x −
3) = 8x2 + 6x − 9. Obviously this is not correct.
Example 2.4.4 Using the Product Rule with a product of three func ons
Let y = x3 ln x cos x. Find y ′ .
( 1 ) ( )
= (x3 ) ln x(− sin x) + cos x + 3x2 ln x cos x
x
31
= x ln x(− sin x) + x cos x + 3x2 ln x cos x
3
x
Recognize the pa ern in our answer above: when applying the Product Rule to
a product of three func ons, there are three terms added together in the final
deriva ve. Each term contains only one deriva ve of one of the original func-
ons, and each func on’s deriva ve shows up in only one term. It is straigh or-
ward to extend this pa ern to finding the deriva ve of a product of 4 or more
func ons.
1. f(x) = x ln x
2. g(x) = x ln x − x.
Notes:
91
Chapter 2 Deriva ves
We have learned how to compute the deriva ves of sums, differences, and
products of func ons. We now learn how to find the deriva ve of a quo ent of
func ons.
The Quo ent Rule is not hard to use, although it might be a bit tricky to re-
member. A useful mnemonic works as follows. Consider a frac on’s numerator
and denominator as “HI” and “LO”, respec vely. Then
( )
d HI LO· dHI – HI· dLO
= ,
dx LO LOLO
read “low dee high minus high dee low, over low low.” Said fast, that phrase can
roll off the tongue, making it easy to memorize. The “dee high” and “dee low”
parts refer to the deriva ves of the numerator and denominator, respec vely.
Notes:
92
2.4 The Product and Quo ent Rules
( )
d 5x2 sin x · 10x − 5x2 · cos x
=
dx sin x sin2 x
10x sin x − 5x2 cos x
= .
sin2 x
The Quo ent Rule allows us to fill in holes in our understanding of deriva ves
of the common trigonometric func ons. We start with finding the deriva ve of
the tangent func on.
d
( )
Example 2.4.7 Using the Quo ent Rule to find dx tan x .
Find the deriva ve of y = tan x.
We include this result in the following theorem about the deriva ves of the
trigonometric func ons. Recall we found the deriva ve of y = sin x in Example
2.1.7 and stated the deriva ve of the cosine func on in Theorem 2.3.1. The
deriva ves of the cotangent, cosecant and secant func ons can all be computed
directly using Theorem 2.3.1 and the Quo ent Rule.
Notes:
93
Chapter 2 Deriva ves
d( ) d( )
1. sin x = cos x 2. cos x = − sin x
dx dx
d( ) d( )
3. tan x = sec2 x 4. cot x = − csc2 x
dx dx
d( ) d( )
5. sec x = sec x tan x 6. csc x = − csc x cot x
dx dx
To remember the above, it may be helpful to keep in mind that the deriva-
ves of the trigonometric func ons that start with “c” have a minus sign in them.
The Quo ent Rule gives other useful results, as shown in the next example.
Notes:
94
2.4 The Product and Quo ent Rules
Example 2.4.9 Using the Quo ent Rule to expand the Power Rule
Find the deriva ves of the following func ons.
1
1. f(x) =
x
1
2. f(x) = , where n > 0 is an integer.
xn
1
The deriva ve of y = n turned out to be rather nice. It gets be er. Con-
x
sider:
( )
d 1 d ( −n )
= x (apply result from Example 2.4.9)
dx xn dx
n
= − n+1 (rewrite algebraically)
x
= −nx−(n+1)
= −nx−n−1 .
This is reminiscent of the Power Rule: mul ply by the power, then subtract 1
from the power. We now add to our previous Power Rule, which had the re-
stric on of n > 0.
f ′ (x) = n · xn−1 .
Taking the deriva ve of many func ons is rela vely straigh orward. It is
clear (with prac ce) what rules apply and in what order they should be applied.
Other func ons present mul ple paths; different rules may be applied depend-
ing on how the func on is treated. One of the beau ful things about calculus
is that there is not “the” right way; each path, when applied correctly, leads to
Notes:
95
Chapter 2 Deriva ves
the same result, the deriva ve. We demonstrate this concept in an example.
Notes:
96
2.4 The Product and Quo ent Rules
to a form that seems “simple” and easy to interpret. In that example, we saw
different expressions for f ′ , including:
( ) ( )
1 x · 2x − 3 − x2 − 3x + 1 · 1 ( ) ( )
1− 2
= 2
= x2 − 3x + 1 · (−1)x−2 + 2x − 3 · x−1 .
x x
They are equal; they are all correct; only the first is “clear.” Work to make an-
swers clear.
In the next sec on we con nue to learn rules that allow us to more easily
compute deriva ves than using the limit defini on directly. We have to memo-
rize the deriva ves of a certain set of func ons, such as “the deriva ve of sin x
is cos x.” The Sum/Difference, Constant Mul ple, Power, Product and Quo ent
Rules show us how to find the deriva ves of certain combina ons of these func-
ons. The next sec on shows how to find the deriva ves when we compose
these func ons together.
Notes:
97
Exercises 2.4
Terms and Concepts In Exercises 15 – 36, compute the deriva ve of the given func-
on.
d( 2 )
1. T/F: The Product Rule states that x sin x = 2x cos x.
dx 15. f(x) = x sin x
( )
d x2 cos x 16. f(x) = x2 cos x
2. T/F: The Quo ent Rule states that = .
dx sin x 2x
17. f(x) = ex ln x
3. T/F: The deriva ves of the trigonometric func ons that
start with “c” have minus signs in them.
1
18. f(t) = (csc t − 4)
t2
4. What deriva ve rule is used to extend the Power Rule to
include nega ve integer exponents? x+7
19. g(x) =
x−5
5. T/F: Regardless of the func on, there is always exactly one
right way of compu ng its deriva ve. t5
20. g(t) =
cos t − 2t2
6. In your own words, explain what it means to make your an-
swers “clear.” 21. h(x) = cot x − ex
( )
22. f(x) = tan x ln x
Problems
23. h(t) = 7t2 + 6t − 2
In Exercises 7 – 10:
(a) Use the Product Rule to differen ate the func on. x4 + 2x3
24. f(x) =
x+2
(b) Manipulate the func on algebraically and differen -
ate without the Product Rule. ( )
25. f(x) = 3x2 + 8x + 7 ex
(c) Show that the answers from (a) and (b) are equivalent.
t5 − t3
7. f(x) = x(x2 + 3x) 26. g(t) =
et
sin x
29. f(x) =
In Exercises 11 – 14: cos x + 3
(a) Use the Quo ent Rule to differen ate the func on. sin θ
30. f(θ) = θ3 sin θ +
(b) Manipulate the func on algebraically and differen - θ3
ate without the Quo ent Rule.
cos x x
31. f(x) = +
(c) Show that the answers from (a) and (b) are equivalent. x tan x
( )
x2 + 3 32. g(x) = e2 sin(π/4) − 1
11. f(x) =
x
33. g(t) = 4t3 et − sin t cos t
x3 − 2x2
12. g(x) =
2x2 t2 sin t + 3
34. h(t) =
t2 cos t + 2
3
13. h(s) =
4s3
35. f(x) = x2 ex tan x
t2 − 1
14. f(t) = 36. g(x) = 2x sin x sec x
t+1
98
In Exercises 37 – 40, find the equa ons of the tangent and Review
normal lines to the graph of g at the indicated point.
In Exercises 49 – 52, use the graph of f(x) to sketch f ′ (x).
4
38. g(t) = t sin t at ( 3π
2
, − 3π
2
)
2
49. x
x2 −3 −2 −1 1 2 3
39. g(x) = at (2, 4) −2
x−1
−4
. −6
cos θ − 8θ
40. g(θ) = at (0, 1)
θ+1 .
y
6
. −6
42. f(x) = x sin x on [−1, 1]
y
x 6
43. f(x) =
x+1 4
2
x2 51. x
44. f(x) = −2 −1 1 2 3 4 5
x+1 −2
−4
y
45. f(x) = x sin x; find f ′′ (x). 10
5
46. f(x) = x sin x; find f (4) (x).
52. x
−5 5
′′
47. f(x) = csc x; find f (x). −5
−10
48. f(x) = (x3 − 5x + 2)(x2 + x − 7); find f (8) (x). .
99
Chapter 2 Deriva ves
F ′1 (x) = −2 + 2x,
F ′2 (x) = −3 + 6x − 3x2 and
F ′3 (x) = −4 + 12x − 12x2 + 4x3 .
F ′1 (x) = −2(1 − x), F ′2 (x) = −3(1 − x)2 and F ′3 (x) = −4(1 − x)3 .
A pa ern might jump out at you; note how the we end up mul plying by the old
power and the new power is reduced by 1. We also always mul ply by (−1).
Notes:
100
2.5 The Chain Rule
Recognize that each of these func ons is a composi on, le ng g(x) = 1−x:
We’ll come back to this example a er giving the formal statements of the
Chain Rule; for now, we are just illustra ng a pa ern.
When composing func ons, we need to make√sure that the new func on is
actually defined. For instance, consider f(x) = x and g(x) = −x2 − 1. The
domain of f excludes all nega ve numbers,
( but) the √range of g is only nega ve
numbers. Therefore the composi on f g(x) = −x2 − 1 is not defined for
any x, and hence is not differen able.
The following defini on takes care to ensure this problem does not arise.
We’ll focus more on the deriva ve result than on the domain/range condi ons.
y ′ = f ′ (g(x)) · g ′ (x).
F1 (x) = (1 − x)2 :
We found that
To find y ′ , we apply the Chain Rule. We need f ′ (x) = 2x and g ′ (x) = −1.
Notes:
101
Chapter 2 Deriva ves
Part of the Chain Rule uses f ′ (g(x)). This means subs tute g(x) for x in the
equa on for f ′ (x). That is, f ′ (x) = 2(1 − x). Finishing out the Chain Rule we
have
F2 (x) = (1 − x)3 :
F3 (x) = (1 − x)4 :
d( ) ( )n−1 ′
g(x)n = n · g(x) · g (x).
dx
This allows us to quickly find the deriva ve of func ons like y = (3x2 − 5x +
7 + sin x)20 . While it may look in mida ng, the Generalized Power Rule states
that
y ′ = 20(3x2 − 5x + 7 + sin x)19 · (6x − 5 + cos x).
Treat the deriva ve–taking process step–by–step. In the example just given,
first mul ply by 20, then rewrite the inside of the parentheses, raising it all to
the 19th power. Then think about the deriva ve of the expression inside the
parentheses, and mul ply by that.
We now consider more examples that employ the Chain Rule.
Notes:
102
2.5 The Chain Rule
S
1. Consider y = sin 2x. Recognize that this is a composi on of func ons,
where f(x) = sin x and g(x) = 2x. Thus
y ′ = f ′ (g(x)) · g ′ (x) = cos(2x) · 2 = 2 cos 2x.
S The tangent line goes through the point (1, f(1)) ≈ (1, 0.54)
with slope f ′ (1). To find f ′ , we need the Chain Rule. 0.5
The Chain Rule is used o en in taking deriva ves. Because of this, one can −1
.
become familiar with the basic process and learn pa erns that facilitate finding
deriva ves quickly. For instance, Figure 2.5.1: f(x) = cos x2 sketched along
with its tangent line at x = 1.
d( ) 1 (anything)′
ln(anything) = · (anything)′ = .
dx anything anything
Notes:
103
Chapter 2 Deriva ves
d( ) 45x14 + sin x + ex
ln(3x15 − cos x + ex ) = 15 .
dx 3x − cos x + ex
While the deriva ve may look in mida ng at first, look for the pa ern. The
denominator is the same as what was inside the natural log func on; the nu-
merator is simply its deriva ve.
This pa ern recogni on process can be applied to lots of func ons. In gen-
eral, instead of wri ng “anything”, we use u as a generic func on of x. We then
say
d( ) u′
ln u = .
dx u
The following is a short list of how the Chain Rule can be quickly applied to fa-
miliar func ons.
d ( n) d( )
1. u = n · un−1 · u ′ . 4. cos u = −u ′ · sin u.
dx dx
d ( u) d( )
2. e = u ′ · eu . 5. tan u = u ′ · sec2 u.
dx dx
d( )
3. sin u = u ′ · cos u.
dx
Of course, the Chain Rule can be applied in conjunc on with any of the other
rules we have already learned. We prac ce this next.
Example 2.5.5 Using the Product, Quo ent and Chain Rules
Find the deriva ves of the following func ons.
5x3
1. f(x) = x5 sin 2x3 2. f(x) = .
e−x2
S
1. We must use the Product and Chain Rules. Do not think that you must be
able to “see” the whole answer immediately; rather, just proceed step–
by–step.
( ) ( )
f ′ (x) = x5 6x2 cos 2x3 + 5x4 sin 2x3 = 6x7 cos 2x3 + 5x4 sin 2x3 .
2. We must employ the Quo ent Rule along with the Chain Rule. Again, pro-
Notes:
104
2.5 The Chain Rule
ceed step–by–step.
2( ) ( 2) 2( )
′ e−x 15x2 − 5x3 (−2x)e−x e−x 10x4 + 15x2
f (x) = ( 2 )2 =
e−x e−2x2
2( )
= ex 10x4 + 15x2 .
This func on is frankly a ridiculous func on, possessing no real prac cal
value. It is very difficult to graph, as the tangent func on has many ver cal
asymptotes and 6x3 − 7x grows so very fast. The important thing to learn from
this is that the deriva ve can be found. In fact, it is not “hard;” one can take
several simple steps and should be careful to keep track of how to apply each of
these steps.
Notes:
105
Chapter 2 Deriva ves
It is a tradi onal mathema cal exercise to find the deriva ves of arbitrarily
complicated func ons just to demonstrate that it can be done. Just break every-
thing down into smaller pieces.
Example 2.5.7 Using the Product, Quo ent and Chain Rules
x cos(x−2 ) − sin2 (e4x )
Find the deriva ve of f(x) = .
ln(x2 + 5x4 )
f ′ (x) =
[( ) ]
ln(x2 + 5x4 ) · x · (− sin(x−2 )) · (−2x−3 ) + 1 · cos(x−2 ) − 2 sin(e4x ) · cos(e4x ) · (4e4x )
( ) 3
− x cos(x−2 ) − sin2 (e4x ) · 2x+20x
x2 +5x4
( ) .
ln(x2 + 5x4 ) 2
The reader is highly encouraged to look at each term and recognize why it
is there. (I.e., the Quo ent Rule is used; in the numerator, iden fy the “LOdHI”
term, etc.) This example demonstrates that deriva ves can be computed sys-
tema cally, no ma er how arbitrarily complicated the func on is.
The Chain Rule also has theore c value. That is, it can be used to find the
deriva ves of func ons that we have not yet learned as we do in the following
example.
The func on is now the composi on y = f(g(x)), with f(x) = ex and g(x) =
x(ln 2). Since f ′ (x) = ex and g ′ (x) = ln 2, the Chain Rule gives
y ′ = ex(ln 2) · ln 2.
Recall that the ex(ln 2) term on the right hand side is just 2x , our original func on.
Thus, the deriva ve contains the original func on itself. We have
y ′ = y · ln 2 = 2x · ln 2.
Notes:
106
2.5 The Chain Rule
We can extend this process to use any base a, where a > 0 and a ̸= 1. All we
need to do is replace each “2” in our work with “a.” The Chain Rule, coupled
with the deriva ve rule of ex , allows us to find the deriva ves of all exponen al
func ons.
f ′ (x) = ln a · ax .
y ′ = f ′ (g(x)) · g ′ (x)
dy
= y ′ (u) · u ′ (x) (since y = f(u) and u = g(x))
dx
dy dy du
= · (using “frac onal” nota on for the deriva ve)
dx du dx
Here the “frac onal” aspect of the deriva ve nota on stands out. On the
right hand side, it seems as though the “du” terms cancel out, leaving
dy dy
= .
dx dx
It is important to realize that we are not canceling these terms; the deriva ve
dy
nota on of du is one symbol. It is equally important to realize that this nota on
was chosen precisely because of this behavior. It makes applying the Chain Rule
easy with mul ple variables. For instance,
Notes:
107
.
dy dy d⃝ d△
= · · .
dt d⃝ d△ dt
where ⃝ and △ are any variables you’d like to use.
One of the most common ways of “visualizing” the Chain Rule is to consider
a set of gears, as shown in Figure 2.5.2. The gears have 36, 18, and 6 teeth,
respec vely. That means for every revolu on of the x gear, the u gear revolves
twice. That is, the rate at which the u gear makes a revolu on is twice as fast
x as the rate at which the x gear makes a revolu on. Using the terminology of
calculus, the rate of u-change, with respect to x, is du
dx = 2.
dy
Likewise, every revolu on of u causes 3 revolu ons of y: du = 3. How does
y change with respect to x? For each revolu on of x, y revolves 6 mes; that is,
dy
du =6
=2 dx dy dy du
dx = · = 2 · 3 = 6.
dx du dx
u y We can then extend the Chain Rule with more variables by adding more gears
dy to the picture.
=3
du
It is difficult to overstate the importance of the Chain Rule. So o en the
Figure 2.5.2: A series of gears to demon- func ons that we deal with are composi ons of two or more func ons, requir-
strate the Chain Rule. Note how dy dx
= ing us to use this rule to compute deriva ves. It is also o en used in real life
dy
du
· du
dx when actual func ons are unknown. Through measurement, we can calculate
dy
(or, approximate) du and du
dx . With our knowledge of the Chain Rule, we can find
dy
dx .
In the next sec on, we use the Chain Rule to jus fy another differen a on
technique. There are many curves that we can draw in the plane that fail the
“ver cal line test.” For instance, consider x2 + y2 = 1, which describes the unit
circle. We may s ll be interested in finding slopes of tangent lines to the circle at
various points. The next sec on shows how we can find dy dx without first “solving
for y.” While we can in this instance, in many other instances solving for y is
impossible. In these situa ons, implicit differen a on is indispensable.
Notes:
108
Exercises 2.5
Terms and Concepts 23. g(r) = 4r
1. T/F: The Chain Rule describes how to evaluate the deriva- 24. g(t) = 5cos t
ve of a composi on of func ons.
( )
17. g(t) = sin t5 + 1t 39. g(θ) = (sin θ + cos θ)3 at θ = π/2
109
d( )
chill factor, in degrees Fahrenheit, when it is 25◦ F outside
42. Compute ln(xk ) two ways:
dx with a wind of w mph.
(a) Using the Chain Rule, and
(b) by first using the logarithm rule ln(ap ) = p ln a, then (a) What are the units of W ′ (w)?
taking the deriva ve.
(b) What would you expect the sign of W ′ (10) to be?
Review 44. Find the deriva ves of the following func ons.
110
2.6 Implicit Differen a on
in Figure 2.6.1. In this case there is absolutely no way to solve for y in terms of
elementary func ons. The surprising thing is, however, that we can s ll find y ′ −2
via a process known as implicit differen a on. .
Implicit differen a on is a technique based on the Chain Rule that is used to
find a deriva ve when the rela onship between the variables is given implicitly Figure 2.6.1: A graph of the implicit func-
rather than explicitly (solved for one variable in terms of the other). on sin(y) + y3 = 6 − x3 .
We begin by reviewing the Chain Rule. Let f and g be func ons of x. Then
d( )
f(g(x)) = f ′ (g(x)) · g′ (x).
dx
Suppose now that y = g(x). We can rewrite the above as
d( ) d( ) dy
f(y) = f ′ (y) · y ′ , or f(y) = f ′ (y) · . (2.1)
dx dx dx
These equa ons look strange; the key concept to learn here is that we can find
y ′ even if we don’t exactly know how y and x relate.
d( ) d( )
sin(y) + y3 = 6 − x3 .
dx dx
Notes:
111
Chapter 2 Deriva ves
Implicit func ons are generally harder to deal with than explicit func ons.
With an explicit func on, given an x value, we have an explicit formula for com-
pu ng the corresponding y value. With an implicit func on, one o en has to
find x and y values at the same me that sa sfy the equa on. It is much eas-
ier to demonstrate that a given point sa sfies the equa on than to actually find
such a point. √
For instance, we can affirm easily that the point ( 3 6, 0) lies on the graph of
the implicit func on sin√y + y3 = 6 − x3 . Plugging in 0 for y, we see the le hand
side is 0. Se ng x = 3 6, we see the right hand side is also 0; the equa on is
sa sfied. The following example finds the equa on of the tangent line to this
func on at this point.
Notes:
112
2.6 Implicit Differen a on
√ √
We find the slope of the tangent√ line at the point ( 3 6, 0) by subs tu ng 3 6 for y
x and 0 for y. Thus at the point ( 3 6, 0), we have the slope as
√ √ 2
′ −3( 3 6)2 −3 3 36
y = = ≈ −9.91.
cos 0 + 3 · 02 1
Therefore the equa on of the√tangent line to the implicitly defined func on x
−2 2
sin y + y3 = 6 − x3 at the point ( 3 6, 0) is
√ √
y = −3 36(x − 6) + 0 ≈ −9.91x + 18.
3 3
−2
The curve and this tangent line are shown in Figure 2.6.2. .
Figure 2.6.2: The func on sin y + y3 =
This suggests a general method for implicit differen a on. For the steps be- 6√− x3 and its tangent line at the point
low assume y is a func on of x. ( 3 6, 0).
1. Take the deriva ve of each term in the equa on. Treat the x terms like
normal. When taking the deriva ves of y terms, the usual rules apply
except that, because of the Chain Rule, we need to mul ply each term
by y ′ .
2. Get all the y ′ terms on one side of the equal sign and put the remaining
terms on the other side.
3. Factor out y ′ ; solve for y ′ by dividing.
Prac cal Note: When working by hand, it may be beneficial to use the symbol
dy ′ 1
dx instead of y , as the la er can be easily confused for y or y .
S We will take the implicit deriva ves term by term. The deriva-
ve of y3 is 3y2 y ′ .
The second term, x2 y4 , is a li le tricky. It requires the Product Rule as it is the
product of two func ons of x: x2 and y4 . Its deriva ve is x2 (4y3 y ′ ) + 2xy4 . The
first part of this expression requires a y ′ because we are taking the deriva ve of a
y term. The second part does not require it because we are taking the deriva ve
of x2 .
The deriva ve of the right hand side is easily found to be 2. In all, we get:
3y2 y ′ + 4x2 y3 y ′ + 2xy4 = 2.
Move terms around so that the le side consists only of the y ′ terms and the
right side consists of all the other terms:
3y2 y ′ + 4x2 y3 y ′ = 2 − 2xy4 .
Notes:
113
Chapter 2 Deriva ves
2 − 2xy4
x y′ = .
5 10 3y2 + 4x2 y3
To confirm the validity of our work, let’s find the equa on of a tangent line
−5 to this func on at a point. It is easy to confirm that the point (0, 1) lies on the
graph of this func on. At this point, y ′ = 2/3. So the equa on of the tangent
line is y = 2/3(x−0)+1. The func on and its tangent line are graphed in Figure
−10
2.6.3.
.
No ce how our func on looks much different than other func ons we have
Figure 2.6.3: A graph of the implicitly de- seen. For one, it fails the ver cal line test. Such func ons are important in many
fined func on y3 + x2 y4 = 1 + 2x along areas of mathema cs, so developing tools to deal with them is also important.
with its tangent line at the point (0, 1).
Example 2.6.4 Using Implicit Differen a on
Given the implicitly defined func on sin(x2 y2 ) + y3 = x + y, find y ′ .
d( ) d ( 2 2)
y sin(x2 y2 ) = cos(x2 y2 ) · x y
dx (dx )
= cos(x2 y2 ) · x2 (2yy ′ ) + 2xy2
1 = 2(x2 yy ′ + xy2 ) cos(x2 y2 ).
x We leave the deriva ves of the other terms to the reader. A er taking the
−1 1 deriva ves of both sides, we have
−1
2(x2 yy ′ + xy2 ) cos(x2 y2 ) + 3y2 y ′ = 1 + y ′ .
. We now have to be careful to properly solve for y ′ , par cularly because of
Figure 2.6.4: A graph of the implicitly de- the product on the le . It is best to mul ply out the product. Doing this, we get
fined func on sin(x2 y2 ) + y3 = x + y.
2x2 y cos(x2 y2 )y ′ + 2xy2 cos(x2 y2 ) + 3y2 y ′ = 1 + y ′ .
From here we can safely move around terms to get the following:
1 − 2xy2 cos(x2 y2 )
y′ = .
+ 3y2 − 1
2x2 y cos(x2 y2 )
Notes:
114
2.6 Implicit Differen a on
Quite a few “famous” curves have equa ons that are given implicitly. We can
use implicit differen a on to find the slope at various points on those curves.
We inves gate two such curves in the next examples. Figure 2.6.5: A graph of the implicitly de-
fined func on sin(x2 y2 ) + y3 = x + y and
certain tangent lines.
Example 2.6.5 Finding slopes of tangent lines to a circle √
Find the slope of the tangent line to the circle x2 +y2 = 1 at the point (1/2, 3/2).
Notes:
115
Chapter 2 Deriva ves
We allude to a possible solu on, as we can write the square root func on as
a power func on with a ra onal (or, frac onal) power. We are then tempted to
apply the Power Rule and obtain
d ( 1/2 ) 1 −1/2 1
x = x = √ .
dx 2 2 x
The trouble with this is that the Power Rule was ini ally defined only for
posi ve integer powers, n > 0. While we did not jus fy this at the me, gen-
erally the Power Rule is proved using something called the Binomial Theorem,
which deals only with posi ve integers. The Quo ent Rule allowed us to extend
the Power Rule to nega ve integer powers. Implicit Differen a on allows us to
extend the Power Rule to ra onal powers, as shown below.
Let y = xm/n , where m and n are integers with no common factors (so m = 2
and n = 5 is fine, but m = 2 and n = 4 is not). We can rewrite this explicit
func on implicitly as yn = xm . Now apply implicit differen a on.
y = x m/n
yn = xm
d ( n) d ( m)
y = x
dx dx
n · y n−1 · y ′ = m · x m−1
m x m−1
y′ = (now subs tute x m/n for y)
n y n−1
m x m−1
= (apply lots of algebra)
n (x m/n ) n−1
m (m−n)/n
= x
n
m m/n−1
= x .
n
The above deriva on is the key to the proof extending the Power Rule to ra-
onal powers. Using limits, we can extend this once more to include all powers,
including irra onal (even transcendental!) powers, giving the following theo-
rem.
Notes:
116
2.6 Implicit Differen a on
20
This theorem allows us to say the deriva ve of xπ is πxπ−1 .
We now apply this final version of the Power Rule in the next example, the
second inves ga on of a “famous” curve.
x
−20 20
Example 2.6.6 Using the Power Rule
Find the slope of x2/3 + y2/3 = 8 at the point (8, 8).
2 −1/3 2 −1/3 ′ y
x + y y =0
3 3 20
2 −1/3 ′ 2
y y = − x−1/3
3 3 (8, 8)
x−1/3
y ′ = − −1/3
y
√ x
y1/3 y −20 20
y ′ = − 1/3 = − 3 .
x x
−20
Plugging in x = 8 and y = 8, we get a slope of −1. The astroid, with its
.
tangent line at (8, 8), is shown in Figure 2.6.8.
Figure 2.6.8: An astroid with a tangent
line.
Implicit Differen a on and the Second Deriva ve
We can use implicit differen a on to find higher order deriva ves. In theory,
this is simple: first find dy
dx , then take its deriva ve with respect to x. In prac ce,
it is not hard, but it o en requires a bit of algebra. We demonstrate this in an
example.
S We found that y ′ = dy
dx = −x/y in Example 2.6.5. To find y ′′ ,
Notes:
117
Chapter 2 Deriva ves
d ( ′)
y ′′ = y
dx ( )
d x
= − (Now use the Quo ent Rule.)
dx y
y(1) − x(y ′ )
=−
y2
y − x(−x/y)
=−
y2
y + x2 /y
=− .
y2
While this is not a par cularly simple expression, it is usable. We can see that
y ′′ > 0 when y < 0 and y ′′ < 0 when y > 0. In Sec on 3.4, we will see how
this relates to the shape of the graph.
y
Logarithmic Differen a on
4
Notes:
118
2.6 Implicit Differen a on
To “test” our answer, let’s use it to find the equa on of the tangent line at x =
1.5. The point on the graph our tangent line must pass through is (1.5, 1.51.5 ) ≈
(1.5, 1.837). Using the equa on for y ′ , we find the slope as
( )
y ′ = 1.51.5 ln 1.5 + 1 ≈ 1.837(1.405) ≈ 2.582.
Thus the equa on of the tangent line is y = 1.6833(x − 1.5) + 1.837. Figure
2.6.10 graphs y = xx along with this tangent line.
Notes:
119
Exercises 2.6
Terms and Concepts 21. (y2 + 2y − x)2 = 200
13. x4 + y2 + y = 7
28. x4 + y4 = 1
14. x2/5 + y2/5 = 1
(a) At (1, 0).
15. cos(x) + sin(y) = 1 √ √
(b) At ( 0.6, 0.8).
x (c) At (0, 1).
16. = 10
y
y
y 1
√ √
17. = 10 ( 0.6, 0.8)
x
0.5
18. x2 e2 + 2y = 5 x
−1 −0.5 0.5 1
−1
20. (3x2 + 2y3 )4 = 2 .
120
29. (x2 + y2 − 4)3 = 108y2 32. x2 + y3 + 2xy = 0
(a) At (−1, 1).
(a) At (0, 4). ( )
√ 1 √
(b) At (2, − 4 108). (b) At −1, (−1 + 5) .
2
( )
1 √
y (c) At −1, (−1 − 5) .
4 2
y
2
2
x (−1, 1)
−4 −2 2 4 ( √ )
−1+ 5
−1,
−2 2
x
√ −2 2
4
−4 (2, − 108)
. ( √ )
−1− 5
−1, 2
−2
30. (x2 + y2 + x)2 = x2 + y2
y 33. x4 + y2 + y = 7
( √ )
− 34 , 3 3
4 1
34. x2/5 + y2/5 = 1
x+1
2 ( 4+3√3 ) 41. y = , x=1
2 , 1.5 x+2
.
x (x + 1)(x + 2)
2 4 6 42. y = , x=0
(x + 3)(x + 4)
121
Chapter 2 Deriva ves
1
(−0.5, 0.375) lies on f (0.375, −0.5) lies on g
(a, b) Slope of tangent line to f Slope of tangent line to
at x = −0.5 is 3/4 g at x = 0.375 is 4/3
x
−1 1 f ′ (−0.5) = 3/4 g ′ (0.375) = 4/3
(b, a)
We have discovered a rela onship between f ′ and g ′ in a mostly graphical
−1 way. We can realize this rela onship analy cally as well. Let y = g(x), where
.
again g = f −1 . We want to find y ′ . Since y = g(x), we know that f(y) = x. Using
Figure 2.7.2: Corresponding tangent lines the Chain Rule and Implicit Differen a on, take the deriva ve of both sides of
drawn to f and f −1 .
Notes:
122
2.7 Deriva ves of Inverse Func ons
The results of Theorem 2.7.1 are not trivial; the nota on may seem confusing
at first. Careful considera on, along with examples, should earn understanding.
In the next example we apply Theorem 2.7.1 to the arcsine func on.
Notes:
123
Chapter 2 Deriva ves
√ √
. y
√
Therefore cos(sin−1 x) = cos y = 1 − x2 /1 = 1 − x2 , resul ng in
1 − x2
1 1 1 1
√ √ =√ =√ = = 2,
−1 1
1 − ( 3/2)2 1 − 3/4 1/4 1/2
y = sin−1 x
− π4
. − π2
verifying yet again that at corresponding points, a func on and its inverse have
−1 reciprocal slopes.
Figure 2.7.5: Graphs of sin x and sin x
along with corresponding tangent lines.
Using similar techniques, we can find the deriva ves of all the inverse trigono-
metric func ons. In Figure 2.7.3 we show the restric ons of the domains of the
standard trigonometric func ons that allow them to be inver ble.
Notes:
124
2.7 Deriva ves of Inverse Func ons
Inverse
Func on Domain Range Func on Domain Range
−1
sin x [−π/2, π/2] [−1, 1] sin x [−1, 1] [−π/2, π/2]
cos x [0, π] [−1, 1] cos−1 x [−1, 1] [0, π]
−1
tan x (−π/2, π/2) (−∞, ∞) tan x (−∞, ∞) (−π/2, π/2)
−1
csc x [−π/2, 0) ∪ (0, π/2] (−∞, −1] ∪ [1, ∞) csc x (−∞, −1] ∪ [1, ∞) [−π/2, 0) ∪ (0, π/2]
−1
sec x [0, π/2) ∪ (π/2, π] (−∞, −1] ∪ [1, ∞) sec x (−∞, −1] ∪ [1, ∞) [0, π/2) ∪ (π/2, π]
−1
cot x (0, π) (−∞, ∞) cot x (−∞, ∞) (0, π)
Figure 2.7.3: Domains and ranges of the trigonometric and inverse trigonometric func ons.
d ( −1 ) d( ) 1
1. sin x = √
1 4. cos−1 x = − √
dx 1 − x2 dx 1 − x2
d ( −1 ) d ( ) 1
2. sec x = √
1 5. csc−1 x = − √
dx |x| x2 − 1 dx |x| x2 − 1
d( ) 1 d ( −1 ) 1
3. tan−1 x = 6. cot x = −
dx 1 + x2 dx 1 + x2
Note how the last three deriva ves are merely the opposites of the first
three, respec vely. Because of this, the first three are used almost exclusively
throughout this text.
d( ) 1
In Sec on 2.3, we stated without proof or explana on that ln x = .
dx x
We can jus fy that now using Theorem 2.7.1, as shown in the example.
Notes:
125
Chapter 2 Deriva ves
2.7.1 gives:
1
g ′ (x) =
f ′ (g(x))
1
= ln x
e
1
= .
x
In this chapter we have defined the deriva ve, given rules to facilitate its
computa on, and given the deriva ves of a number of standard func ons. We
restate the most important of these in the following theorem, intended to be a
reference for further work.
( ) ( )
21. d
dx sec−1 x = √1
|x| x2 −1
22. d
dx csc−1 x = − |x|√1x2 −1
( ) ( )
23. d
dx tan−1 x = 1
1+x2 24. d
dx cot−1 x = − 1+x
1
2
Notes:
126
Exercises 2.7
Terms and Concepts 14. f(x) = 6e3x
Point= (0, 6)
( )′
1. T/F: Every func on has an inverse. Evaluate f−1 (6)
2. In your own words explain what it means for a func on to In Exercises 15 – 24, compute the deriva ve of the given func-
be “one to one.” on.
3. If (1, 10) lies on the graph of y = f(x), what can be said 15. h(t) = sin−1 (2t)
about the graph of y = f−1 (x)?
16. f(t) = sec−1 (2t)
′
4. If (1, 10) lies on the graph of y = f(x) and f (1) = 5, what
can be said about y = f−1 (x)? 17. g(x) = tan−1 (2x)
√
11. f(x) = sin 2x, −π/4 ≤ x ≤ π/4 28. f(x) = cos−1 (2x) at x = 3
√ 4
Point= (π/6, 3/2)
( )′ √
Evaluate f−1 ( 3/2)
Review
12. f(x) = x3 − 6x2 + 15x − 2
Point= (1, 8) 29. Find dy
dx
, where x2 y − y2 x = 1.
( )′
Evaluate f−1 (8)
30. Find the equa on of the line tangent to the graph of x2 +
y2 + xy = 7 at the point (1, 2).
1
13. f(x) = ,x≥0
1 + x2
31. Let f(x) = x3 + x.
Point= (1, 1/2)
( )′ f(x + s) − f(x)
Evaluate f−1 (1/2) Evaluate lim .
s→0 s
127
3: T G B
F
y
Our study of limits led to con nuous func ons, a certain class of func ons that
behave in a par cularly nice way. Limits then gave us an even nicer class of
4
func ons, func ons that are differen able.
This chapter explores many of the ways we can take advantage of the infor-
ma on that con nuous and differen able func ons provide. 2
The maximum and minimum values are the extreme values, or extrema,
of f on I. 4
2
Consider Figure 3.1.1. The func on displayed in (a) has a maximum, but
no minimum, as the interval over which the func on is defined is open. In (b),
the func on has a minimum, but no maximum; there is a discon nuity in the [ ] x
“natural” place for the maximum to occur. Finally, the func on shown in (c) has −2
. −1 1 2
both a maximum and a minimum; note that the func on is con nuous and the
(c)
interval on which it is defined is closed.
It is possible for discon nuous func ons defined on an open interval to have Figure 3.1.1: Graphs of func ons with and
both a maximum and minimum value, but we have just seen examples where without extreme values.
they did not. On the other hand, con nuous func ons on a closed interval al-
ways have a maximum and minimum value.
This theorem states that f has extreme values, but it does not offer any ad-
vice about how/where to find these values. The process can seem to be fairly
easy, as the next example illustrates. A er the example, we will draw on lessons
learned to form a more general and powerful method for finding extreme values.
y
(5, 25)
Example 3.1.1 Approxima ng extreme values
Consider f(x) = 2x3 − 9x2 on I = [−1, 5], as graphed in Figure 3.1.2. Approxi-
20
mate the extreme values of f.
(0, 0)
x
S The graph is drawn in such a way to draw a en on to certain
−1 5 points. It certainly seems that the smallest y value is −27, found when x = 3.
(−1, −11)
It also seems that the largest y value is 25, found at the endpoint of I, x = 5.
−20 (3, −27)
We use the word seems, for by the graph alone we cannot be sure the smallest
value is not less than −27. Since the problem asks for an approxima on, we
. approximate the extreme values to be 25 and −27.
Figure 3.1.2: A graph of f(x) = 2x3 − 9x2
as in Example 3.1.1. No ce how the minimum value came at “the bo om of a hill,” and the maxi-
mum value came at an endpoint. Also note that while 0 is not an extreme value,
it would be if we narrowed our interval to [−1, 4]. The idea that the point (0, 0)
is the loca on of an extreme value for some interval is important, leading us to
a defini on of a rela ve maximum. In short, a “rela ve max” is a y-value that’s
the largest y-value “nearby.”
Notes:
130
3.1 Extreme Values
4
S We s ll do not have the tools to exactly find the rela ve
2
extrema, but the graph does allow us to make reasonable approxima ons. It
seems f has rela ve minima at x = −1 and x = 2, with values of f(−1) = 0 and x
−2 −1 1 2 3
f(2) = −5.4. It also seems that f has a rela ve maximum at the point (0, 1). −2
3
S The figure implies that f does not have any rela ve maxima,
but has a rela ve minimum at (1, 2). In fact, the graph suggests that not only 2
is this point a rela ve minimum, y = f(1) = 2 is the minimum value of the
func on. 1
We compute f ′ (x) = 23 (x − 1)−1/3 . When x = 1, f ′ is undefined.
x
. 1 2
What can we learn from the previous two examples? We were able to vi-
sually approximate rela ve extrema, and at each such point, the deriva ve was Figure 3.1.4: A graph of f(x) = (x −
either 0 or it was not defined. This observa on holds for all func ons, leading 1)2/3 + 2 as in Example 3.1.3.
to a defini on and a theorem.
If c is a cri cal number of f, then the point (c, f(c)) is a cri cal point of f.
Notes:
131
Chapter 3 The Graphical Behavior of Func ons
y
1
Theorem 3.1.2 Rela ve Extrema and Cri cal Points
Let a func on f be defined on an open interval I containing c, and let f
have a rela ve extremum at the point (c, f(c)). Then c is a cri cal number
of f.
x
−1 1
Notes:
132
3.1 Extreme Values
Next, we find the cri cal values of f on [0, 3]. f ′ (x) = 6x2 + 6x − 12 = 6(x +
2)(x − 1); therefore the cri cal values of f are x = −2 and x = 1. Since x = −2 20
does not lie in the interval [0, 3], we ignore it. Evalua ng f at the only cri cal
number in our interval gives: f(1) = −7.
The table in Figure 3.1.6(b) gives f evaluated at the “important” x values in
x
[0, 3]. We can easily see the maximum and minimum values of f: the maximum 1 2 3
value is 45 and the minimum value is −7. .
(a)
Note that all this was done without the aid of a graph; this work followed an
analy c algorithm and did not depend on any visualiza on. Figure 3.1.6 shows x f(x)
f and we can confirm our answer, but it is important to understand that these 0 0
answers can be found without graphical assistance. 1 −7
We prac ce again. 3 45
(b)
Example 3.1.5 Finding extreme values
Find the maximum and minimum values of f on [−4, 2], where Figure 3.1.6: Finding the extreme values
of f(x) = 2x3 +3x2 −12x in Example 3.1.4.
{
(x − 1)2 x ≤ 0
f(x) = ,
x+1 x>0
y
graphed in Figure 3.1.7(a).
3.1.1 as it is con nuous on [−4, 2] (one should check to verify that lim f(x) =
x→0
f(0)). Evalua ng f at the endpoints gives:
10
f(−4) = 25 and f(2) = 3.
Notes:
133
Chapter 3 The Graphical Behavior of Func ons
y
1 absolute minimum of f is 1, the absolute maximum of f is 25, confirmed by the
graph of f.
0.5
Example 3.1.6 Finding extreme values
x Find the extrema of f(x) = cos(x2 ) on [−2, 2], graphed in Figure 3.1.8(a).
−2 −1 1 2
134
Exercises 3.1
Terms and Concepts In Exercises 9 – 16, evaluate f ′ (x) at the points indicated in
the graph.
2
9. f(x) =
1. Describe what an “extreme value” of a func on is in your x2 + 1
own words. y
(0, 2)
2
4
5. T/F: If c is a cri cal value of a func on f, then f has either a
rela ve maximum or rela ve minimum at x = c. 2
x
6. Fill in the blanks: The cri cal points of a func on f are . −2 (0, 0) 2
(π/2, 1)
1
Problems x
2 4 6
D G
2
5
E
7. C
x
(4, 0)
2 4 6 x
F . −2 (0, 0) 2 4
−2 A
.
(x − 2)2/3
13. f(x) = 1 +
x
y
y
C 6
2
B D 4
8. x ( √
3
)
2
2 4 6, 1 + 3
2
E
(2, 1)
A
−2 x
. . 5 10
135
√
x − 2x + 1
3 4
14. f(x) = In Exercises 17 – 26, find the extreme values of the func on
on the given interval.
y
2 9 2
18. f(x) = x3 − x − 30x + 3 on [0, 6].
2
1
19. f(x) = 3 sin x on [π/4, 2π/3].
(−1, 0) (1, 0)
x
−2 −1 1 2 √
20. f(x) = x2 4 − x2 on [−2, 2].
{ 3
x2 x≤0 21. f(x) = x + on [1, 5].
15. f(x) = x
x5 x>0
y x2
22. f(x) = on [−3, 5].
1 x2 +5
y
Review
1
27. Find dy
dx
, where x2 y − y2 x = 1.
0.5 28. Find the equa on of the line tangent to the graph of x2 +
y2 + xy = 7 at the point (1, 2).
x
−1 −0.5 (0, 0) 0.5 1
29. Let f(x) = x3 + x.
. −0.5
f(x + s) − f(x)
Evaluate lim .
s→0 s
136
3.2 The Mean Value Theorem
First assume that the func on y = f(t) gives the distance (in miles) traveled
from your home at me t (in hours) where 0 ≤ t ≤ 2. In par cular, this gives
f(0) = 0 and f(2) = 100. The slope of the secant line connec ng the star ng
and ending points (0, f(0)) and (2, f(2)) is therefore
∆f f(2) − f(0) 100 − 0
= = = 50 mph.
∆t 2−0 2
The slope at any point on the graph itself is given by the deriva ve f ′ (t). So,
since the answer to the ques on above is “yes,” this means that at some me
during the trip, the deriva ve takes on the value of 50 mph. Symbolically,
f(2) − f(0)
f ′ (c) = = 50
2−0
for some me 0 ≤ c ≤ 2.
How about more generally? Given any func on y = f(x) and a range a ≤
x ≤ b does the value of the deriva ve at some point between a and b have to
match the slope of the secant line connec ng the points (a, f(a)) and (b, f(b))?
Or equivalently, does the equa on f ′ (c) = f(b)−f(a)
b−a have to hold for some a <
c < b?
Let’s look at two func ons in an example.
Notes:
137
Chapter 3 The Graphical Behavior of Func ons
y
connec ng the end points is 0 in each case. But if you look at the plots of each,
you can see that there are no points on either graph where the tangent lines
have slope zero. Therefore we have found that there is no c in [−1, 1] such that
f(1) − f(−1)
f ′ (c) = = 0.
2 1 − (−1)
So what went “wrong”? It may not be surprising to find that the discon nuity
x of f1 and the corner of f2 play a role. If our func ons had been con nuous and
−1 1 differen able, would we have been able to find that special value c? This is our
..
(a) mo va on for the following theorem.
y
Theorem 3.2.1 The Mean Value Theorem of Differen a on
1
Let y = f(x) be a con nuous func on on the closed interval [a, b] and
differen able on the open interval (a, b). There exists a value c, a < c <
b, such that
f(b) − f(a)
f ′ (c) =
0.5
.
b−a
That is, there is a value c in (a, b) where the instantaneous rate of change
x of f at c is equal to the average rate of change of f on [a, b].
. −1 1
(b)
Note that the reasons that the func ons in Example 3.2.1 fail are indeed that
Figure 3.2.1: A graph of f1 (x) = 1/x2 and f1 has a discon nuity on the interval [−1, 1] and f2 is not differen able at the ori-
f2 (x) = |x| in Example 3.2.1.
gin.
We will give a proof of the Mean Value Theorem below. To do so, we use a
fact, called Rolle’s Theorem, stated here.
y
138
3.2 The Mean Value Theorem
Rolle’s Theorem is really just a special case of the Mean Value Theorem. If
f(a) = f(b), then the average rate of change on (a, b) is 0, and the theorem
guarantees some c where f ′ (c) = 0. We will prove Rolle’s Theorem, then use it
to prove the Mean Value Theorem.
Going back to the very beginning of the sec on, we see that the only as-
sump on we would need about our distance func on f(t) is that it be con nu-
ous and differen able for t from 0 to 2 hours (both reasonable assump ons). By
the Mean Value Theorem, we are guaranteed a me during the trip where our
Notes:
139
Chapter 3 The Graphical Behavior of Func ons
instantaneous speed is 50 mph. This fact is used in prac ce. Some law enforce-
ment agencies monitor traffic speeds while in aircra . They do not measure
speed with radar, but rather by ming individual cars as they pass over lines
painted on the highway whose distances apart are known. The officer is able
to measure the average speed of a car between the painted lines; if that aver-
age speed is greater than the posted speed limit, the officer is assured that the
driver exceeded the speed limit at some me.
Note that the Mean Value Theorem is an existence theorem. It states that a
special value c exists, but it does not give any indica on about how to find it. It
turns out that when we need the Mean Value Theorem, existence is all we need.
y
f(3) − f(−3) 84
= = 14.
3 − (−3) 6
40
We want to find c such that f ′ (c) = 14. We find f ′ (x) = 3x2 + 5. We set this
20 equal to 14 and solve for x.
x f ′ (x) = 14
−3 −2 −1 1 2 3
−20 3x2 + 5 = 14
x2 = 3
. −40 √
x = ± 3 ≈ ±1.732
Figure 3.2.3: Demonstra ng the Mean
Value Theorem in Example 3.2.2. We have found 2 values c in [−3, 3] where the instantaneous rate of change
is equal to the average rate of change; the Mean Value Theorem guaranteed at
least one. In Figure 3.2.3 f is graphed with a dashed√ line represen ng the aver-
age rate of change; the lines tangent to f at x = ± 3 are also given. Note how
these lines are parallel (i.e., have the same slope) with the dashed line.
While the Mean Value Theorem has prac cal use (for instance, the speed
monitoring applica on men oned before), it is mostly used to advance other
theory. We will use it in the next sec on to relate the shape of a graph to its
deriva ve.
Notes:
140
Exercises 3.2
Terms and Concepts In Exercises 11 – 20, a func on f(x) and interval [a, b] are
given. Check if the Mean Value Theorem can be applied to f
on [a, b]; if so, find a value c in [a, b] guaranteed by the Mean
1. Explain in your own words what the Mean Value Theorem Value Theorem.
states.
11. f(x) = x2 + 3x − 1 on [−2, 2].
2. Explain in your own words what Rolle’s Theorem states.
12. f(x) = 5x2 − 6x + 8 on [0, 5].
√
13. f(x) = 9 − x2 on [0, 3].
Problems
√
14. f(x) = 25 − x on [0, 9].
In Exercises 3 – 10, a func on f(x) and interval [a, b] are given.
Check if Rolle’s Theorem can be applied to f on [a, b]; if so, find x2 − 9
c in [a, b] such that f ′ (c) = 0. 15. f(x) = on [0, 2].
x2 − 1
141
Chapter 3 The Graphical Behavior of Func ons
Notes:
142
3.3 Increasing and Decreasing Func ons
By considering all such secant lines in I, we strongly imply that f ′ (x) > 0 on I. A
similar statement can be made for decreasing func ons.
Our above logic can be summarized as “If f is increasing, then f ′ is probably
posi ve.” Theorem 3.3.1 below turns this around by sta ng “If f ′ is posi ve,
then f is increasing.” This leads us to a method for finding when func ons are
increasing and decreasing.
Let f be differen able on an interval I and let a and b be in I where f ′ (a) > 0
and f ′ (b) < 0. If f ′ is con nuous on [a, b], it follows from the Intermediate Value
Theorem that there must be some value c between a and b where f ′ (c) = 0. (It
turns out that this is s ll true even if f ′ is not con nuous on [a, b].) This leads us
to the following method for finding intervals on which a func on is increasing or
decreasing.
3. Pick any point p in each subinterval, and find the sign of f ′ (p).
(a) If f ′ (p) > 0, then f is increasing on that subinterval.
(b) If f ′ (p) < 0, then f is decreasing on that subinterval.
Notes:
143
Chapter 3 The Graphical Behavior of Func ons
S Using Key Idea 3.3.1, we first find the cri cal values of f. We
have f ′ (x) = 3x2 + 2x − 1 = (3x − 1)(x + 1), so f ′ (x) = 0 when x = −1 and
when x = 1/3. f ′ is never undefined.
Since an interval was not specified for us to consider, we consider the en-
re domain of f which is (−∞, ∞). We thus break the whole real line into
three subintervals based on the two cri cal values we just found: (−∞, −1),
(−1, 1/3) and (1/3, ∞). This is shown in Figure 3.3.3.
One is jus fied in wondering why so much work is done when the graph
seems to make the intervals very clear. We give three reasons why the above
work is worthwhile.
First, the points at which f switches from increasing to decreasing are not
precisely known given a graph. The graph shows us something significant hap-
pens near x = −1 and x = 0.3, but we cannot determine exactly where from
the graph.
Notes:
144
3.3 Increasing and Decreasing Func ons
One could argue that just finding cri cal values is important; once we know
the significant points are x = −1 and x = 1/3, the graph shows the increas-
ing/decreasing traits just fine. That is true. However, the technique prescribed
here helps reinforce the rela onship between increasing/decreasing and the
sign of f ′ . Once mastery of this concept (and several others) is obtained, one
finds that either (a) just the cri cal points are computed and the graph shows
all else that is desired, or (b) a graph is never produced, because determining
increasing/decreasing using f ′ is straigh orward and the graph is unnecessary.
So our second reason why the above work is worthwhile is this: once mastery
of a subject is gained, one has op ons for finding needed informa on. We are
working to develop mastery.
Finally, our third reason: many problems we face “in the real world” are very
complex. Solu ons are tractable only through the use of computers to do many
calcula ons for us. Computers do not solve problems “on their own,” however;
they need to be taught (i.e., programmed) to do the right things. It would be
beneficial to give a func on to a computer and have it return maximum and
minimum values, intervals on which the func on is increasing and decreasing,
the loca ons of rela ve maxima, etc. The work that we are doing here is easily
programmable. It is hard to teach a computer to “look at the graph and see if it
is going up or down.” It is easy to teach a computer to “determine if a number
is greater than or less than 0.”
In Sec on 3.1 we learned the defini on of rela ve maxima and minima and
found that they occur at cri cal points. We are now learning that func ons can
switch from increasing to decreasing (and vice–versa) at cri cal points. This new
understanding of increasing and decreasing creates a great method of determin-
ing whether a cri cal point corresponds to a maximum, minimum, or neither.
Imagine a func on increasing un l a cri cal point at x = c, a er which it de-
creases. A quick sketch helps confirm that f(c) must be a rela ve maximum. A
similar statement can be made for rela ve minimums. We formalize this con-
cept in a theorem.
Notes:
145
Chapter 3 The Graphical Behavior of Func ons
−10
S We start by no ng the domain of f: (−∞, 1) ∪ (1, ∞). Key
Idea 3.3.1 describes how to find intervals where f is increasing and decreasing
. −20 when the domain of f is an interval. Since the domain of f in this example is
the union of two intervals, we apply the techniques of Key Idea 3.3.1 to both
Figure 3.3.5: A graph of f(x) in Example
intervals of the domain of f.
3.3.2, showing where f is increasing and
decreasing.
Since f is not defined at x = 1, the increasing/decreasing nature of f could
switch at this value. We do not formally consider x = 1 to be a cri cal value of
f, but we will include it in our list of cri cal values that we find next.
Using the Quo ent Rule, we find
x2 − 2x − 3
f ′ (x) = .
(x − 1)2
We need to find the cri cal values of f; we want to know when f ′ (x) = 0 and
when f ′ is not defined. That la er is straigh orward: when the denominator
of f ′ (x) is 0, f ′ is undefined. That occurs when x = 1, which we’ve already
recognized as an important value.
f ′ (x) = 0 when the numerator of f ′ (x) is 0. That occurs when x2 − 2x − 3 =
(x − 3)(x + 1) = 0; i.e., when x = −1, 3.
We have found that f has two cri cal numbers, x = −1, 3, and at x = 1
something important might also happen. These three numbers divide the real
number line into 4 subintervals:
Pick a number p from each subinterval and test the sign of f ′ at p to determine
whether f is increasing or decreasing on that interval. Again, we do well to avoid
complicated computa ons; no ce that the denominator of f ′ is always posi ve
so we can ignore it during our work.
Interval 1, (−∞, −1): Choosing a very small number (i.e., a nega ve number
with a large magnitude) p returns p2 − 2p − 3 in the numerator of f ′ ; that will
be posi ve. Hence f is increasing on (−∞, −1).
Interval 2, (−1, 1): Choosing 0 seems simple: f ′ (0) = −3 < 0. We conclude
f is decreasing on (−1, 1).
Interval 3, (1, 3): Choosing 2 seems simple: f ′ (2) = −3 < 0. Again, f is
decreasing.
Notes:
146
3.3 Increasing and Decreasing Func ons
Interval 4, (3, ∞): Choosing an very large number p from this subinterval will
give a posi ve numerator and (of course) a posi ve denominator. So f is increas-
ing on (3, ∞).
In summary, f is increasing on the intervals (−∞, −1) and (3, ∞) and is de-
creasing on the intervals (−1, 1) and (1, 3). Since at x = −1, the sign of f ′
switched from posi ve to nega ve, Theorem 3.3.2 states that f(−1) is a rela ve
maximum of f. At x = 3, the sign of f ′ switched from nega ve to posi ve, mean-
ing f(3) is a rela ve minimum. At x = 1, f is not defined, so there is no rela ve
extrema at x = 1.
rel. rel.
f ′ > 0 incr max f ′ < 0 decr f ′ < 0 decr min f ′ > 0 incr
.
−1 1 3
This is summarized in the number line shown in Figure 3.3.6. Also, Figure
3.3.5 shows a graph of f, confirming our calcula ons. This figure also shows
f ′ , again demonstra ng that f is increasing when f ′ > 0 and decreasing when
f ′ < 0.
8 2
f(x) = x 3 − 4x 3
8 5 8 1
f ′ (x) = x 3 − x− 3
3 3
8 −1 ( 6 )
= x 3 x3 − 1
3
Notes:
147
Chapter 3 The Graphical Behavior of Func ons
8 −1 2
= x 3 (x − 1)
3
8 1
= x− 3 (x − 1)(x + 1).
3
This deriva on of f ′ shows that f ′ (x) = 0 when x = ±1 and f ′ is not de-
fined when x = 0. Thus we have 3 cri cal values, breaking the number line into
4 subintervals as shown in Figure 3.3.7.
Interval 1, (∞, −1): We choose p = −2; we can easily verify that f ′ (−2) <
0. So f is decreasing on (−∞, −1).
Interval 2, (−1, 0): Choose p = −1/2. Once more we prac ce finding the sign
of f ′ (p) without compu ng an actual value. We have f ′ (p) = (8/3)p−1/3 (p −
1)(p + 1); find the sign of each of the three terms.
8 −1
f ′ (p) = · p 3 · (p − 1) (p + 1) .
3 |{z} | {z } | {z }
<0 <0 >0
8 −1
f ′ (p) = · p 3 · (p − 1) (p + 1) .
3 |{z} | {z } | {z }
>0 <0 >0
We have 2 posi ve factors and one nega ve factor; f ′ (p) < 0 and so f is de-
creasing on (0, 1).
y
Interval 4, (1, ∞): Similar work to that done for the other three intervals shows
10
that f ′ (x) > 0 on (1, ∞), so f is increasing on this interval.
Notes:
148
3.3 Increasing and Decreasing Func ons
We have seen how the first deriva ve of a func on helps determine when
the func on is going “up” or “down.” In the next sec on, we will see how the
second deriva ve helps determine how the graph of a func on curves.
Notes:
149
Exercises 3.3
Terms and Concepts 1
14. f(x) =
x2 + 1
1. In your own words describe what it means for a func on to In Exercises 15 – 24, a func on f(x) is given.
be increasing.
(a) Give the domain of f.
2. What does a decreasing func on “look like”? (b) Find the cri cal numbers of f.
(c) Create a number line to determine the intervals on
3. Sketch a graph of a func on on [0, 2] that is increasing, which f is increasing and decreasing.
where it is increasing “quickly” near x = 0 and increasing
(d) Use the First Deriva ve Test to determine whether
“slowly” near x = 2.
each cri cal point is a rela ve maximum, minimum,
or neither.
4. Give an example of a func on describing a situa on where
it is “bad” to be increasing and “good” to be decreasing.
15. f(x) = x2 + 2x − 3
150
3.4 Concavity and the Second Deriva ve
y
3.4 Concavity and the Second Deriva ve
30
Our study of “nice” func ons con nues. The previous sec on showed how the
first deriva ve of a func on, f ′ , can relay important informa on about f. We
20
now apply the same technique to f ′ itself, and learn what this tells us about f.
The key to studying f ′ is to consider its deriva ve, namely f ′′ , which is the
second deriva ve of f. When f ′′ > 0, f ′ is increasing. When f ′′ < 0, f ′ is 10
decreasing. f ′ has rela ve maxima and minima where f ′′ = 0 or is undefined.
This sec on explores how knowing informa on about f ′′ gives informa on . x
about f. −2 2
lines will be decreasing. Consider Figure 3.4.2, where a concave down graph is
shown along with some tangent lines. No ce how the tangent line on the le 20
is steep, upward, corresponding to a large value of f ′ . On the right, the tangent
line is steep, downward, corresponding to a small value of f ′ .
10
If a func on is increasing and concave down, then its rate of increase is slow-
ing; it is “leveling off.” If the func on is decreasing and concave down, then the
rate of decrease is decreasing. The func on is decreasing at a faster and faster . x
rate. −2 2
151
Chapter 3 The Graphical Behavior of Func ons
y
15 Theorem 3.4.2 Points of Inflec on
If (c, f(c)) is a point of inflec on on the graph of f, then either f ′′ (c) = 0
10
or f ′′ is not defined at c.
f ′′ > 0 f ′′ > 0
c. up c. up
5 f ′′ < 0 We have iden fied the concepts of concavity and points of inflec on. It is
c. down
now me to prac ce using these concepts; given a func on, we should be able
x
to find its points of inflec on and iden fy intervals on which it is concave up or
. 1 2 3 4 down. We do so in the following examples.
Figure 3.4.4: A graph of a func on with Example 3.4.1 Finding intervals of concave up/down, inflec on points
its inflec on points marked. The inter- Let f(x) = x3 − 3x + 1. Find the inflec on points of f and the intervals on which
vals where concave up/down are also in-
it is concave up/down.
dicated.
Notes:
152
3.4 Concavity and the Second Deriva ve
To find the possible points of inflec on, we seek to find where f ′′ (x) = 0 and
where f ′′ is not defined. Solving f ′′ (x) = 0 reduces to solving 2x(x2 + 3) = 0;
we find x = 0. We find that f ′′ is not defined when x = ±1, for then the
denominator of f ′′ is 0. We also note that f itself is not defined at x = ±1,
having a domain of (−∞, −1) ∪ (−1, 1) ∪ (1, ∞). Since the domain of f is the
union of three intervals, it makes sense that the concavity of f could switch across
intervals. We technically cannot say that f has a point of inflec on at x = ±1 as
they are not part of the domain, but we must s ll consider these x-values to be
important and will include them in our number line.
The important x-values at which concavity might switch are x = −1, x = 0
and x = 1, which split the number line into four intervals as shown in Figure
3.4.7. We determine the concavity on each. Keep in mind that all we are con-
cerned with is the sign of f ′′ on the interval.
Interval 1, (−∞, −1): Select a number c in this interval with a large magnitude
(for instance, c = −100). The denominator of f ′′ (x) will be posi ve. In the
numerator, the (c2 + 3) will be posi ve and the 2c term will be nega ve. Thus
the numerator is nega ve and f ′′ (c) is nega ve. We conclude f is concave down
on (−∞, −1).
Notes:
153
Chapter 3 The Graphical Behavior of Func ons
Interval 2, (−1, 0): For any number c in this interval, the term 2c in the numer-
y
ator will be nega ve, the term (c2 + 3) in the numerator will be posi ve, and
10
the term (c2 − 1)3 in the denominator will be nega ve. Thus f ′′ (c) > 0 and f is
concave up on this interval.
5 f(x) f ′′ (x)
Interval 3, (0, 1): Any number c in this interval will be posi ve and “small.” Thus
x
the numerator is posi ve while the denominator is nega ve. Thus f ′′ (c) < 0
−2 2 and f is concave down on this interval.
−5 Interval 4, (1, ∞): Choose a large value for c. It is evident that f ′′ (c) > 0, so we
conclude that f is concave up on (1, ∞).
. −10
f ′′ < 0 c. down f ′′ > 0 c. up f ′′ < 0 c. down f ′′ > 0 c. up
′′ .
Figure 3.4.8: A graph of f(x) and f (x) in
Example 3.4.2. −1 0 1
Recall that rela ve maxima and minima of f are found at cri cal points of
f; that is, they are found when f ′ (x) = 0 or when f ′ is undefined. Likewise,
the rela ve maxima and minima of f ′ are found when f ′′ (x) = 0 or when f ′′ is
undefined; note that these are the inflec on points of f.
What does a “rela ve maximum of f ′ ” mean? The deriva ve measures the
rate of change of f; maximizing f ′ means finding where f is increasing the most –
where f has the steepest tangent line. A similar statement can be made for min-
imizing f ′ ; it corresponds to where f has the steepest nega vely–sloped tangent
y
line.
20
We u lize this concept in the next example.
S(t)
15
Example 3.4.3 Understanding inflec on points
10 The sales of a certain product over a three-year span are modeled by S(t) =
t4 − 8t2 + 20, where t is the me in years, shown in Figure 3.4.9. Over the first
5 two years, sales are decreasing. Find the point at which sales are decreasing at
their greatest rate.
. t
1 2 3 S We want to maximize the rate of decrease, which is to say,
we want to find where S ′ has a minimum. To do this, we find where S ′′ is 0. We
Figure 3.4.9: A graph of S(t) in Example
find S ′ (t)√= 4t3 − 16t and S ′′ (t) = 12t2 − 16. Se ng S ′′ (t) = 0 and solving, we
3.4.3, modeling the sale of a product over
get t = 4/3 ≈ 1.16 (we ignore the nega ve value of t since it does not lie in
me.
Notes:
154
3.4 Concavity and the Second Deriva ve
A graph of S(t) and S ′ (t) is given in Figure 3.4.10. When S ′ (t) < 0, sales are
decreasing; note how at t ≈ 1.16, S ′ (t) is minimized. That is, sales are decreas- t
1 2 3
ing at the fastest rate at t ≈ 1.16. On the interval of (1.16, 2), S is decreasing
but concave up, so the decline in sales is “leveling off.” −10 S ′ (t)
.
Not every cri cal point corresponds to a rela ve extrema; f(x) = x3 has a
cri cal point at (0, 0) but no rela ve maximum or minimum. Likewise, just be- Figure 3.4.10: A graph of S(t) in Example
cause f ′′ (x) = 0 we cannot conclude concavity changes at that point. We were 3.4.3 along with S ′ (t).
careful before to use terminology “possible point of inflec on” since we needed
to check to see if the concavity changed. The canonical example of f ′′ (x) = 0
without concavity changing is f(x) = x4 . At x = 0, f ′′ (x) = 0 but f is always y
concave up, as shown in Figure 3.4.11.
1
The first deriva ve of a func on gave us a test to find if a cri cal value cor- 0.5
responded to a rela ve maximum, minimum, or neither. The second deriva ve
gives us another way to test if a cri cal point is a local maximum or minimum.
The following theorem officially states something that is intui ve: if a cri cal
x
value occurs in a region where a func on f is concave up, then that cri cal value .−1 −0.5 0.5 1
must correspond to a rela ve minimum of f, etc. See Figure 3.4.12 for a visual-
iza on of this. Figure 3.4.11: A graph of f(x) = x4 .
Clearly f is always concave up, despite the
fact that f ′′ (x) = 0 when x = 0. It this
Theorem 3.4.3 The Second Deriva ve Test example, the possible point of inflec on
(0, 0) is not a point of inflec on.
Let c be a cri cal value of f where f ′′ (c) is defined.
1. If f ′′ (c) > 0, then f has a local minimum at (c, f(c)). y
′′ 10
2. If f (c) < 0, then f has a local maximum at (c, f(c)).
c. down
⇒ rel. max 5
The Second Deriva ve Test relates to the First Deriva ve Test in the following x
way. If f ′′ (c) > 0, then the graph is concave up at a cri cal point c and f ′ itself −2 −1 1 2
is growing. Since f ′ (c) = 0 and f ′ is growing at c, then it must go from nega ve −5 c. up
to posi ve at c. This means the func on goes from decreasing to increasing, in- ⇒ rel. min
155
Chapter 3 The Graphical Behavior of Func ons
f ′′ (−10) < 0 x = 0, but neither is f so this is not a cri cal value.) We find the cri cal values
−40 are x = ±10. Evalua ng f ′′ at x = 10 gives 0.1 > 0, so there is a local minimum
. at x = 10. Evalua ng f ′′ (−10) = −0.1 < 0, determining a rela ve maximum
Figure 3.4.13: A graph of f(x) in Example at x = −10. These results are confirmed in Figure 3.4.13.
3.4.4. The second deriva ve is evaluated
at each cri cal point. When the graph is We have been learning how the first and second deriva ves of a func on
concave up, the cri cal point represents relate informa on about the graph of that func on. We have found intervals of
a local minimum; when the graph is con- increasing and decreasing, intervals where the graph is concave up and down,
cave down, the cri cal point represents a along with the loca ons of rela ve extrema and inflec on points. In Chapter 1
local maximum. we saw how limits explained asympto c behavior. In the next sec on we com-
bine all of this informa on to produce accurate sketches of func ons.
Notes:
156
Exercises 3.4
Terms and Concepts In Exercises 15 – 28, a func on f(x) is given.
(a) Find the possible points of inflec on of f.
1. Sketch a graph of a func on f(x) that is concave up on (0, 1) (b) Create a number line to determine the intervals on
and is concave down on (1, 2). which f is concave up or concave down.
(c) decreasing, concave down on (2, 3) and 18. f(x) = 2x3 − 3x2 + 9x + 5
(d) increasing, concave down on (3, 4).
x4 x3
19. f(x) = + − 2x + 3
4 3
3. Is is possible for a func on to be increasing and concave
down on (0, ∞) with a horizontal asymptote of y = 1? If 20. f(x) = −3x4 + 8x3 + 6x2 − 24x + 2
so, give a sketch of such a func on.
21. f(x) = x4 − 4x3 + 6x2 − 4x + 1
4. Is is possible for a func on to be increasing and concave up
on (0, ∞) with a horizontal asymptote of y = 1? If so, give 22. f(x) = sec x on (−3π/2, 3π/2)
a sketch of such a func on.
1
23. f(x) =
x2 + 1
Problems x
24. f(x) =
x2 − 1
In Exercises 5 – 14, a func on f(x) is given.
25. f(x) = sin x + cos x on (−π, π)
(a) Compute f ′′ (x).
26. f(x) = x2 ex
(b) Graph f and f ′′ on the same axes (using technology is
permi ed) and verify Theorem 3.4.1. 27. f(x) = x2 ln x
2
5. f(x) = −7x + 3 28. f(x) = e−x
6. f(x) = −4x2 + 3x − 8 In Exercises 29 – 42, a func on f(x) is given. Find the cri cal
points of f and use the Second Deriva ve Test, when possi-
ble, to determine the rela ve extrema. (Note: these are the
7. f(x) = 4x2 + 3x − 8
same func ons as in Exercises 15 – 28.)
x4 x3
1 33. f(x) = + − 2x + 3
12. f(x) = 2 4 3
x +1
34. f(x) = −3x4 + 8x3 + 6x2 − 24x + 2
1
13. f(x) =
x
35. f(x) = x4 − 4x3 + 6x2 − 4x + 1
1
14. f(x) = 36. f(x) = sec x on (−3π/2, 3π/2)
x2
157
1 x4 x3
37. f(x) = 47. f(x) = + − 2x + 3
x2 + 1 4 3
x
38. f(x) = 48. f(x) = −3x4 + 8x3 + 6x2 − 24x + 2
x2 − 1
40. f(x) = x2 ex
50. f(x) = sec x on (−3π/2, 3π/2)
41. f(x) = x2 ln x
1
51. f(x) =
42. f(x) = e−x
2
x2 + 1
x
In Exercises 43 – 56, a func on f(x) is given. Find the x val- 52. f(x) =
ues where f ′ (x) has a rela ve maximum or minimum. (Note: x2 − 1
these are the same func ons as in Exercises 15 – 28.)
53. f(x) = sin x + cos x on (−π, π)
43. f(x) = x2 − 2x + 1
54. f(x) = x2 ex
44. f(x) = −x2 − 5x + 7
55. f(x) = x2 ln x
45. f(x) = x3 − x + 1
2
46. f(x) = 2x3 − 3x2 + 9x + 5 56. f(x) = e−x
158
3.5 Curve Sketching
Notes:
159
Chapter 3 The Graphical Behavior of Func ons
6. Create a number line that includes all cri cal points, possible
points of inflec on, and loca ons of ver cal asymptotes. For each
interval created, determine whether f is increasing or decreasing,
concave up or down.
7. Evaluate f at each cri cal point and possible point of inflec on.
Plot these points on a set of axes. Connect these points with curves
exhibi ng the proper concavity. Sketch asymptotes and x and y
intercepts where applicable.
1. The domain of f is the en re real line; there are no values x for which f(x)
is not defined.
2. Find the cri cal values of f. We compute f ′ (x) = 9x2 − 20x + 7. Use the
Quadra c Formula to find the roots of f ′ :
√
20 ± (−20)2 − 4(9)(7) 1( √ )
x= = 10 ± 37 ⇒ x ≈ 0.435, 1.787.
2(9) 9
Notes:
160
3.5 Curve Sketching
5
Example 3.5.2 Curve sketching
x2 − x − 2
Sketch f(x) = 2 .
x −x−6 x
−1 1 2 3
2. To find the cri cal values of f, we first find f ′ (x). Using the Quo ent Rule, 10
we find
−8x + 4 −8x + 4
f ′ (x) = 2 = . 5
(x + x − 6) 2 (x − 3)2 (x + 2)2
f ′ (x) = 0 when x = 1/2, and f ′ is undefined when x = −2, 3. Since f ′
x
is undefined only when f is, these are not cri cal values. The only cri cal −1 1 2 3
value is x = 1/2.
3. To find the possible points of inflec on, we find f ′′ (x), again employing . −5
We find that f ′′ (x) is never 0 (se ng the numerator equal to 0 and solving
for x, we find the only roots to this quadra c are imaginary) and f ′′ is
Notes:
161
Chapter 3 The Graphical Behavior of Func ons
y
undefined when x = −2, 3. Thus concavity will possibly only change at
5
x = −2 and x = 3.
4. The ver cal asymptotes of f are at x = −2 and x = 3, the places where f
is undefined.
7. In Figure 3.5.4(a), we plot the points from the number line on a set of
axes and connect the points with straight lines to get a general idea of
.. −5 what the func on looks like (these lines effec vely only convey increas-
ing/decreasing informa on). In Figure 3.5.4(b), we adjust the graph with
(b) the appropriate concavity. We also show f crossing the x axis at x = −1
and x = 2.
y
5
Figure 3.5.4(c) shows a computer generated graph of f, which verifies the accu-
racy of our sketch.
Notes:
162
3.5 Curve Sketching
6. We place the cri cal points and possible points on a number line as shown
.
in Figure 3.5.5 and mark each interval as increasing/decreasing, concave
up/down appropriately. (a)
y
f ′ > 0 incr f ′ > 0 incr f ′ < 0 decr f ′ < 0 decr f ′ > 0 incr f ′ > 0 decr
f ′′ > 0 c. up f ′′ < 0 c. down f ′′ < 0 c. down f ′′ > 0 c. up f ′′ > 0 c. up f ′′ < 0 c. down
.
−5.579 −4 −1.305 0 1.064 5
7. In Figure 3.5.6(a) we plot the significant points from the number line as x
well as the two roots of f, x = −1 and x = 2, and connect the points −5 5
with straight lines to get a general impression about the graph. In Figure .
3.5.6(b), we add concavity. Figure 3.5.6(c) shows a computer generated
graph of f, affirming our results. (b)
y
In each of our examples, we found a few, significant points on the graph of
f that corresponded to changes in increasing/decreasing or concavity. We con-
nected these points with straight lines, then adjusted for concavity, and finished 5
by showing a very accurate, computer generated graph.
Why are computer graphics so good? It is not because computers are “smart-
er” than we are. Rather, it is largely because computers are much faster at com-
pu ng than we are. In general, computers graph func ons much like most stu- x
−5 5
dents do when first learning to draw graphs: they plot equally spaced points,
then connect the dots using lines. By using lots of points, the connec ng lines .
are short and the graph looks smooth.
(c)
This does a fine job of graphing in most cases (in fact, this is the method
used for many graphs in this text). However, in regions where the graph is very
Figure 3.5.6: Sketching f in Example 3.5.3.
“curvy,” this can generate no ceable sharp edges on the graph unless a large
number of points are used. High quality computer algebra systems, such as
Notes:
163
Chapter 3 The Graphical Behavior of Func ons
Mathema ca, use special algorithms to plot lots of points only where the graph
is “curvy.”
In Figure 3.5.7, a graph of y = sin x is given, generated by Mathema ca.
The small points represent each of the places Mathema ca sampled the func-
on. No ce how at the “bends” of sin x, lots of points are used; where sin x is
rela vely straight, fewer points are used. (Many points are also used at the end-
points to ensure the “end behavior” is accurate.) In fact, in the interval of length
0.2 centered around π/2, Mathema ca plots 72 of the 431 points plo ed; that
is, it plots about 17% of its points in a subinterval that accounts for about 3% of
the total interval length.
1.0
0.5
1 2 3 4 5 6
-0.5
-1.0
How does Mathema ca know where the graph is “curvy”? Calculus. When
we study curvature in a later chapter, we will see how the first and second
deriva ves of a func on work together to provide a measurement of “curvi-
ness.” Mathema ca employs algorithms to determine regions of “high curva-
ture” and plots extra points there.
Again, the goal of this sec on is not “How to graph a func on when there
is no computer to help.” Rather, the goal is “Understand that the shape of the
graph of a func on is largely determined by understanding the behavior of the
func on at a few key places.” In Example 3.5.3, we were able to accurately sketch
a complicated graph using only 5 points and knowledge of asymptotes!
There are many applica ons of our understanding of deriva ves beyond curve
sketching. The next chapter explores some of these applica ons, demonstrat-
ing just a few kinds of problems that can be solved with a basic knowledge of
differen a on.
Notes:
164
Exercises 3.5
Terms and Concepts 15. f(x) = x3 + 3x2 + 3x + 1
23. f(x) = x2 ex
Problems
In Exercises 7 – 12, prac ce using Key Idea 3.5.1 by applying 24. f(x) = sin x cos x on [−π, π]
the principles to the given func ons with familiar graphs.
25. f(x) = (x − 3)2/3 + 2
7. f(x) = 2x + 4
(x − 1)2/3
26. f(x) =
8. f(x) = −x2 + 1 x
1 a
11. f(x) = 27. f(x) =
x x2 + b 2
dy
13. f(x) = x3 − 2x2 + 4x + 1 31. Given x2 + y2 = 1, use implicit differen a on to find dx
2
and ddx2y . Use this informa on to jus fy the sketch of the
3 2
14. f(x) = −x + 5x − 3x + 2 unit circle.
165
4: A
D
In Chapter 3, we learned how the first and second deriva ves of a func on influ-
ence its graph. In this chapter we explore other applica ons of the deriva ve.
y
1
4.1 Newton’s Method
0.5
Solving equa ons is one of the most important things we do in mathema cs,
yet we are surprisingly limited in what we can solve analy cally. For instance,
x
equa ons as simple as x5 + x + 1 = 0 or cos x = x cannot be solved by algebraic x0 x1
methods in terms of familiar func ons. Fortunately, there are methods that
−0.5
can give us approximate solu ons to equa ons like these. These methods can
usually give an approxima on correct to as many decimal places as we like. In
−1
.
Sec on 1.5 we learned about the Bisec on Method. This sec on focuses on
another technique (which generally works faster), called Newton’s Method. (a)
y
Newton’s Method is built around tangent lines. The main idea is that if x is
1
sufficiently close to a root of f(x), then the tangent line to the graph at (x, f(x))
will cross the x-axis at a point closer to the root than x.
0.5
We start Newton’s Method with an ini al guess about roughly where the
root is. Call this x0 . (See Figure 4.1.1(a).) Draw the tangent line to the graph at
x
(x0 , f(x0 )) and see where it meets the x-axis. Call this point x1 . Then repeat the x0 x2 x1
process – draw the tangent line to the graph at (x1 , f(x1 )) and see where it meets
−0.5
the x-axis. (See Figure 4.1.1(b).) Call this point x2 . Repeat the process again to
get x3 , x4 , etc. This sequence of points will o en converge rather quickly to a
−1
.
root of f.
We can use this geometric process to create an algebraic process. Let’s look (b)
y
at how we found x1 . We started with the tangent line to the graph at (x0 , f(x0 )).
The slope of this tangent line is f ′ (x0 ) and the equa on of the line is 1
This line crosses the x-axis when y = 0, and the x–value where it crosses is what x
x0 x2 x3 x1
we called x1 . So let y = 0 and replace x with x1 , giving the equa on:
−0.5
0 = f ′ (x0 )(x1 − x0 ) + f(x0 ).
−1
.
Now solve for x1 :
f(x0 ) (c)
x1 = x0 − .
f ′ (x0 ) Figure 4.1.1: Demonstra ng the geo-
metric concept behind Newton’s Method.
Note how x3 is very close to a solu on to
f(x) = 0.
Chapter 4 Applica ons of the Deriva ve
f(x1 )
x2 = x1 − .
f ′ (x1 )
In general, given an approxima on xn , we can find the next approxima on, xn+1
as follows:
f(xn )
xn+1 = xn − .
f ′ (xn )
Notes:
168
4.1 Newton’s Method
f(1) 13 − 12 − 1
x1 = 1 − = 1 − = 2,
f ′ (1) 3 · 12 − 2 · 1
f(2) 23 − 22 − 1
x2 =2− ′ =2− = 1.625,
f (2) 3 · 22 − 2 · 2
f(1.625) 1.6253 − 1.6252 − 1
x3 = 1.625 − ′ = 1.625 − ≈ 1.48579. y
f (1.625) 3 · 1.6252 − 2 · 1.625 0.5
f(1.48579)
x4 = 1.48579 − ′ ≈ 1.46596
f (1.48579) x
0.5 1 1.5
f(1.46596)
x5 = 1.46596 − ′ ≈ 1.46557
f (1.46596) −0.5
We can automate this process on a calculator that has an Ans key that re-
turns the result of the previous calcula on. Start by pressing 1 and then Enter.
(We have just entered our ini al guess, x0 = 1.) Now compute
f(Ans)
Ans −
f ′ (Ans)
by entering the following and repeatedly press the Enter key:
Ans-(Ans^3-Ans^2-1)/(3*Ans^2-2*Ans)
Each me we press the Enter key, we are finding the successive approxima ons,
x1 , x2 , …, and each one is ge ng closer to the root. In fact, once we get past
around x7 or so, the approxima ons don’t appear to be changing. They actually
are changing, but the change is far enough to the right of the decimal point that
it doesn’t show up on the calculator’s display. When this happens, we can be
pre y confident that we have found an accurate approxima on.
Using a calculator in this manner makes the calcula ons simple; many iter-
a ons can be computed very quickly.
Notes:
169
Chapter 4 Applica ons of the Deriva ve
Example 4.1.2 Using Newton’s Method to find where func ons intersect
Use Newton’s Method to approximate a solu on to cos x = x, accurate to 5
places a er the decimal.
. −1 cos(0.75) − 0.75
x1 = 0.75 − ≈ 0.7391111388.
− sin(0.75) − 1
Figure 4.1.3: A graph of f(x) = cos x − x
used to find an ini al approxima on of its Apply Newton’s Method again to find x2 :
root.
cos(0.7391111388) − 0.7391111388
x2 = 0.7391111388 − ≈ 0.7390851334.
− sin(0.7391111388) − 1
We can con nue this way, but it is really best to automate this process. On a cal-
culator with an Ans key, we would start by pressing 0.75, then Enter, inpu ng
our ini al approxima on. We then enter:
Ans - (cos(Ans)-Ans)/(-sin(Ans)-1).
x3 = 0.7390851332
x4 = 0.7390851332.
Our approxima ons x2 and x3 did not differ for at least the first 5 places a er the
decimal, so we could have stopped. However, using our calculator in the man-
ner described is easy, so finding x4 was not hard. It is interes ng to see how we
found an approxima on, accurate to as many decimal places as our calculator
displays, in just 4 itera ons.
If you know how to program, you can translate the following pseudocode
into your favorite language to perform the computa on in this problem.
Notes:
170
4.1 Newton’s Method
x = .75 y
oldx = x
x = x - (cos(x)-x)/(-sin(x)-1) x
−0.5 0.5 1 1.5
print x
if abs(x-oldx) < .0000000001 −0.5
break
−1
This code calculates x1 , x2 , etc., storing each result in the variable x. The pre-
vious approxima on is stored in the variable oldx. We con nue looping un l . −1.5
the difference between two successive approxima ons, abs(x-oldx), is less
than some small tolerance, in this case, .0000000001. Figure 4.1.4: A graph of f(x) = x3 −x2 −1,
showing why an ini al approxima on of
Convergence of Newton’s Method x0 = 0 with Newton’s Method fails.
What should one use for the ini al guess, x0 ? Generally, the closer to the y
actual root the ini al guess is, the be er. However, some ini al guesses should
be avoided. For instance, consider Example 4.1.1 where we sought the root to
1
f(x) = x3 − x2 − 1. Choosing x0 = 0 would have been a par cularly poor choice.
Consider Figure 4.1.4, where f(x) is graphed along with its tangent line at x = 0.
Since f ′ (0) = 0, the tangent line is horizontal and does not intersect the x–axis. x
Graphically, we see that Newton’s Method fails. −1 x0 1
We can also see analy cally that it fails. Since
−1
f(0)
x1 = 0 − ′ .
f (0)
(a)
′ y
and f (0) = 0, we see that x1 is not well defined.
This problem can also occur if, for instance, it turns out that f ′ (x5 ) = 0.
Adjus ng the ini al approxima on x0 by a very small amount will likely fix the 1
problem.
It is also possible for Newton’s Method to not converge while each successive
x
approxima on is well defined. Consider f(x) = x1/3 , as shown in Figure 4.1.5. It −1 x1 x0 1
is clear that the root is x = 0, but let’s approximate this with x0 = 0.1. Figure
4.1.5(a) shows graphically the calcula on of x1 ; no ce how it is farther from the −1
root than x0 . Figures 4.1.5(b) and (c) show the calcula on of x2 and x3 , which are
even farther away; our successive approxima ons are ge ng worse. (It turns .
out that in this par cular example, each successive approxima on is twice as far (b)
y
from the true answer as the previous approxima on.)
There is no “fix” to this problem; Newton’s Method simply will not work and
another method must be used. 1
While Newton’s Method does not always work, it does work “most of the
me,” and it is generally very fast. Once the approxima ons get close to the root,
x
−1x3 x1 x0 x2 1
−1
Notes: .
(c)
171
Chapter 4 Applica ons of the Deriva ve
Newton’s Method can as much as double the number of correct decimal places
with each successive approxima on. A course in Numerical Analysis will intro-
duce the reader to more itera ve root finding methods, as well as give greater
detail about the strengths and weaknesses of Newton’s Method.
Notes:
172
Exercises 4.1
Terms and Concepts imal. If an interval is given, find only the roots that lie in
that interval. Use technology to obtain good ini al approx-
1. T/F: Given a func on f(x), Newton’s Method produces an ima ons.
exact solu on to f(x) = 0.
9. f(x) = x3 + 5x2 − x − 1
2. T/F: In order to get a solu on to f(x) = 0 accurate to d
places a er the decimal, at least d + 1 itera ons of New- 10. f(x) = x4 + 2x3 − 7x2 − x + 5
tons’ Method must be used.
11. f(x) = x17 − 2x13 − 10x8 + 10 on (−2, 2)
In Exercises 9 – 12, use Newton’s Method to approximate all 18. Why does Newton’s Method fail in finding a root of f(x) =
roots of the given func ons accurate to 3 places a er the dec- −17x4 + 130x3 − 301x2 + 156x + 156 when x0 = 1?
173
Chapter 4 Applica ons of the Deriva ve
C = 2πr
d( ) d( )
C = 2πr
dt dt
dC dr
= 2π .
dt dt
dr
As we know dt = 5in/hr, we know
dC
= 2π5 = 10π ≈ 31.4in/hr.
dt
Notes:
174
4.2 Related Rates
1. We can answer this ques on two ways: using “common sense” or related
rates. The common sense method states that the volume of the puddle is
growing by 2in3 /s, where
Since the depth is constant at 1/8in, the area must be growing by 16in2 /s.
This approach reveals the underlying related–rates principle. Let V and A
represent the Volume and Area of the puddle. We know V = A × 81 . Take
the deriva ve of both sides with respect to t, employing implicit differen-
a on.
1
V=A
8 ( )
d( ) d 1
V = A
dt dt 8
dV 1 dA
=
dt 8 dt
As dV
dt = 2, we know 2 =
1 dA
8 dt , and hence dA
dt = 16. Thus the area is
growing by 16in2 /s.
A = πr2
d( ) d ( 2)
A = πr
dt dt
dA dr
= 2πr
dt dt
dA dr
Our work above told us that dt = 16in2 /s. Solving for dt , we have
dr 8
= .
dt πr
Note how our answer is not a number, but rather a func on of r. In other
words, the rate at which the radius is growing depends on how big the
Notes:
175
Chapter 4 Applica ons of the Deriva ve
circle already is. If the circle is very large, adding 2in3 of water will not
make the circle much bigger at all. If the circle is dime–sized, adding the
same amount of water will make a radical change in the radius of the circle.
In some ways, our problem was (inten onally) ill–posed. We need to spec-
ify a current radius in order to know a rate of change. When the puddle
has a radius of 10in, the radius is growing at a rate of
dr 8 4
= = ≈ 0.25in/s.
dt 10π 5π
Notes:
176
4.2 Related Rates
Now take the deriva ve of both sides of Equa on (4.1) using implicit differen -
Notes:
177
Chapter 4 Applica ons of the Deriva ve
a on:
x
tan θ =
10
d( ) d ( x )
tan θ =
dt dt 10
dθ 1 dx
sec2 θ =
dt 10 dt
dθ cos2 θ dx
= (4.2)
dt 10 dt
We want to know the fastest the camera has to turn. Common sense tells us this
is when the car is directly in front of the camera (i.e., when θ = 0). Our mathe-
ma cs bears this out. In Equa on (4.2) we see this is when cos2 θ is largest; this
is when cos θ = 1, or when θ = 0.
dt ≈ −146.67 /s, we have
With dx
dθ 1rad
=− 146.67 /s = −14.667radians/s.
dt 10
We find that dθ dt is nega ve; this matches our diagram in Figure 4.2.2 for θ is
ge ng smaller as the car approaches the camera.
What is the prac cal meaning of −14.667radians/s? Recall that 1 circular
revolu on goes through 2π radians, thus 14.667rad/s means 14.667/(2π) ≈
2.33 revolu ons per second. The nega ve sign indicates the camera is rota ng
in a clockwise fashion.
Notes:
178
Exercises 4.2
Terms and Concepts (a) 1 mile away?
(b) 1/5 mile away?
1. T/F: Implicit differen a on is o en used when solving “re-
lated rates” type problems. (c) Directly overhead?
2. T/F: A study of related rates is part of the standard police 8. An F-22 aircra is flying at 500mph with an eleva on of
officer training. 100 on a straight–line path that will take it directly over
an an –aircra gun as in Exercise 7 (note the lower eleva-
on here).
Problems How fast must the gun be able to turn to accurately track
the aircra when the plane is:
3. Water flows onto a flat surface at a rate of 5cm3 /s forming a (a) 1000 feet away?
circular puddle 10mm deep. How fast is the radius growing
when the radius is: (b) 100 feet away?
(b) 10 cm?
9. A 24 . ladder is leaning against a house while the base is
(c) 100 cm? pulled away at a constant rate of 1 /s.
24
.
10cm3 /s. How fast is the radius of the balloon increasing 1 /s
when the radius is: .
At what rate is the top of the ladder sliding down the side
(a) 1 cm? of the house when the base is:
(b) 10 cm?
(a) 1 foot from the house?
(c) 100 cm?
(b) 10 feet from the house?
5. Consider the traffic situa on introduced in Example 4.2.3. (c) 23 feet from the house?
How fast is the “other car” traveling if the officer and the
(d) 24 feet from the house?
other car are each 1/2 mile from the intersec on, the other
car is traveling due west, the officer is traveling north at
50mph, and the radar reading is −80mph? 10. A boat is being pulled into a dock at a constant rate of
30 /min by a winch located 10 above the deck of the
boat.
6. Consider the traffic situa on introduced in Example 4.2.3.
Calculate how fast the “other car” is traveling in each of the
10
following situa ons. .
1/2 mile from the intersec on, while the other car At what rate is the boat approaching the dock when the
is 1 mile from the intersec on traveling west and the boat is:
radar reading is −80mph?
(b) The officer is traveling due north at 50mph and is (a) 50 feet out?
1 mile from the intersec on, while the other car is (b) 15 feet out?
1/2 mile from the intersec on traveling west and the
(c) 1 foot from the dock?
radar reading is −80mph?
(d) What happens when the length of rope pulling in the
7. An F-22 aircra is flying at 500mph with an eleva on of boat is less than 10 feet long?
10,000 on a straight–line path that will take it directly over
an an –aircra gun. 11. An inverted cylindrical cone, 20 deep and 10 across at
the top, is being filled with water at a rate of 10 3 /min. At
what rate is the water rising in the tank when the depth of
. 10,000
the water is:
(a) 1 foot?
. θ
.
(b) 10 feet?
x
(c) 19 feet?
How fast must the gun be able to turn to accurately track
the aircra when the plane is: How long will the tank take to fill when star ng at empty?
179
12. A rope, a ached to a weight, goes up through a pulley at (b) How fast is the weight rising a er the man has walked
the ceiling and back down to a worker. The man holds the 10 feet?
rope at the same height as the connec on point between
(c) How fast is the weight rising a er the man has walked
rope and weight.
30 feet?
(d) How far must the man walk to raise the weight all the
way to the pulley?
30
2 /s
. 14. A hot air balloon li s off from ground rising ver cally. From
Suppose the man stands directly next to the weight (i.e., a 100 feet away, a 5’ woman tracks the path of the balloon.
total rope length of 60 ) and begins to walk away at a rate When her sightline with the balloon makes a 45◦ angle with
of 2 /s. How fast is the weight rising when the man has the horizontal, she notes the angle is increasing at about
walked: 5◦ /min.
(a) 10 feet? (a) What is the eleva on of the balloon?
(b) 40 feet?
(b) How fast is it rising?
How far must the man walk to raise the weight all the way
to the pulley? 15. A company that produces landscaping materials is dumping
sand into a conical pile. The sand is being poured at a rate
13. Consider the situa on described in Exercise 12. Suppose of 5 3 /sec; the physical proper es of the sand, in conjunc-
the man starts 40 from the weight and begins to walk on with gravity, ensure that the cone’s height is roughly
away at a rate of 2 /s. 2/3 the length of the diameter of the circular base.
(a) How long is the rope? How fast is the cone rising when it has a height of 30 feet?
180
4.3 Op miza on
4.3 Op miza on
In Sec on 3.1 we learned about extreme values – the largest and smallest values
a func on a ains on an interval. We mo vated our interest in such values by
discussing how it made sense to want to know the highest/lowest values of a
stock, or the fastest/slowest an object was moving. In this sec on we apply
the concepts of extreme values to solve “word problems,” i.e., problems stated
in terms of situa ons that require us to create the appropriate mathema cal
framework in which to solve the problem.
We start with a classic example which is followed by a discussion of the topic
of op miza on.
.
.
.
.
.
It helps to make a sketch of the situa on. Our enclosure is sketched twice
.
.
.
in Figure 4.3.1, either with green grass and nice fence boards or as a simple
.
.
.
rectangle. Either way, drawing a rectangle forces us to realize that we need to . y
.
.
.
.
.
know the dimensions of this rectangle so we can create an area func on – a er
all, we are trying to maximize the area. .
We let x and y denote the lengths of the sides of the rectangle. Clearly, x
Area = xy.
We do not yet know how to handle func ons with 2 variables; we need to
y
reduce this down to a single variable. We know more about the situa on: the
man has 100 feet of fencing. By knowing the perimeter of the rectangle must
be 100, we can create another equa on:
x
Perimeter = 100 = 2x + 2y.
Figure 4.3.1: A sketch of the enclosure in
We now have 2 equa ons and 2 unknowns. In the la er equa on, we solve Example 4.3.1.
for y:
y = 50 − x.
Now subs tute this expression for y in the area equa on:
Note we now have an equa on of one variable; we can truly call the Area a
func on of x.
Notes:
181
Chapter 4 Applica ons of the Deriva ve
This func on only makes sense when 0 ≤ x ≤ 50, otherwise we get nega ve
values of area. So we find the extreme values of A(x) on the interval [0, 50].
To find the cri cal points, we take the deriva ve of A(x) and set it equal to
0, then solve for x.
A(x) = x(50 − x)
= 50x − x2
A′ (x) = 50 − 2x
We solve 50 − 2x = 0 to find x = 25; this is the only cri cal point. We evaluate
A(x) at the endpoints of our interval and at this cri cal point to find the extreme
values; in this case, all we care about is the maximum.
Clearly A(0) = 0 and A(50) = 0, whereas A(25) = 625 2 . This is the max-
imum. Since we earlier found y = 50 − x, we find that y is also 25. Thus the
dimensions of the rectangular enclosure with perimeter of 100 . with maxi-
mum area is a square, with sides of length 25 .
This example is very simplis c and a bit contrived. (A er all, most people
create a design then buy fencing to meet their needs, and not buy fencing and
plan later.) But it models well the necessary process: create equa ons that de-
scribe a situa on, reduce an equa on to a single variable, then find the needed
extreme value.
“In real life,” problems are much more complex. The equa ons are o en
not reducible to a single variable (hence mul –variable calculus is needed) and
the equa ons themselves may be difficult to form. Understanding the princi-
ples here will provide a good founda on for the mathema cs you will likely en-
counter later.
We outline here the basic process of solving these op miza on problems.
(con nued). . .
Notes:
182
4.3 Op miza on
4. Iden fy the domain of this func on, keeping in mind the context
of the problem.
5. Find the extreme values of this func on on the determined do-
main.
6. Iden fy the values of all relevant quan es of the problem.
.
.
.
.
.
2. We want to maximize the area; as in the example before,
.
.
.
.
.
Area = xy.
.
. y
.
.
.
This is our fundamental equa on. This defines area as a func on of two
.
variables, so we need another equa on to reduce it to one variable. .
Notes:
183
Chapter 4 Applica ons of the Deriva ve
4. We want the area to be nonnega ve. Since A(x) = x(50 − x/2), we want
x ≥ 0 and 50 − x/2 ≥ 0. The la er inequality implies that x ≤ 100, so
0 ≤ x ≤ 100.
5. We now find the extreme values. At the endpoints, the minimum is found,
giving an area of 0.
Find the cri cal points. We have A′ (x) = 50 − x; se ng this equal to 0
and solving for x returns x = 50. This gives an area of
6. We earlier set y = 50 − x/2; thus y = 25. Thus our rectangle will have
two sides of length 25 and one side of length 50, with a total area of 1250
2
.
Keep in mind as we do these problems that we are prac cing a process; that
is, we are learning to turn a situa on into a system of equa ons. These equa-
ons allow us to write a certain quan ty as a func on of one variable, which we
then op mize.
1000
The op mal solu on likely has the line being run along the ground for a
while, then underwater, as the figure implies. We need to label our unknown
. distances – the distance run along the ground and the distance run underwater.
.
5000 − x x Recognizing that the underwater distance can be measured as the hypotenuse
of a right triangle, we choose to label the distances as shown in Figure 4.3.4.
Figure 4.3.4: Labeling unknown distances
in Example 4.3.3.
Notes:
184
4.3 Op miza on
By choosing x as we did, we make the expression under the square root sim-
ple. We now create the cost func on.
130x
c ′ (x) = −50 + √ .
x2 + 10002
1302 x2
= 502
x2 + 10002
1302 x2 = 502 (x2 + 10002 )
1302 x2 − 502 x2 = 502 · 10002
(1302 − 502 )x2 = 50, 0002
50, 0002
x2 =
1302 − 502
50, 000
x= √
1302 − 502
50, 000 1250
x= = ≈ 416.67.
120 3
Evalua ng c(x) at x = 416.67 gives a cost of about $370,000. The distance
√ along land is 5000 − 416.67 = 4583.33 ., and the under-
the power line is laid
water distance is 416.672 + 10002 ≈ 1083 .
Notes:
185
Chapter 4 Applica ons of the Deriva ve
In the exercises you will see a variety of situa ons that require you to com-
bine problem–solving skills with calculus. Focus on the process; learn how to
form equa ons from situa ons that can be manipulated into what you need.
Eschew memorizing how to do “this kind of problem” as opposed to “that kind
of problem.” Learning a process will benefit one far longer than memorizing a
specific technique.
The next sec on introduces our final applica on of the deriva ve: differen-
als. Given y = f(x), they offer a method of approxima ng the change in y a er
x changes by a small amount.
Notes:
186
Exercises 4.3
Terms and Concepts What is the maximum volume of a package with a square
cross sec on (w = h) that does not exceed the 108” stan-
1. T/F: An “op miza on problem” is essen ally an “extreme dard?
values” problem in a “story problem” se ng.
12. The strength S of a wooden beam is directly propor onal
2. T/F: This sec on teaches one to find the extreme values of to its cross sec onal width w and the square of its height h;
a func on that has more than one variable. that is, S = kwh2 for some constant k.
w
Problems 12 h
7. Find the maximal area of a right triangle with hypotenuse 14. A power line is to be run to an offshore facility in the man-
of length 1. ner described in Example 4.3.3. The offshore facility is 5
miles at sea and 2 miles along the shoreline from the power
8. A rancher has 1000 feet of fencing in which to construct plant. It costs $50,000 per mile to lay a power line under-
adjacent, equally sized rectangular pens. What dimensions ground and $80,000 to run the line underwater.
should these pens have to maximize the enclosed area? How much of the power line should be run underground to
minimize the overall costs?
187
Chapter 4 Applica ons of the Deriva ve
.
π 1.1
x
f(c + ∆x) ≈ ℓ(c + ∆x),
3
since the tangent line to a func on approximates well the values of that func on
(b) near x = c.
As the x-value changes from c to c + ∆x, the y-value of f changes from f(c)
Figure 4.4.1: Graphing f(x) = sin x and its
to f(c + ∆x). We call this change of y value ∆y. That is:
tangent line at x = π/3 in order to es -
mate sin 1.1.
∆y = f(c + ∆x) − f(c).
Notes:
188
4.4 Differen als
Replacing f(c + ∆x) with its tangent line approxima on, we have
This final equa on is important; it becomes the basis of the upcoming Def-
ini on and Key Idea. In short, it says that when the x-value changes from c to
c + ∆x, the y value of a func on f changes by about f ′ (c)∆x.
We introduce two new variables, dx and dy in the context of a formal defini-
on.
dy = f ′ (x)dx.
We can solve for f ′ (x) in the above equa on: f ′ (x) = dy/dx. This states that
the deriva ve of f with respect to x is the differen al of y divided by the differ-
en al of x; this is not the alternate nota on for the deriva ve, dy dx . This la er
nota on was chosen because of the frac on–like quali es of the deriva ve, but
again, it is one symbol and not a frac on.
It is helpful to organize our new concepts and nota ons in one place.
Notes:
189
Chapter 4 Applica ons of the Deriva ve
What is the value of differen als? Like many mathema cal concepts, differ-
en als provide both prac cal and theore cal benefits. We explore both here.
∆y ≈ dy
= f ′ (3)dx
= 2 · 3 · 0.1 = 0.6.
Of course, it is easy to compute the actual answer (by hand or with a calcula-
tor): 3.12 = 9.61. (Before we get too cynical and say “Then why bother?”, note
our approxima on is really good!)
So why bother?
In “most” real life situa ons, we do not know the func on that describes
a par cular behavior. Instead, we can only take measurements of how things
change – measurements of the deriva ve.
Imagine water flowing down a winding channel. It is easy to measure the
speed and direc on (i.e., the velocity) of water at any loca on. It is very hard
to create a func on that describes the overall flow, hence it is hard to predict
where a floa ng object placed at the beginning of the channel will end up. How-
ever, we can approximate the path of an object using differen als. Over small
intervals, the path taken by a floa ng object is essen ally linear. Differen als
allow us to approximate the true path by piecing together lots of short, linear
paths. This technique is called Euler’s Method, studied in introductory Differen-
al Equa ons courses.
We use differen als once more to approximate the value of a func on. Even
though calculators are very accessible, it is neat to see how these techniques can
some mes be used to easily compute something that looks rather hard.
Notes:
190
4.4 Differen als
The
√ approximate change in f from x = 4 to x = 4.5 is 0.125, so we approximate
4.5 ≈ 2.125.
Differen als are important when we discuss integra on. When we study
that topic, we will use nota on such as
∫
f(x) dx
quite o en. While we don’t discuss here what all of that nota on means, note
the existence of the differen al dx. Proper handling of integrals comes with
proper handling of differen als.
In light of that, we prac ce finding differen als in general.
dy = cos(x)dx.
2. y = ex (x2 + 2): Let f(x) = ex (x2 + 2). We need f ′ (x), requiring the
Product Rule.
We have f ′ (x) = ex (x2 + 2) + 2xex , so
( )
dy = ex (x2 + 2) + 2xex dx.
Notes:
191
Chapter 4 Applica ons of the Deriva ve
√ √
3. y = x2 + 3x − 1: Let f(x) = x2 + 3x − 1; we need f ′ (x), requiring
the Chain Rule.
1 2x + 3
We have f ′ (x) = (x2 + 3x − 1)− 2 (2x + 3) = √
1
. Thus
2 2 x2 + 3x − 1
(2x + 3)dx
dy = √ .
2 x2 + 3x − 1
We have seen a prac cal use of differen als as they offer a good method of
making certain approxima ons. Another use is error propaga on. Suppose a
length is measured to be x, although the actual value is x + ∆x (where ∆x is the
error, which we hope is small). This measurement of x may be used to compute
some other value; we can think of this la er value as f(x) for some func on f.
As the true length is x + ∆x, one really should have computed f(x + ∆x). The
difference between f(x) and f(x + ∆x) is the propagated error.
How close are f(x) and f(x + ∆x)? This is a difference in “y” values:
f(x + ∆x) − f(x) = ∆y ≈ dy.
We can approximate the propagated error using differen als.
dm = 31.4πr2 dr.
The radius is to be 1cm; the manufacturing tolerance in the radius is ±0.05mm,
or ±0.005cm. The propagated error is approximately:
∆m ≈ dm
= 31.4π(1)2 (±0.005)
= ±0.493g
Notes:
192
4.4 Differen als
Is this error significant? It certainly depends on the applica on, but we can get
an idea by compu ng the rela ve error. The ra o between amount of error to
the total mass is
dm 0.493
=±
m 7.85 34 π
0.493
=±
32.88
= ±0.015,
or ±1.5%.
We leave it to the reader to confirm this, but if the diameter of the ball was
supposed to be 10cm, the same manufacturing tolerance would give a propa-
gated error in mass of ±12.33g, which corresponds to a percent error of ±0.188%.
While the amount of error is much greater (12.33 > 0.493), the percent error
is much lower.
• Differen als (useful for various approxima ons and for something called
integra on).
In the next chapters, we will consider the “reverse” problem to compu ng
the deriva ve: given a func on f, can we find a func on whose deriva ve is f?
Being able to do so opens up an incredible world of mathema cs and applica-
ons.
Notes:
193
Exercises 4.4
Terms and Concepts 4
22. y =
x4
1. T/F: Given a differen able func on y = f(x), we are gen-
2x
erally free to choose a value for dx, which then determines 23. y =
tan x + 1
the value of dy.
24. y = ln(5x)
2. T/F: The symbols “dx” and “∆x” represent the same con-
cept.
25. y = ex sin x
3. T/F: The symbols “dy” and “∆y” represent the same con-
cept. 26. y = cos(sin x)
4. T/F: Differen als are important in the study of integra on. x+1
27. y =
x+2
5. How are differen als and tangent lines related?
28. y = 3x ln x
6. T/F: In real life, differen als are used to approximate func-
on values when the func on itself is not known. 29. y = x ln x − x
( )
30. f(x) = ln sec x
Problems
Exercises 31 – 34 use differen als to approximate propagated
In Exercises 7 – 16, use differen als to approximate the given
error.
value by hand.
√ (a) 2 seconds?
12. 24
√
3
(b) 5 seconds?
13. 63
√
3
33. What is the propagated error in the measurement of the
14. 8.5 cross sec onal area of a circular log if the diameter is mea-
sured at 15′′ , accurate to 1/4′′ ?
15. sin 3
34. A wall is to be painted that is 8′ high and is measured to
16. e0.1
be 10′ , 7′′ long. Find the propagated error in the measure-
ment of the wall’s surface area if the measurement is accu-
In Exercises 17 – 30, compute the differen al dy. rate to 1/2′′ .
17. y = x2 + 3x − 5
Exercises 35 – 39 explore some issues related to surveying in
which distances are approximated using other measured dis-
18. y = x7 − x5
tances and measured angles. (Hint: Convert all angles to ra-
1 dians before compu ng.)
19. y =
4x2
35. The length l of a long wall is to be approximated. The angle
20. y = (2x + sin x)2 θ, as shown in the diagram (not to scale), is measured to be
85.2◦ , accurate to 1◦ . Assume that the triangle formed is a
21. y = x2 e3x right triangle.
194
l =? θ 50′ l =?
θ
25′
(a) What is the measured length l of the wall? (a) What is the measured length of the wall?
(b) What is the propagated error? (b) What is the propagated error?
(c) What is the percent error?
(c) What is the percent error?
36. Answer the ques ons of Exercise 35, but with a measured
angle of 71.5◦ , accurate to 1◦ , measured from a point 100′ 38. The length of the walls in Exercises 35 – 37 are essen ally
from the wall. the same. Which setup gives the most accurate result?
37. The length l of a long wall is to be calculated by measuring 39. Consider the setup in Exercise 37. This me, assume the
the angle θ shown in the diagram (not to scale). Assume angle measurement of 143◦ is exact but the measured 50′
the formed triangle is an isosceles triangle. The measured from the wall is accurate to 6′′ . What is the approximate
angle is 143◦ , accurate to 1◦ . percent error?
195
5: I
We have spent considerable me considering the deriva ves of a func on and
their applica ons. In the following chapters, we are going to star ng thinking
in “the other direc on.” That is, given a func on f(x), we are going to consider
func ons F(x) such that F ′ (x) = f(x). There are numerous reasons this will
prove to be useful: these func ons will help us compute area, volume, mass,
force, pressure, work, and much more.
y ′ = 2x.
The set of all an deriva ves of f(x) is the indefinite integral of f, denoted
by ∫
f(x) dx.
G(x) = F(x) + C.
Integrand One
an deriva ve
Notes:
198
5.1 An deriva ves and Indefinite Integra on
S We are asked to find all func ons F(x) such that F ′ (x) =
sin x. Some thought will lead us to one solu on: F(x) = − cos x, because dx d
(− cos x) =
sin x.
The indefinite integral of sin x is thus − cos x, plus a constant of integra on.
So: ∫
sin x dx = − cos x + C.
presents us with a differen al, dy = sin x dx. It is asking: “What is y?” We found
lots of solu ons, all of the form y = − cos x + C.
Le ng dy = sin x dx, rewrite
∫ ∫
sin x dx as dy.
This is asking: “What func ons have a differen al of the form dy?” The answer
is “Func ons of the form y + C, where C is a constant.” What is y? We have lots
of choices, all differing by a constant; the simplest choice is y = − cos x.
Understanding all of this is more important later as we try to find an deriva-
ves of more complicated func ons. In this sec on, we will simply explore the
rules of indefinite integra on, and one can succeed for now with answering
“What happened to the dx?” with “It went away.”
Let’s prac ce once more before sta ng integra on rules.
Notes:
199
Chapter 5 Integra on
What func ons have a deriva ve of 4x? Here the x term is raised to the first
power, so we likely seek a quadra c. Some thought should lead us to 2x2 + C2 ,
where C2 is a constant.
Finally, what func ons have a deriva ve of 5? Func ons of the form 5x + C3 ,
where C3 is a constant.
Our answer appears to be
∫
(3x2 + 4x + 5) dx = x3 + C1 + 2x2 + C2 + 5x + C3 .
We do not need three separate constants of integra on; combine them as one
constant, giving the final answer of
∫
(3x2 + 4x + 5) dx = x3 + 2x2 + 5x + C.
This final step of “verifying our answer” is important both prac cally and
theore cally. In general, taking deriva ves is easier than finding an deriva ves
so checking our work is easy and vital as we learn.
We also see that taking the deriva ve of our answer returns the func on in
the integrand. Thus we can say that:
(∫ )
d
f(x) dx = f(x).
dx
Notes:
200
5.1 An deriva ves and Indefinite Integra on
In the last step we can consider the constant as also being mul plied by
Notes:
201
Chapter 5 Integra on
In prac ce we generally do not write out all these steps, but we demon-
strate them here for completeness.
• Rule #5 is the Power Rule of indefinite integra on. There are two impor-
tant things to keep in mind:
∫
1. No ce the restric on that n ̸= −1. This is important: 1x dx ̸=
“ 01 x0 + C”; rather, see Rule #14.
2. We are presen ng an differen a on as the “inverse opera on” of
differen a on. Here is a useful quote to remember:
“Inverse opera ons do the opposite things in the opposite
order.”
When taking a deriva ve using the Power Rule, we first mul ply by
the power, then second subtract 1 from the power. To find the an-
deriva ve, do the opposite things in the opposite order: first add
one to the power, then second divide by the power.
• Note that Rule #14 incorporates the absolute value of x. The exercises will
work the reader through why this is the case; for now, know the absolute
value is important and cannot be ignored.
Notes:
202
5.1 An deriva ves and Indefinite Integra on
We can find the answer if we provide more informa on with the ques on,
as done in the following example. O en the addi onal informa on comes in the
form of an ini al value, a value of the func on that one knows beforehand.
Notes:
203
Chapter 5 Integra on
So f ′ (t) = sin t + C for the correct value of C. We are given that f ′ (0) = 3,
so:
f ′ (0) = 3 ⇒ sin 0 + C = 3 ⇒ C = 3.
Using the ini al value, we have found f ′ (t) = sin t + 3.
We now find f(t) by integra ng again.
∫ ∫
f(t) = f ′ (t) dt = (sin t + 3) dt = − cos t + 3t + C.
− cos 0 + 3(0) + C = 5
−1 + C = 5
C=6
This sec on introduced an deriva ves and the indefinite integral. We found
they are needed when finding a func on given informa on about its deriva-
ve(s). For instance, we found a velocity func on given an accelera on func-
on.
In the next sec on, we will see how posi on and velocity are unexpectedly
related by the areas of certain regions on a graph of the velocity func on. Then,
in Sec on 5.4, we will see how areas and an deriva ves are closely ed together.
This connec on is incredibly important, as indicated by the name of the theorem
that describes it: The Fundamental Theorem of Calculus.
Notes:
204
Exercises 5.1 ∫
Terms and Concepts 19. (sec x tan x + csc x cot x) dx
Problems
28. ∫
This problem inves gates why Theorem 5.1.2 states that
1
In Exercises 9 – 27, evaluate the given indefinite integral. dx = ln |x| + C.
x
∫
(a) What is the domain of y = ln x?
9. 3x3 dx ( )
(b) Find dxd ln x .
∫ (c) What is the domain of y = ln(−x)?
10. x8 dx d
( )
(d) Finddx
ln(−x) .
∫ (e) You should find that 1/x has two types of an deriva-
11. (10x2 − 2) dx ves, depending on whether x >∫ 0 or x < 0. In
1
one expression, give a formula for dx that takes
∫ x
12. dt these different domains into account, and explain
your answer.
∫
13. 1 ds In Exercises 29 – 39, find f(x) described by the given ini al
value problem.
∫
1 29. f ′ (x) = sin x and f(0) = 2
14. dt
3t2
∫ 30. f ′ (x) = 5ex and f(0) = 10
3
15. dt
t2
31. f ′ (x) = 4x3 − 3x2 and f(−1) = 9
∫
1
16. √ dx 32. f ′ (x) = sec2 x and f(π/4) = 5
x
∫ 33. f ′ (x) = 7x and f(2) = 1
2
17. sec θ dθ
34. f ′′ (x) = 5 and f ′ (0) = 7, f(0) = 3
∫
18. sin θ dθ 35. f ′′ (x) = 7x and f ′ (1) = −1, f(1) = 10
205
36. f ′′ (x) = 5ex and f ′ (0) = 3, f(0) = 5 Review
37. f ′′ (θ) = sin θ and f ′ (π) = 2, f(π) = 4 40. Use informa on gained from the first and second deriva-
1
ves to sketch f(x) = x .
38. f ′′ (x) = 24x2 + 2x − cos x and f ′ (0) = 5, f(0) = 0 e +1
39. f ′′ (x) = 0 and f ′ (1) = 3, f(1) = 1 41. Given y = x2 ex cos x, find dy.
206
5.2 The Definite Integral
Distance = 5 · 10 + (−2) · 4 = 42 .
Hence the object is 42 feet from its star ng loca on.
We can again depict this situa on graphically. In Figure 5.2.2 we have the
veloci es graphed as straight lines on [0, 10] and [10, 14], respec vely. The dis- t (s)
5 10 15
placement of the object is
−2
“Area above the t–axis − Area below the t–axis,” .
which is easy to calculate as 50 − 8 = 42 feet. Figure 5.2.2: The total displacement is the
Now consider a more difficult problem. area above the t–axis minus the area be-
low the t–axis.
Example 5.2.1 Finding posi on using velocity
The velocity of an object moving straight up/down under the accelera on of
gravity is given as v(t) = −32t+48, where me t is given in seconds and velocity
is in /s. When t = 0, the object had a height of 0 .
1. What was the ini al velocity of the object?
2. What was the maximum height of the object?
3. What was the height of the object at me t = 2?
Notes:
207
Chapter 5 Integra on
To answer ques ons about the height of the object, we need to find the
object’s posi on func on s(t). This is an ini al value problem, which we studied
in the previous sec on. We are told the ini al height is 0, i.e., s(0) = 0. We
know s ′ (t) = v(t) = −32t + 48. To find s, we find the indefinite integral of v(t):
∫ ∫
v(t) dt = (−32t + 48) dt = −16t2 + 48t + C = s(t).
(No ce how we ended up just finding when the velocity was 0 /s!) The first
deriva ve test shows this is a maximum, so the maximum height of the object
is found at
s(1.5) = −16(1.5)2 + 48(1.5) = 36 .
The height at me t = 2 is now straigh orward to compute: it is s(2) = 32 .
y ( /s)
50
While we have answered all three ques ons, let’s look at them again graph-
ically, using the concepts of area that we explored earlier.
Figure 5.2.3 shows a graph of v(t) on axes from t = 0 to t = 3. It is again
straigh orward to find v(0). How can we use the graph to find the maximum
t (s)
height of the object?
1 2 3 Recall how in our previous work that the displacement of the object (in this
case, its height) was found as the area under the velocity curve, as shaded in the
figure. Moreover, the area between the curve and the t–axis that is below the
−50
t–axis counted as “nega ve” area. That is, it represents the object coming back
. toward its star ng posi on. So to find the maximum distance from the star ng
Figure 5.2.3: A graph of v(t) = −32t + point – the maximum height – we find the area under the velocity line that is
48; the shaded areas help determine dis- above the t–axis, i.e., from t = 0 to t = 1.5. This region is a triangle; its area is
placement.
1 1
Area = Base × Height = × 1.5s × 48 /s = 36 ,
2 2
which matches our previous calcula on of the maximum height.
Finally, to find the height of the object at me t = 2 we calculate the total
“signed area” (where some area is nega ve) under the velocity func on from
t = 0 to t = 2. This signed area is equal to s(2), the displacement (i.e., signed
distance) from the star ng posi on at t = 0 to the posi on at me t = 2. That
is,
Displacement = Area above the t–axis − Area below t–axis.
Notes:
208
5.2 The Definite Integral
The above example does not prove a rela onship between area under a ve-
locity func on and displacement, but it does imply a rela onship exists. Sec on
5.4 will fully establish fact that the area under a velocity func on is displace-
ment.
Given a graph of a func on y = f(x), we will find that there is great use in
compu ng the area between the curve y = f(x) and the x-axis. Because of this,
we need to define some terms.
By our defini on, the definite integral gives the “signed area under f.” We
usually drop the word “signed” when talking about the definite integral, and
simply say the definite integral gives “the area under f ” or, more commonly,
“the area under the curve.”
The previous sec on introduced the indefinite integral, which related to an-
deriva ves. We have now defined the definite integral, which relates to areas
under a func on. The two are very much related, as we’ll see when we learn
the Fundamental
∫ Theorem of Calculus in Sec on 5.4. Recall that earlier we said
that the “ ” symbol was an “elongated S” that represented finding a “sum.” In
the context of the definite integral, this nota on makes a bit more sense, as we
are adding up areas under the func on f.
Notes:
209
Chapter 5 Integra on
−1
∫ 5 ∫ 1
.
2. f(x) dx 5. f(x) dx
Figure 5.2.4: A graph of f(x) in Example 3 1
5.2.2. ∫ 5
3. f(x) dx
0
∫3
1. f(x) dx is the area under f on the interval [0, 3]. This region is a triangle,
0 ∫3
y so the area is 0 f(x) dx = 12 (3)(1) = 1.5.
5
∫5
2. 3
f(x) dx represents the area of the triangle found under the x–axis on
[3, 5]. The area is 21 (2)(1) = 1; since it is found under the x–axis, this is
∫5
x “nega ve area.” Therefore 3 f(x) dx = −1.
1 2 3 4 5
∫5
3. 0
f(x) dx is the total signed area under f on [0, 5]. This is 1.5+(−1) = 0.5.
−5
.
Figure 5.2.5: A graph of 5f in Example ∫3
4. 0
5f(x) dx is the area under 5f on [0, 3]. This is sketched in Figure 5.2.5.
5.2.2. (Yes, it looks just like the graph of
Again, the region is a triangle, with∫ height 5 mes that of the height of the
f in Figure 5.2.4, just with a different y- 3
scale.)
original triangle. Thus the area is 0 5f(x) dx = 12 (15)(1) = 7.5.
∫1
5. 1
f(x) dx is the area under f on the “interval” [1, 1]. This describes a line
segment, not a region; it has no width. Therefore the area is 0.
This example illustrates some of the proper es of the definite integral, given
here.
Notes:
210
5.2 The Definite Integral
Notes:
211
Chapter 5 Integra on
How do Equa ons (5.1) and (5.2) relate? Start with Equa on (5.1):
∫ a ∫ c ∫ c
f(x) dx + f(x) dx = f(x) dx
b
∫a c b
∫ a ∫ c
f(x) dx = − f(x) dx + f(x) dx
a b b
Notes:
212
5.2 The Definite Integral
The area defini on of the definite integral allows us to use geometry to com- y
pute the definite integral of some simple func ons. 10
(5, 6)
2. Recognize that the integrand of this definite integral describes a half circle, graph of f(x) = 2x − 4 in
Figure 5.2.7: A√
as sketched in Figure 5.2.7(b), with radius 3. Thus the area is: (a) and f(x) = 9 − x2 in (b), from Exam-
∫ 3√ ple 5.2.4.
1 9
9 − x2 dx = πr2 = π.
−3 2 2
y ( /s)
Example 5.2.5 Understanding mo on given velocity 15
Consider the graph of a velocity func on of an object moving in a straight line,
given in Figure 5.2.8, where the numbers in the given regions gives the area of 10
38
that region. Assume that the definite integral of a velocity func on gives dis-
placement. Find the maximum speed of the object and its maximum displace- 5
Notes:
213
Chapter 5 Integra on
y t = b, the object moves forward 38 feet, bringing it into a posi on 27 feet for-
10 ward of its star ng posi on. From t = b to t = c the object is moving backwards
again, hence its maximum displacement is 27 feet from its star ng posi on.
In our examples, we have either found the areas of regions that have nice
5 geometric shapes (such as rectangles, triangles and circles) or the areas were
given to us. Consider Figure 5.2.9, where a region below y = x2 is shaded. What
is its area? The func on y = x2 is rela vely simple, yet the shape it defines has
an area that is not simple to find geometrically.
x
. 1 2 3
In the next sec on we will explore how to find the areas of such regions.
Figure 5.2.9: What is the area below y =
x2 on [0, 3]? The region is not a usual ge-
ometric shape.
Notes:
214
Exercises 5.2
Terms and Concepts y
2. What is “displacement”?
x
∫ 3 . 1 2 3 4
3. What is sin x dx? ∫ 2 ∫ 1
3 (a) f(x) dx (d) 4x dx
0 0
∫ 4 ∫ 3
4. Give a single definite integral that has the same value as (b) f(x) dx (e) (2x − 4) dx
∫ 1 ∫ 2 2 2
(2x + 3) dx + (2x + 3) dx. ∫ 4 ∫ 3
0 1 (c) 2f(x) dx (f) (4x − 8) dx
2 2
Problems
In Exercises 5 – 10, a graph of a func on f(x) is given. Using y
y = −2x + 4 x
2 1 2 3 4
−1
5. x .
2 4
−2
−4
.
∫ ∫ ∫ 1 ∫ 3
1 3
(a) (−2x + 4) dx (d) (−2x + 4) dx (a) (x − 1) dx (d) (x − 1) dx
0 2
∫
0 1
∫ ∫ 2 ∫ 4
2 4
(b) (−2x + 4) dx (e) (−2x + 4) dx (b) (x − 1) dx (e) (x − 1) dx
0 1
∫
0 2
∫ ∫ ∫
3 1
3 4 ( )
(c) (−2x + 4) dx (f) (−6x + 12) dx (c) (x − 1) dx (f) (x − 1) + 1 dx
0 1
0 0
y
2
1
y
6. x 3
1 2 3 4 5 √
f(x) = 4 − (x − 2)2
−1
2
y = f(x) 9.
. −2
∫ 2 ∫ 5
1
215
y
10 f(x) = 3x2 − 3
y
f(x) = 3 5
3 13.
4 4
x
2 4
−2 −1 1 2
10.
1 −5
∫ −1 ∫ 1
x (a) f(x) dx (c) f(x) dx
5 10 −2 −1
∫ 5 ∫ 0 ∫ 2 ∫ 1
(a) f(x) dx (c) f(x) dx (b) f(x) dx (d) f(x) dx
0 0 1 0
∫ 7 ∫ b
(b) f(x) dx (d) f(x) dx, where y
3 a 4
0 ≤ a ≤ b ≤ 10
3 f(x) = x2
numbers inside the shaded regions give the area of that re-
1
gion. Evaluate the definite integrals using this area informa-
on. .
1/3 7/3
x
1 2
∫ 2 ∫ 3
y (a) 5x2 dx (c) (x − 1)2 dx
50 0 1
∫ ∫
y = f(x) 2 4 ( )
11 21 (b) (x2 + 3) dx (d) (x − 2)2 + 5 dx
x 0 2
59 1 2 3
11.
−50 In Exercises 15 – 16, a graph of the velocity func on of an ob-
ject moving in a straight line is given. Answer the ques ons
based on that graph.
. −100
∫ 1 ∫ 3
y ( /s)
(a) f(x) dx (c) f(x) dx
0 0 2
∫ 2 ∫ 2
(b) f(x) dx (d) −3f(x) dx
1
0 1
15.
y t (s)
1 2 3
1
f(x) = sin(πx/2) −1.
4/π
.
∫ 2 ∫ 4
y ( /s)
3
(a) f(x) dx (c) f(x) dx
0 0
∫ 4 ∫ 1 2
(b) f(x) dx (d) f(x) dx 16.
2 0
1
t (s)
1 2 3 4 5
.
(a) What is the object’s maximum velocity?
(b) What is the object’s maximum displacement?
(c) What is the object’s total displacement on [0, 5]?
216
17. An object is thrown straight up with a velocity, in /s, given In Exercises 23 – 26, let
by v(t) = −32t + 64, where t is in seconds, from a height ∫ 3
of 48 feet. • s(t) dt = 10,
0
(a) What is the object’s maximum velocity? ∫ 5
(b) What is the object’s maximum displacement? • s(t) dt = 8,
3
(c) When does the maximum displacement occur? ∫ 5
(d) When will the object reach a height of 0? (Hint: find • r(t) dt = −1, and
when the displacement is −48 .) 3
∫ 5
18. An object is thrown straight up with a velocity, in /s, given • r(t) dt = 11.
0
by v(t) = −32t + 96, where t is in seconds, from a height
of 64 feet. Use these values to evaluate the given definite integrals.
∫
In Exercises 19 – 22, let 3 ( )
∫ 2 25. πs(t) − 7r(t) dt
• f(x) dx = 5, 3
0
∫ 3
26. Find nonzero values for a and b such that
• f(x) dx = 7, ∫ 5
( )
0
∫ 2 ar(t) + bs(t) dt = 0
0
• g(x) dx = −3, and
0
∫ 3
• g(x) dx = 5.
2
Review
Use these values to evaluate the given definite integrals.
In Exercises 27 – 30, evaluate the given indefinite integral.
∫ 2 ( ) ∫
19. f(x) + g(x) dx ( 3 )
0 27. x − 2x2 + 7x − 9 dx
∫ 3 ( ) ∫
20. f(x) − g(x) dx ( )
0 28. sin x − cos x + sec2 x dx
∫ 3 ( ) ∫
21. 3f(x) + 2g(x) dx (√ 1 )
2 29. 3
t + 2 + 2t dt
t
22. ∫
Find nonzero values for a and b such that ∫ ( )
3( ) 1
af(x) + bg(x) dx = 0 30. − csc x cot x dx
0 x
217
Chapter 5 Integra on
Notes:
218
5.3 Riemann Sums
Using the y
Example 5.3.1 ∫ 4 Le Hand, Right Hand and Midpoint Rules
Approximate the value of 0 (4x − x2 ) dx using the Le Hand Rule, the Right
Hand Rule, and the Midpoint Rule, using 4 equally spaced subintervals. 4
3
S We break the interval [0, 4] into four subintervals as before.
In Figure 5.3.3(a) we see 4 rectangles drawn on f(x) = 4x − x2 using the Le 2
Hand Rule. (The areas of the rectangles are given in each figure.) 1
Note how in the first subinterval, [0, 1], the rectangle has height f(0) = 0. 0 3 4 3 x
We add up the areas of each rectangle (height× width) for our Le Hand Rule 1 2 3 4
approxima on: .
(a)
f(0) · 1 + f(1) · 1 + f(2) · 1 + f(3) · 1 = y
0 + 3 + 4 + 3 = 10.
4
Figure 5.3.3(b) shows 4 rectangles drawn under f using the Right Hand Rule; 3
note how the [3, 4] subinterval has a rectangle of height 0.
In this example, these rectangle seem to be the mirror image of those found 2
in part (a) of the Figure. This is because of the symmetry of our shaded region. 1
Our approxima on gives the same answer as before, though calculated a differ- 3 4 3 0 x
ent way: 1 2 3 4
.
f(1) · 1 + f(2) · 1 + f(3) · 1 + f(4) · 1 = (b)
y
3 + 4 + 3 + 0 = 10.
Notes:
219
Chapter 5 Integra on
∑
9
ai .
i=1
.
i=index lower
of summa on bound
The upper case sigma represents the term “sum.” The index of summa on
in this example is i; any symbol can be used. By conven on, the index takes on
only the integer values between (and including) the lower and upper bounds.
Let’s prac ce using this nota on.
∑
6 ∑
7 ∑
4
1. ai 2. (3ai − 4) 3. (ai )2
i=1 i=3 i=1
S
∑
6
1. ai = a 1 + a2 + a 3 + a4 + a5 + a6
i=1
= 1 + 3 + 5 + 7 + 9 + 11
= 36.
∑
7
(3ai − 4) = (3a3 − 4) + (3a4 − 4) + (3a5 − 4) + (3a6 − 4) + (3a7 − 4)
i=3
= 11 + 17 + 23 + 29 + 35
= 115.
Notes:
220
5.3 Riemann Sums
3.
∑
4
(ai )2 = (a1 )2 + (a2 )2 + (a3 )2 + (a4 )2
i=1
= 12 + 32 + 52 + 72
= 84.
It might seem odd to stress a new, concise way of wri ng summa ons only
to write each term out as we add them up. It is. The following theorem gives
some of the proper es of summa ons that allow us to work with them without
wri ng individual terms. Examples will follow.
∑
n ∑
n
n(n + 1)
1. c = c · n, where c is a constant. 5. i=
i=1 i=1
2
∑
n ∑
n ∑
n ∑
n
n(n + 1)(2n + 1)
2. (ai ± bi ) = ai ± bi 6. i2 =
i=m i=m i=m i=1
6
∑
n ∑
n ∑
n ( )2
n(n + 1)
3. c · ai = c · ai 7. i3 =
i=m i=m i=1
2
∑
j ∑
n ∑
n
4. ai + ai = ai
i=m i=j+1 i=m
∑
6 ∑
6
ai = (2i − 1).
i=1 i=1
Notes:
221
Chapter 5 Integra on
∑
6 ∑
6 ∑
6
(2i − 1) = 2i − (1)
i=1 i=1 i=1
( )
∑
6
= 2 i −6
i=1
6(6 + 1)
=2 −6
2
= 42 − 6 = 36
We obtained the same answer without wri ng out all six terms. When dealing
with small sizes of n, it may be faster to write the terms out by hand. However,
Theorem 5.3.1 is incredibly important when dealing with large sums as we’ll
soon see.
Riemann Sums
∫4
Consider again 0 (4x − x2 ) dx. We will approximate this definite integral
using 16 equally spaced subintervals and the Right Hand Rule in Example 5.3.4.
Before doing so, it will pay to do some careful prepara on.
Figure 5.3.5 shows a number line of [0, 4] divided, or par oned, into 16
equally spaced subintervals. We denote 0 as x1 ; we have marked the values of x5 ,
x9 , x13 and x17 . We could mark them all, but the figure would get crowded. While
.
0 1 2 3 4 it is easy to figure that x10 = 2.25, in general, we want a method of determining
x1 x5 x9 x13 x17 the value of xi without consul ng the figure. Consider:
xi = x1 + (i − 1)∆x
. star ng subinterval
value size
Notes:
222
5.3 Riemann Sums
Given any subdivision of [0, 4], the first subinterval is [x1 , x2 ]; the second is
[x2 , x3 ]; the i th subinterval is [xi , xi+1 ].
When using the Le Hand Rule, the height of the i th rectangle will be f(xi ).
When using the Right Hand Rule, the height of the i th rectangle will be f(xi+1 ).
( )
th xi + xi+1
When using the Midpoint Rule, the height of the i rectangle will be f .
2
∫4
Thus approxima ng 0 (4x − x2 ) dx with 16 equally spaced subintervals can
be expressed as follows, where ∆x = 4/16 = 1/4:
∑
16
Le Hand Rule: f(xi )∆x
i=1
∑
16
Right Hand Rule: f(xi+1 )∆x
i=1
∑16 ( )
xi + xi+1
Midpoint Rule: f ∆x
i=1
2
We use these formulas in the next two examples. The following example lets
us prac ce using the Right Hand Rule and the summa on formulas introduced
in Theorem 5.3.1.
∑
16
f(xi+1 )∆x.
i=1
( )
xi+1 = 0 + (i + 1) − 1 ∆x
= i∆x
Notes:
223
Chapter 5 Integra on
y We were able to sum up the areas of 16 rectangles with very li le computa on.
In Figure 5.3.6 the func on and the 16 rectangles are graphed. While some
4 rectangles over–approximate the area, other under–approximate the area (by
about the same amount). Thus our approximate area of 10.625 is likely a fairly
3
good approxima on.
2 No ce Equa on (5.3); by changing the 16’s to 1,000’s (and appropriately
changing the value of ∆x), we can use that equa on to sum up 1000 rectan-
1
gles! We do so here, skipping from the original summand to the equivalent of
x Equa on (5.3) to save space. Note that ∆x = 4/1000 = 0.004.
1 2 3 4
. ∫ 4 ∑
1000
∫4 (4x − x2 ) dx ≈ f(xi+1 )∆x
Figure 5.3.6: Approxima ng 0 (4x −
0 i=1
x2 ) dx with the Right Hand Rule and 16
evenly spaced subintervals. ∑
1000 ∑
1000
= (4∆x2 ) i − ∆x3 i2
i=1 i=1
1000 · 1001 1000(1001)(2001)
= (4∆x2 ) − ∆x3
2 6
= 10.666656
∫Using
4
many, many rectangles, we have a likely good approxima on of
0
(4x − x2 )∆x. That is,
∫ 4
(4x − x2 ) dx ≈ 10.666656.
0
Notes:
224
5.3 Riemann Sums
Before the above example, we stated what the summa ons for the Le Hand,
Right Hand and Midpoint Rules looked like. Each had the same basic structure,
which was:
1. each rectangle has the same width, which we referred to as ∆x, and
2. each rectangle’s height is determined by evalua ng f at a par cular point
in each subinterval. For instance, the Le Hand Rule states that each rect-
angle’s height is determined by evalua ng f at the le hand endpoint of
the subinterval the rectangle lives on.
One could par on an interval [a, b] with subintervals that do not have the same
size. We refer to the length of the i th subinterval as ∆xi . Also, one could deter-
mine each rectangle’s height by evalua ng f at any point ci in the i th subinterval.
Thus the height of the i th subinterval would be f(ci ), and the area of the i th rect-
angle would be f(ci )∆xi . These ideas are formally defined below.
The size of the par on, denoted ||∆x||, is the length of the largest
subinterval of the par on.
Summa ons of rectangles with area f(ci )∆xi are named a er mathema cian
Georg Friedrich Bernhard Riemann, as given in the following defini on.
Notes:
225
Chapter 5 Integra on
y ∫4
Figure 5.3.7 shows the approxima ng rectangles of a Riemann sum of 0 (4x−
4
x2 ) dx. While the rectangles in this example do not approximate well the shaded
area, they demonstrate that the subinterval widths may vary and the heights of
3 the rectangles can be determined without following a par cular rule.
2 “Usually” Riemann sums are calculated using one of the three methods we
have introduced. The uniformity of construc on makes computa ons easier.
1
Before working another example, let’s summarize some of what we have learned
x in a convenient way.
1 2 3 4
.
Figure 5.3.7: An example of∫a general Rie- Key Idea 5.3.1 Riemann Sum Concepts
4
mann sum to approximate 0 (4x−x2 ) dx. ∫ b ∑
n
Consider f(x) dx ≈ f(ci )∆xi .
a i=1
b−a
1. When the n subintervals have equal length, ∆xi = ∆x = .
n
2. The i th term of an equally spaced par on is xi = a + (i − 1)∆x.
(Thus x1 = a and xn+1 = b.)
∑
n
3. The Le Hand Rule summa on is: f(xi )∆x.
i=1
∑
n
4. The Right Hand Rule summa on is: f(xi+1 )∆x.
i=1
∑n ( )
xi + xi+1
5. The Midpoint Rule summa on is: f ∆x.
i=1
2
3 − (−2)
∆x = = 1/2 and xi = (−2) + (1/2)(i − 1) = i/2 − 5/2.
10
Notes:
226
5.3 Riemann Sums
xi + xi+1
As we are using the Midpoint Rule, we will also need xi+1 and . Since
2
xi = i/2 − 5/2, xi+1 = (i + 1)/2 − 5/2 = i/2 − 2. This gives
xi + xi+1 (i/2 − 5/2) + (i/2 − 2) i − 9/2
= = = i/2 − 9/4.
2 2 2
We now construct the Riemann sum and compute its value using summa on
formulas.
∫ 3 ∑10 ( )
xi + xi+1
(5x + 2) dx ≈ f ∆x
−2 i=1
2
∑
10
= f(i/2 − 9/4)∆x
i=1
∑
10
( )
= 5(i/2 − 9/4) + 2 ∆x
i=1
10 [( )
∑ ] y
5 37
= ∆x i− 17
i=1
2 4
( 10 ( ))
5∑ ∑
10
37 10
= ∆x (i) −
2 i=1 i=1
4
( )
1 5 10(11) 37
= · − 10 · x
2 2 2 4 −2 −1 1 2 3
45
= = 22.5 −8
2 .
∫3
Note the graph of f(x) = 5x + 2 in Figure 5.3.8. The regions whose area is Figure 5.3.8: Approxima ng −2 (5x +
2) dx using the Midpoint Rule and 10
computed by the definite integral are triangles, meaning we can find the exact
evenly spaced subintervals in Example
answer without summa on techniques. We find that the exact answer is indeed
5.3.5.
22.5. One of the strengths of the Midpoint Rule is that o en each rectangle
includes area that should not be counted, but misses other area that should.
When the par on size is small, these two amounts are about equal and these
errors almost “cancel each other out.” In this example, since our func on is a
line, these errors are exactly equal and they do cancel each other out, giving us
the exact answer.
Note too that when the func on is nega ve, the rectangles have a “nega ve”
height. When we compute the area of the rectangle, we use f(ci )∆x; when f is
nega ve, the area is counted as nega ve.
Notes:
227
Chapter 5 Integra on
Mathema cians love to abstract ideas; let’s approximate the area of another re-
gion using n subintervals, where we do not specify a value of n un l the very end.
Notes:
228
5.3 Riemann Sums
Both common sense and high–level mathema cs tell us that as n gets large, the
∫ 4 In fact, if we take the limit as n → ∞, we get the
approxima on gets be er.
exact area described by 0 (4x − x2 ) dx. That is,
∫ 4 ( )
32 1
(4x − x ) dx = lim
2
1− 2
0 n→∞ 3 n
32
= (1 − 0)
3
32
= = 10.6
3
This is a fantas c result. By considering n equally–spaced subintervals, we ob-
tained a formula for an approxima on of the definite integral that involved our
variable n. As n grows large – without bound – the error shrinks to zero and we
obtain the exact area.
Notes:
229
Chapter 5 Integra on
plifica ons):
∫ 5 ∑
n
x3 dx ≈ f(xi+1 )∆x
−1 i=1
∑
n
= f(−1 + i∆x)∆x
i=1
∑n
= (−1 + i∆x)3 ∆x
i=1
∑
n
( )
= (i∆x)3 − 3(i∆x)2 + 3i∆x − 1 ∆x (now distribute ∆x)
i=1
∑n
(3 4 )
= i ∆x − 3i2 ∆x3 + 3i∆x2 − ∆x (now split up summa on)
i=1
∑
n ∑
n ∑
n ∑
n
= ∆x4 i3 − 3∆x3 i2 + 3∆x2 i− ∆x
i=1 i=1 i=1 i=1
( )2
n(n + 1) n(n + 1)(2n + 1) n(n + 1)
= ∆x4 − 3∆x3 + 3∆x2 − n∆x
y 2 6 2
(use ∆x = 6/n)
100
1296 n2 (n + 1)2 216 n(n + 1)(2n + 1) 36 n(n + 1)
= · −3 3 · +3 2 −6
n4 4 n 6 n 2
(now do a sizable amount of algebra to simplify)
50
378 216
= 156 + + 2
n n
. x Once again, we have found a compact formula for approxima ng the definite
−1 1 2 3 4 5
integral with n equally spaced subintervals and the Right Hand Rule. Using 10
∫5 subintervals, we have an approxima on of 195.96 (these rectangles are shown
Figure 5.3.9: Approxima ng −1 x3 dx us-
ing the Right Hand Rule and 10 evenly in Figure 5.3.9). Using n = 100 gives an approxima on of 159.802.
spaced subintervals. Now find the exact answer using a limit:
∫ 5 ( )
378 216
x3 dx = lim 156 + + 2 = 156.
−1 n→∞ n n
We have used limits to evaluate given definite integrals. Will this always
work? We will show, given not–very–restric ve condi ons, that yes, it will al-
ways work.
Notes:
230
5.3 Riemann Sums
∑
n
f(xi+1 )∆x
i=1
∑
n
• SL (n) = f(xi )∆x, the sum of equally spaced rectangles formed using
i=1
the Le Hand Rule,
∑
n
• SR (n) = f(xi+1 )∆x, the sum of equally spaced rectangles formed us-
i=1
ing the Right Hand Rule, and
∑n ( )
xi + xi+1
• SM (n) = f ∆x, the sum of equally spaced rectangles
i=1
2
formed using the Midpoint Rule.
Recall the defini on of a limit as n → ∞: lim SL (n) = K if, given any ε > 0,
n→∞
there exists N > 0 such that
The following theorem states that we can use any of our three rules to find
∫b
the exact value of a definite integral a f(x) dx. It also goes two steps further.
The theorem states that the height of each rectangle doesn’t have to be deter-
mined following a specific rule, but could be f(ci ), where ci is any point in the i th
subinterval, as discussed before Riemann Sums were defined in Defini on 5.3.2.
The theorem goes on to state that the rectangles do not need to be of the
same width. Using the nota on of Defini on 5.3.1, let ∆xi denote the length
of the i th subinterval in a par on of [a, b] and let ||∆x|| represent the length
of the largest subinterval in the par on: that is, ||∆x|| is the largest of all the
∆xi ’s. If ||∆x|| is small, then [a, b] must be par oned into many subintervals,
since all subintervals must have small lengths. “Taking the limit as ||∆x|| goes
to zero” implies that the number n of subintervals in the par on is growing to
Notes:
231
Chapter 5 Integra on
as “the limit of the sum of the areas of rectangles, where the width of each
rectangle can be different but ge ng small, and the height of each rectangle is
not necessarily determined by a par cular rule.” The theorem states that this
Riemann Sum also gives the value of the definite integral of f over [a, b].
∑
n ∫ b
2. lim f(ci )∆x = f(x) dx, and
n→∞ a
i=1
∑
n ∫ b
3. lim f(ci )∆xi = f(x) dx.
∥∆x∥→0 a
i=1
We summarize what we have learned over the past few sec ons here.
• Knowing the “area under the curve” can be useful. One common example:
the area under a velocity curve is displacement.
∫b
• We have defined the definite integral, a f(x) dx, to be the signed area
under f on the interval [a, b].
• The exact value of the definite integral can be computed using the limit of
a Riemann sum. We generally use one of the above methods as it makes
the algebra simpler.
Notes:
232
5.3 Riemann Sums
We first learned of deriva ves through limits then learned rules that made
the process simpler. We know of a way to evaluate a definite integral using limits;
in the next sec on we will see how the Fundamental Theorem of Calculus makes
the process simpler. The key feature of this theorem is its connec on between
the indefinite integral and the definite integral.
Notes:
233
Exercises 5.3
Terms and Concepts 16. 1 − e + e2 − e3 + e4
Problems
∑
15
In Exercises 5 – 12, write out each term of the summa on and 20. (2i3 − 10)
i=1
compute the sum.
∑
4 ∑
10
∑
3
∑
10
6. (4i − 2) 22. (i3 − 3i2 + 2i + 7)
i=−1 i=1
∑
2
23. 1 + 2 + 3 + . . . + 99 + 100
7. sin(πi/2)
i=−2
24. 1 + 4 + 9 + . . . + 361 + 400
∑
10
8. 5
Theorem 5.3.1 states
i=1
∑n ∑k ∑
n
ai = ai + ai , so
∑5
1 i=1 i=1 i=k+1
9.
i=1
i ∑
n ∑
n ∑
k
ai = ai − ai .
∑
6 i=k+1 i=1 i=1
10. (−1)i i Use this fact, along with other parts of Theorem 5.3.1, to eval-
i=1 uate the summa ons given in Exercises 25 – 28.
4 (
∑ )
1 1 ∑
20
11. −
i=1
i i+1 25. i
i=11
∑
5
12. (−1)i cos(πi) ∑
25
i=0 26. i3
i=16
In Exercises 13 – 16, write each sum in summa on nota on.
∑
12
13. 3 + 6 + 9 + 12 + 15 27. 4
i=7
14. −1 + 0 + 3 + 8 + 15 + 24 + 35 + 48 + 63
∑
10
1 2 3 4 28. 4i3
15. + + +
2 3 4 5 i=5
234
∫ 1
In Exercises
∫ 29 – 34, a definite integral 35. x3 dx, using the Right Hand Rule.
b
0
f(x) dx is given.
a ∫ 1
(a) Graph f(x) on [a, b]. 36. 3x2 dx, using the Le Hand Rule.
(b) Add to the sketch rectangles using the provided rule. −1
∫ b
∫ 3
(c) Approximate f(x) dx by summing the areas of the
a 37. (3x − 1) dx, using the Midpoint Rule.
rectangles. −1
∫ 3 ∫ 4
29. x2 dx, with 6 rectangles using the Le Hand Rule. 38. (2x2 − 3) dx, using the Le Hand Rule.
−3 1
∫ 2 ∫ 10
30. (5 − x2 ) dx, with 4 rectangles using the Midpoint Rule. 39. (5 − x) dx, using the Right Hand Rule.
0 −10
∫ π ∫ 1
31. sin x dx, with 6 rectangles using the Right Hand Rule.
0
40. (x3 − x2 ) dx, using the Right Hand Rule.
0
∫ 3
32. 2x dx, with 5 rectangles using the Le Hand Rule.
0
Review
∫ 2
33. ln x dx, with 3 rectangles using the Midpoint Rule. In Exercises 41 – 46, find an an deriva ve of the given func-
1
on.
∫ 9
1
34. dx, with 4 rectangles using the Right Hand Rule.
1 x 41. f(x) = 5 sec2 x
In Exercises
∫ 35 – 40, a definite integral 7
b 42. f(x) =
f(x) dx is given. As demonstrated in Examples 5.3.6 x
a
and 5.3.7, do the following. 43. g(t) = 4t5 − 5t3 + 8
∫ b
(a) Find a formula to approximate f(x) dx using n
a 44. g(t) = 5 · 8t
subintervals and the provided rule.
(b) Evaluate the formula using n = 10, 100 and 1, 000. 45. g(t) = cos t + sin t
∫ the formula, as n → ∞, to find the
(c) Find the limit of
b
1
exact value of f(x) dx. 46. f(x) = √
a x
235
Chapter 5 Integra on
F ′ (x) = f(x).
Example 5.4.1
∫ Using the Fundamental Theorem of Calculus, Part 1
x
Let F(x) = (t + sin t) dt. What is F ′ (x)?
2
−5
Notes:
236
5.4 The Fundamental Theorem of Calculus
We now see how indefinite integrals and definite integrals are related: we can
evaluate a definite integral using an deriva ves! This is the second part of the
Fundamental Theorem of Calculus.
Notes:
237
Chapter 5 Integra on
The Constant C: Any an deriva ve F(x) can be chosen when using the Funda-
mental Theorem of Calculus to evaluate a definite integral, meaning any value
of C can be picked. The constant always cancels out of the expression when
evalua ng F(b) − F(a), so it does not ma er what value is picked. This being
the case, we might as well let C = 0.
S
∫ 2 ( ) ( )
2
1 4 1 4 1
1. 3
x dx = x = 2 − 4
(−2) = 0.
−2 4 −2 4 4
∫ π π
( )
2. sin x dx = − cos x = − cos π − − cos 0 = 1 + 1 = 2.
0 0
(This is interes ng; it says that the area under one “hump” of a sine curve
is 2.)
∫ 5 5
3. et dt = et = e5 − e0 = e5 − 1 ≈ 147.41.
0 0
∫ ∫ 9
9 √ 9
1 2 3 2( 3 3
) 2( ) 38
4. u du = u du = u 2 =
2 9 2 − 4 2 = 27 − 8 = .
4 4 3 4 3 3 3
∫ 5 5
5. 2 dx = 2x = 2(5) − 2 = 2(5 − 1) = 8.
1 1
This integral is interes ng; the integrand is a constant func on, hence we
are finding the area of a rectangle with width (5 − 1) = 4 and height 2.
No ce how the evalua on of the definite integral led to 2(4) = 8.
∫b
In general, if c is a constant, then a c dx = c(b − a).
Notes:
238
5.4 The Fundamental Theorem of Calculus
where V(t) is any an deriva ve of v(t). Since v(t) is a velocity func on, V(t)
must be a posi on func on, and V(b) − V(a) measures a change in posi on, or
displacement.
Thus if a ball is thrown straight up into the air with velocity v(t) = −32t + 20,
the height of the ball, 1 second later, will be 4 feet above the ini al height. (Note
that the ball has traveled much farther. It has gone up to its peak and is falling
down, but the difference between its height at t = 0 and t = 1 is 4 .)
Integra ng a rate of change func on gives total change. Velocity is the rate
of posi on change; integra ng velocity gives the total change of posi on, i.e.,
displacement.
Integra ng a speed func on gives a similar, though different, result. Speed
is also the rate of posi on change, but does not account for direc on. So inte-
gra ng a speed func on gives total change of posi on, without the possibility
of “nega ve posi on change.” Hence the integral of a speed func on gives dis-
tance traveled.
As accelera on is the rate of velocity change, integra ng an accelera on
func on gives total change in velocity. We do not have a simple term for this
analogous to displacement. If a(t) = 5miles/h2 and t is measured in hours,
then ∫ 3
a(t) dt = 15
0
means the velocity has increased by 15m/h from t = 0 to t = 3.
Notes:
239
Chapter 5 Integra on
∫ x Part 1 of the Fundamental Theorem of Calculus (FTC) states that given F(x) =
d( )
f(t) dt, F ′ (x) = f(x). Using other nota on, F(x) = f(x). While we have
a dx
just prac ced evalua ng definite integrals, some mes finding an deriva ves is
impossible and we need to rely on other techniques ∫ xto approximate the value
of a definite integral. Func ons wri en as F(x) = a f(t) dt are useful in such
situa ons.
It may be of further use to compose such a func on with another. As an
example, we may compose F(x) with g(x) to get
∫
( ) g(x)
F g(x) = f(t) dt.
a
What is the deriva ve of such a func on? The Chain Rule can be employed to
state
d( ( )) ( ) ( )
F g(x) = F ′ g(x) g ′ (x) = f g(x) g ′ (x).
dx
An example will help us understand this.
Notes:
240
5.4 The Fundamental Theorem of Calculus
∫ cos x
S Note that F(x) = − t3 dt. Viewed this way, the deriva-
5
ve of F is straigh orward:
y
′ 3
F (x) = sin x cos x.
f(x)
Consider con nuous func ons f(x) and g(x) defined on [a, b], where f(x) ≥
g(x) for all x in [a, b], as demonstrated in Figure 5.4.2. What is the area of the x
shaded region bounded by the two curves over [a, b]? a b
The area can be found by recognizing that this area is “the area under f − .
y
the area under g.” Using mathema cal nota on, the area is
∫ b ∫ b f(x)
f(x) dx − g(x) dx.
a a
g(x)
Proper es of the definite integral allow us to simplify this expression to
∫ x
b ( ) a b
f(x) − g(x) dx. .
a
Figure 5.4.2: Finding the area bounded by
two func ons on an interval; it is found
by subtrac ng the area under g from the
Theorem 5.4.3 Area Between Curves area under f.
Let f(x) and g(x) be con nuous func ons defined on [a, b] where f(x) ≥
g(x) for all x in [a, b]. The area of the region bounded by the curves
y = f(x), y = g(x) and the lines x = a and x = b is
∫ b ( )
f(x) − g(x) dx.
a y
15 y = x2 + x − 5
10
Example 5.4.7 Finding area between curves
Find the area of the region enclosed by y = x2 + x − 5 and y = 3x − 2. 5
241
Chapter 5 Integra on
x2 + x − 5 = 3x − 2
(x2 + x − 5) − (3x − 2) = 0
x2 − 2x − 3 = 0
(x − 3)(x + 1) = 0
x x = −1, 3.
1 2 3 4
.
Following Theorem 5.4.3, the area is
Figure 5.4.4: A graph of a func on f to in-
troduce the Mean Value Theorem.
∫ ∫
3 ( ) 3
y
3x − 2 − (x2 + x − 5) dx = (−x2 + 2x + 3) dx
−1 −1
( )3
1 3
= − x + x + 3x
2
3 −1
( )
1 1
= − (27) + 9 + 9 − +1−3
3 3
2
= 10 = 10.6
x 3
1 2 3 4
.
(a)
y
The Mean Value Theorem and Average Value
∫ 4 Consider the graph of a func on f in Figure 5.4.4 and the area defined by
1
f(x) dx. Three rectangles are drawn in Figure 5.4.5; in (a), the height of the
rectangle is greater than f on [1, 4], hence the area of this rectangle is is greater
∫4
than 0 f(x) dx.
x In (b), the height of the rectangle is smaller than f on [1, 4], hence the area
1 2 3 4 ∫4
of this rectangle is less than 1 f(x) dx.
.
(b) Finally, in (c) the
∫ 4height of the rectangle is such that the area of the rectangle
y is exactly that of 0 f(x) dx. Since rectangles that are “too big”, as in (a), and
∫4
rectangles that are “too li le,” as in (b), give areas greater/lesser than 1 f(x) dx,
it makes sense that there is a rectangle, whose top intersects f(x) somewhere
on [1, 4], whose area is exactly that of the definite integral.
We state this idea formally in a theorem.
x
1 2 3 4
. Notes:
(c)
242
5.4 The Fundamental Theorem of Calculus
y
Theorem 5.4.4 The Mean Value Theorem of Integra on
Let f be con nuous on [a, b]. There exists a value c in [a, b] such that 1
∫ b
f(x) dx = f(c)(b − a). sin 0.69
a
Example 5.4.8
∫π Using the Mean Value Theorem
Consider 0 sin x dx. Find a value c guaranteed by the Mean Value Theorem.
∫π
S We first need to evaluate 0 sin x dx. (This was previously
done in Example 5.4.3.)
∫ π π y
sin x dx = − cos x = 2.
0 0 y = f(x)
In Figure 5.4.6 sin x is sketched along with a rectangle with height sin(0.69). x
a c b
The area of the rectangle is the same as the area under sin x on [0, π].
.
∫b (a)
Let f be a func on on [a, b] with c such that f(c)(b−a) = f(x) dx. Consider
∫b( ) a y
a
f(x) − f(c) dx:
∫ ∫ ∫
b ( ) b b
y = f(x) − f(c)
f(x) − f(c) dx = f(x) − f(c) dx
a a a f(c)
= f(c)(b − a) − f(c)(b − a)
= 0.
x
When f(x) is shi ed by −f(c), the amount of area under f above the x–axis on a c b
[a, b] is the same as the amount of area below the x–axis above f; see Figure .
5.4.7 for an illustra on of this. In this sense, we can say that f(c) is the average (b)
value of f on [a, b].
Figure 5.4.7: In (a), a graph of y =
f(x) and the rectangle guaranteed by the
Mean Value Theorem. In (b), y = f(x) is
shi ed down by f(c); the resul ng “area
Notes: under the curve” is 0.
243
Chapter 5 Integra on
The value f(c) is the average value in another sense. First, recognize that the
Mean Value Theorem can be rewri en as
∫ b
1
f(c) = f(x) dx,
b−a a
for some value of c in [a, b]. Next, par on the interval [a, b] into n equally
spaced subintervals, a = x1 < x2 < . . . < xn+1 = b and choose any ci in
[xi , xi+1 ]. The average of the numbers f(c1 ), f(c2 ), …, f(cn ) is:
1( ) 1∑ n
f(c1 ) + f(c2 ) + . . . + f(cn ) = f(ci ).
n n i=1
(b−a)
Mul ply this last expression by 1 in the form of (b−a) :
1∑ ∑
n n
1
f(ci ) = f(ci )
n i=1 i=1
n
∑
n
1 (b − a)
= f(ci )
i=1
n (b − a)
1 ∑
n
b−a
= f(ci )
b − a i=1 n
1 ∑
n
= f(ci )∆x (where ∆x = (b − a)/n)
b − a i=1
Notes:
244
5.4 The Fundamental Theorem of Calculus
We can understand the above example through a simpler situa on. Suppose
you drove 100 miles in 2 hours. What was your average speed? The answer is
simple: displacement/ me = 100 miles/2 hours = 50 mph.
What was the displacement of the object
∫3 in Example 5.4.9? We calculate
this by integra ng its velocity func on: 0 (t − 1)2 dt = 3 . Its final posi on
was 3 feet from its ini al posi on a er 3 seconds: its average velocity was 1 /s.
This sec on has laid the groundwork for a lot of great mathema cs to fol-
low. The most important lesson is this: definite integrals can be evaluated using
an deriva ves. Since the previous sec on established that definite integrals are
the limit of Riemann sums, we can later create Riemann sums to approximate
values other than “area under the curve,” convert the sums to definite integrals,
then evaluate these using the Fundamental Theorem of Calculus. This will allow
us to compute the work done by a variable force, the volume of certain solids,
the arc length of curves, and more.
The downside is this: generally speaking, compu ng an deriva ves is much
more difficult than compu ng deriva ves. The next chapter is devoted to tech-
niques of finding an deriva ves so that a wide variety of definite integrals can
be evaluated. Before that, the next sec on explores techniques of approximat-
ing the value of definite integrals beyond using the Le Hand, Right Hand and
Midpoint Rules. These techniques are invaluable when an deriva ves cannot
be computed, or when the actual func on f is unknown and all we know is the
value of f at certain x-values.
Notes:
245
Exercises 5.4 ∫
Terms and Concepts 18.
2
1
dx
1 x
1. How are definite and indefinite integrals related?
∫ 2
2. What constant of integra on is most commonly used when 1
19. dx
evalua ng definite integrals? 1 x2
∫ x
3. T/F: If f is a con nuous func on, then F(x) = f(t) dt is ∫ 2
1
a 20. dx
also a con nuous func on. 1 x3
Problems ∫ 1
22. x2 dx
In Exercises 5 – 28, evaluate the definite integral. 0
∫ 3
∫
5. (3x2 − 2x + 1) dx 1
1 23. x3 dx
0
∫ 4
6. (x − 1)2 dx ∫
0 1
24. x100 dx
∫ 1 0
7. (x3 − x5 ) dx
−1
∫ 4
∫ π 25. dx
8. cos x dx −4
π/2
∫ π/4
∫ −5
9. sec2 x dx 26. 3 dx
0 −10
∫ e
1 ∫
10. dx 2
1 x 27. 0 dx
−2
∫ 1
11. 5x dx
−1 ∫ π/3
∫ −1
28. csc x cot x dx
3 π/6
12. (4 − 2x ) dx
−2
∫ 3 ∫ 1
14. ex dx
1
(a) xn dx = 0, when n is a posi ve, odd integer, and
−1
∫ 4 √
15. t dt ∫ ∫
0 1 1
(b) xn dx = 2 xn dx when n is a posi ve, even
∫ 25 −1 0
1 integer.
16. √ dt
9 t
∫ ∫
8 √
3
a+2π
17. x dx 30. Explain why sin t dt = 0 for all values of a.
1 a
246
In Exercises 31 – 34, find a value c guaranteed by the Mean In Exercises 47 – 50, an accelera on func on of an object
Value Theorem. moving along a straight line is given. Find the change of the
∫ 2 object’s velocity over the given me interval.
31. x2 dx
0
47. a(t) = −32 /s2 on [0, 2]
∫ 2
32. x2 dx
−2 48. a(t) = 10 /s2 on [0, 5]
∫ 1
33. ex dx 49. a(t) = t /s2 on [0, 2]
0
In Exercises 35 – 40, find the average value of the func on on In Exercises 51 – 54, sketch the given func ons and find the
the given interval. area of the enclosed region.
247
Chapter 5 Integra on
∫ The simplest way to refer to the an deriva ves of e−x is to simply write
0.5 −x2
e dx.
This sec on outlines three common methods of approxima ng the value of
x definite integrals. We describe each as a systema c method of approxima ng
−1 1
area under a curve. By approxima ng this area accurately, we find an accurate
−0.5
approxima on of the corresponding definite integral.
.. We will apply the methods we learn in this sec on to the following definite
integrals:
(b)
∫ 1 ∫ π ∫ 4π
2 2 sin(x)
y
e−x dx, sin(x3 ) dx, and dx,
1 0 − π4 0.5 x
Notes:
248
5.5 Numerical Integra on
Key Idea 5.3.1 states that to use the Le Hand Rule we use the summa on
∑
n ∑ n
f(xi )∆x and to use the Right Hand Rule we use f(xi+1 )∆x. We review
i=1 i=1
the use of these rules in the context of examples.
∑
n
( ) x
f(xi )∆x = f(x1 ) + f(x2 ) + f(x3 ) + f(x4 ) + f(x5 ) ∆x 0.2 0.4 0.6 0.8 1
.
i=1
( )
= f(0) + f(0.2) + f(0.4) + f(0.6) + f(0.8) ∆x (a)
(
≈ 1 + 0.961 + 0.852 + 0.698 + 0.527)(0.2) y
≈ 0.808.
2
1 y = e−x
Using the Right Hand Rule, we have:
0.5
∑
n
( )
f(xi+1 )∆x = f(x2 ) + f(x3 ) + f(x4 ) + f(x5 ) + f(x6 ) ∆x
i=1
( )
= f(0.2) + f(0.4) + f(0.6) + f(0.8) + f(1) ∆x x
( . 0.2 0.4 0.6 0.8 1
≈ 0.961 + 0.852 + 0.698 + 0.527 + 0.368)(0.2)
≈ 0.681. (b)
Figure 5.5.2 shows the rectangles used in each method to approximate the ∫1 2
Figure 5.5.2: Approxima ng 0
e−x dx in
definite integral. These graphs show that in this par cular case, the Le Hand Example 5.5.1.
Rule is an over approxima on and the Right Hand Rule is an under approxima-
on. To get a be er approxima on, we could use more rectangles, as we did in
Notes:
249
Chapter 5 Integra on
250
5.5 Numerical Integra on
Hand Rules. These graphs clearly show that rectangles do not match the shape
of the graph all that well, and that accurate approxima ons will only come by
using lots of rectangles.
Instead of using rectangles to approximate the area, we can instead use
2
trapezoids. In Figure 5.5.5, we show the region under f(x) = e−x on [0, 1] y
approximated with 5 trapezoids of equal width; the top “corners” of each trape- 2
1 y = e−x
zoid lies on the graph of f(x). It is clear from this figure that these trapezoids
more accurately approximate
∫1 the area under f and hence should give a be er
2
approxima on of 0 e−x dx. (In fact, these trapezoids seem to give a great ap-
proxima on of the area!) 0.5
The∫ 1formula for the area of a trapezoid is given in Figure 5.5.6. We approxi-
2
mate 0 e−x dx with these trapezoids in the following example.
x
0.2 0.4 0.6 0.8 1
Example 5.5.3 Approxima ng definite integrals using trapezoids .
∫ 1
−x2 ∫1 2
Use 5 trapezoids of equal width to approximate e dx. Figure 5.5.5: Approxima ng 0 e−x dx
0 using 5 trapezoids of equal widths.
S To compute the areas of the 5 trapezoids in Figure 5.5.5, it
will again be useful to create a table of values as shown in Figure 5.5.7.
The le most trapezoid has legs of length 1 and 0.961 and a height of 0.2.
Thus, by our formula, the area of the le most trapezoid is:
1 + 0.961 a+b
b Area = 2 h
(0.2) = 0.1961. a
2
.
Moving right, the next trapezoid has legs of length 0.961 and 0.852 and a height h
of 0.2. Thus its area is:
Figure 5.5.6: The area of a trapezoid.
0.961 + 0.852
(0.2) = 0.1813.
2
The sum of the areas of all 5 trapezoids is: xi e−xi
2
Notes:
251
Chapter 5 Integra on
Now no ce that all numbers except for the first and the last are added twice.
Therefore we can write the summa on even more concisely as
0.2 [ ]
1 + 2(0.961 + 0.852 + 0.698 + 0.527) + 0.368 .
2
∫ b
This is the heart of the Trapezoidal Rule, wherein a definite integral f(x) dx
a
is approximated by using trapezoids of equal widths to approximate the corre-
sponding area under f. Using n equally spaced subintervals with endpoints x1 ,
b−a
x2 , . . ., xn+1 , we again have ∆x = . Thus:
n
∫ b ∑n
f(xi ) + f(xi+1 )
f(x) dx ≈ ∆x
a i=1
2
∆x ∑ (
n
)
= f(xi ) + f(xi+1 )
2 i=1
∆x [ ∑ ]
n
= f(x1 ) + 2 f(xi ) + f(xn+1 ) .
2 i=2
No ce how “quickly” the Trapezoidal Rule can be implemented once the ta-
ble of values is created. This is true for all the methods explored in this sec on;
the real work is crea ng a table of xi and f(xi ) values. Once this is completed, ap-
proxima ng the definite integral is not difficult. Again, using technology is wise.
Spreadsheets can make quick work of these computa ons and make using lots
of subintervals easy.
Also no ce the approxima ons the Trapezoidal Rule gives. It is the average
of the approxima ons given by the Le and Right Hand Rules! This effec vely
Notes:
252
5.5 Numerical Integra on
renders the Le and Right Hand Rules obsolete. They are useful when first learn-
ing about definite integrals, but if a real approxima on is needed, one is gener-
ally be er off using the Trapezoidal Rule instead of either the Le or Right Hand
Rule.
How can we improve on the Trapezoidal Rule, apart from using more and
more trapezoids? The answer is clear once we look back and consider what we
have really done so far. The Le Hand Rule is not really about using rectangles to
approximate area. Instead, it approximates a func on f with constant func ons
on small subintervals and then computes the definite integral of these constant
func ons. The Trapezoidal Rule is really approxima ng a func on f with a linear
func on on a small subinterval, then computes the definite integral of this linear
func on. In both of these cases the definite integrals are easy to compute in
geometric terms.
So we have a progression: we start by approxima ng f with a constant func-
on and then with a linear func on. What is next? A quadra c func on. By
approxima ng the curve of a func on with lots of parabolas, we generally get
an even be er approxima on of the definite integral. We call this process Simp-
son’s Rule, named a er Thomas Simpson (1710-1761), even though others had
used this rule as much as 100 years prior.
y
Simpson’s Rule
3
Given one point, we can create a constant func on that goes through that
point. Given two points, we can create a linear func on that goes through those 2
points. Given three points, we can create a quadra c func on that goes through
those three points (given that no two have the same x–value).
1
Consider three points (x1 , y1 ), (x2 , y2 ) and (x3 , y3 ) whose x–values are equally
spaced and x1 < x2 < x3 . Let f be the quadra c func on that goes through these
. x
three points. It is not hard to show that 1 2 3
∫ x3
x3 − x1 ( )
f(x) dx = y1 + 4y2 + y3 . (5.4) Figure 5.5.8: A graph of a func on f and
x1 6 a parabola that approximates it well on
Consider Figure 5.5.8. A func on f goes through the 3 points shown and the [1, 3].
parabola g that also goes through those points is graphed with a dashed line.
Using our equa on from above, we know exactly that
∫ 3
3 − 1( )
g(x) dx = 3 + 4(1) + 2 = 3.
1 6
Since g is a good approxima on for f on [1, 3], we can state that
∫ 3
f(x) dx ≈ 3.
1
Notes:
253
Chapter 5 Integra on
No ce how the interval [1, 3] was split into two subintervals as we needed 3
2
points. Because of this, whenever we use Simpson’s Rule, we need to break the
xi e−xi interval into an even number of∫ subintervals.
0 1 b
0.25 0.939 In general, to approximate f(x) dx using Simpson’s Rule, subdivide [a, b]
0.5 0.779 a
into n subintervals, where n is even and each subinterval has width ∆x = (b −
0.75 0.570
1 0.368
a)/n. We approximate f with n/2 parabolic curves, using Equa on (5.4) to com-
pute the area under these parabolas. Adding up these areas gives the formula:
(a) ∫ b
∆x [ ]
y f(x) dx ≈ f(x1 )+4f(x2 )+2f(x3 )+4f(x4 )+. . .+2f(xn−1 )+4f(xn )+f(xn+1 ) .
a 3
1 −x2
y=e Note how the coefficients of the terms in the summa on have the pa ern 1, 4,
2, 4, 2, 4, . . ., 2, 4, 1.
Let’s demonstrate Simpson’s Rule with a concrete example.
0.5
Notes:
254
5.5 Numerical Integra on
y
Simpson’s Rule states that
∫ 1
0.236 [ y = sin(x3 )
π
2
3
sin(x ) dx ≈ (−0.466) + 4(−0.165) + 2(−0.031) + . . .
− π4 3
] 0.5
. . . + 2(0.971) + 4(0.69) + (−0.67)
= 0.4701 x
−1 1
Recall that the actual value, accurate to 3 decimal places, is 0.460. Our ap-
−0.5
proxima on is within one 1/100th of the correct value. The graph in Figure 5.5.11
.
shows how closely the parabolas match the shape of the graph.
Figure 5.5.11: Approxima ng
∫ π2
Summary and Error Analysis 3
− π4 sin(x ) dx in Example 5.5.6 with
Simpson’s Rule and 10 equally spaced
We summarize the key concepts of this sec on thus far in the following Key intervals.
Idea.
2. If the right answer can be found, what is the point of approxima ng?
Notes:
255
Chapter 5 Integra on
These are good ques ons, and their answers are educa onal. In the exam-
ples, the right answer was never computed. Rather, an approxima on accurate
to a certain number of places a er the decimal was given. In Example 5.5.1, we
do not know the exact answer, but we know it starts with 0.7468. These more
accurate approxima ons were computed using numerical integra on but with
more precision (i.e., more subintervals and the help of a computer).
Since the exact answer cannot be found, approxima on s ll has its place.
How are we to tell if the approxima on is any good?
“Trial and error” provides one way. Using technology, make an approxima-
on with, say, 10, 100, and 200 subintervals. This likely will not take much me
at all, and a trend should emerge. If a trend does not emerge, try using yet more
subintervals. Keep in mind that trial and error is never foolproof; you might
stumble upon a problem in which a trend will not emerge.
A second method is to use Error Analysis. While the details are beyond the
scope of this text, there are some formulas that give bounds for how good your
approxima on will be. For instance, the formula might state that the approx-
ima on is within 0.1 of the correct answer. If the approxima on is 1.58, then
one knows that the correct answer is between 1.48 and 1.68. By using lots of
subintervals, one can get an approxima on as accurate as one likes. Theorem
5.5.1 states what these bounds are.
∫ b
1. Let ET be the error in approxima ng f(x) dx using the Trape-
a
zoidal Rule with n subintervals.
If f has a con nuous
2nd deriva ve on [a, b] and M is any upper
bound of f (x) on [a, b], then
′′
(b − a)3
ET ≤ M.
12n2
∫ b
2. Let ES be the error in approxima ng f(x) dx using Simpson’s
a
Rule with n subintervals.
If f has a con nuous 4th deriva ve on [a, b] and M is any upper
bound of f (4) on [a, b], then
(b − a)5
ES ≤ M.
180n4
Notes:
256
5.5 Numerical Integra on
S
Trapezoidal Rule with n = 5:
2
We start by compu ng the 2nd deriva ve of f(x) = e−x : y
2
f ′′ (x) = e−x (4x2 − 2).
x
Figure 5.5.12 shows a graph of f ′′ (x) on [0, 1]. It is clear that the largest value of 0.5 1
f ′′ , in absolute value, is 2. Thus we let M = 2 and apply the error formula from
Theorem 5.5.1. −1
(1 − 0)3 2
y = e−x (4x2 − 2)
ET = · 2 = 0.006.
12 · 52
−2
.
Our error es ma on formula states that our approxima on of 0.7445 found
in Example 5.5.3 is within 0.0067 of the correct answer, hence we know that Figure 5.5.12: Graphing f ′′ (x) in Example
∫ 1 5.5.7 to help establish error bounds.
2
0.7445 − 0.0067 = .7378 ≤ e−x dx ≤ 0.7512 = 0.7445 + 0.0067.
0
Notes:
257
Chapter 5 Integra on
Figure 5.5.13 shows a graph of f (4) (x) on [0, 1]. It is clear that the largest value
y
of f (4) , in absolute value, is 12. Thus we let M = 12 and apply the error formula
2
y = e−x (16x4 − 48x2 + 12) from Theorem 5.5.1.
10
5 (1 − 0)5
Es = · 12 = 0.00026.
180 · 44
x
0.5 1
Our error es ma on formula states that our approxima on of 0.74683 found
−5 in Example 5.5.5 is within 0.00026 of the correct answer, hence we know that
.
∫ 1
Figure 5.5.13: Graphing f (4) (x) in Exam- 0.74683 − 0.00026 = .74657 ≤
2
e−x dx ≤ 0.74709 = 0.74683 + 0.00026.
ple 5.5.7 to help establish error bounds. 0
At the beginning of this sec on we men oned two main situa ons where
numerical integra on was desirable. We have considered the case where an
an deriva ve of the integrand cannot be computed. We now inves gate the
Speed situa on where the integrand is not known. This is, in fact, the most widely
Time
(mph) used applica on of Numerical Integra on methods. “Most of the me” we ob-
0 0 serve behavior but do not know “the” func on that describes it. We instead
1 25 collect data about the behavior and make approxima ons based on this data.
2 22 We demonstrate this in an example.
3 19
4 39
5 0 Example 5.5.8 Approxima ng distance traveled
6 43 One of the authors drove his daughter home from school while she recorded
7 59 their speed every 30 seconds. The data is given in Figure 5.5.14. Approximate
8 54 the distance they traveled.
9 51
10 43 S Recall that by integra ng a speed func on we get distance
11 35 traveled. We have informa on about v(t); we will use Simpson’s Rule to approx-
12 40 ∫ b
13 43 imate v(t) dt.
14 30 a
15 0 The most difficult aspect of this problem is conver ng the given data into the
16 0 form we need it to be in. The speed is measured in miles per hour, whereas the
17 28 me is measured in 30 second increments.
18 40 We need to compute ∆x = (b − a)/n. Clearly, n = 24. What are a and b?
19 42
Since we start at me t = 0, we have that a = 0. The final recorded me came
20 40
21 39
a er 24 periods of 30 seconds, which is 12 minutes or 1/5 of an hour. Thus we
22 40 have
23 23 b−a 1/5 − 0 1 ∆x 1
24 0 ∆x = = = ; = .
n 24 120 3 360
Figure 5.5.14: Speed data collected at 30
second intervals for Example 5.5.8. Notes:
258
5.5 Numerical Integra on
We approximate the author drove 6.2 miles. (Because we are sure the reader
wants to know, the author’s odometer recorded the distance as about 6.05
miles.)
We started this chapter learning about an deriva ves and indefinite inte-
grals. We then seemed to change focus by looking at areas between the graph
of a func on and the x-axis. We defined these areas as the definite integral of
the func on, using a nota on very similar to the nota on of the indefinite inte-
gral. The Fundamental Theorem of Calculus ed these two seemingly separate
concepts together: we can find areas under a curve, i.e., we can evaluate a def-
inite integral, using an deriva ves.
We ended the chapter by no ng that an deriva ves are some mes more
than difficult to find: they are impossible. Therefore we developed numerical
techniques that gave us good approxima ons of definite integrals.
We used the definite integral to compute areas, and also to compute dis-
placements and distances traveled. There is far more we can do than that. In
Chapter 7 we’ll see more applica ons of the definite integral. Before that, in
Chapter 6 we’ll learn advanced techniques of integra on, analogous to learning
rules like the Product, Quo ent and Chain Rules of differen a on.
Notes:
259
Exercises 5.5 ∫
Terms and Concepts 5 √
15. x2 + 1 dx
0
1. T/F: Simpson’s Rule is a method of approxima ng an- ∫ π
deriva ves. 16. x sin x dx
0
2. What are the two basic situa ons where approxima ng the
∫
value of a definite integral is necessary? π/2 √
17. cos x dx
0
3. Why are the Le and Right Hand Rules rarely used?
∫ 4
6. 5x dx ∫ 4
1
0
22. √ dx
∫ 1 x
π
7. sin x dx ∫
0
π ( )
23. cos x2 dx
∫ 0
4 √
8. x dx ∫ 5
0
24. x4 dx
∫ 3 0
9. (x3 + 2x2 − 5x + 7) dx
0 In Exercises 25 – 26, a region is given. Find the area of the
∫ 1
region using Simpson’s Rule:
10. x4 dx
0 (a) where the measurements are in cen meters, taken in
1 cm increments, and
∫ 2π
11. cos x dx (b) where the measurements are in hundreds of yards,
0 taken in 100 yd increments.
∫ 3 √
12. 9 − x2 dx
−3
6.3
∫
6.9
25.
6.6
1 ( ) .
5.1
13. cos x2 dx
0
∫ 1 2
14. ex dx
−1
260
26.
.
3.6
3.6
4.5
6.6
5.6
261
6: T
A
The previous chapter introduced the an deriva ve and connected it to signed
areas under a curve through the Fundamental Theorem of Calculus. The next
chapter explores more applica ons of definite integrals than just area. As eval-
ua ng definite integrals will become important, we will want to find an deriva-
ves of a variety of func ons.
This chapter is devoted to exploring techniques of an differen a on. While
not every func on has an an deriva ve in terms of elementary func ons (a
concept introduced in the sec on on Numerical Integra on), we can s ll find
an deriva ves of a wide variety of func ons.
6.1 Subs tu on
We mo vate this sec on with an example. Let f(x) = (x2 + 3x − 5)10 . We can
compute f ′ (x) using the Chain Rule. It is:
How would we have evaluated this indefinite integral without star ng with f(x)
as we did?
This sec on explores integra on by subs tu on. It allows us to “undo the
Chain Rule.” Subs tu on allows us to evaluate the above integral without know-
ing the original func on first.
∫ The underlying principle is to rewrite a ∫“complicated” integral of the form
f(x) dx as a not–so–complicated integral h(u) du. We’ll formally establish
later
∫ how this is done. First, consider again our introductory indefinite integral,
(20x + 30)(x2 + 3x − 5)9 dx. Arguably the most “complicated” part of the
integrand is (x2 + 3x − 5)9 . We wish to make this simpler; we do so through a
subs tu on. Let u = x2 + 3x − 5. Thus
(x2 + 3x − 5)9 = u9 .
Chapter 6 Techniques of An differen a on
du = (2x + 3)dx.
Keep in mind that (2x+3) and dx are mul plied; the dx is not “just si ng there.”
Return to the original integral and do some subs tu ons through algebra:
∫ ∫
(20x + 30)(x2 + 3x − 5)9 dx = 10(2x + 3)(x2 + 3x − 5)9 dx
∫
= 10(x2 + 3x − 5)9 (2x + 3) dx
| {z } | {z }
u du
∫
= 10u9 du
= u10 + C 2
(replace u with x + 3x − 5)
= (x + 3x − 5) + C
2 10
One might well look at this and think “I (sort of) followed how that worked,
but I could never come up with that on my own,” but the process is learnable.
This sec on contains numerous examples through which the reader will gain
understanding and mathema cal maturity enabling them to regard subs tu on
as a natural tool when evalua ng integrals.
We stated before that integra on by subs tu on “undoes” the Chain Rule.
Specifically, let F(x) and g(x) be differen able func ons and consider the deriva-
ve of their composi on:
d( ( ))
F g(x) = F ′ (g(x))g ′ (x).
dx
Thus ∫
F ′ (g(x))g ′ (x) dx = F(g(x)) + C.
Notes:
264
6.1 Subs tu on
The
∫ point of subs tu on is to make the integra on step easy. Indeed, the
step F ′ (u) du = F(u) + C looks easy, as the an deriva ve of the deriva ve of F
is just F, plus a constant. The “work” involved is making the proper subs tu on.
There is not a step–by–step process that one can memorize; rather, experience
will be one’s guide. To gain experience, we now embark on many examples.
1
du = 2x dx ⇒ du = x dx.
2
Notes:
265
Chapter 6 Techniques of An differen a on
1
= − cos u + C (now replace u with x2 + 5)
2
1
= − cos(x2 + 5) + C.
2
∫
Thus x sin(x2 + 5) dx = − 12 cos(x2 + 5) + C. We can check our work by eval-
ua ng the deriva ve of the right hand side.
The previous example exhibited a common, and simple, type of subs tu on.
The “inside” func on was a linear func on (in this case, y = 5x). When the
inside func on is linear, the resul ng integra on is very predictable, outlined
here.
∫
Thus sin(7x − 4) dx = − 71 cos(7x − 4) + C. Our next example can use Key
Idea 6.1.1, but we will only employ it a er going through all of the steps.
Notes:
266
6.1 Subs tu on
Not all integrals that benefit from subs tu on have a clear “inside” func on.
Several of the following examples will demonstrate ways in which this occurs.
Notes:
267
Chapter 6 Techniques of An differen a on
One would do well to ask “What would happen if we let u = cos x?” The result
is just as easy to find, yet looks very different. The challenge to the reader is to
evaluate the integral le ng u = cos x and discover why the answer is the same,
yet looks different.
Our examples so far have required “basic subs tu on.” The next example
demonstrates how subs tu ons can be made that o en strike the new learner
as being “nonstandard.”
Notes:
268
6.1 Subs tu on
be. If u can be chosen such that du also appears in the integrand, then we have
chosen well.
Choosing u = 1/x makes du = −1/x2 dx; that does not seem helpful. How-
ever, se ng u = ln x makes du = 1/x dx, which is part of the integrand. Thus:
∫ ∫
1 1 1
dx = dx
x ln x ln x |{z}
|{z} x
u du
∫
1
= du
u
= ln |u| + C
= ln | ln x| + C.
The final answer is interes ng; the natural log of the natural log. Take the deriva-
ve to confirm this answer is indeed correct.
Notes:
269
Chapter 6 Techniques of An differen a on
Some texts prefer to bring the −1 inside the logarithm as a power of cos x, as in:
∫
Thus the result they give is tan x dx = ln | sec x| + C. These two answers are
equivalent.
This may seem like it came out of le field, but it works beau fully. Consider:
∫ ∫
sec x + tan x
sec x dx = sec x · dx
sec x + tan x
∫
sec2 x + sec x tan x
= dx.
sec x + tan x
Notes:
270
6.1 Subs tu on
Now let u = sec x + tan x; this means du = (sec x tan x + sec2 x) dx, which is
our numerator. Thus:
∫
du
=
u
= ln |u| + C
= ln | sec x + tan x| + C.
We can use similar techniques to those used in Examples 6.1.7 and 6.1.8
to find an deriva ves of cot x and csc x (which the reader can explore in the
exercises.) We summarize our results here.
( )2
S We have a composi on of func ons as cos2 x = cos x .
However, se ng u = cos x means du = − sin x dx, which we do not have in the
integral. Another technique is needed.
The process we’ll employ is to use a Power Reducing formula for cos2 x (per-
haps consult the back of this text for this formula), which states
1 + cos(2x)
cos2 x = .
2
The right hand side of this equa on is not difficult to integrate. We have:
∫ ∫
1 + cos(2x)
cos2 x dx = dx
2
∫ ( )
1 1
= + cos(2x) dx.
2 2
Notes:
271
Chapter 6 Techniques of An differen a on
1 1 sin(2x)
= x+ +C
2 2 2
1 sin(2x)
= x+ + C.
2 4
We’ll make significant use of this power–reducing technique in future sec ons.
x3 + 4x2 + 8x + 5 3x + 3
=x+2+ 2 .
x2 + 2x + 1 x + 2x + 1
Notes:
272
6.1 Subs tu on
x 1/2
Notes:
273
Chapter 6 Techniques of An differen a on
Notes:
274
6.1 Subs tu on
Thus ∫ ∫
1 1 1
2
dx = ( x )2 dx.
25 + x 25 1+ 5
This can be integrated using Subs tu on. Set u = x/5, hence du = dx/5 or
dx = 5du. Thus
∫ ∫
1 1 1
dx = ( )2 dx
25 + x2 25 1 + 5x
∫
1 1
= du
5 1 + u2
1
= tan−1 u + C
5
1 (x)
= tan−1 +C
5 5
Notes:
275
Chapter 6 Techniques of An differen a on
∫
1 x √
3. √ = sin−1 √ + C, as a = 5.
5 − x2 5
Most applica ons of Theorem 6.1.3 are not as straigh orward. The next
examples show some common integrals that can s ll be approached with this
theorem.
1 1
= 2
x2 − 4x + 13 x − 4x + 4 −4 + 13
| {z }
(x−2)2
1
=
(x − 2)2 + 9
Notes:
276
6.1 Subs tu on
We can now integrate this using the arctangent rule. Technically, we need to
subs tute first with u = x − 2, but we can employ Key Idea 6.1.1 instead. Thus
we have
∫ ∫
1 1 1 x−2
dx = dx = tan−1 + C.
x2 − 4x + 13 (x − 2)2 + 9 3 3
Notes:
277
Chapter 6 Techniques of An differen a on
∫ b
1. Start with a definite integral f(x) dx that requires subs tu on.
a
∫
2. Ignore the bounds; use subs tu on to evaluate f(x) dx and find an an-
deriva ve F(x).
b
3. Evaluate F(x) at the bounds; that is, evaluate F(x) = F(b) − F(a).
a
This workflow works fine, but subs tu on offers an alterna ve that is powerful
and amazing (and a li le me saving).
At its heart, (using
∫ the nota on of Theorem 6.1.1) subs tu on ∫ converts inte-
grals of the form F ′ (g(x))g ′ (x) dx into an integral of the form F ′ (u) du with
the subs tu on of u = g(x). The following theorem states how the bounds of
a definite integral can be changed as the subs tu on is performed.
In effect, Theorem 6.1.4 states that once you convert to integra ng with re-
spect to u, you do not need to switch back to evalua ng with respect to x. A few
examples will help one understand.
Example ∫6.1.16 Definite integrals and subs tu on: changing the bounds
2
Evaluate cos(3x − 1) dx using Theorem 6.1.4.
0
Notes:
278
6.1 Subs tu on
y
g(2) = 5. We now evaluate the definite integral: 1 y = cos(3x − 1)
∫ 2 ∫ 5
du
cos(3x − 1) dx = cos u 0.5
0 −1 3
1 5
x
= sin u −1 1 2 3 4 5
3 −1
1( ) −0.5
= sin 5 − sin(−1) ≈ −0.039.
3
. −1
No ce how once we converted the integral to be in terms of u, we never went
back to using x. (a)
y
The graphs in Figure 6.1.1 tell more of the story. In (a) the area defined by
1
the original integrand is shaded, whereas in (b) the area defined by the new in-
tegrand is shaded. In this par cular situa on, the areas look very similar; the 1
0.5 y= cos(u)
new region is “shorter” but “wider,” giving the same area. 3
u
Example 6.1.17 Definite integrals and subs tu on: changing the bounds
∫ π/2 −1 1 2 3 4 5
. −1
S We saw the corresponding indefinite integral in Example 6.1.4.
In that example we set u = sin x but stated that we could have let u = cos x. (b)
For variety, we do the la er here.
Let u = g(x) = cos x, giving du = − sin x dx and hence sin x dx = −du. The Figure 6.1.1: Graphing the areas de-
new upper bound is g(π/2) = 0; the new lower bound is g(0) = 1. Note how fined by the definite integrals of Example
6.1.16.
the lower bound is actually larger than the upper bound now. We have
∫ π/2 ∫ 0 y
sin x cos x dx = −u du (switch bounds & change sign) 1
0 1
∫ 1
y = sin x cos x
= u du 0.5
0
1 1
= u2 = 1/2.
2 0 x
1 π
2
In Figure 6.1.2 we have again graphed the two regions defined by our definite
integrals. Unlike the previous example, they bear no resemblance to each other.
However, Theorem 6.1.4 guarantees that they have the same area. . −0.5
(a)
y
Integra on by subs tu on is a powerful and useful integra on technique. y=u
1
The next sec on introduces another technique, called Integra on by Parts. As
subs tu on “undoes” the Chain Rule, integra on by parts “undoes” the Product
Rule. Together, these two techniques provide a strong founda on on which most 0.5
other integra on techniques are based.
u
1 π
2
Notes: . −0.5
(b)
279
Exercises 6.1 ∫
Terms and Concepts 17. cos(3 − 6x)dx
∫
Problems 20. tan2 (x) sec2 (x)dx
∫ 26. ex x2 dx
x
9. √ dx ∫
x+3 2
−2x+1
27. ex (x − 1)dx
∫
x −x
3
10. √ dx ∫
x ex + 1
28. dx
ex
∫ √
e x ∫
11. √ dx ex
x 29. dx
ex +1
∫
x4 ∫
12. √ dx ex − e−x
x5 + 1 30. dx
e2x
∫ 1 ∫
x
+1
13. dx 31. 33x dx
x2
∫ ∫
ln(x)
14. dx 32. 42x dx
x
In Exercises 15 – 24, use Subs tu on to evaluate the indefi- In Exercises 33 – 36, use Subs tu on to evaluate the indefi-
nite integral involving trigonometric func ons. nite integral involving logarithmic func ons.
∫ ∫
ln x
15. 2
sin (x) cos(x)dx 33. dx
x
∫ ∫ ( )2
3 ln x
16. cos (x) sin(x)dx 34. dx
x
280
∫ ( )
ln x3 In Exercises 53 – 78, evaluate the indefinite integral.
35. dx
x
∫
∫ x2
53. dx
1 (x3 + 3)2
36. dx
x ln (x2 )
∫
( 2 )( )8
54. 3x + 2x 5x3 + 5x2 + 2 dx
In Exercises 37 – 42, use Subs tu on to evaluate the indefi-
nite integral involving ra onal func ons.
∫
x
∫ 55. √ dx
x2 + 3x + 1 1 − x2
37. dx
x ∫
( )
∫ 56. x2 csc2 x3 + 1 dx
x3 + x2 + x + 1
38. dx
x ∫ √
∫ 57. sin(x) cos(x)dx
x3 − 1
39. dx ∫
x+1 ( )
58. sin 5x + 1 dx
∫
x2 + 2x − 5
40.
x−3
dx ∫
1
59. dx
∫ x−5
3x2 − 5x + 7
41. dx ∫
x+1 7
60. dx
3x + 2
∫
x2 + 2x + 1 ∫
42. dx
x3 + 3x2 + 3x 3x3 + 4x2 + 2x − 22
61. dx
x2 + 3x + 5
In Exercises 43 – 52, use Subs tu on to evaluate the indefi- ∫
nite integral involving inverse trigonometric func ons. 2x + 7
62. dx
x2 + 7x + 3
∫
7 ∫
43. dx 9(2x + 3)
x2 + 7 63. dx
3x2 + 9x + 7
∫
3 ∫
44. √ dx −x3 + 14x2 − 46x − 7
9 − x2 64. dx
x2 − 7x + 1
∫
14 ∫
45. √ dx x
5 − x2 65. dx
x4 + 81
∫
2 ∫
46. √ dx 2
x x2 − 9 66. dx
4x2 + 1
∫ ∫
5
47. √ dx 67. √
1
dx
x4 − 16x2 x 4x2 − 1
∫ ∫
x 1
48. √ dx 68. √ dx
1 − x4 16 − 9x2
∫ ∫
1 3x − 2
49. dx 69. dx
x2 − 2x + 8 x2 − 2x + 10
∫ ∫
2 7 − 2x
50. √ dx 70. dx
−x + 6x + 7
2 x2 + 12x + 61
∫ ∫
3 x2 + 5x − 2
51. √ dx 71. dx
−x2 + 8x + 9 x2− 10x + 32
∫ ∫
5 x3
52. dx 72. dx
x2 + 6x + 34 x2 + 9
281
∫ ∫
x3 − x 6 √
73. 2
dx 80. x x − 2dx
x + 4x + 9 2
∫ ∫
sin(x) π/2
74. dx 81. sin2 x cos x dx
cos2 (x) + 1
−π/2
∫
75.
cos(x)
dx ∫ 1
sin2 (x) + 1 82. 2x(1 − x2 )4 dx
0
∫
cos(x) ∫
76. dx −1
1 − sin2 (x) 83. (x + 1)ex
2
+2x+1
dx
∫ −2
3x − 3
77. √ dx ∫
x2 − 2x − 6 1
1
84. dx
∫ −1 1 + x2
x−3
78. √ dx
x2 − 6x + 8 ∫ 4
1
85. dx
In Exercises 79 – 86, evaluate the definite integral. 2 x2 − 6x + 10
∫ 3 ∫ √
3
1 1
79. dx 86. √ dx
1 x−5 1 4 − x2
282
A: S T S P
Chapter 1 7. Let ε > 0 be given. We wish to find δ > 0 such that when
|x − 3| < δ, |f(x) − 6| < ε.
Sec on 1.1 Consider |f(x) − 6| < ε, keeping in mind we want to make a
statement about |x − 3|:
1. Answers will vary. |f(x) − 6| < ε
3. F |x2 − 3 − 6| < ε
5. Answers will vary. |x2 − 9| < ε
7. −1 |x − 3| · |x + 3| < ε
9. Limit does not exist |x − 3| < ε/|x + 3|
11. 1.5
13. Limit does not exist. Since x is near 3, we can safely assume that, for instance,
2 < x < 4. Thus
15. 1
f(a+h)−f(a) 2+3<x+3<4+3
h h
−0.1 −7 5<x+3<7
17. −0.01 −7 The limit seems to be exactly 7. 1 1 1
< <
0.01 −7 7 x+3 5
0.1 −7 ε ε ε
< <
f(a+h)−f(a) 7 x+3 5
h h
−0.1 4.9
19. −0.01 4.99 The limit is approx. 5. Let δ = 7ε . Then:
0.01 5.01
|x − 3| < δ
0.1 5.1
ε
f(a+h)−f(a) |x − 3| <
h h 7
−0.1 29.4 ε
|x − 3| <
21. −0.01 29.04 The limit is approx. 29. x+3
0.01 28.96 ε
|x − 3| · |x + 3| < · |x + 3|
0.1 28.6 x+3
f(a+h)−f(a)
h h
−0.1 −0.998334 Assuming x is near 3, x + 3 is posi ve and we can drop the
23. −0.01 −0.999983 The limit is approx. −1. absolute value signs on the right.
0.01 −0.999983 ε
|x − 3| · |x + 3| < · (x + 3)
0.1 −0.998334 x+3
Sec on 1.2 |x2 − 9| < ε
2
|(x − 3) − 6| < ε,
1. ε should be given first, and the restric on |x − a| < δ implies
|f(x) − K| < ε, not the other way around. which is what we wanted to prove.
|x − 1| < δ 15. 1
ε 17. 0
|x − 1| <
9 19. 7
ε
|x − 1| < 21. 1/2
2x + 5
ε 23. Limit does not exist
|x − 1| · |2x + 5| < · |2x + 5|
2x + 5
25. 2
π 2 +3π+5
27. 5π 2 −2π−3
≈ 0.6064
Assuming x is near 1, 2x + 5 is posi ve and we can drop the
absolute value signs on the right. 29. −8
ε 31. 10
|x − 1| · |2x + 5| < · (2x + 5)
2x + 5 33. −3/2
|2x2 + 3x − 5| < ε 35. 0
|(2x2 + 3x + 1) − 6| < ε, 37. 1
which is what we wanted to prove. 39. 3
11. Let ε > 0 be given. We wish to find δ > 0 such that when 41. 1
|x − 2| < δ, |f(x) − 5| < ε. However, since f(x) = 5, a constant
func on, the la er inequality is simply |5 − 5| < ε, which is 43. (a) Apply Part 1 of Theorem 1.3.1.
always true. Thus we can choose any δ we like; we arbitrarily (b) Apply Theorem 1.3.6; g(x) = xx is the same as g(x) = 1
choose δ = ε. everywhere except at x = 0. Thus lim g(x) = lim 1 = 1.
x→0 x→0
13. Let ε > 0 be given. We wish to find δ > 0 such that when ( )
(c) The func on f(x) is always 0, so g f(x) is never defined as
|x − 1| < δ, |f(x) − 1| < ε. g(x) is not defined at x = 0. Therefore the limit does not
Consider |f(x) − 1| < ε, keeping in mind we want to make a exist.
statement about |x − 1|:
(d) The Composi on Rule requires that lim g(x) be equal to
x→0
|f(x) − 1| < ε g(0). They are not equal, so the condi ons of the
|1/x − 1| < ε Composi on Rule are not sa sfied, and hence the rule is
|(1 − x)/x| < ε not violated.
|x − 1|/|x| < ε Sec on 1.4
|x − 1| < ε · |x|
1. The func on approaches different values from the le and right;
the func on grows without bound; the func on oscillates.
Since x is near 1, we can safely assume that, for instance,
3. F
1/2 < x < 3/2. Thus ε/2 < ε · x.
Let δ = 2ε . Then: 5. (a) 2
(b) 2
|x − 1| < δ
ε (c) 2
|x − 1| < (d) 1
2
|x − 1| < ε · x (e) As f is not defined for x < 0, this limit is not defined.
|x − 1|/x < ε (f) 1
7. (a) Does not exist.
Assuming x is near 1, x is posi ve and we can bring it into the (b) Does not exist.
absolute value signs on the le . (c) Does not exist.
|(x − 1)/x| < ε (d) Not defined.
|1 − 1/x| < ε (e) 0
|(1/x) − 1| < ε, (f) 0
which is what we wanted to prove. 9. (a) 2
Sec on 1.3 (b) 2
(c) 2
1. Answers will vary. (d) 2
3. Answers will vary. 11. (a) 2
5. As x is near 1, both f and g are near 0, but f is approximately twice (b) 2
the size of g. (I.e., f(x) ≈ 2g(x).)
(c) 2
7. 9 (d) 0
9. 0 (e) 2
11. 3 (f) 2
A.2
(g) 2 31. (0, ∞)
(h) Not defined 33. (−∞, 0]
13. (a) 2 35. Yes, by the Intermediate Value Theorem.
(b) −4 37. We cannot say; the Intermediate Value Theorem only applies to
(c) Does not exist. func on values between −10 and 10; as 11 is outside this range,
we do not know.
(d) 2
39. Approximate root is x = 1.23. The intervals used are:
15. (a) 0 [1, 1.5] [1, 1.25] [1.125, 1.25]
(b) 0 [1.1875, 1.25] [1.21875, 1.25] [1.234375, 1.25]
(c) 0 [1.234375, 1.2421875] [1.234375, 1.2382813]
A.3
f(0+h)−f(0)
27. −∞ 35. limh→0+ h
= 0; note also that limx→0+ f ′ (x) = 0. So f
is differen able at x = 0.
29. Solu on omi ed. f(1+h)−f(1)
limh→0− h
= −∞; note also that
31. Yes. The only “ques onable” place is at x = 3, but the le and limx→1− f ′ (x) = −∞. So f is not differen able at x = 1.
right limits agree. f is differen able on [0, 1), not its en re domain.
Chapter 2 37. Approximately 24.
39. (a) (−∞, ∞)
Sec on 2.1 (b) (−∞, −1) ∪ (−1, 1) ∪ (1, ∞)
1. T (c) (−∞, 5]
√ √
(d) [− 5, 5]
3. Answers will vary.
Sec on 2.2
5. Answers will vary.
7. f ′ (x) = 0 1. Velocity
9. f ′ (t) = −3 3. Linear func ons.
11. h′ (x) = 3x2 5. −17
−1
13. r ′ (x) = x2
7. f(10.1) is likely most accurate, as accuracy is lost the farther from
x = 10 we go.
15. (a) y = 6
9. 6
(b) x = −2
11. /s2
17. (a) y = −3x + 4
13. (a) thousands of dollars per car
(b) y = 1/3(x − 7) − 17
(b) It is likely that P(0) < 0. That is, nega ve profit for not
19. (a) y = 48(x − 4) + 64 producing any cars.
1
(b) y = − 48 (x − 4) + 64 15. f(x) = g′ (x)
21. (a) y = −1/4(x + 2) − 1/2 17. Either g(x) = f ′ (x) or f(x) = g′ (x) is acceptable. The actual
(b) y = 4(x + 2) − 1/2 answer is g(x) = f ′ (x), but is very hard to show that f(x) ̸= g′ (x)
given the level of detail given in the graph.
23. y = 8.1(x − 3) + 16
19. f ′ (x) = 10x
25. y = 7.77(x − 2) + e2 , or y = 7.77(x − 2) + 7.39.
21. f ′ (π) ≈ 0.
27. (a) Approxima ons will vary; they should match (c) closely.
Sec on 2.3
(b) f ′ (x) = 2x
(c) At (−1, 0), slope is −2. At (0, −1), slope is 0. At (2, 3), 1. Power Rule.
slope is 4.
3. One answer is f(x) = 10ex .
y
5. g(x) and h(x)
3
7. One possible answer is f(x) = 17x − 205.
2 9. f ′ (x) is a velocity func on, and f ′′ (x) is accelera on.
1 11. f ′ (x) = 14x − 5
x
13. m′ (t) = 45t4 − 38 t2 + 3
−2 −1 1 2 3 4
15. f ′ (r) = 6er
−1
29. . 17. f ′ (x) = 2
x
−1
y 19. h′ (t) = et − cos t + sin t
5
21. f ′ (t) = 0
23. g′ (x) = 24x2 − 120x + 150
x
25. f ′ (x) = 18x − 12
−2 −1 1 2
27. f ′ (x) = 6x5 f ′′ (x) = 30x4 f ′′′ (x) = 120x3 f(4) (x) = 360x2
29. h′ (t) = 2t − et h′′ (t) = 2 − et h′′′ (t) = −et h(4) (t) = −et
−5 31. f ′ (θ) = cos θ + sin θ f ′′ (θ) = − sin θ + cos θ
31. .
f ′′′ (θ) = − cos θ − sin θ f(4) (θ) = sin θ − cos θ
33. (a) Approximately on (−2, 0) and (2, ∞).
33. Tangent line: y = 2(x − 1)
(b) Approximately on (−∞, −2) and (0, 2). Normal line: y = −1/2(x − 1)
(c) Approximately at x = 0, ±2. 35. Tangent line: y = x − 1
(d) Approximately on (−∞, −1) and (1, ∞). Normal line: y = −x + 1
√ √
(e) Approximately on (−1, 1). 37. Tangent line: y = 2(x − π4 ) − 2
−1
√
(f) Approximately at x = ±1. Normal line: y = √ (x − π4 ) − 2
2
A.4
y
39. The tangent line to f(x) = ex at x = 0 is y = x + 1; thus
6
e0.1 ≈ y(0.1) = 1.1.
4
Sec on 2.4 2
x
1. F −2 −1 1 2 3 4 5
−2
3. T
−4
5. F
. −6
51. .
7. (a) f ′ (x) = (x2 + 3x) + x(2x + 3)
Sec on 2.5
(b) f ′ (x) = 3x2 + 6x
(c) They are equal. 1. T
9. (a) h′ (s) = 2(s + 4) + (2s − 1)(1) 3. F
(b) h′ (s) = 4s + 7 5. T
(c) They are equal. 7. f ′ (x) = 10(4x3 − x)9 · (12x2 − 1) = (120x2 − 10)(4x3 − x)9
x(2x)−(x2 +3)1
9. g′ (θ) = 3(sin θ + cos θ)2 (cos θ − sin θ)
11. (a) f ′ (x) = ( )
x2 11. f ′ (x) = 3 ln x + x2 2( 1x + 2x)
(b) f ′ (x) = 1 − 3 ( )3 ( )
x2 13. f ′ (x) = 4 x + 1x 1 − x12
(c) They are equal.
15. g′ (x) = 5 sec2 (5x)
13. (a) h′ (s) =
4s3 (0)−3(12s2 ) ( )( 4 )
16s6 17. g ′ (t) = cos t5 + 1t 5t − 1
t3
(b) h′ (s) = −9/4s−4
19. p′ (t) = −3 cos2 (t2 + 3t + 1) sin(t2 + 3t + 1)(2t + 3)
(c) They are equal.
21. f ′ (x) = 2/x
15. f ′ (x) = sin x + x cos x 23. g′ (r) = ln 4 · 4r
17. f ′ (x) = ex ln x + ex 1x 25. g′ (t) = 0
( ) ( )
−12 (3t +2) (ln 2)2t −(2t +3) (ln 3)3t
19. g′ (x) = (x−5)2 27. f ′ (x) = (3t +2)2
21. h′ (x) = − csc2 x − ex 2 2 2
2x (ln 3·3x 2x+1)−(3x +x)(ln 2·2x 2x)
2
29. f ′ (x) = 2
22x
23. h′ (t) = 14t + 6
( ) ( ) 31. f ′ (x) =
25. f ′ (x) = 6x + 8 ex + 3x2 + 8x + 7 ex 5(x2 + x)4 (2x + 1)(3x4 + 2x)3 + 3(x2 + x)5 (3x4 + 2x)2 (12x3 + 2)
27. f ′ (x) = 7 33. f ′ (x) = 3 cos(3x + 4) cos(5 − 2x) + 2 sin(3x + 4) sin(5 − 2x)
4(5x−9)3 cos(4x+1)−15 sin(4x+1)(5x−9)2
35. f ′ (x) =
2 2
sin (x)+cos (x)+3 cos(x)
29. f ′ (x) = (cos(x)+3)2 (5x−9)6
37. Tangent line: y = 0
−x sin x−cos x tan x−x sec2 x
31. f ′ (x) = x2
+ tan2 x Normal line: x = 0
33. g′ (t) = 12t2 et + 4t3 et − cos2 t + sin2 t 39. Tangent line: y = −3(θ − π/2) + 1
Normal line: y = 1/3(θ − π/2) + 1
35. f ′ (x) = 2xex tan x = x2 ex tan x + x2 ex sec2 x
41. In both cases the deriva ve is the same: 1/x.
37. Tangent line: y = 2x + 2 ◦
43. (a) F/mph
Normal line: y = −1/2x + 2
(b) The sign would be nega ve; when the wind is blowing at
39. Tangent line: y = 4 10 mph, any increase in wind speed will make it feel colder,
Normal line: x = 2 i.e., a lower number on the Fahrenheit scale.
41. x = 3/2 Sec on 2.6
43. f ′ (x) is never 0.
1. Answers will vary.
45. f ′′ (x) = 2 cos x − x sin x 3. T
47. f ′′ (x) = cot2 x csc x + csc3 x 5. f ′ (x) = 12 x−1/2 − 21 x−3/2 = 1
√ − 1
√
2 x 2 x3
y
7. f ′ (t) = √−t
6 1−t2
√
4 9. h′ (x) = 1.5x0.5 = 1.5 x
√
x(1)−(x+7)(1/2x−1/2 )
11. g′ (x) =
2 1 7
x
= √
2 x
− √
2 x3
x
−3 −2 −1 1 2 3 dy −4x3
−2
13. dx
= 2y+1
−4
dy
15. dx
= sin(x) sec(y)
. 49. . −6 dy y
17. dx
= x
A.5
dy 2 sin(y) cos(y)
19. dx
=− x
31. 3x2 + 1
21. dy
dx
= 1
2y+2
Chapter 3
23. If one takes the deriva ve of the equa on, as shown, using the
− cos(x)(x+cos(y))+sin(x)+y Sec on 3.1
Quo ent Rule, one finds dy dx
= sin(y)(sin(x)+y)+x+cos(y) .
If one first clears the denominator and writes 1. Answers will vary.
sin(x) + y = cos(y) + x then takes the deriva ve of both sides,
1−cos(x) 3. Answers will vary.
one finds dydx
= 1+sin(y) .
These expressions, by themselves, are not equal. However, for 5. F
values of x and y that sa sfy the original equa on (i.e, for x and y 7. A: none; the func on isn’t defined here. B: abs. max & rel. max C:
sin(x)+y)
such that cos(y)+x) = 1), these expressions are equal. rel. min D: none; the func on isn’t defined here. E: none F: rel.
min G: rel. max
dy
25. = − 2x+y
dx 2y+x 9. f ′ (0) = 0
27. (a) y = 0 11. f ′ (π/2) = 0 f ′ (3π/2) = 0
(b) y = −1.859(x − 0.1) + 0.281 13. f ′ (2) is not defined f ′ (6) = 0
29. (a) y = 4 15. f ′ (0) = 0
√
(b) y = 0.93(x − 2) + 4
108
√
17. min: (−0.5, 3.75)
31. (a) y= − 72 ) + 6+32 3
− √1 (x max: (2, 10)
3 √
√ √ 19. min: (π/4, 3 2/2)
(b) y = 3(x − 4+32 3 ) + 32
( )
max: (π/2, 3)
3 √ √
(2y+1)(−12x2 )+4x3 2 −4x 21. min: ( 3, 2 3)
d2 y 2y+1
33. dx2
= (2y+1)2 max: (5, 28/5)
2
d y cos x cos y+sin2 x tan y 23. min: (π, −eπ )
35. dx2
= cos2 y √ π/4
( ln(1+x) ) max: (π/4, 2e
)
37. y′ = (1 + x)1/x 1
x(x+1)
− x2
2
25. min: (1, 0)
Tangent line: y = (1 − 2 ln 2)(x − 1) + 2
( ) max: (e, 1/e)
xx
39. y′ = x+1 1
ln x + 1 − x+1 dy y(y−2x)
27. =
Tangent line: y = (1/4)(x − 1) + 1/2 dx x(x−2y)
( 1 ) 29. 3x2 + 1
41. y′ = x+1
x+2 x+1
1
− x+2
Tangent line: y = 1/9(x − 1) + 2/3 Sec on 3.2
Sec on 2.7 1. Answers will vary.
3. The point (10, 1) lies on the graph of y = f−1 (x) (assuming f is 5. c = −1/2
inver ble). 7. Rolle’s Thm. does not apply.
5. Compose f(g(x)) and g(f(x)) to confirm that each equals x. 9. Rolle’s Thm. does not apply.
7. Compose f(g(x)) and g(f(x)) to confirm that each equals x. 11. c = 0
( )′ √
9. f−1 (20) = f ′ 1(2) = 1/5 13. c = 3/ 2
( )′ √ 15. The Mean Value Theorem does not apply.
11. f−1 ( 3/2) = f ′ (π/6) 1
=1
√
( −1 )′ 17. c = ± sec−1 (2/ π)
1
13. f (1/2) = f ′ (1) = −2 √
5−7 7
19. c = 6
15. h′ (t) = √ 2
1−4t2 21. Max value of 19 at x = −2 and x = 5; min value of 6.75 at
x = 1.5.
17. g′ (x) = 2
1+4x2
23. They are the odd, integer valued mul ples of π/2 (such as
sin(t)
19. g′ (t) = cos−1 (t) cos(t) − √ 2 0, ±π/2, ±3π/2, ±5π/2, etc.)
1−t
sin −1
(x)+cos−1 (x)
Sec on 3.3
21. h′ (x) = √
1−x2 cos−1 (x)2
1. Answers will vary.
23. f ′ (x) = − √ 1
1−x2 3. Answers will vary; graphs should be steeper near x = 0 than near
25. (a) f(x) = x, so f ′ (x) = 1 x = 2.
(b) f ′ (x) = cos(sin−1 x) √ 1 = 1. 5. False; for instance, y = x3 is always increasing though it has a
1−x2 cri cal point at x = 0.
√ √
27. y = 2(x − 2/2) + π/4 7. Graph and verify.
dy y(y−2x)
29. dx
= x(x−2y)
9. Graph and verify.
A.6
11. Graph and verify. 37. max: x = 0
13. Graph and verify. 39. max: x = π/4; min: x = −3π/4
√
15. domain: (−∞, ∞) 41. min: x = 1/ e
c.p. at c = −1; 43. f ′ has no maximal or minimal value.
decreasing on (−∞, −1);
45. f ′ has a minimal value at x = 0
increasing on (−1, ∞);
rel. min at x = −1. 47. Possible points of inflec on: x = −2/3, 0; f ′ has a rela ve min
at: x = 0 ; rela ve max at: x = −2/3
17. domain=(−∞, ∞)
√ 49. f ′ has no rela ve extrema
c.p. at c = 16 (−1 ± 7); √ √
√ √ 51. f ′ has a rela ve max at x = −1/ 3; rela ve min at x = 1/ 3
decreasing on ( 61 (−1 − 7), 16 (−1 + 7)));
√ √ 53. f ′ has a rela ve min at x = 3π/4; rela ve max at x = −π/4
increasing on (−∞, 61 (−1 − 7)) and ( 16 (−1 + 7), ∞);
√ √
rel. min at x = 16 (−1 + 7); 55. f ′ has a rela ve min at x = 1/ e3 = e−3/2
√
rel. max at x = 16 (−1 − 7). Sec on 3.5
19. domain=(−∞, ∞)
1. Answers will vary.
c.p. at c = 1;
decreasing on (1, ∞) 3. T
increasing on (−∞, 1); 5. T
rel. max at x = 1. 7. A good sketch will include the x and y intercepts and draw the
21. domain=(−∞, −2) ∪ (−2, 4) ∪ (4, ∞) appropriate line.
no c.p.; 9. Use technology to verify sketch.
decreasing on en re domain, (−∞, −2), (−2, 4) and (4, ∞)
11. Use technology to verify sketch.
23. domain=(−∞, ∞)
13. Use technology to verify sketch.
c.p. at c = −3π/4, −π/4, π/4, 3π/4;
15. Use technology to verify sketch.
decreasing on (−3π/4, −π/4) and (π/4, 3π/4);
increasing on (−π, −3π/4), (−π/4, π/4) and (3π/4, π); 17. Use technology to verify sketch.
rel. min at x = −π/4, 3π/4; 19. Use technology to verify sketch.
rel. max at x = −3π/4, π/4. 21. Use technology to verify sketch.
25. c = 1/2 23. Use technology to verify sketch.
Sec on 3.4 25. Use technology to verify sketch.
√
27. Cri cal point: x = 0 Points of inflec on: ±b/ 3
1. Answers will vary.
nπ/2−b
3. Yes; Answers will vary. 29. Cri cal points: x = a
, where n is an odd integer Points of
inflec on: (nπ − b)/a, where n is an integer.
5. Graph and verify.
dy
31. dx
= −x/y, so the func on is increasing in second and fourth
7. Graph and verify. quadrants, decreasing in the first and third quadrants.
9. Graph and verify. d2 y
dx2
= −1/y − x2 /y3 , which is posi ve when y < 0 and is
11. Graph and verify. nega ve when y > 0. Hence the func on is concave down in the
first and second quadrants and concave up in the third and fourth
13. Graph and verify. quadrants.
15. Possible points of inflec on: none; concave up on (−∞, ∞)
Chapter 4
17. Possible points of inflec on: x = 0; concave down on (−∞, 0);
concave up on (0, ∞)
Sec on 4.1
19. Possible points of inflec on: x = −2/3, 0; concave down on
(−2/3, 0); concave up on (−∞, −2/3) and (0, ∞) 1. F
21. Possible points of inflec on: x = 1; concave up on (−∞, ∞) 3. x0 = 1.5, x1 = 1.5709148, x2 = 1.5707963, x3 = 1.5707963,
√ x4 = 1.5707963, x5 = 1.5707963
23. Possible
√ points√ of inflec on: x = ±1/ 3; concave
√ down on
√
(−1/ 3, 1/ 3); concave up on (−∞, −1/ 3) and (1/ 3, ∞) 5. x0 = 0, x1 = 2, x2 = 1.2, x3 = 1.0117647, x4 = 1.0000458,
x5 = 1
25. Possible points of inflec on: x = −π/4, 3π/4; concave down on
(−π/4, 3π/4) concave up on (−π, −π/4) and (3π/4, π) 7. x0 = 2, x1 = 0.6137056389, x2 = 0.9133412072,
x3 = 0.9961317034, x4 = 0.9999925085, x5 = 1
27. Possible points of inflec on: x = 1/e3/2 ; concave down on
(0, 1/e3/2 ) concave up on (1/e3/2 , ∞) 9. roots are: x = −5.156, x = −0.369 and x = 0.525
29. min: x = 1 11. roots are: x = −1.013, x = 0.988, and x = 1.393
√ √
31. max: x = −1/ 3 min: x = 1/ 3 13. x = ±0.824,
33. min: x = 1 15. x = ±0.743
35. min: x = 1 17. The approxima ons alternate between x = 1 and x = 2.
A.7
√ √
3
Sec on 4.2 13. Use y = 3 x; dy = 1/(3 x2 ) · dx with x = 64 and dx = −1.
Thus dy = −1/48 ≈ 0.0208; we could√use
1. T −1/48
√ ≈ −1/50 = −0.02; knowing 3 64 = 4, we have
3
63 ≈ 3.98.
3. (a) 5/(2π) ≈ 0.796cm/s
15. Use y = sin x; dy = cos x · dx with x = π and dx ≈ −0.14. Thus
(b) 1/(4π) ≈ 0.0796 cm/s
dy = 0.14; knowing sin π = 0, we have sin 3 ≈ 0.14.
(c) 1/(40π) ≈ 0.00796 cm/s
17. dy = (2x + 3)dx
5. 63.14mph −2
19. dy = 4x3
dx
7. Due to the height of the plane, the gun does not have to rotate ( )
very fast. 21. dy = 2xe3x + 3x2 e3x dx
2(tan x+1)−2x sec2 x
(a) 0.0573 rad/s 23. dy = (tan x+1)2
dx
(b) 0.0725 rad/s 25. dy = (ex sin x + ex cos x)dx
(c) In the limit, rate goes to 0.0733 rad/s 27. dy = 1
dx
(x+2)2
9. (a) 0.04 /s
29. dy = (ln x)dx
(b) 0.458 /s
31. dV = ±0.157
(c) 3.35 /s
33. ±15π/8 ≈ ±5.89in2
(d) Not defined; as the distance approaches 24, the rates
approaches ∞. 35. (a) 297.8 feet
9. Use y = x3 ; dy = 3x2 · dx with x = 5 and dx = 0.1. Thus 41. dy = (2xex cos x + x2 ex cos x − x2 ex sin x)dx
dy = 7.5; knowing 53 = 125, we have 5.13 ≈ 132.5. Sec on 5.2
√ √
11. Use y = x; dy = 1/(2 √ x) · dx with x =√16 and dx = 0.5. Thus
dy = .0625; knowing 16 = 4, we have 16.5 ≈ 4.0625. 1. Answers will vary.
A.8
3. 0 19. 1045
5. (a) 3 21. −8525
(b) 4 23. 5050
(c) 3 25. 155
(d) 0 27. 24
(e) −4 29. 19
(f) 9 √
31. π/3 + π/(2 3) ≈ 1.954
7. (a) 4 33. 0.388584
(b) 2 (1+n)2
35. (a) Exact expressions will vary; 4n2
.
(c) 4 (b) 121/400, 10201/40000, 1002001/4000000
(d) 2 (c) 1/4
(e) 1
37. (a) 8.
(f) 2 (b) 8, 8, 8
9. (a) π (c) 8
(b) π 39. (a) Exact expressions will vary; 100 − 200/n.
(c) 2π (b) 80, 98, 499/5
(d) 10π (c) 100
11. (a) −59 41. F(x) = 5 tan x + 4
(b) −48 43. G(t) = 4/6t6 − 5/4t4 + 8t + 9
(c) −27 45. G(t) = sin t − cos t − 78
(d) −33
Sec on 5.4
13. (a) 4
(b) 4 1. Answers will vary.
(c) −4 3. T
(d) −2 5. 20
15. (a) 2 /s 7. 0
(b) 2 9. 1
(c) 1.5 11. (5 − 1/5)/ ln 5
17. (a) 64 /s 13. −4
(b) 64 15. 16/3
(c) t = 2 17. 45/4
√
(d) t = 2 + 7 ≈ 4.65 seconds 19. 1/2
19. 2 21. 1/2
21. 16 23. 1/4
23. 24 25. 8
25. −7 27. 0
27. 1/4x4 − 2/3x3 + 7/2x2 − 9x + C 29. Explana ons will vary. A sketch will help.
√
29. 3/4t4/3 − 1/t + 2t / ln 2 +C 31. c = 2/ 3
A.9
55. F′ (x) = (3x2 + 1) x3 1+x 17. − 61 sin(3 − 6x) + C
( (4) )
(b) n = 12 (using max f (x) = 1) 59. ln |x − 5| + C
( )
23. (a) n = 1004 (using max f ′′ (x) = 39)
61. 3x2 + ln x2 + 3x + 5 − 5x + C
2
( )
(b) n = 62 (using max f (4) (x) = 800)
63. 3 ln 3x2 + 9x + 7 + C
25. (a) Area is 30.8667 cm2 . ( 2)
(b) Area is 308, 667 yd2 .
1
65. 18 tan−1 x9 + C
A.10
Index
Integra on Rules
∫ ∫ ∫ ∫ ( )
1 x
1. c · f(x) dx = c f(x) dx 12. tan x dx = − ln | cos x| + C 23. √ dx = sin−1
+C
− a2 x2 a
∫ ∫ ∫ ( )
1 1 |x|
2. f(x) ± g(x) dx = 13. sec x dx = ln | sec x + tan x| + C 24. √ dx = sec−1 +C
x x2 − a 2 a a
∫ ∫ ∫ ∫
f(x) dx ± g(x) dx 14. csc x dx = − ln | csc x + cot x| + C 25. cosh x dx = sinh x + C
∫ ∫ ∫
3. 0 dx = C 15. cot x dx = ln | sin x| + C 26. sinh x dx = cosh x + C
∫ ∫ ∫
4. 1 dx = x + C 16. sec2 x dx = tan x + C 27. tanh x dx = ln(cosh x) + C
∫ ∫ ∫
1 n+1
5. xn dx = x + C, n ̸= −1 17. csc2 x dx = − cot x + C 28. coth x dx = ln | sinh x| + C
n+1
∫ ∫ ∫
1 √
6. ex dx = ex + C 18. sec x tan x dx = sec x + C 29. √ dx = ln x + x2 − a2 + C
x2 − a2
∫ ∫ ∫
1 √
7. ln x dx = x ln x − x + C 19. csc x cot x dx = − csc x + C 30. √ dx = ln x + x2 + a2 + C
x2 + a 2
∫ ∫
1 ( ) ∫
8. ax dx = · ax + C 1 1 1 1 a + x
20. cos2 x dx = x + sin 2x + C 31. dx = ln +C
2a a − x
ln a 2 4 a 2 − x2
∫ ∫
1 1 1 ( ) ∫ ( )
9. dx = ln |x| + C 21. sin2 x dx =
x − sin 2x + C 1 1 x
x 2 4 32. √ dx = ln √ +C
∫ x a 2 − x2 a a + a 2 − x2
∫ ( ) ∫
10. cos x dx = sin x + C 1 1 −1 x 1 1 x
22. dx = tan +C 33. √ dx = ln √ +C
∫
x2 + a 2 a a x x2 + a 2 a a + x2 + a 2
11. sin x dx = − cos x + C
The Unit Circle Defini ons of the Trigonometric Func ons
y
Opposite
270◦ n
( √ √ ) 4π/3 5π/3 (√ √ ) te
− 22 , − 22 ypo A H
2 ,− 2
2 2
( √ ) 3π/2 ( √ )
H cos θ = sec θ =
− 12 , − 23
H A
2,− 2
1 3
θ
(0, −1)
O A
Adjacent tan θ = cot θ =
A O
Trapezoids Sphere
1
a
Area = 2 (a + b)h Volume = 43 πr3
r
h Surface Area =4πr2
Quadra c Formula √
If p(x) = ax2 + bx + c, and 0 ≤ b2 − 4ac, then the real zeros of p are x = (−b ± b2 − 4ac)/2a
Special Factors
x2 − a2 = (x − a)(x + a) x3 − a3 = (x − a)(x2 + ax + a2 )
x + a = (x + a)(x − ax + a )
3 3 2 2
x4 − a4 = (x2 − a2 )(x2 + a2 )
n(n−1)
(x + y)n = xn + nxn−1 y + 2! xn−2 y2 + · · · + nxyn−1 + yn
(x − y)n = xn − nxn−1 y + n(n−1)
2! x y − · · · ± nxyn−1 ∓ yn
n−2 2
Binomial Theorem
(x + y) = x + 2xy + y2
2 2
(x − y)2 = x2 − 2xy + y2
(x + y)3 = x3 + 3x2 y + 3xy2 + y3 (x − y)3 = x3 − 3x2 y + 3xy2 − y3
(x + y)4 = x4 + 4x3 y + 6x2 y2 + 4xy3 + y4 (x − y)4 = x4 − 4x3 y + 6x2 y2 − 4xy3 + y4
Factoring by Grouping
acx3 + adx2 + bcx + bd = ax2 (cs + d) + b(cx + d) = (ax2 + b)(cx + d)
Summa on Formulas:
∑n ∑
n
n(n + 1)
c = cn i=
2
∑
n
i=1 i=1
∑n ( )2
n(n + 1)(2n + 1) n(n + 1)
i2 = 3
i =
i=1
6 i=1
2
Trapezoidal
∫
Rule:
b
∆x [ ]
f(x) dx ≈ f(x1 ) + 2f(x2 ) + 2f(x3 ) + ... + 2f(xn ) + f(xn+1 )
a 2
(b − a)3 [ ]
with Error ≤ 2
max f ′′ (x)
12n
Simpson’s
∫
Rule:
b
∆x [ ]
f(x) dx ≈ f(x1 ) + 4f(x2 ) + 2f(x3 ) + 4f(x4 ) + ... + 2f(xn−1 ) + 4f(xn ) + f(xn+1 )
a 3
(b − a)5 [ ]
with Error ≤ 4
max f (4) (x)
180n
∫ b √
S = 2π x 1 + f ′ (x)2 dx
a
(where a, b ≥ 0)
∞
{an } must be posi ve
∑ an+1 an+1
Ra o Test an lim <1 lim >1 Also diverges if
n→∞ an n→∞ an
n=0 lim an+1 /an = ∞
n→∞