The ABC's of Calculus
The ABC's of Calculus
Angelo B. Mingarelli
School of Mathematics and Statistics,
Carleton University
Canada
http://www.people.carleton.ca/∼angelo/calculus/cal104.html
All rights reserved. No part of this book may be reproduced, in any form or by
any means, terrestrial or not, without permission in writing from the publisher.
ISBN 978-0-9698889-5-6
iii
iv
This book is dedicated
to the immutable memory of my father,
Giosafat Mingarelli,
and
to my mother, Oliviana Lopez,
who showed a young child of 10
how to perform long division ...
v
vi
Contents
iii
vii
viii CONTENTS
6 Integration 247
6.1 Antiderivatives and the Indefinite Integral . . . . . . . . . . . . . 248
6.2 Definite Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
6.3 The Summation Convention . . . . . . . . . . . . . . . . . . . . . 272
6.4 Area and the Riemann Integral . . . . . . . . . . . . . . . . . . . 277
6.5 Chapter Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . 290
6.6 Using Computer Algebra Systems . . . . . . . . . . . . . . . . . . 292
Acknowledgments 499
Credits 501
x CONTENTS
List of Tables
xi
xii LIST OF TABLES
Review
You’ll need to remember or learn the following material before you get a thor-
ough understanding of this chapter. Look over your notes on functions and be
familiar with all the basic algebra and geometry you learned and also don’t
forget to review your basic trigonometry. Although this seems like a lot,
it is necessary as mathematics is a sort of language, and before you learn any
language you need to be familiar with its vocabulary and its grammar and so
it is with mathematics. Okay, let’s start ...
You realize how important it is for you to remember your social security/insurance
number when you want to get a real job! That’s because the employer will associate
1
2 1.1. THE MEANING OF A FUNCTION
You can think of a function f as an you with this number on the payroll. This is what a function does ... a function is a
I/O device, much like a computer rule that associates to each element in some set that we like to call the domain (in our
CPU; it takes input, x, works on case, the name of anyone eligible to work) only one element of another set, called the
x, and produces only one output, range (in our case, the set of all social security/insurance numbers of these people
which we call f(x).
eligible to work). In other words the function here associates to each person his/her
social security/insurance number. Each person can have only one such number and
this lies at the heart of the definition of a function.
This association between the domain and the range is depicted graphically in Figure 1
using arrows, called an arrow diagram. Such arrows are useful because they start in
the domain and point to the corresponding element of the range.
Example 2. Let’s say that Jennifer Black has social security number 124124124.
The arrow would start at a point which we label “Jennifer Black” (in the domain) and
end at a point labeled “124124124” (in the range).
NOTATION Definition 1. A function f is a rule which associates with each object (say, x)
from one set named the domain, a single object (say, f (x)) from a second set
Dom (f) = Domain of f called the range. (See Figure 1 )
Ran (f) = Range of f
Rather than replace every person by their photograph, the objects of the domain
of a function are replaced by symbols and mathematicians like to use the symbol
“x” to mark some unknown quantity in the domain (this symbol is also called an
Objects in the domain of f are re- independent variable), because it can be any object in the domain. If you don’t
ferred to as independent variables, like this symbol, you can use any other symbol and this won’t change the function.
while objects in the range are de- The symbol, f (x), is also called a dependent variable because its value generally
pendent variables. depends on the value of x. Below, we’ll use the “box” symbol, ✷, in many cases instead
of the more standard symbol, x.
LOOK OUT! When an arrow “splits” in an arrow diagram (as the arrow
starting from A does in Figure 2) the resulting rule is never a function.
In applications of calculus to the physical and natural sciences the domain and the
range of a function are both sets of real (sometimes complex) numbers. The symbols
Figure 2.
1.1. THE MEANING OF A FUNCTION 3
used to represent objects within these sets may vary though ... E may denote energy,
p the price of a commodity, x distance, t time, etc. The domain and the range of a
function may be the same set or they may be totally unrelated sets of numbers, people,
aardvarks, aliens, etc. Now, functions have to be identified somehow, so rules have
been devised to name them. Usually, we use the lower case letters f, g, h, k, ... to name
the function itself, but you are allowed to use any other symbols too, but try not to
use x as this might cause some confusion ... we already decided to name objects of
the domain of the function by this symbol, x, remember?
Quick Summary Let’s recapitulate. A function has a name, a domain and a range.
It also has a rule which associates to every object of its domain only one object in its You need to think beyond the shape
range. So the rule (whose name is) g which associates to a given number its square of an independent variable and just
as a number, can be denoted quickly by g(x) = x2 (Figure 3). You can also represent keep your mind on a generic “vari-
this rule by using the symbols g(✷) = ✷2 where ✷ is a “box”... something that has able”, something that has nothing
nothing to do with its shape as a symbol. It’s just as good a symbol as “x” and both to do with its shape.
equations represent the same function.
• The association between a one-dollar bill and its serial number is a function
(unless the bill is counterfeit!). Its domain is the collection of all one-dollar bills
while its range is a subset of the natural numbers along with some 26 letters of
the alphabet.
• The association between a CD-ROM and its own serial number is also a function
(unless the CD was copied!).
• Associating a fingerprint with a specific human being is another example of a
function, as is ...
• Associating a human being with the person-specific DNA (although this may be
a debatable issue).
• The association between the monetary value of a stock, say, x, at time t is also
function but this time it is a function of two variables, namely, x, t. It could be
denoted by f (x, t) meaning that this symbol describes the value of the stock x
at time t. Its graph may look like the one below.
Composition of Functions:
There is a fundamental operation that we can perform on two functions called their
“composition”.
Let’s describe this notion by way of an example. So, consider the domain of all houses
in a certain neighborhood. To each house we associate its owner (we’ll assume that
to each given house there is only one owner). Then the rule that associates to a given
house its owner is a function and we call it “f”. Next, take the rule that associates
to a given owner his/her annual income from all sources, and call this rule “g”. Then
the new rule that associates with each house the annual income of its owner is called
the composition of g and f and is denoted mathematically by the symbols g(f (x)).
Think of it . . . if x denotes a house then f (x) denotes its owner (some name, or social
insurance number or some other unique way of identifying that person). Then g(f (x))
must be the annual income of the owner, f (x).
Once can continue this exercise a little further so as to define compositions of more than
just two functions . . . like, maybe three or more functions. Thus, if h is a (hypothetical)
rule that associates to each annual income figure the total number of years of education
of the corresponding person, then the composition of the three functions defined by
the symbol h(g(f (x))), associates to each given house in the neighborhood the total
number of years of education of its owner.
In the next section we show how to calculate the values of a composition of two given
functions using symbols that we can put in “boxes”...so we call this the “box method”
for calculating compositions. Basically you should always look at what a function does
to a generic “symbol”, rather than looking at what a function does to a specific symbol
like “x”.
NOTES:
1.2. FUNCTION VALUES AND THE BOX METHOD 5
f (✷) = ✷3 − 4 (regardless of what’s in the box!), and one of these is called a semi-open
interval).
3
f (a + h) = f ( a + h ) = a + h − 4 = (a + h)3 − 4 = a3 + 3a2 h + 3ah2 + h3 − 4.
Also,
f (2) = 23 − 4 = 4,
and
f (−1) = (−1)3 − 4 = −5,
f (a) = a3 − 4,
where a is another symbol for any object in the domain of f .
1.24x2
Example 7. Let f (x) = √ . Find the value of f (n + 6) where n is a
2.63x − 1
positive integer.
2
f( x + h ) = 2 x + h − x + h + 1,
= 2(x + h)2 − (x + h) + 1
= 2(x2 + 2xh + h2 ) − x − h + 1
= 2x2 + 4xh + 2h2 − x − h + 1.
4xh + 2h2 − h
=
h
h(4x + 2h − 1)
=
h
= 4x + 2h − 1.
Solution The Box method tells us that since f (n) = an , we must have f (✷) = a✷ .
Thus, an+1 = f (n + 1). Furthermore, another application of the Box Method gives
2
an+1 = f (n + 1) = f ( n+1 ) = 6 n+1 − 0.5 n+1 . So,
3x + 2
f (x) =
3x − 2
determine f (x − 2).
3✷+2
Solution Here, f (✷) = 3✷−2 . Placing the symbol “x − 2” into the box, collecting
terms and simplifying, we get,
3 x-2 + 2 3(x − 2) + 2 3x − 4
f (x − 2) = f ( x-2 ) = = = .
3 x-2 − 2 3(x − 2) − 2 3x − 8
1.2. FUNCTION VALUES AND THE BOX METHOD 7
√
Example 11. If g(x) = x2 + 1 find the value of g( x − 1).
f (x + h) − f (x − h)
.
2h
Solution We know that since f (x) = 3x2 − 2x + 1 then f (✷) = 3✷2 − 2✷ + 1. It follows
that
n 2 o n 2 o
f (x + h) − f (x − h) = 3 x+h − 2 x+h + 1 − 3 x-h − 2 x-h + 1
˘ ¯
= 3 (x + h)2 − (x − h)2 − 2 {(x + h) − (x − h)}
= 3(4xh) − 2(2h) = 12xh − 4h.
f (x + h) − f (x − h) 12xh − 4h
= = 6x − 2.
2h 2h
a) What is f (−1)?
b) Evaluate f (0.70714).
c) Given that 0 < x < 1 evaluate f (2x + 1).
b) Since f (x) = x2 for any x in the interval 0 < x ≤ 3 and x = 0.70714 is in this
interval, it follows that f (0.70714) = (0.70714)2 = 0.50005
c) First we need to know what f does to the symbol 2x + 1, that is, what is the value
of f (2x + 1)? But this means that we have to know where the values of 2x + 1 are
when 0 < x < 1, right? So, for 0 < x < 1 we know that 0 < 2x < 2 and so once we
add 1 to each of the terms in the inequality we see that 1 = 0 + 1 < 2x + 1 < 2 + 1 = 3.
In other words, whenever 0 < x < 1, the values of the expression 2x + 1 must lie in
the interval 1 < 2x + 1 < 3. We now use the Box method: Since f takes a symbol
to its square whenever the symbol is in the interval (0, 3], we can write by definition
f (✷) = ✷2 whenever 0 < ✷ ≤ 3. Putting 2x + 1 in the box, (and using the fact
2
that 1 < 2x+1 < 3) we find that f ( 2x+1 ) = 2x+1 from which we deduce
f (2x + 1) = (2x + 1)2 for 0 < x < 1.
8 1.2. FUNCTION VALUES AND THE BOX METHOD
Some useful angles expressed in We’ll need to recall some notions from geometry in the next section.
radians
degrees radians
Don’t forget that, in Calculus, we always assume that angles are described in
0 0 radians and not degrees. The conversion is given by
30o π/6
45o π/4 (Degrees) × (π)
60o π/3 Radians =
90o π/2 180
180o π
270o 3π/2 For example, 45 degrees = 45 π/180 = π/4 ≈ 0.7853981633974 radians.
360o 2π
NOTES:
Figure 4.
1.2. FUNCTION VALUES AND THE BOX METHOD 9
SNAPSHOTS
2
Solution We know that h(✷) = ✷2 cos(✷). So, h( sin x ) = sin x cos( sin x ).
Removing the box we get, h(sin x) = (sin x)2 cos(sin x), or, equivalently, h(sin x) =
(sin x)2 cos(sin x) = sin2 (x) cos(sin x). The function f(x) = sin x and some
of its values.
Example 15. Let f be defined by the rule f (x) = sin x. Then the function
x (in radians) sin x
whose values are defined by f (x − vt) = sin(x − vt) can be thought of as representing 0 0
a travelling wave moving to the right with velocity v ≥ 0. Here t represents time and π/6 1/2 = 0.5
−π/6 √−1/2 = −0.5
we take it that t ≥ 0. You can get a feel for this motion from the graph below where π/3
we assume that v = 0 and use three increasing times to simulate the motion of the √3/2 ≈ 0.8660
−π/3 − 3/2 ≈ −0.8660
wave to the right. π/2 1
−π/2 √ −1
π/4 √2/2 ≈ 0.7071
−π/4 − 2/2 ≈ −0.7071
3π/2 −1
−3π/2 1
2π 0
Figure 5.
Example 16. On the surface of our moon, an object P falling from rest will fall
a distance, f (t), of approximately 5.3t2 feet in t seconds. Let’s take it for granted
that its, so-called, instantaneous velocity, denoted by the symbol f ′(t), at time
t = t0 ≥ 0 is given by the expression
Determine its (instantaneous) velocity after 1 second (at t = 1) and after 2.6 seconds
(t = 2.6).
Solution Note that this function is defined in pieces (see Example 13) ... Its domain
is obtained by taking the union of all the intervals on the right side making up one big
interval, which, in our case is the interval −1 ≤ x ≤ 2π. So we see that f (2) = cos(2)
10 1.2. FUNCTION VALUES AND THE BOX METHOD
because the number 2 is in the interval 0 < x ≤ π. On the other hand, f (8) is
not defined because 8 is not within the domain of definition of our function, since
2π ≈ 6.28.
Now, the value of f (x+1), say, will be different depending on where the symbol “x+1”
is. We can still use the “box” method to write down the values f (x + 1). In fact, we
replace every occurence of the symbol x by our standard “box”, insert the symbols
“x + 1” inside the box, and then remove the boxes... We’ll find
8 2
< x + 1 + 1, if −1 ≤ x + 1 ≤ 0,
>
f( x + 1 ) = cos x + 1 , if 0 < x + 1 ≤ π,
>
:
x + 1 − π, if π < x + 1 ≤ 2π.
or
8 2
< (x + 1) + 1, if −1 ≤ x + 1 ≤ 0,
f (x + 1) = cos(x + 1), if 0 < x + 1 ≤ π,
:
(x + 1) − π, if π < x + 1 ≤ 2π.
We now solve the inequalities on the right for the symbol x (by subtracting 1 from
each side of the inequality). This gives us the values
8 2
< x + 2x + 2, if −2 ≤ x ≤ −1,
f (x + 1) = cos(x + 1), if −1 < x ≤ π − 1,
:
x + 1 − π, if π − 1 < x ≤ 2π − 1.
Note that the graph of the function f (x + 1) is really the graph of the function f (x)
shifted to the left by 1 unit. We call this a “translate” of f .
Exercise Set 1.
Use the method of this section to evaluate the following functions at the indicated
point(s) or symbol.
8. Let x0 , x1 be two symbols which denote real numbers. In addition, for any real
number x let f (x) = 2x2 cos x.
a) If x0 = 0 and x1 = π, evaluate the expression
f (x0) + f (x1 )
.
2
Hint: cos(π) = −1 b) What is the value of the expression If you want to use your calculator
for this question (you don’t have
f (x0) + 2 f (x1 ) + f (x2)
to...) don’t forget to change your
Hint: cos(2π) = 1
9. Let f be defined by
8
< x + 1, if −1 ≤ x ≤ 0,
f (x) = −x + 1, if 0 < x ≤ 2,
x2 ,
:
if 2 < x ≤ 6.
a) What is f (0)?
b) Evaluate f (0.142857).
c) Given that 0 < x < 1 evaluate f (3x + 2).
f (x + h) − 2f (x) + f (x − h)
.
h2
14. Let f be defined by
x − 1, if 0 ≤ x ≤ 2,
f (x) =
2x, if 2 < x ≤ 4,
2 2 2
(✷ + △) = ✷ + 2 ✷△ + △
Suggested Homework Set 1. Go into a library or the World Wide Web and
come up with five (5) functions that appear in the literature. Maybe they have for any two symbols ✷, △ repre-
names associated with them? Are they useful in science, engineering or in com-
senting real numbers, functions, etc.
merce? Once you have your functions, identify the dependent and independent
Don’t forget the middle terms,
variables and try to evaluate those functions at various points in their domain.
namely, “ 2 ✷△ ” in this formula.
NOTES
12 1.3. THE ABSOLUTE VALUE OF A FUNCTION
One of the most important functions in the study of calculus is the absolute value
function.
Definition of the absolute
value function
Definition 2. The function whose rule is defined by setting
x, if x ≥ 0,
|x| =
−x, if x < 0.
For example,| − 5| = −(−5) = +5, and |6.1| = 6.1. You see from this Definition
that the absolute value of a number is either that same number (if it is positive) or
the original unsigned number (dropping the minus sign completely). Thus, | − 5| =
−(−5) = 5, since −5 < 0 while |3.45| = 3.45 since 3.45 > 0. Now the inequality
(0 ≤) |✷| ≤ △ (1.1)
between the symbols ✷ and △ is equivalent to (i.e., exactly the same as) the in-
equality
−△ ≤ ✷ ≤ △. (1.2)
where ✷ and △ are any two symbols whatsoever (x, t, or any function of x, etc).
Why is this true? Well, there are only only two cases. That is, ✷ ≥ 0 and ✷ ≤ 0,
right? Let’s say ✷ ≥ 0. In this case ✷ = |✷| and so (1.1) implies (1.2) immediately
since the left side of (1.2) is already negative. On the other hand if ✷ ≤ 0 then, by
(1.1), |✷| = −✷ ≤ △ which implies ✷ ≥ −△. Furthermore, since ✷ ≤ 0 we have
that ✷ ≤ −✷ ≤ △ and this gives (1.2). For example, the inequality |x − a| < 1
means that the distance from x to a is at most 1 and, in terms of an inequality,
this can be written as
Why? Well, put x − a in the box of (1.1) and the number 1 in the triangle. Move
these symbols to (1.2) and remove the box and triangle, then what’s left is what you
want. That’s all. Now, adding a to both ends and the middle term of this latest
inequality we find the equivalent statement
This business of passing from (1.1) to (1.2) is really important in Calculus and
you should be able to do this without thinking (after lots of practice you will, don’t
worry).
Example 18. Write down the values of the function f defined by the rule
f (x) = |1 − x2 | as a function defined in pieces. That is “remove the absolute value”
around the 1 − x2 .
Solution Looks tough? Those absolute values can be very frustrating sometimes!
Just use the Box Method of Section 1.2. That is, use Definition 2 and replace all
the symbols between the vertical bars by a ✷. This really makes life easy, let’s try it
out. Put the symbols between the vertical bars, namely, the “1 − x2 ” inside a box,
✷. Since, by definition,
✷, if ✷ ≥ 0,
|✷|= (1.3)
−✷, if ✷ < 0,
1.3. THE ABSOLUTE VALUE OF A FUNCTION 13
we also have
Solving a square root in-
equality!
8
>
< 1 − x2 , if 1 − x2 ≥ 0, If for some real numbers A and
2 2 x, we have
|1 − x | = | 1 − x |=
>
:
− 1 − x2 , 1 − x2 < 0.
2
if x < A,
√
(1 − x2 ), if 1 ≥ x2 , |✷| < A
2
|1 − x | =
−(1 − x2 ), if 1 < x2 . These results are still true if we
replace “<” by “≤” or if we re-
verse the inequality and A > 0.
Almost done! We just need to solve for x on the right, above. To do this, we’re
going to use the results in Figure 6 with A = 1. So, if x2 ≤ 1 then |x| ≤ 1 too. Figure 6.
Similarly, if 1 < x2 then 1 < |x|, too. Finally, we find
(1 − x2 ), if 1 ≥ |x|,
| 1 − x2 | =
−(1 − x2 ), if 1 < |x|.
1 − x2 , if −1 ≤ x ≤ +1,
| 1 − x2 | =
x2 − 1, if x > 1 or x < −1.
Steps in removing
absolute values in a
A glance at this latest result shows that the natural domain of f (see the Appendix) function f
is the set of all real numbers.
• Look at that part of f with
the absolute values,
NOTE The procedure described in Example 18 will be referred to as the
• Put all the stuff between the
process of removing the absolute value. You just can’t leave out those vertical bars in a box ,
vertical bars because you feel like it! Other functions defined by absolute
values are handled in the same way. • Use the definition of the ab-
solute value, equation 1.3.
the Box Method. Since for any symbol say, ✷, we have by definition, (See Examples 18 and
20)
✷, if ✷ ≥ 0,
|✷|=
−✷, if ✷ < 0.
Figure 7.
we see that, upon inserting the symbols x2 + 2x inside the box and then removing
14 1.3. THE ABSOLUTE VALUE OF A FUNCTION
Solving x2 + 2x ≥ 0:
A similar argument applies to the case where we need to solve x(x + 2) < 0. Once
again there are two cases, namely, the case where x > 0 and x + 2 < 0 and the
separate case where x < 0 and x + 2 > 0. Hence,
Solving x2 + 2x < 0:
Case 1: x > 0 and (x + 2) < 0. This case is impossible since, if x > 0 then x + 2 > 2
and so x + 2 < 0 is impossible. This means that there are no x such that x > 0 and
x + 2 < 0.
Case 2: x < 0 and (x + 2) > 0. This implies that x < 0 and x > −2, which gives
the inequality x2 + 2x < 0. So, the the solution set is {x : −2 < x < 0}.
Combining the conclusions of each of these cases, our function takes the form,
8
< x2 + 2x, if x ≤ −2 or x ≥ 0,
2
| x + 2x | =
−(x2 + 2x),
:
if −2 < x < 0.
Its graph appears in the margin.
The graph of f(x) = |x2 + 2x|.
Example 20. Rewrite the function f defined by
f (x) = |x − 1| + |x + 1|
Combining these four cases we see that we only need to consider the three cases
where x ≤ −1, x ≥ 1 and −1 ≤ x ≤ 1 separately.
In the first instance, if x ≤ −1, then x + 1 ≤ 0 and so |x + 1| = −(x + 1). What about
|x − 1|? Well, since x ≤ −1 it follows that x − 1 ≤ −2 < 0. Hence |x − 1| = −(x − 1)
for such x. Combining these two results about the absolute values we get that
f (x) = |x + 1| + |x − 1| = −(x + 1) − (x − 1) = −2x,
for x ≤ −1.
8
< −2x, if x ≤ −1,
|x + 1| + |x − 1| = 2, if −1 ≤ x ≤ 1.
:
2x, if x ≥ 1.
and this completes the description of the function f as required. Its graph consists
of the darkened lines in the adjoining Figure.
The graph of f(x) = |x +1| +|x − 1|.
Example 21. Remove the absolute value in the function f defined by f (x) =
p
| cos x| for −∞ < x < +∞.
Solution First, we notice that | cos x| ≥ 0 regardless of the value of x, right? So,
the square root of this absolute value is defined for every value of x too, and this
explains the fact that its natural domain is the open interval −∞ < x < +∞. We
use the method in Figure 7.
• Let’s look at that part of f which has the absolute value signs in it...
In this case, it’s the part with the | cos x| term in it.
• Then, take all the stuff between the vertical bars of the absolute value and stick
them in a box ...
Using Definition 2 in disguise namely, Equation 1.3, we see that
8
< cos x , if cos x ≥ 0,
| cos x | = | cos x | =
:
− cos x , if cos x < 0.
16 1.3. THE ABSOLUTE VALUE OF A FUNCTION
• Now, remove the boxes, and replace them by parentheses if need be ...
cos x, if cos x ≥ 0,
| cos x | =
−cos x, if cos x < 0.
• Next, solve the inequalities on the right of the last display above for x.
In this case, this means that we have to figure out when cos x ≥ 0 and when
cos x < 0, okay? There’s a few ways of doing this... One way is to look at the
graphs of each one of these functions and just find those intervals where the
graph lies above the x-axis.
Another way involves remembering the trigonometric fact that the cosine func-
tion is positive in Quadrants I and IV (see the margin for a quick recall). Turning
this last statement into symbols means that if x is between −π/2 and π/2, then
cos x ≥ 0. Putting it another way, if x is in the interval [−π/2, +π/2] then
cos x ≥ 0.
But we can always add positive and negative multiples of 2π to this and get
more and more intervals where the cosine function is positive ... why?. Either
way, we get that cos x ≥ 0 whenever x is in the closed intervals [−π/2, +π/2],
[3π/2, +5π/2], [7π/2, +9π/2], . . . or if x is in the closed intervals [−5π/2, −3π/2],
[−9π/2, −7π/2], . . . (Each one of these intervals is obtained by adding multiples
of 2π to the endpoints of the basic interval [−π/2, +π/2] and rearranging the
numbers in increasing order).
Figure 8. 8 √
>
> cos x, if x is in [−π/2, +π/2], [3π/2, +5π/2],
>
>
>
> [7π/2, +9π/2], . . . , or if x is in
<
p [−5π/2, −3π/2], [−9π/2, −7π/2], . . .,
| cos x | =
>
> √
>
>
>
> −cos x, if x is NOT IN ANY ONE
:
of the above intervals.
Phew, that’s it! Look at Fig. 8 to see what this function looks like.
You shouldn’t worry about the minus sign appearing inside the square root sign
above because, inside those intervals, the cosine is negative, so the negative of the
cosine is positive, and so we can take its square root without any problem! Try to
understand this example completely; then you’ll be on your way to mastering one
of the most useful concepts in Calculus, handling absolute values!
SNAPSHOTS
√
Example 22. The natural domain of the function h defined by h(x) = x2 − 9
2
is the set of all real numbers x such that x − 9 ≥ 0 or, equivalently, |x| ≥ 3 (See
Table 12.1 and Figure 6).
1.3. THE ABSOLUTE VALUE OF A FUNCTION 17
Example 23. The function f defined by f (x) = x2/3 −9 has its natural domain
given by the set of all real numbers, (−∞, ∞)! No exceptions! All of them...why?
√
Solution Look at Table 12.1 and notice that, by algebra, x2/3 = ( 3 x) 2 . Since
the natural domain of the “cube root” function is (−∞, ∞), the same is true of its
“square”. Subtracting “9” doesn’t change the domain, that’s all!
Example 24. Find the natural domain of the the function f defined by
x
f (x) = .
sin x cos x
Solution The natural domain of f is given by the set of all real numbers with the
property that sin x cos x 6= 0, (cf., Table 12.1), that is, the set of all real numbers x
with x 6= ± π/2, ± 3π/2, ± 5π/2, ± 7π/2, ..., 0, ± π, ± 2π, ± 3π, ± 4π, ... (as these
are the values where the denominator is zero). Sofya Kovalevskaya
(1850 - 1891)
Example 25. The natural domain of the function f given by Celebrated immortal mathemati-
cian, writer, and revolutionary, she
| sin x| was appointed Professor of Mathe-
f (x) = √ matics at the University of Stock-
1 − x2 holm, in Sweden, in 1889, the first
woman ever to be so honored in her
is given by the set of all real numbers x with the property that 1 − x2 > 0 or, time and the second such in Europe
(Sophie Germain, being the other
equivalently, the open interval |x| < 1, or, −1 < x < +1 (See Equations 1.1 and one). At one point, she was appar-
1.2). ently courted by Alfred Nobel and
brothers (of Nobel Prize fame). Au-
thor of more than 10 mathemati-
Example 26. Find the natural domain of the function f defined by f (x) = cal papers, she proved what is now
p known as the Cauchy-Kovalevski
| sin x| Theorem, one of the first deep re-
sults in a field called Partial Dif-
ferential Equations, an area used in
Solution The natural domain is given by the set of all real numbers x in the interval the study of airplane wings, satel-
(−∞, ∞), that’s right, all real numbers! Looks weird right, because of the square lite motion, wavefronts, fluid flow,
among many other applications. A.
root business! But the absolute value will turn any negative number inside the L. Cauchy’s name appears because
root into a positive one (or zero), so the square root is always defined, and, as a he had proved a more basic version
consequence, f is defined everywhere too. of this result earlier.
Recall that an identity is an equation which is true for any value of the variable
for which the expressions are defined. So, this means that the identities are true
regardless of whether or not the variable looks like an x, y, [], ⋄, f (x), etc.
Odd-even identities
sin(−x) = − sin x,
cos(−x) = cos x.
Pythagorean identities
sin2 x + cos2 x = 1,
2 2
sec x − tan x = 1.
csc2 x − cot2 x = 1,
18 1.3. THE ABSOLUTE VALUE OF A FUNCTION
Addition identities
Double-angle identities
You can derive the identities below from the ones above, or ... you’ll have
to memorize them! Well, it’s best if you know how to get to them from the ones
above using some basic algebra.
“x + y” “x − y”
tan(−x) = − tan(x) sin x + sin y = 2 sin cos
2 2
“π ” “x + y” “x − y”
sin − x = cos x cos x + cos y = 2 cos cos
2 2 2
“π ” 1
cos − x = sin x sin x cos y = [sin(x + y) + sin(x − y)]
2 2
“π ” 1
tan − x = cot x sin x sin y = − [cos(x + y) − cos(x − y)]
2 2
1
cos(2x) = 1 − 2 sin2 x cos x cos y = [cos(x + y) + cos(x − y)]
2
r
x 1 − cos x
cos(2x) = 2 cos2 x − 1 sin =±
2 2
r
tan x + tan y x 1 + cos x
tan(x + y) = cos =±
1 − tan x tan y 2 2
NOTES:
1.3. THE ABSOLUTE VALUE OF A FUNCTION 19
Exercise Set 2.
Use the method of Example 18, Example 20, Example 21 and the discussion following
Definition 2 to remove the absolute value appearing in the values of the functions
defined below. Note that, once the absolute value is removed, the function will be
defined in pieces.
Hint: Put the symbols 3x + 4 in a box and use the idea in Example 18
6.
1
f (x) = √
|x| x2 − 1
7. The signum function, whose name is simply sgn (and pronounced the sign of x)
where
x
sgn(x) =
|x|
for x 6= 0. The motivation for the name comes from the fact that the values of
this function correspond to the sign of x (whether it is positive or negative).
√
9. f (x) = x − x2 , for −∞ < x < +∞.
−1 = −1
r r
1 −1
=
−1 1
√ √
1 −1
√ = √
−1 1
√ √ √ √
1 1 = −1 −1
√ √
( 1)2 = ( −1)2
1 = −1
Crazy, right?
NOTES:
1.4. A QUICK REVIEW OF INEQUALITIES 21
A Basic Inequality
If
0 < ✷ ≤ △,
then
1 1
≥ ,
✷ △
regardless of the meaning of the box or the triangle or what’s in them!
OR
If
1 1
0< ≤ ,
✷ △
then
✷ ≥ △,
regardless of the meaning of the box or the triangle or what’s in them!
OR
In this section we will review basic inequalities because they are really important
in Calculus. Knowing how to manipulate basic inequalities will come in handy
when we look at how graphs of functions are sketched, in our examination of the
monotonicity of functions, their convexity and many other areas. We leave the
subject of reviewing the solution of basic and polynomial inequalities to Chapter 5.
So, this is one section you should know well!
In this section, as in previous ones, we make heavy use of the generic symbols ✷
and △, that is, our box and triangle. Just remember that variables don’t have to be
called x, and any other symbol will do as well.
Recall that the reciprocal of a number is simply the number 1 divided by the
number. Table 1.2 shows what happens when you take the reciprocal of each
term in an inequality involving two positive terms. You see, you need to reverse
the sign!. The same result is true had we started out with an inequality among
reciprocals of positive quantities, see Table 1.3.
The results mentioned in these tables are really useful! For example,
22 1.4. A QUICK REVIEW OF INEQUALITIES
1 1
> 2 .
x2 x +1
Solution We know that 0 < x2 < x2 + 1, and this is true regardless of the value
of x, so long as x 6= 0, which we have assumed anyhow. So, if we put x2 in the box
in Table 1.2 and (make the triangle big enough so that we can) put x2 + 1 in the
triangle, then we’ll find, as a conclusion, that
1 1
> 2 ,
x2 x +1
and this is true for any value of x 6= 0, whether x be positive or negative.
Solution Recall that | ✷ | < △ is equivalent to −△ < ✷ < △ for any two symbols
(which we denote by ✷ and △). In this case, putting 2x − 1 in the box and 3 in the
triangle, we see that we are looking for x’s such that −3 < 2x − 1 < 3. Adding 1 to
all the terms gives −2 < 2x < 4. Finally, dividing by 2 right across the inequality
we get −1 < x < 2 and this is our answer.
A✷ ≤ A△
Example 29. Solve the inequality
ր A>0?
˛ ˛
˛ x+1 ˛
˛ 2x + 3 ˛ < 2
˛ ˛
✷≤△
ց A<0? for x.
A✷ ≥ A△ Solution Once again, by definition of the absolute value, this means we are looking
for x’s such that
x+1
Figure 9. −2 < < 2.
2x + 3
There now two main cases: Case 1 where 2x + 3 > 0 OR Case 2 where 2x + 3 < 0.
Of course, when 2x + 3 = 0, the fraction is undefined (actually infinite) and so this
is not a solution of our inequality. We consider the cases in turn:
Well, let’s recapitulate. We have shown that if 2x + 3 > 0 then we must have
x > − 57 = −1.4 and x > − 35 ≈ −1.667. On the one hand if x > −1.4 then
x > −1.667 for sure and so the two inequalities together imply that x > −1.4, or
x > − 57 . But this is not all! You see, we still need to guarantee that 2x + 3 > 0
(by the main assumption of this case)! That is, we need to make sure that we have
BOTH 2x + 3 > 0 AND x > − 75 , i.e., we need x > − 23 and x > − 57 . These last two
inequalities together imply that
7
x>− .
5
Case 2: 2x + 3 < 0 In this case we still multiply the last display throughout by
2x + 3 but now we must REVERSE the inequalities (by the rules in Figure 9, since
1.4. A QUICK REVIEW OF INEQUALITIES 23
As before we can derive the two inequalities −4x − 6 > x + 1 and x + 1 > 4x + 6.
Solving for x in both instances we get 5x < −7 or x < − 57 and 3x < −5 or x < − 35 .
But now, these two inequalities together imply that x < − 35 ≈ −1.667. This result,
combined with the basic assumption that 2x + 3 < 0 or x < − 23 = −1.5, gives us
that x < − 35 (since −1.667 < −1.5). The solution in this case is therefore given by
the inequality
5
x<− .
3
Combining the two cases we get the final solution as (see the margin)
7 5
−1.4 = − <x OR x<− ≈ −1.667.
5 3
In terms of intervals the answer is the set of points x such that
5 7
−∞ < x < − OR − < x < ∞.
3 5
where the symbols ✷, a may represent actual numbers, variables, function values,
etc. Replacing a here by |x| and ✷ by x we get, by (1.4),
We get a similar statement for y, that is, There are 2 other really impor-
tant inequalities called the Trian-
gle Inequalities: If ✷, △ are any 2
−|y| ≤y≤ |y|. (1.6) symbols representing real numbers,
functions, etc. then
Since we can add inequalities together we can combine (1.5) and (1.6) to find
|✷ + △| ≤ |✷| + |△|,
−|x| − |y| ≤ x+y ≤ |x| + |y|, (1.7)
and
or equivalently
|✷ − △| ≥ | |✷| − |△| |.
−(|x| + |y|) ≤ x+y ≤ |x| + |y|. (1.8)
Now replace x + y by ✷ and |x| + |y| by a in (1.8) and apply (1.4). Then (1.8) is
equivalent to the statement
for any two real numbers x, y. This is called the Triangle Inequality.
|x − y| ≥ |x| − |y|.
24 1.4. A QUICK REVIEW OF INEQUALITIES
|x − y| ≥ ±(|x| − |y|),
˛ ˛
˛ ˛
˛|x| − |y|˛ ≤ |x − y|. (1.10)
˛ ˛
1 1
√ ≥ .
x |x|
Solution If x = 1 the result is clear. Now, everyone believes that, if x > 1, then
x < x2√. OK, well, we can take the square root of both sides and use Figure 6 to get
√
x < x2 = |x|. From this we get,
1 1
If x > 1, √ > .
x |x|
On the other hand, one has to be careful with the opposite inequality x > x2 if
x < 1 . . . This is true, even though it doesn’t seem right!
1 1
√ ≤ .
x x
Solution Once again, if x =√1 the result is clear. Using Figure 6 again, we now
√
find that if x < 1, then x > x2 = |x|, and so,
1 1 1
If 0 < x < 1, √ < = .
x |x| x
These inequalities can allow us to es-
timate how big or how small func-
tions can be!
Example 32. We know that ✷ < ✷ + 1 for any ✷ representing a positive
number. The box can even be a function! In other words, we can put a function of x
inside the box, apply the reciprocal inequality of Table 1.2, (where we put the symbols
✷ + 1 inside the triangle) and get a new inequality, as follows. Since ✷ < ✷ + 1,
then
1 1
> .
✷ ✷+1
Now, put the function f defined by f (x) = x2 + 3x4 + |x| + 1 inside the box. Note
that f (x) > 0 (this is really important!). It follows that, for example,
1 1 1
> 2 = 2 .
x2 + 3x4 + |x| + 1 x + 3x4 + |x| + 1 + 1 x + 3x4 + |x| + 2
1.4. A QUICK REVIEW OF INEQUALITIES 25
✷ ≤ △,
then
A✷ ≤ A△,
• If A < 0, is any symbol (variable, function, number, fraction, . . . ) and
✷ ≤ △,
then
A✷ ≥ A△,
Don’t forget to reverse the inequality sign when A < 0 !
Solution The best way to figure out how big f is, is to try and estimate each term
which makes it up. Let’s leave x2 alone for the time being and concentrate on the
cos x term. We know from trigonometry that | cos x| ≤ 1 for any value of x. OK,
since ± cos x ≤ | cos x| by definition of the absolute value, and | cos x| ≤ 1 it follows
that
± cos x ≤ 1
for any value of x. Choosing the plus sign, because that’s what we want, we add x2
to both sides and this gives
Figure 10.
f (x) = x2 + cos x ≤ x2 + 1
and this is true for any value of x. But we’re only given that x is between 0 and 1.
So, we take the right-most term, the x2 + 1, and replace it by something “larger”.
The simplest way to do this is to notice that, since x ≤ 1 (then x2 ≤ 1 too) and
x2 + 1 ≤ 12 + 1 = 2. Okay, now we combine the inequalities above to find that, if
0 ≤ x ≤ 1,
f (x) = x2 + cos x ≤ x2 + 1 ≤ 2.
This shows that f (x) ≤ 2 for such x′ s and yet we never had to calculate the range
of f to get this ... We just used inequalities! You can see this too by plotting its
graph as in Figure 10.
NOTE: We have just shown that the so-called maximum value of the function
f over the interval [0, 1] denoted mathematically by the symbols
max f (x)
x in [0,1]
max f (x) ≤ 2.
x in [0,1]
Example 34. Show that if x is any real number, then −x3 ≥ −x2 (x + 1).
Solution We know that, for any value of x, x < x + 1 so, by Table 1.4, with
A = −2 we find that −2x > −2(x + 1). You see that we reversed the inequality
since we multiplied the original inequality by a negative number! We could also
have multiplied the original inequality by A = −x2 ≤ 0, in which case we find,
−x3 ≥ −x2 (x + 1) for any value of x, as being true too.
1 1
≤ .
xp x
1 1
≥ .
xp x
Figure 12.
Solution In this final example of this type we look at what happens if we change the
p values of the preceding two examples and keep the x-values larger than 1. Okay,
let’s say that 0 < p ≤ 1 and x ≥ 1. Then you’ll believe that, since p − 1 ≤ 0,
0 < xp−1 ≤ 1, (try x = 2, p = 1/2, say). Multiplying both sides by x and taking
reciprocals we get the important inequality (see Fig. 12),
1 1
≥ , if 0 < p ≤ 1, and x ≥ 1 (1.11)
xp x
NOTES:
1.4. A QUICK REVIEW OF INEQUALITIES 27
SNAPSHOTS
Remember, if
2 2
✷ ≤△ ,
Example 38. We know that sin x ≥ 0 in Quadrants I and II, by trigonometry.
then
Combining this with Equation (1.11), we find that: If x is an angle expressed in |✷| ≤ |△|,
radians and 1 ≤ x ≤ π then
regardless of the values of the vari-
sin x sin x ables or symbols involved. If ✷ > 0,
≥ , 0<p≤1 this is also true for positive powers,
xp x p, other than 2. So, if, for example,
✷ > 0, and
Think about why we had to have some restriction like x ≤ π here.
✷p ≤ △p ,
Example 39. On the other hand, cos x ≤ 0 if π/2 ≤ x ≤ π (notice that
then
x > 1 automatically in this case, since π/2 = 1.57... > 1). So this, combined with |✷| ≤ |△|.
Equation (1.11), gives
cos x cos x This result is not true if ✷ < 0 since,
≤ 0<p≤1
xp x for example, (−2)3 < 13 but | − 2| >
where we had to “reverse” the inequality (1.11) as cos x ≤ 0. |1|.
Example 40. There is this really cool (and old) inequality called the AG- in- Figure 13.
equality, (meaning the Arithmetic-Geometric Inequality). It is an inequality between
the “arithmetic mean” of two positive numbers, ✷ and △, and their “geometric
mean”. By definition, the arithmetic mean of ✷ and △, is (✷ + △)/2, or√more
simply, their “average”. The geometric mean of ✷ and △, is, by definition, ✷△.
The inequality states that if ✷ ≥ 0, △ ≥ 0, then
✷+△ p
≥ ✷△
2
√ √
Do you see why this is true? Just start out with the inequality ( ✷ − △)2 ≥ 0,
expand the terms, rearrange them, and then divide by 2.
Example 41. For example, if we set x2 in the box and x4 in the triangle
and apply the AG-inequality (Example 40) to these two positive numbers we get the
“new” inequality
x2 + x4
≥ x3
2
valid for any value of x, something that is not easy to see if we don’t use the AG-
inequality.
When n = 0 we all agree that 0! = 1 . . . Don’t worry about why this is true right now,
but it has something to do with a function called the Gamma Function, which
will be defined later when we study things called improper integrals. Using this
we can arrive at identities like:
n(n − 1) 2 n(n − 1) · · · (2)(1) n
(1 − x)n = 1 − nx + x ± · · · + (−1)n x ,
2! n!
28 1.4. A QUICK REVIEW OF INEQUALITIES
1 1
1. If −A < B then − A > B
1
2. If − A < B then −A > −B
3. If A < B then A2 < B 2
4. If A > B then 1/A < 1/B
5. If A < B then −A < −B
6. If A2 < B 2 and A > 0, then A < B
7. If A2 > B 2 and A > 0, then |B| < A
8. Start with the obvious sin x < sin x + 1 and find an interval of x′ s in which we
can conclude that
1
csc x >
sin x + 1
9. How big is the function f defined by f (x) = x2 + 2 sin x if x is in the interval
[0, 2]?
10. How big is the function g defined by g(x) = 1/x if x is in the interval [−1, 4]?
11. Start with the inequality x > x − 1 and conclude that for x > 1, we have
x2 > (x − 1)2 .
12. If x is an angle expressed in radians and 1 ≤ x ≤ π show that
sin x
≥ sin x, p ≤ 1.
xp−1
√
13. Use the AG-inequality to show that if x ≥ 0 then x + x2 ≥ x3 . Be careful here,
you’ll need to use the fact that 2 > 1! Are you allowed to “square both sides”
of this inequality to find that, if x ≥ 0, (x + x2 )2 ≥ x3 ? Justify your answer.
1.4. A QUICK REVIEW OF INEQUALITIES 29
where c is the speed of light. Determine the conditions on v which give us that
the quantity γ is a real number. In other words, find the natural domain of γ.
Hint: This involves an inequality and an absolute value. Mathematics is not always done
17. Show that for any integer n ≥ 1 there holds the inequalities by mathematicians. For example,
Remove the absolute value (see Section 1.3 and Equation 1.3).
13. f (x) = |x + 3|
14. g(t) = |t − 0.5|
15. g(t) = |1 − t|
16. f (x) = |2x − 1|
17. f (x) = |1 − 6x|
18. f (x) = |x2 − 4|
19. f (x) = |3 − x3 |
20. f (x) = |x2 − 2x + 1|
21. f (x) = |2x − x2 |
22. f (x) = |x2 + 2|
23. If x is an angle expressed in radians and 1 ≤ x ≤ π/2 show that
cos x
≥ cos x, p≤1
xp−1
24. Use your calculator to tabulate the values of the quantity
„ «n
1
1+
n
for n = 1, 2, 3, . . . , 10 (See Exercise 17 of Exercise Set 3). Do the numbers you
get seem to be getting close to something?
1.6. USING COMPUTER ALGEBRA SYSTEMS (CAS), 31
Suggested Homework Set 4. Work out problems 2, 4, 12, 17, 19, 21, 24
Use your favorite Computer Algebra System (CAS), like Maple, MatLab, etc., or
even a graphing calculator to answer the following questions:
√
1. f (x) = x, for x = −2, −1, 0, 1.23, 1.414, 2.7. What happens when x < 0?
Conclude that the natural domain of f is [0, +∞).
√ √
2. g(x) = sin(x 2) + cos(x 3), for x = −4.37, −1.7, 0, 3.1415, 12.154, 16.2. Are
there any values of x for which g(x) is not defined as a real number? Explain.
√
3. f (t) = 3 t, for t = −2.1, 0, 1.2, −4.1, 9. Most CAS define power functions only
when the base is positive, which is not the case if t < 0. In this case the natural
domain of f is (−∞, +∞) even though the CAS wants us to believe that it is
[0, ∞). So, be careful when reading off results using a CAS.
x+1
4. g(x) = . Evaluate g(−1), g(0), g(0.125), g(1), g(1.001), g(20), g(1000). De-
x−1
termine the behavior of g near x = 1. To do this use values of x just less than
1 and then values of x just larger than 1.
5. Define a function f by
8 √
< t+ t
√ , if t > 0,
f (t) = t
:
1, if t = 0.
√
Evaluate f (1), f (0), f (2.3), f (100.21). Show that f (t) = t + 1 for every value
of t ≥ 0.
√ √
6. Let f (x) = 1 + 2 cos2 ( x + 2) + 2 sin2 ( x + 2).
a) |3x − 2| < 5
b) |2x − 2| < 4.2
c) |(1.2)x − 3| > 2.61
d) |1.3 − (2.5)x| = 0.5
e) |1.5 − (5.14)x| > 2.1
where each term is the image of the preceding term under f . Are these values
approaching any specific value? Can you find values of x = x0 (e.g., x0 =
0.231, 0.64, . . .) for which these iterations actually seem to be approaching some
specific number? This is an example of a chaotic sequence and is part of an
exciting area of mathematics called “Chaos”.
11. Plot the graphs of y = x2 , (1.2)x2 , 4x2 , (10.6)x2 and compare these graphs
with those of 1 1 1 1
y = x 2 , (1.2)x 2 , 4x 2 , (10.6)x 2 .
Use this graphical information to guess the general shape of graphs of the form
y = xp for p > 1 and for 0 < p < 1. Guess what happens if p < 0?
12. Plot the graphs of the family of functions f (x) = sin(ax) for a = 1, 10, 20, 40, 50.
NOTES:
Chapter 2
On the other hand, in the world of temperature we have another ‘limit’, namely,
something called absolute zero equal to −273o C, or, by definition, 0K where K
stands for Kelvin. This temperature is a lower limit for the temperature of any
object under normal conditions. Normally, we may remove as much heat as we want
from an object but we’ll never be able to remove all of it, so to speak, so the object
33
34
These are physical examples of limits and long ago some guy called Karl Weier-
strass (1815-1897), decided he would try to make sense out of all this limit stuff
mathematically. So he worked really hard and created this method which we now
call the epsilon-delta method which most mathematicians today use to prove that
such and such a number is, in fact, the limit of some given function. We don’t al-
ways have to prove it when we’re dealing with applications, but if you want to know
how to use this method you can look at the Advanced Topics in previous editions
of this book. The idea was that you could call some number L a ‘limit’ of a given
function as x approaches a if the difference between |f (x) − L| can be made as small
as possible so long as |x − a| is small enough (or so long as x is close enough to a).
In many practical situations functions may be given in different formats: that is,
their graphs may be unbroken curves or even broken curves. For example, the
function C which converts the temperature from degrees Centigrade, x, to degrees
Fahrenheit, C(x), is given by the straight line C(x) = 59 x + 32 depicted in Fig. 14.
Figure 14. This function’s graph is an unbroken curve and we call such graphs the graph of a
continuous function (as the name describes).
Example 42. If a taxi charges you $3 as a flat fee for stepping in and 10
cents for every minute travelled, then the graph of the cost c(t), as a function of
time t (in minutes), is shown in Fig. 15.
Figure 15. In this case, the graph of c is a broken curve and this is an example of a discontin-
uous function (because of the ‘breaks’ it cannot be continuous). It is also called a
step-function for obvious reasons.
These two examples serve to motivate the notion of continuity. Sometimes functions
describing real phenomena are not continuous but we “turn” them into continuous
functions as they are easier to visualize graphically.
Example 43. For instance, in Table 2.1 above we show the plot of the fre-
quency of Hard X-rays versus time during a Solar Flare of 6th March, 1989:
The actual X-ray count per centimeter per second is an integer and so the plot
should consist of points of the form (t, c(t)) where t is in seconds and c(t) is the X-
ray count, which is an integer. These points are grouped tightly together over small
time intervals in the graph and “consecutive” points are joined by a line segment
(which is quite short, though). The point is that even though these signals are
discrete we tend to interpolate between these data points by using these small line
segments. It’s a fair thing to do but is it the right thing to do? Maybe nature doesn’t
like straight lines! The resulting graph of c(t) is now the graph of a continuous
function (there are no “breaks”).
2.1. ONE-SIDED LIMITS OF FUNCTIONS 35
As you can gather from Fig. 15, the size of the break in the graph of c(t) is given
by subtracting neighbouring values of the function c around t = a.
To make this idea more precise we define the limit from the left and the limit Figure 16.
from the right of function f at the point x = a, see Tables 2.2 & 2.3 (and an
optional chapter for the rigorous definitions).
We say that the function f has a limit from the right at x = a (or the right-
hand limit of f exists at x = a) whose value is L and denote this symbolically
by
f (a + 0) = lim f (x) = L
x→a+
(For a more rigorous definition see the Advanced Topics, later on.)
called the Heaviside Function (named after Oliver Heaviside, (1850 - 1925) an
electrical engineer) has the property that
lim H(x) = 1
x→0+
Why? This is because we can set a = 0 and f (x) = H(x) in the definition (or in
Table 2.2) and apply it as follows:
36 2.1. ONE-SIDED LIMITS OF FUNCTIONS
Well, we know that H(x) = 1 for any x > 0, so, as long as x 6= 0, the values
H(x) = 1, (see Fig. 17), so this will be true “in the limit” as x approaches 0.
We say that the function f has a limit from the left at x = a (or the left-
hand limit of f exists at x = a) and is equal to L and denote this symbolically
by
f (a − 0) = lim f (x) = L
x→a−
Returning to our Heaviside function, H(x), (see Fig. 17), defined earlier we see that
lim H(x) = 0
x→0−
The graph of the Heaviside Func- Why? In this case we set a = 0, f (x) = H(x) in the definition (or Table 2.3), as
tion, H(x). before:
Figure 17.
a) Let x < 0 and x very close to 0;
b) As x approaches 0 the values H(x) = 0, right? (This is because x < 0, and by
definition, H(x) = 0 for such x). The same must be true of the “limit” and so
we have
lim H(x) = 0
x→0−
In practice, the idea is to choose some specific values of x near a (to the ‘right’
or to the ‘left’ of a) and, using your calculator, find the corresponding values of
the function near a.
Example 44. Returning to the Taxi problem, Example 42 above, find the
values of c(1 + 0), c(2 − 0) and c(4 − 0), (See Fig. 15).
Solution By definition, c(1 + 0) = limt→1+ c(t). But this means that we want
the values of c(t) as t → 1 from the right, i.e., the values of c(t) for t > 1 (just
slightly bigger than 1) and t → 1. Referring to Fig. 15 and Example 42 we see
that c(t) = 3.1 for such t’s and so c(1 + 0) = 3.1. In the same way we see that
c(2 − 0) = limt→2− c(t) = 3.1 while c(4 − 0) = limt→4− c(t) = 3.3.
2.1. ONE-SIDED LIMITS OF FUNCTIONS 37
Example 45.
Evaluate the following limits whenever they exist and justify your answers. Numerical evidence for Example 45,
(iii). You can think of ‘x’ as being
i) lim f (x); ii) lim f (x); iii) lim f (x) the name of an athlete and ‘f(x)’
x→−1− x→0+ x→1+
as being their record at running the
Solution i) We want a left-hand limit, right? This means that x < −1 and x should 100 m. dash.
be very close to −1 (according to the definition in Table 2.3).
Now as x approaches −1 (from the ‘left’, i.e., with x always less than −1) we see x f(x)
that x + 1 approaches 0, that is, f (x) approaches 0. Thus, 1.5000 2.2500
1.2500 1.5625
lim f (x) = 0. 1.1000 1.2100
x→−1−
1.0500 1.1025
ii) We want a right-hand limit here. This means that x > 0 and x must be very 1.0033 1.0067
close to 0 (according to the definition in Table 2.2). Now for values of x > 0 and 1.0020 1.0040
close to 0 the value of f (x) is −2x . . . OK, this means that as x approaches 0 then 1.0012 1.0025
−2x approaches 0, or, equivalently f (x) approaches 0. So
1.0010 1.0020
lim f (x) = 0
1.0001 1.0002
x→0+ ... ...
iii) In this case we need x > 1 and x very close to 1. But for such values, f (x) = x2
and so if we let x approach 1 we see that f (x) approaches (1)2 = 1. So, Figure 18.
lim f (x) = 1.
x→1+
See Figure 18, in the margin, where you can ‘see’ the values of our function, f , in
the second column of the table while the x’s which are approaching one (from the
right) are in the first column. Note how the numbers in the second column get
closer and closer to 1. This table is not a proof but it does make the limit we
found believable.
Example 46. Evaluate the following limits and explain your answers.
x+4 x≤3
f (x) =
6 x>3
Solution i) We set x > 3 and x very close to 3. Then the values are all f (x) = 6, by
definition, and these don’t change with respect to x. So
lim f (x) = 6
x→3+
ii) We set x < 3 and x very close to 3. Then the values f (x) = x + 4, by definition,
and as x approaches 3, we see that x + 4 approaches 3 + 4 = 7. So
lim f (x) = 7
x→3−
38 2.1. ONE-SIDED LIMITS OF FUNCTIONS
Solution i) Let x < 0 and x very close to 0. Since x < 0, f (x) = −x2 and f (x) is
very close to −02 = 0 since x is. Thus
lim f (x) = 0
x→0−
ii) Let x > 0 and x very close to 0. Since x > 0, f (x) = x2 and f (x) is very close
to 0 too! Thus
lim f (x) = 0
x→0+
NOTE: In this example the graph of f has no breaks whatsoever since f (0) = 0.. In
this case we say that the function f is continuous at x = 0. Had there been a ‘break’
Figure 19. or some points ‘missing’ from the graph we would describe f as discontinuous
whenever those ‘breaks’ or ‘missing points’ occurred.
Example 48. Use the graph in Figure 19 to determine the value of the
required limits.
Solution i) Let x < 3 and let x be very close to 3. The point (x, f (x)) which is
on the curve y = f (x) now approaches a definite point as x approaches 3. Which
point? The graph indicates that this point is (3, 6). Thus
lim f (x) = 6
x→3−
ii) Let x > 3 and let x be very close to 3. In this case, as x approaches 3, the points
(x, f (x)) travel down towards the point (3, 12). Thus
lim f (x) = 12
x→3+
iii) Here we let x > 18 and let x be very close to 18. Now as x approaches 18 the
points (x, f (x)) on the curve are approaching the point (18, 12). Thus
lim f (x) = 12
x→18+
2.1. ONE-SIDED LIMITS OF FUNCTIONS 39
Exercise Set 4.
“ cos x ”
2. lim (x2 + 1) 8. lim
x→0+ x→π + x
„ «
2 x−2
3 lim (1 − x ) 9. lim
x→1− x→2+ x+2
„ «
1 x
4 lim 10. lim
t→2+ t−2 x→1− |x − 1|
„ «
x−1
5 lim (x|x|) 11. lim
x→0+ x→1− x+2
„ «
x x−3
6 lim 12. lim
x→0− |x| x→3+ x2 − 9
(Hint: Factor the denominator)
Evaluate
i). lim g(x) ii). lim g(x)
x→0− x→0+
v) Conclude that the graph of g has no breaks at x = 0 but it does have a break at
x = 1.
15. Use the graph in Figure 20 to determine the value of the required limits. (The
function f is composed of parts of 2 functions).
At this point we know how to determine the values of the limit from the left (or
right) of a given function f at a point x = a. We have also seen that whenever
NOTE: So, in order for a limit to exist both the right- and left-hand limits must
exist and be equal. Using this notion we can now define the ‘continuity of a function
f at a point x = a.’
3. L = f (a).
Example 49. Show that the given function is continuous at the given points,
x = 1 and x = 2, where f is defined by
8
< x+1 0 ≤x ≤1
f (x) = 2x 1<x≤2
: 2
x x>2
Moreover,
The one-sided limits are equal to each other and their common value is L = 2.
3. Is L = f (1)? By definition f (1) = 1 + 1 = 2, so OK, this is true, because
L = 2.
and
Remarks:
If lim f (x) 6= lim f (x), then lim f (x) does not exist,
x→a+ x→a− x→a
42 2.2. TWO-SIDED LIMITS AND CONTINUITY
Example 50. Show that the function f defined by f (x) = |x−3| is continuous
at x = 3 (see Figure 22).
f is continuous at x = a if
lim f (x) = f (a)
x→ a
whenever all the ‘symbols’ here have meaning (i.e. the limit exists, f (a) exists etc.).
Example 51. Determine whether or not the following functions have a limit
The Arabic numerals or those 10 at the indicated point.
basic symbols we use today in the
world of mathematics seem to have
a) f (x) = x2 + 1 at x = 0
been accepted in Europe and subse-
quently in the West, sometime dur- b) f (x) = 1 + |x − 1| at x = 1
ing the period 1482-1494, as can
1 for t ≥ 0
be evidenced from old merchant c) f (t) = at t = 0
0 for t < 0
records from the era (also known as
1
the High Renaissance in art). Prior d) f (x) = at x = 0
x
to this, merchants and others used
t
Roman numerals (X=10, IX=9, III e) g(t) = at t = 0
t+1
= 3, etc.) in their dealings.
1
d) lim f (x) = lim = +∞
x→0+ x→0+ x
because “division by zero” does not produce a real number, in general. On the other
hand
1
lim f (x) = lim = −∞ (since x < 0)
x→0− x→0− x
Since limx→0+ f (x) 6= limx→0− f (x) the limit does not exist at x = 0. The Sandwich Theorem states
that, if
The rigorous method of handling these examples is presented in an optional lim f(x) = A
x→a
encouraged to consult the Advanced Topics for more details. between two values that are ulti-
mately the same and so f must also
It follows from Table 2.4 that continuous functions themselves have similar proper-
ties, being based upon the notion of limits. For example it is true that:
Assume lim f(x) and lim g(x) both exist and are finite.
x→a x→a
Then
a) The limit of a sum is the sum of the limits.
lim (f(x) + g(x)) = lim f(x) + lim g(x)
x→a x→a x→a
Now, the Properties in Table 2.4 and the following Remark allow us to make some
very important observations about some classes of functions, such as polynomials.
How? Well, let’s take the simplest polynomial f (x) = x. It is easy to see that for
some given number x = a and setting g(x) = x, Table 2.4 Property (e), implies that
the function h(x) = f (x)g(x) = x · x = x2 is also continuous at x = a. In the same
way we can show that k(x) = f (x)h(x) = x · x2 = x3 is also continuous at x = a,
and so on.
In this way we can prove (using, in addition, Property (a)), that any polynomial
whatsoever is continuous at x = a, where a is any real number. We
summarize this and other such consequences in Table 2.8.
NOTES:
2.2. TWO-SIDED LIMITS AND CONTINUITY 45
We say that the function f has a limit from the right at x = a (or
the right-hand limit of f exists at x = a) whose value is L and denote
this symbolically by
lim f(x) = L
x→a+
We say that the function f has a limit from the left at x = a (or
the left-hand limit of f exists at x = a) and is equal to L and denote this
symbolically by
lim f(x) = L
x→a−
Exercise Set 5.
Determine whether the following limits exist. Give reasons. Nicola Oresme, (1323-1382),
Bishop of Lisieux, in Normandy,
wrote a tract in 1360 (this is before
x+2 x≤0
1. lim f (x) where f (x) = the printing press) where, for the
x→0 x x>0
first time, we find the introduction
2. lim (x + 3)
x→1 of perpendicular xy-axes drawn
„ «
x+2 on a plane. His work is likely to
3. lim
x→−2 x have influenced René Descartes
4. lim x sin x (1596-1650), the founder of modern
x→0
Analytic Geometry.
sin (x − 1) 0≤x≤1
5. lim f (x) where f (x) =
x→1 |x − 1| x>1
„ «
x+1
6. lim
x→0 x
„ «
2
7. lim
x→0 x
46 2.2. TWO-SIDED LIMITS AND CONTINUITY
SUMMARY: Continuity of f at x = a.
3. L = f(a).
These three conditions must be satisfied in order for a function f to be
continuous at a given point x = a. If any one or more of these conditions
is not satisfied we say that f is discontinuous at x = a.
„ «
x
8. lim
x→1 x+1
9. lim (2 + |x − 2|)
x→2
3 x≤0
10. lim f (x) where f (x) =
x→0 2 x>0
11. Are the following functions continuous at 0? Give reasons.
a) f (x) = |x|
b) g(t) = t2 + 3t + 2
c) h(x) = 3 + 2|x|
2
d) f (x) =
x+1
x2 + 1
e) f (x) =
x2 − 2
12. Hard Let f be defined by
`1´
x sin x x 6= 0
f (x) =
0 x=0
and so
˛ „ «˛
˛ 1 ˛˛
lim x sin
˛ =0
x→0 ˛ x ˛
„ «
1
c) Conclude that lim x sin = 0.
x→0 x
d) Verify the other conditions of continuity.)
2.2. TWO-SIDED LIMITS AND CONTINUITY 47
an xn + an−1 xn−1 + . . . + a0
r(x) =
bm xm + bm−1 xm−1 + . . . + b0
is continuous at x = a provided the denominator is not equal to zero at
x = a.
c) If f is a continuous function, so is its absolute value function, |f |, and
if
lim f (x) = 0
x→a
(The proof of (c) uses the ideas in the Advanced Topics chapter.)
Remember, to show that f is continuous requires the verification of all three condi-
tions in Table 2.7 whereas to show some function is discontinuous only requires that
one of the three conditions for continuity is not satisfied.
x x≤0
a) f (x) =
3x + 1 x>0
x
b) f (x) = , f (0) = 1
|x|
x2 x=
6 0
c) f (x) =
1 x=0
1
d) f (x) = , x 6= 0
|x|
48 2.2. TWO-SIDED LIMITS AND CONTINUITY
Thus the lim f (x) does not exist and so f cannot be continuous at x = 0, or, equiv-
x→0
alently, f is discontinuous at x = 0.
2. If either one of the left- and Conclusion: f is continuous at every point x except at x = 0.
right-limits of f at x = a is
infinite (See Example 52 (d))
b) Since f (0) = 1 is defined, let’s check for the existence of the limit at x = 0.
3. f(a) is defined but the left- (You’ve noticed, of course, that at x = 0 the function is of the form 00 which is
and right-limits at x = a are not defined as a real number and this is why an additional condition was added
unequal (See Example 52 (a),
(b)) there to make the function defined for all x and not just those x 6= 0.)
(since |x| = −x if x < 0 by definition). Since the one-sided limits are different it
follows that
Thus f is discontinuous at x = 0.
What about the other points? Well, for x 6= 0, f is nice enough. For instance,
if x > 0 then
x x
f (x) = = = +1
|x| x
for each such x > 0. Since f is a constant it follows that f is continuous for x > 0.
On the other hand, if x < 0, then |x| = −x so that
x x
f (x) = = = −1
|x| (−x)
Figure 23. c) Let’s look at f for x 6= 0 first, (it doesn’t really matter how we start). For x 6= 0,
f (x) = x2 is a polynomial and so f is continuous for each such x 6= 0, (Table 2.8).
2.2. TWO-SIDED LIMITS AND CONTINUITY 49
Let’s see
and
and f (0) = +∞ as well! Ah, but now f (0) is not defined as a real number (thus
violating condition (1)). Thus f is discontinuous at x = 0 . . . and the other points?
Well, for x < 0, f (x) = − x1 is a quotient of two polynomials and any x (since x 6= 0)
is not a root of the denominator. Thus f is a continuous function for such x < 0. A
similar argument applies if x > 0.
Conclusion: f is continuous everywhere except at x = 0 where it is discontinuous. The graph of Example 52(c)
We show the graph of the functions defined in (c), (d) in Figure 24.
Exercise Set 6.
|x|
1. f (x) = + 1 for x 6= 0 and f (0) = 2
x
x x<0
2. g(x) =
1 + x2 x ≥ 0
x2 + 3x + 3
3. f (x) =
x2 − 1
(Hint: Find the zeros of the denominator.)
3
x + 1 x 6= 0
4. f (x) =
2 x=0
1 1 The graph of Example 52(d)
5. f (x) = + 2 for x 6= 0, f (0) = +1
x x
1.62 x<0 Figure 24.
6. f (x) =
2x x≥0
Before proceeding with a study of some trigonometric limits let’s recall some fun-
damental notions about trigonometry. Recall that the measure of angle called the
o
radian is equal to 360
2π
≈ 57o . It is also that angle whose arc is numerically equal
to the radius of the given circle. (So 2π radians correspond to 360o , π radians cor-
respond to 180o , 1 radian corresponds to ≈ 57o , etc.) Now, to find the area of a
50 2.2. TWO-SIDED LIMITS AND CONTINUITY
sector of a circle of radius r subtending an angle θ at the center we note that the
area is proportional to this central angle so that
2π θ
=
Area of circle Area of sector
θ
Area of sector = (πr2 )
2π
r2 θ
=
2
Figure 25. We conclude that the area of a sector subtending an angle θ at the center is given
2
by r 2θ where θ is in radians and summarize this in Table 2.10.
r2 θ
Area of a sector = 2
Figure 26. Next we find some relationships between triangles in order to deduce a
very important limit in the study of calculus.
We call the ‘triangle’ whose side is the arc AB and having sides AO, OB a “curvi-
linear triangle” for brevity. (It is also a “sector”!)
Figure 27.
2.2. TWO-SIDED LIMITS AND CONTINUITY 51
1 Figure 28.
Area of triangle ABO = (altitude from base AO)(base length)
2
1 1
= (length of BD) · (1) = (sin x) · (1)
2 2
sin x
=
2
(by definition of the sine of the angle x.) Combining these inequalities we get
1 x sin x π
tan x > > (for 0 < x < , remember?)
2 2 2 2
or
sin x π
cos x < <1 for 0 < x ≤
x 2
sin x
lim cos x ≤ lim ≤ lim 1
x→0+ x→0+ x x→0+
| {z } | {z }
1 1
sin x
lim =1
x→0+ x
If, on the other hand, − π2 < x < 0 (or x is a negative angle) then, writing x = −x0 ,
we have π2 > x0 > 0. Next
where we have used the relation sin(−x0 ) = − sin x0 valid for any angle x0 (in
radians, as usual). Hence
„ «
sin x sin x0
lim = lim
x→0− x x→0− x0
sin x0
= lim
−x0 →0− x0
sin x0
= lim (because if −x0 < 0 then x0 > 0
x0 →0+ x0
and x0 approaches 0+ )
= 1.
If the symbol ✷ represents any continuous function then, so long as we can let
✷ → 0, we have
sin ✷
lim =1
✷→0 ✷
identity
1 − cos2 θ sin2 θ
1 − cos θ = =
1 + cos θ 1 + cos θ
Dividing both sides by θ and rearranging terms we find
1 − cos ✷
lim = 0.
✷→0 ✷
sin θ
lim =1
θ→0 θ
and
„ «
sin θ
lim
θ→0 1 + cos θ
exists (because it is the limit of the quotient of 2 continuous functions, the denomi-
nator not being 0 as θ → 0). Furthermore it is easy to see that
„ «
sin θ sin 0 0
lim = = =0
θ→0 1 + cos θ 1 + cos 0 1+1
2.2. TWO-SIDED LIMITS AND CONTINUITY 53
= 0
NOTES:
54 2.2. TWO-SIDED LIMITS AND CONTINUITY
sin (3x)
a) lim
x→0 x
1 − cos (2x)
b) lim
x→0 x
sin (2x)
c) lim
x→0 sin (3x)
√
sin ( x)
d) lim √
x→0+ x
One of the first complete introduc-
tions to Trigonometry was writ-
ten by one Johannes Müller of
Solution a) We use Table 2.11. If we let ✷ = 3x, we also need the symbol ✷ in the
denominator, right? In other words, x = ✷3 and so
Königsberg, (1436 - 1476), also
known as Regiomontanus. The sin 3x sin (✷) sin (✷)
= =3·
work, written in Latin, is entitled x ( ✷3 ) ✷
De Triangulis omnimodus first ap-
Now, as x → 0 it is clear that, since ✷ = 3x, ✷ → 0 as well. Thus
peared in 1464.
sin (3x) sin (✷)
lim = lim 3 ·
x→0 x ✷→0 ✷
sin (✷)
= 3 lim (by Table 2.4(c))
✷→0 ✷
= 3 · 1 (by Table 2.11)
= 3
✷
b) We use Table 2.12 because of the form of the problem for ✷ = 2x then x = 2
.
So
1 − cos (2x) 1 − cos ✷ 1 − cos ✷
= ✷ =2·
x 2
✷
As x → 0, we see that ✷ → 0 too! So
1 − cos (2x) 1 − cos (✷)
lim = lim (2 · )
x→0 x ✷→0 ✷
1 − cos (✷)
= 2 lim ( ) = 2·0 = 0
✷→0 ✷
c) This type of problem is not familiar at this point and all we have is Table 2.11 as
reference . . . The idea is to rewrite the quotient as something that is more familiar.
For instance, using plain algebra, we see that
sin 2x sin 2x 2x 3x
=( )( )( ),
sin 3x 2x 3x sin 3x
so that some of the 2x’s and 3x-cross-terms cancel out leaving us with the original
expression.
(because “the limit of a product is the product of the limits” cf., Table 2.4.) There-
fore
sin 2x sin 2x 2x 3x
lim = ( lim ) lim ( lim )
x→0 sin 3x x→0 2x x→0 3x 3x→0 sin 3x
2 2
= 1· ·1=
3 3
2.2. TWO-SIDED LIMITS AND CONTINUITY 55
2x 2
(by Tables 2.11& 2.4). Note that the middle-term, 3x
= 3
since x 6= 0.
Using the ‘Box’ method we can rewite this argument more briefly as follows: We
have two symbols, namely ‘2x’ and ‘3x’, so if we are going to use Table 2.11 we need
to introduce these symbols into the expression as follows: (Remember, ✷ and △
are just ‘symbols’. . . ).
(because “the limit of a product is the product of the limits” , cf., Table 2.4.)
Therefore
sin 2x sin ✷ 2x △
lim = ( lim ) lim ( lim )
x→0 sin 3x ✷→0 ✷ x→0 3x △→0 sin △
2 2
= 1· ·1=
3 3
(by Tables 2.11& 2.4).
√ √
d) In this problem we let ✷ = x. As x → 0+ we know that x → 0+ as well.
Thus
√
sin x sin ✷
lim √ = lim =1
x→0+ x ✷→0+ ✷
Philosophy:
Learning mathematics has a lot to do with learning the rules of the interaction
between symbols, some recognizable (such as 1, 2, sin x, . . . ) and others not
(such as ✷, △, etc.) Ultimately these are all ‘symbols’ and we need to recall
how they interact with one another.
Sometimes it is helpful to replace the commonly used symbols ‘y’, ‘z’ , etc.
for variables, by other, not so commonly used ones, like ✷, △ or ‘squiggle’
etc. It doesn’t matter how we denote something, what’s important is how it
interacts with other symbols.
NOTES:
56 2.2. TWO-SIDED LIMITS AND CONTINUITY
lim f(x).
x→a
Exercise Set 7.
sin x
1. lim
x→π x−π
(Hint: Write ✷ = x − π. Note that x = ✷ + π and as x → π, ✷ → 0.)
π
2. limπ (x − )tan x
x→ 2 2
π (x − π2 )
(Hint: (x − )tan x = sin x. Now set ✷ = x − π2 ,so that x = ✷ + π2 and
2 π
cos x
note that, as x → 2 , ✷ → 0.)
sin (4x)
3. lim
x→0 2x
2.2. TWO-SIDED LIMITS AND CONTINUITY 57
1 − cos (3x)
4. lim
x→0 4x
sin (4x)
5. lim
x→0 sin (2x)
√
sin x − 1
6. lim √
x→1+ x−1
Web Links
www.math.montana.edu/frankw/ccp/calculus/estlimit/onesided/learn.htm
http://www.math.psu.edu/dlittle/java/calculus/
http://archives.math.utk.edu/visual.calculus/1/limits.18/index.html
Exercise Set 8.
x−2
1. lim 6. lim sin (πx)
x→2 x x→2−
√ sin (3x)
2. lim x cos x 7. lim
x→0+ x→0 x
„ « „ «
x−3 cos x
3. lim 8. lim
x→3 x2 − 9 x→π + x−π
“ „ «
π” cos x
4. limπ x − sec x 9. lim
x→ 2 2 x→π − x−π
„ «
2x − π
5. limπ 10. lim x | x |
x→ 2 cos x x→0+
Hints:
3) Factor the denominator (Table 2.13, Option 2).
4) Write ✷ = x − π2 , x = ✷ + π2 and simplify (Table 2.13, Option 2).
5) Let ✷ = x − π2 , x = ✷ + π2 and use a formula for the cosine of the sum of two
angles.
9) See Table 2.13, Option 1(b).
cos x
11. f (x) =
x−π
8
sin x
>
< x 6= 0
12. f (x) = x
>
:
−1 x=0
3 2
13. f (x) = x + x − 1
x2 + 1
14. f (x) =
x2 − 1
x−2
15. f (x) =
| x2 − 4 |
cos x − cos 2x
16. lim
x→0 x2
(Hint: It is necessary that aπ + b = 0, why? Next, use the idea of Exercise Set 7
#1.)
1
20. lim √ √
x→0+ x+1− x
NOTES:
2.3. IMPORTANT THEOREMS ABOUT CONTINUOUS FUNCTIONS 59
There are two main results (one being a consequence of the other) in the basic
study of continuous functions. These are based on the property that the graph of a
continuous function on a given interval has no ‘breaks’ in it.
Basically one can think of such a graph as a string which joins 2 points, say (a, f (a))
to (b, f (b)) (see Figure 29).
In Figure 29(a), the graph may have “sharp peaks” and may also look “smooth”
and still be the graph of a continuous function (as is Figure 29(b)).
The Intermediate Value Theorem basically says that if you are climbing a
mountain and you stop at 1000 meters and you want to reach 5000 meters, then
at some future time you will pass, say the 3751 meter mark! This is obvious, isn’t
it? But this basic observation allows you to understand this deep result about
continuous functions.
For instance, the following graph may represent the fluctuations of your local Stock (a)
Exchange over a period of 1 year.
(b)
Assume that the index was 7000 points on Jan. 1, 1996 and that on June 30 it was Figure 29.
7900 points. Then sometime during the year the index passed the 7513 point mark
at least once . . .
f (c) = z
60 2.3. IMPORTANT THEOREMS ABOUT CONTINUOUS FUNCTIONS
The idea behind this Theorem is that any horizontal line that intersects the graph
of a continuous function must intersect it at a point of its domain! This sounds
and looks obvious (see Figure 30), but it’s NOT true if the graph is NOT that of a
continuous function (see Example 31). One of the most important consequences of
this Intermediate Value Theorem (IVT) is sometimes called Bolzano’s Theorem
(after Bernhard Bolzano (1781-1848) mathematician, priest and philosopher).
Theorem 2.3.1. (Bolzano’s Theorem)
Let f be continuous on a closed interval [a, b] (i.e., at each point x in [a, b]). If
f (a)f (b) < 0, then there is at least one point c between a and b such that f (c) = 0.
For example, at which point(s) do the graphs of the functions given by y = sin x
and y = x2 intersect? In order to find this out you need to equate their values, so
that sin x = x2 which then means that x2 − sin x = 0 so the points of intersection
are roots of the function whose values are given by y = x2 − sin x.
Figure 30.
Example 54. Show that there is one root of the polynomial p(x) = x3 + 2 in
the interval −2 ≤ x ≤ −1.
Remark:
If you’re not given the interval where the root of the function may be you need
to find it! Basically you look for points a and b where f (a) < 0 and
f (b) > 0 and then you can refine your estimate of the root by “narrowing
down” your interval.
Figure 31.
Example 55. The distance between 2 cities A and B is 270 km. You’re driving
along the superhighway between A and B with speed limit 100 km/h hoping to get
to your destination as soon as possible. You quickly realize that after one and one-
half hours of driving you’ve travelled 200 km so you decide to stop at a rest area
to relax. All of a sudden a police car pulls up to yours and the officer hands you a
speeding ticket! Why?
Solution Well, the officer didn’t actually see you speeding but saw you leaving A.
Had you been travelling at the speed limit of 100 km/h it should have taken you
2 hours to get to the rest area. The officer quickly realized that „
somewhere along the «
200 km
highway you must have travelled at speeds of around 133 km/hr = ( × 60min .
90min
As a check notice that if you were travelling at a constant speed of say 130 km/h
then you would have travelled a distance of only 130 × 1.5 = 195 km short of your
mark.
A typical graph of your journey appears in Figure 32. Note that your “speed”
must be related to the amount of “steepness” of the graph. The faster you go, the
2.3. IMPORTANT THEOREMS ABOUT CONTINUOUS FUNCTIONS 61
“steeper” the graph. This motivates the notion of a derivative which you’ll see in
the next chapter.
Philosophy
Actually one uses a form of the Intermediate Value Theorem almost daily. For
instance, do you find yourself asking: “Well, based on this and that, such and such
must happen somewhere between ‘this’ and ‘that’ ?”
When you’re driving along in your car you make decisions based on your speed, Figure 32.
right? Will you get to school or work on time? Will you get to the store on time?
You’re always assuming (correctly) that your speed is a continuous function
of time (of course you’re not really thinking about this) and you make these Another result which you know
quick mental calculations that will verify whether or not you’ll get “there” on time. about continuous functions is this:
Basically you know what time you started your trip and you have an idea about If f is continuous on a closed in-
when it should end and then figure out where you have to be in between. . . terval [a, b], then it has a max-
imum value and a minimum
value, and these values are at-
tained by some points in [a, b].
Since total distance travelled is a continuous function of time it follows that there
exists at least one time t at which you were at the video store (this is true) and
some other time t at which you were “speeding” on your way to your destination
(also true!). . . all applications of the IVT.
Finally, we should mention that since the definition of a continuous function depends
on the notion of a limit it is immediate that many of the properties of limits should
reflect themselves in similar properties of continuous functions. For example, from
Table 2.4 we see that sums, differences, and products of continuous functions are
continuous functions. The same is true of quotients of continuous functions provided
the denominator is not zero at the point in question!
62 2.3. IMPORTANT THEOREMS ABOUT CONTINUOUS FUNCTIONS
Web Links
http://hadm.sph.sc.edu/Courses/Econ/irr/irr.html
www.cut-the-knot.com/Generalization/ivt.html
www.cut-the-knot.com/fta/brodie.html
NOTES:
2.4. EVALUATING LIMITS AT INFINITY 63
In this section we introduce some basic ideas as to when the variable tends to plus
infinity (+∞) or minus infinity (−∞). Note that limits at infinity are always
one-sided limits, (why?). This section is intended to be a prelude to a later section
on L’Hospital’s Rule which will allow you to evaluate many of these limits by a
neat trick involving the function’s derivatives.
For the purposes of evaluating limits at infinity, the symbol ‘∞’ has the following
properties:
PROPERTIES
1. It is an ‘extended’ real number (same for ‘−∞’ ).
2. For any real number c (including 0), and r > 0,
c
lim =0
x→∞ xr
(Think of this as saying that c
∞r
= 0 and ∞r = ∞ for r > 0.)
∞
3. The symbol ∞ is undefined and can only be defined in the limiting
sense using the procedure in Table 2.13, Stage 2, some insight and maybe
a little help from your calculator. We’ll be using this procedure a little
later when we attempt to evaluate limits at ±∞ using extended real
numbers.
Basically, the limit symbol “x → ∞” means that the real variable x can be made
“larger” than any real number!
A similar definition applies to the symbol “x → −∞” except that now the real
variable x may be made “smaller” than any real number. The next result is very
useful in evaluating limits involving oscillating functions where it may not be easy
to find the limit.
The Sandwich Theorem (mentioned earlier) is also valid for limits at in-
finity, that is, if
for all (sufficiently) large x and for some (extended) real number A,
lim f (x) = A
x→∞
sin(2x)
a) lim
x→∞ x
64 2.4. EVALUATING LIMITS AT INFINITY
3x2 − 2x + 1
b) lim
x→∞ x2 + 2
1
c) lim
x→−∞ x3 + 1
p
d) lim ( x2 + x + 1 − x)
x→∞
sin(2x) | sin(2x)| 1
Solution a) Let f (x) = . Then |f (x)| = and |f (x)| ≤ since
x x x
| sin(2x)| ≤ 1 for every real number x. Thus
1
0 ≤ lim |f (x)| ≤ lim =0
x→∞ x→∞ x
1
(where we have set g(x) = 0 and h(x) = in the statement of the Sandwich
x
Theorem.) Thus,
lim |f (x)| = 0
x→∞
lim f (x) = 0
x→∞
b) Factor the term ‘x2’ out of both numerator and denominator. Thus
3x2 − 2x + 1 x2 (3 − x2 + x12 )
=
x2 + 2 x2 (1 + x22 )
(3 − x2 + x12 )
=
(1 + x22 )
Now
` ´
3x2 − 2x + 1 limx→∞ 3 − x2 + x12
lim = ` ´
x→∞ x2 + 2 limx→∞ 1 + x22
(because the limit of a quotient is the quotient of the limits )
3−0+0
=
1+0
= 3
1
c) Let f (x) = . We claim lim f (x) = 0 . . . Why?
x3 + 1 x→−∞
2
d)
√ As it stands, letting x → ∞ in the expression x + x + 1 also gives ∞. So
x2 + x + 1 → ∞ as x → ∞. So we have to calculate a “difference of two infinities”
i.e.,
√
f (x) = x2 + x + 1 − x
ւ ց
∞ as x → ∞ ∞ as x → ∞
2.4. EVALUATING LIMITS AT INFINITY 65
There is no way of doing this so we have to simplify the expression (see Table 2.13,
Stage 2) by rationalizing the expression . . . So,
√ √
p ( x2 + x + 1 − x)( x2 + x + 1 + x)
x2 + x + 1 − x = √
x2 + x + 1 + x
(x + x + 1) − x2
2
= √
x2 + x + 1 + x
x+1
= √
x2 + x + 1 + x
The form still isn’t good enough to evaluate the limit directly. (We would be getting
∞
a form similar to ∞ if we took limits in the numerator and denominator separately.)
OK, so we keep simplifying by factoring out ‘x’s from both numerator and denomi-
nator . . . Now,
p x+1
x2 + x + 1 − x = √
x2
+x+1+x
x(1 + x1 )
= “q ”
x 1 + x1 + x12 + 1
1
1+ x
= q
1 1
1+ x
+ x2
+1
As a quick check let’s use a calculator and some large values of x: e.g. x = 10,
100, 1000, 10000, . . . This gives the values: f (10) = 0.53565, f (100) = 0.50373,
f (1000) = 0.50037, f (10000) = 0.500037, . . . which gives a sequence whose limit
appears to be 0.500... = 12 , which is our theoretical result.
Exercise Set 9.
sin(3x)
1. lim (Remember: x is in radians here.)
x→∞ 2x
x
2. lim
x→−∞ x3 + 2
x3 + 3x − 1
3. lim
x→∞ x3 + 1
√ √ √
4. lim x( x + 1 − x)
x→∞
cos x
5. lim
x→−∞ x2
66 2.5. HOW TO GUESS A LIMIT
We waited for this part until you learned about limits in general. Here we’ll show
you a quick and quite reliable way of guessing or calculating some limits at infinity
(or “minus” infinity). Strictly speaking, you still need to ‘prove’ that your guess is
right, even though it looks right. See Table 2.16. Later on, in Section 3.10, we will
see a method called L’Hospital’s Rule that can be used effectively, under some mild
conditions, to evaluate limits involving indeterminate forms.
OK, now just a few words of caution before you start manipulating infinities. If an
operation between infinities and reals (or another infinity) is not among those listed
in Table 2.16, it is called an indeterminate form.
∞ 0
0 · (±∞), ± , ∞ − ∞, (±∞)0 , 1±∞ , , 00
∞ 0
When you meet these forms in a limit you can’t do much except simplify, rationalize,
factor, etc. and then see if the form becomes “determinate”.
Let’s have a closer look at these indeterminate forms: They are called indeterminate
because we cannot assign a single real number (once and for all) to any one of those
expressions. For example,
∞
Question 1: Why can’t we define ∞
= 1? After all, this looks okay . . .
2x
lim = 2,
x→∞ x
∞
and so we can’t define ∞ = 1. Of course, we can easily modify this example to show
that if r is any real number, then
rx
lim = r,
x→∞ x
2.5. HOW TO GUESS A LIMIT 67
Answer 2: No. The reason for this is that there is an infinite number of 1’s here
and this statement about multiplying 1’s together is only true if there is a finite
number of 1’s. Here, we’ll give some numerical evidence indicating that 1∞ 6= 1,
necessarily.
Let n ≥ 1 be a positive integer and look at some of the values of the expression
„ «n
1
1+ , n = 1, 2, 3, ..., 10, 000
n
` ´
1 n
n 1+ n
value
` ´1
n=1 1 + 11 2
` ´2
n=2 1 + 12 2.25
` ´3
n=3 1 + 13 2.37
` ´
1 4
n=4 1+ 4 2.44
` ´5
n=5 1 + 15 2.48
` ´
1 10
n = 10 1 + 10 2.59
` ´
1 50
n = 50 1 + 50 2.69
` 1
´ 100
n = 100 1 + 100 2.7048
` 1
´ 1000
n = 1, 000 1 + 1000 2.7169
` 1
´ 10000
n = 10, 000 1 + 10000 2.71814
... ... ...
Well, you can see that the values do not appear to be approaching 1! In fact, they
seem to be getting closer to some number whose value is around 2.718. More on this
special number later, in Chapter 4. Furthermore, we saw in Exercise 17, of Exercise
Set 3, that these values must always lie between 2 and 3 and so, once again cannot
converge to 1. This shows that, generally speaking, 1∞ 6= 1. In this case one can
show that, in fact,
„ «n
1
lim 1+ = 2.7182818284590...
n→∞ n
Answer 3: No. This isn’t true either since, to be precise, ∞ is NOT a real number,
and so we cannot apply real number properties to it. The simplest example that
shows that this difference between two infinities is not zero is the following. Let n
be an integer (not infinity), for simplicity. Then
68 2.5. HOW TO GUESS A LIMIT
0
Question 4: Isn’t it true that 0
= 0?
Answer 4: No, this isn’t true either. See the example in Table 2.11 and the
discussion preceding it. The results there show that
0 sin 0
=
0 0
sin x
= lim
x→0 x
= 1
in this case. So we cannot assign a real number to the quotient “zero over zero”.
Example 57. Guess the value of each of the following limits at infinity:
sin(2x)
a) lim
x→∞ x
x2
b) lim
x→−∞ x2 + 1
`√ √ ´
c) lim x+1− x
x→∞
Solution a) Since x → ∞, we only need to try out really large values of x. So,
just set up a table such as the one below and look for a pattern . . .
sin 2x
Some values of x The values of f (x) =
x
10 .0913
100 −.00873
1, 000 0.000930
10, 000 0.0000582
100, 000 −0.000000715
1, 000, 000 −0.000000655
... ...
2.5. HOW TO GUESS A LIMIT 69
We note that even though the values of f (x) here alternate in sign, they are always
getting smaller. In fact, they seem to be approaching f (x) = 0, as x → ∞. This is
our guess and, on this basis, we can claim that
sin 2x
lim = 0.
x→∞ x
Below you’ll see a graphical depiction (made by using your favorite software pack-
age or the Plotter included with this book), of the function f (x) over the interval
[10, 100].
Note that the oscillations appear to be dying out, that is, they are getting smaller
and smaller, just like the oscillations of your car as you pass over a bump! We guess
that the value of this limit is 0.
b) Now, since x → −∞, we only need to try out really small (and negative) values
of x. So, we set up a table like the one above and look for a pattern in the values.
x2
Some values of x The values of f (x) =
x2+1
−10 0.9900990099
−100 0.9999000100
−1, 000 0.9999990000
−10, 000 0.9999999900
−100, 000 0.9999999999
−1, 000, 000 1.0000000000
... ...
In this case the values of f (x) all have the same sign, they are always positive.
Furthermore, they seem to be approaching f (x) = 1, as x → ∞. This is our guess
and, on this numerical basis, we can claim that
x2
lim = 1.
x→−∞ x2 +1
70 2.5. HOW TO GUESS A LIMIT
A graphical depiction of this function f (x) over the interval [−100, −10] appears
below.
In this example, the values of the function appear to increase steadily towards the
line whose equation is y = 1. So, we guess that the value of this limit is 1.
c) Once again x → +∞, we only need to try out really large (and positive) values
of x. Our table looks like:
√ √
Some values of x The values of f (x) = x+1− x
10 0.15434713
100 0.04987562
1, 000 0.01580744
10, 000 0.00499999
100, 000 0.00158120
1, 000, 000 0.00050000
... ...
In this case the values of f (x) all have the same sign, they are always positive.
Furthermore, they seem to be approaching f (x) = 0, as x → ∞. We can claim that
`√ √ ´
lim x+1− x = 0.
x→∞
See Example 59 d), for another way of seeing this. A graphical depiction of this
function f (x) over the interval [10, 100] appears below.
Note that larger values of x are not necessary since we have a feeling that they’ll
just be closer to our limit. We can believe that the values of f (x) are always getting
closer to 0 as x gets larger. So 0 should be the value of this limit. In the graph
below we see that the function is getting smaller and smaller as x increases but it
2.5. HOW TO GUESS A LIMIT 71
always stays positive. Nevertheless, its values never reach the number 0 exactly, but
only in the limiting sense we described in this section.
Watch out!
This numerical way of “guessing” limits doesn’t always work! It works well
when the function has a limit, but it doesn’t work if the limit doesn’t exist (see
the previous sections).
For example, the function f (x) = sin x has NO limit as x → ∞. But how do you
know this? The table could give us a hint;
10 −0.5440211109
100 −0.5063656411
1, 000 +0.8268795405
10, 000 −0.3056143889
100, 000 +0.0357487980
1, 000, 000 −0.3499935022
... ...
As you can see, these values do not seem to have a pattern to them. They don’t
seem to “converge” to any particular value. We should be suspicious at this point
and claim that the limit doesn’t exist. But remember: Nothing can replace a
rigorous (theoretical) argument for the existence or non-existence of a
limit! Our guess may not coincide with the reality of the situation as the next
example will show!
Now, we’ll manufacture a function with the property that, based on our nu-
merical calculations, it seems to have a limit (actually = 0) as x → ∞, but,
in reality, its limit is SOME OTHER NUMBER!
„ «
1
Some values of x The values of f (x) = + 10−12
x
10 0.100000000
100 0.010000000
1, 000 0.001000000
10, 000 0.000100000
100, 000 0.000001000
999, 999, 999 0.000000001
... ...
Well, if we didn’t know any better we would think that this limit should be 0. But
this is only because we are limited by the number of digits displayed upon
our calculator! The answer, based upon our knowledge of limits, should be the
number 10−12 (but this number would display as 0 on most hand-held calculators).
That’s the real problem with using calculators for finding limits. You must be
careful!!
Web Links
http://tutorial.math.lamar.edu/Classes/CalcI/LimitsAtInfinityI.aspx
http://www.sosmath.com/calculus/limcon/limcon04/limcon04.html
NOTES:
2.5. HOW TO GUESS A LIMIT 73
Operations on the Extended Real Number Line look at the work of Georg Can-
tor (1845-1918), who actually de-
The extended real number line is the collection of all (usual) real numbers veloped an arithmetic of transfinite
plus two new symbols, namely, ±∞ (called extended real numbers) which cardinal numbers, (or numbers that
have the following properties: are infinite). He showed that ‘differ-
ent infinities’ exist and actually set
Let x be any real number. Then
up rules of arithmetic for them. His
a) x + (+∞) = (+∞) + x = +∞ work appeared in 1833.
b) x + (−∞) = (−∞) + x = −∞
As an example, the totality of all the
c) x · (+∞) = (+∞) · x = +∞ if x > 0 integers (one type of infinite num-
d) x · (−∞) = (−∞) · x = −∞ if x > 0 ber), is different from the totality of
The extended real number line is, by definition, the ordinary (positive and
negative) real numbers with the addition of two idealized points denoted by ±∞
(and called the points at infinity). The way in which infinite quantities interact with
each other and with real numbers is summarized briefly in Table 2.16 above.
It is important to note that any basic operation that is not explicitly mentioned in
Table 2.16 is to be considered an indeterminate form, unless it can be derived from
one or more of the basic axioms mentioned there.
74 2.5. HOW TO GUESS A LIMIT
lim f (x)
x→±∞
This is an expression involving “infinities” which you simplify (if you can) using the
rules of arithmetic of the extended real number system listed in Table 2.16. If you
get an indeterminate form you need to factor, rationalize, simplify, separate terms
etc. until you get something more manageable.
sin 2x
a) lim
x→∞ x
x2
b) lim 2
x→∞ x + 1
x3 + 1
c) lim
x→−∞ x3 − 1
√ √
d) lim x + 1 − x
x→∞
x
e) lim
x→0+ sin x
sin(2x) sin(2∞)
Solution a) Let f (x) = , then f (∞) = . Now use Table 2.16 on the
x ∞
previous page. Even though sin(2∞) doesn’t really have a meaning, we can safely
take it that the “sin(2∞) is something less than or equal to 1”, because the sine of
something
any finite angle has this property. So f (∞) = = 0, by property (k), in
∞
Table 2.16.
Remember: This is just an educated guess; you really have to prove this to
be sure. This method of guessing is far better than the numerical approach of
the previous subsection since it gives the right answer in case of Example 58,
where the numerical approach failed!
2
b) Let f (x) = x2x+1 . Then f (∞) = ∞ ∞
by properties (l) and (a) in Table 2.16. So
we have to simplify, etc. There is no other recourse . . . Note that
x2 1
f (x) = =1− 2
x2 +1 x +1
1
So lim f (x) = lim 1 − 2
x→∞ x→∞ x +1
1
= 1− (by property (l) and (a))
∞
= 1 − 0 (by property (k))
= 1
2.5. HOW TO GUESS A LIMIT 75
x3 + 1
c) Let f (x) = . Then
x3 − 1
(−∞)3 + 1 −∞3 + 1 −∞ + 1 −∞ ∞
f (−∞) = = = = =
3
(−∞) − 1 −∞3 − 1 −∞ − 1 −∞ ∞
x3 + 1 2
= 1+
x3 − 1 x3 − 1
x3 + 1 2
Hence lim = lim (1 + )
x→−∞ x3 − 1 x→∞ x3 − 1
2
= 1+ (by property (e) and (a))
∞
= 1 + 0 (by property (k), in Table 2.16)
= 1
√ √
d) Let f (x) = x+1− x. Then
√ √
f (∞) = ∞+1− ∞
√ √
= ∞ − ∞ (by property (a))
= ∞−∞ (by property (k), in Table 2.16)
So,
1
lim f (x) = lim √ √
x→∞ x→∞ x+1+ x
1
= √ √
∞+1+ ∞
1
= √ √ (by property (a))
∞+ ∞
1
= (by property (h))
∞+∞
1
= (by property (g))
∞
= 0 (by property (k))
d) In this case the function can be seen to be of more than one indeterminate form:
For example,
1 1
0· = 0 · = 0 · ∞,
sin 0 0
which is indeterminate (by definition), or
0 0
= ,
sin 0 0
which is also indeterminate. But we have already seen in Table 2.11 that when this
indeterminate form is interpreted as a limit, it is equal to 1.
76 2.6. LIMITS EQUAL TO ±∞
So, we’ll be looking at two kinds of limits: Limits that exist and are equal
to ±∞ and functions whose limits do not exist at all (regardless of the number
system being used)! For example here are functions that have no limits at all (i.e.,
they don’t exist) . . .
2x
lim sin x, lim , lim (cos x − sin x).
x→∞ x→∞ cos x x→∞
When you approximate the graph of each of these functions using your graphing
calculator you realize something quickly, that is, the curves are oscillating no mat-
ter how far you go and they do not appear to be approaching any specific (even
extended) real number. This is the hallmark of a limit that doesn’t exist! If you
want to know more about such limits see the theoretical section in this book, which
can now be found online at https://archive.org/details/angelomingarelli
OPTIONAL BOX:
If you know something about sequences and their limits, then all you
need to do in order to show that the limit
lim f (x)
x→a
does NOT exist is to find TWO different infinite sequences BOTH of whose
limits are different! That is, you need to find an infinite sequence xn and another
infinite sequence zn (each in the domain of f ) such that, as n → ∞ we have
xn → a AND zn → a AND f (xn ) → L AND f (zn ) → M where L 6= M and
L, M are in the extended real number system.
Anyhow, on the other hand, the following limits actually exist but are equal to either
+∞ or −∞.
1
lim , lim x2 , lim x.
x→1 + x − 1 x→+∞ x→−∞
Each one of the preceding limits actually exists but the values of the limits are
infinite. In this book it’s okay for a limit to be infinite, so long as it exists. We add
a few more examples.
Example 60. Evaluate the following limits, if possible. In other words, deter-
mine whether the limit exists and is infinite or whether the limit doesn’t exist (at
all). Give reasons:
sin 2x
a) lim
sin 4x
x→∞
b) lim 3x cos x
x→∞
x4
c) lim
x→−∞ x3
+1
cos x
d) lim
x→0+ x
2.6. LIMITS EQUAL TO ±∞ 77
cos x
e) lim
x→0 x
Solution a) We use the trigonometric identity sin 4x = 2 sin 2x cos 2x (why can we
do this? Because sin 2✷ = 2 sin ✷ cos ✷ and just put 2x in the box!). So, for x such
that the denominator is not equal to zero we can write,
sin 2x sin 2x
=
sin 4x 2 sin 2x cos 2x
1
= .
2 cos 2x
provided sin 2x 6= 0 too (so we can cancel the numerator and denominator). Now
cos 2x does not approach a limit as x → ∞ (it just keeps oscillating between −1 and
1). In addition, the numbers 1 and 2 do not change as x → ∞. It follows that the
limit does not exist!
b) Here cos x has no limit at all as x → ∞ (as it also keeps oscillating between −1
and 1), but 3x → ∞ as x → ∞. If you look at the graph of 3x cos x you’ll see that
the oscillations get larger and larger both positively and negatively, so they’re “not
approaching a number” (or “not going anywhere”). It follows that the limit does
not exist.
x4 x4
=
x3 +1 x3 (1+ x13 )
x
= .
(1 + 1/x3 )
Now as x → −∞ we know that 1/x3 → 0 (as the form is 1/(−∞) = 0). It follows
that
x
lim = −∞,
x→−∞ (1 + 1/x3 )
d) First note that this is a one-sided limit, from the right. Next, we also note
that the cosine function is continuous at x = 0 so it doesn’t matter HOW x is
approaching the number 0 (whether from the right or from the left), the quantity
cos x → 1 (because cos 0 = 1). What about the denominator? Well, here as x → 0+
(or x is approaching zero from the right, which means that x > 0 as it approaches
zero) then cos x/x → 1/0 = +∞. There is no other possibility for a limit since x
cannot be negative by hypothesis. So the one-sided limit is equal to +∞.
e) Now note that this is a two-sided limit, okay? Next, as before, note that the
cosine function is continuous at x = 0 so it doesn’t matter HOW x is approaching
the number 0 (whether from the right or from the left), the quantity cos x → 1
(because cos 0 = 1). But now in the denominator it’s clear that things get pretty
bad in the sense that as x → 0+ (which means that x > 0 as it approaches zero)
then cos x/x → 1/0 = +∞. On the other hand, if x → 0− (i.e., from the left, or
here, x < 0) then cos x/x → 1/0 = −∞, see? Since both these limits are different,
the two-sided limit does not exist!
NOTE: You CAN’T DEFINE 1/0 to be any specific extended real number. The
previous example shows that depending on how you approach zero, the quotient of
something (not zero) divided by “zero” can go to either plus or minus infinity. YOU
HAVE TO REMEMBER THIS!
78 2.6. LIMITS EQUAL TO ±∞
Use the methods of this section and the previous one to determine whether the
following limits exist and then guess their values as extended real numbers.
2x + 1 x2 + 1 x+1
4. lim 5. lim 6. lim
x→0+ x x→0− x x→0 |x|
2x2 + x x 1 + sin x
7. lim 8. lim 9. lim
x→0 |x| x→1 x−1 x→2+ x−2
1 x cos(x − 2)
10. lim 11. lim 12. lim
x→−3+ x+3 x→1/2 − 2x − 1 x→2 x−2
cos(x − 2) x4 2 sin x
13. lim 14. lim 15. lim
x→2 |x − 2| x→∞ 2x3 −1 sin 2x
x→−∞
„ « „ «
x 3 1
16. lim 2 sin x 17. lim + 10−11 18. lim − 3 − 10−8
x→∞ x→∞ 1 + x2 x→−∞ x
„ « „ « “
1 2.718 cos x ”
19. lim −x 20. lim +x 21. lim x−
x→−∞ x x→∞ x x→0+ x
„ «
1 ` 2 ´
22. lim √ 23. lim sin (x) + cos2 (x) 24. lim (3 tan(x) − x)
x→∞ 2x − x2 x→−∞ x→π/2
NOTES:
2.7. CHAPTER EXERCISES 79
Use the methods of this Chapter to decide the continuity of the following
functions at the indicated point(s).
1. f (x) = 3x2 − 2x + 1, at x = 1
2. g(t) = t3 cos(t), at t = 0
3. h(z) = z + 2 sin(z) − cos(z + 2) at z = 0
4. f (x) = 2 cos(x) at x = π
5. f (x) = |x + 1| at x = −1
Evaluate the limits of the functions from Exercises 1-5 above and justify
your conclusions.
6. lim (3x2 − 2x + 1)
x→1
7. lim t3 cos(t)
t→0
9. lim 2 cos(x)
x→π
10. lim |x + 1|
x→−1
„ «
t−2
11. lim
t→2+ t+2
„ «
x−4
12. lim
x→4+ x2 − 16
„ «
1
13. lim
t→2+ t−2
„ «
x−1
14. lim
x→1+ |x − 1|
„ «
1
15. lim 1 + 3
x→0+ x
Evaluate
i). lim g(x) ii). lim g(x)
x→0− x→0+
v) Conclude that the graph of g has no breaks at x = 0 but it does have a break at
x = 1.
80 2.7. CHAPTER EXERCISES
2−x x≤0
17. lim f (x) where f (x) =
x→0 x+1 x>0
18. lim |x − 3|
x→1
„ «
x+2
19. lim
x→−2 x+1
20. lim x2 sin x
x→0
8
sin (x − 1)
>
< , 0≤x<1
21. lim f (x) where f (x) = x−1
x→1 >
: 1, x=1
|x − 1| x>1
|x|
22. f (x) = − 1 for x 6= 0 and f (0) = 1
x
8 x
>
< |x| x<0
23. g(x) =
>
:
1 + x2 x≥0
2
x − 3x + 2
24. f (x) = , f or x 6= 1; f (1) = −1/3.
x3 − 1
4
x − 1 x 6= 0
25. f (x) =
−0.99 x = 0
1
26. f (x) = 1.65 + 2 for x 6= 0, f (0) = +1
x
Determine whether the following limits exist. If the limits exist, find
their values in the extended real numbers.
sin (ax)
27. lim , where a 6= 0, b 6= 0
x→0 bx
cos (2x)
28. lim
x→0 |x|
x sin (x)
29. lim
x→0 sin (2x)
√
sin 3 − x
30. lim √
x→3− 3−x
bx
31. lim , where a =6 0, b 6= 0
x→0 sin (ax)
cos 3x
32. lim
x→∞ 4x
33. lim x sin x
x→−∞
p
34. lim x2 + 1 − x
x→∞
35.Use Bolzano’s Theorem and your pocket calculator to prove that the function f
defined by f (x) = x sin x + cos x has a root in the interval [−5, 1].
36. Use Bolzano’s Theorem and your pocket calculator to prove that the function
f defined by f (x) = x3 − 3x + 2 has a root in the interval [−3, 0]. Can you find it?
2.7. CHAPTER EXERCISES 81
Are there any others? (Idea: Find smaller and smaller intervals and keep applying
Bolzano’s Theorem)
NOTES:
82 2.7. CHAPTER EXERCISES
Chapter 3
The Derivative of a
Function
Most of the time we realize that things are in motion and this means that certain
physical quantities are changing. These changes are best understood through the
derivative of some underlying function. For example, when a car is moving its
distance from a given point is changing, right? The “rate at which the distance
changes” is the derivative of the distance function. This brings us to the notion
of “instantaneous velocity”. Furthermore, when a balloon is inflated, its volume is
changing and the “rate” at which this volume is changing is approximately given
by the derivative of the original volume function (its units would be meters3 /sec).
In a different vein, the stock markets of the world are full of investors who delve
into stock options as a means of furthering their investments. Central to all this
business is the Black-Sholes equation, a complicated differential equation, which
won their discoverer(s) a Nobel Prize in Economics a few years ago.
83
84 3.1. MOTIVATION
Review
Look over your notes on functions in Chapter 1, especially the whole thing
dealing with functions f being evaluated at abstract symbols other than x, like
f (x + 2). To really understand derivatives you should review Chapter 2, in
particular the part on the definition of continuity and right/left- handed limits.
3.1 Motivation
First, we’ll define the notion of a tangent to a curve. In the phrase that describes
it, a tangent at a given point P on the graph of the curve y = f (x) is a straight line
segment which intersects the curve y = f (x) at P and is ‘tangent’ to it (think of the
ordinary tangents to a circle, see Figure 33).
Figure 33. Example 61. Find the equation of the line tangent to the curve y = x2 at
the point (1, 1).
Solution Because of the shape of this curve we can see from its graph that every
straight line crossing this curve will do so in at most two points, and we’ll actually
show this below. Let’s choose a point P, say, (1, 1) on this curve for ease of exposition.
We’ll find the equation of the tangent line to P and we’ll do this in the following
steps:
OK, the equation of every line through P(1, 1) has the form
y = m(x − 1) + 1
where m is its slope, right? (Figure 34).
Figure 34. Since we want the straight line to intersect the curve y = x2 , we must set y = x2 in
the preceding equation to find
x2 = m(x − 1) + 1
or the quadratic
x2 − mx + (m − 1) = 0
Finding its roots gives 2 solutions (the two x-coordinates of the point of intersection
we spoke of earlier), namely,
x = m − 1 and x = 1
The second root x = 1 is clear to see as all these straight lines go through P(1, 1).
The first root x = m − 1 gives a new root which is related to the slope of the
straight line through P(1, 1).
OK, we want only one point of intersection, right? (Remember, we’re looking
for a tangent). This means that the two roots must coincide! So we set m − 1 = 1
(as the two roots are equal) and this gives m = 2.
3.1. MOTIVATION 85
y = 2(x − 1) + 1 = 2x − 1
is the equation of the line tangent to P(1, 1) for the curve y = x2 . Remember that
at the point (1, 1) this line has slope m = 2. This will be useful later.
OK, but this is only an example of a tangent line to a curve . . . . How do you define
this in general?
Well, let’s take a function f , look at its graph and choose some point P(x0 , y0 ) on
its graph where y0 = f (x0). Look at a nearby point Q(x0 + h, f (x0 + h)). What is
the equation of the line joining P to Q? Its form is
y − y0 = m(x − x0 )
But y0 = f (x0) and m, the slope, is equal to the quotient of the difference between
the y-coordinates and the x-coordinates (of Q and P), that is,
f (x0 + h) − f (x0)
y={ }(x − x0 ) + f (x0 )
h
From this equation you can see that the slope of this line must change with “h”.
So, if we let h approach 0 as a limit, this line may approach a “limiting line” and
it is this limiting line that we call the tangent line to the curve y = f (x) at
P (x0 , y0 ) (see the figure in the margin on the right). The slope of this“tangent
line” to the curve y = f (x) at (x0 , y0 ) defined by
f (x0 + h) − f (x0 )
m = lim
h→0 h
(whenever this limit exists and is finite) is called the derivative of f at x0 .
It is a number!!
Notation for Derivatives The following notations are all adopted universally for
the derivatives of f at x0 :
df
f ′ (x0 ), (x0 ), Dx f (x0 ), Df (x0)
dx
All of these have the same meaning.
Consequences!
This graph has a vertical tangent
line, namely x = 0, at the origin.
1. If the limit as h → 0 does not exist as a two-sided limit or it is infinite we say
that the derivative does not exist. This is equivalent to saying that there is
no uniquely defined tangent line at (x0 , f (x0 )), (Example 64).
2. The derivative, f ′ (x0 ) when it exists, is the slope of the tangent line at
(x0 , f (x0 )) on the graph of f .
3. There’s nothing special about these tangent lines to a curve in the sense that
the same line can be tangent to other points on the same curve. (The
simplest example occurs when f (x) = ax + b is a straight line. Why?)
86 3.1. MOTIVATION
In this book we will use the symbols ‘f ′(x0 ), Df (x0 )’ to mean the derivative
of f at x0 where
f (x0 + h) − f (x0)
f ′ (x0 ) = lim
h→0 h
= The slope of the tangent line at x = x0
= The instantaneous rate of change of f at x = x0 .
′
4. If either one or both one-sided limits defined by f± (x0 ) is infinite, the tangent
line at that point P(x0 , f (x0 )) is vertical and given by the equation x = x0 ,
(See the margin).
The key idea in finding the derivative using Table 3.1, here, is always to
Since this is true for each value of h 6= 0 we can let h → 0 and find
f (1 + h) − f (1)
lim = lim (2 + h)
h→0 h h→0
= 2
′
and so f (1) = 2, as well. Remember, this also means that the slope of the tangent
line at x = 1 is equal to 2, which is what we found earlier.
Example 63. Find the slope of the tangent line at x = 2 for the curve whose
equation is y = 1/x.
Solution OK, we set f (x) = 1/x. As we have seen above, the slope’s value, mtan,
is given by
f (2 + h) − f (2)
mtan = lim .
h→0 h
3.1. MOTIVATION 87
Solution a) Let
x if x ≥ 0
f (x) =
−x if x < 0
This function is the same as f (x) = |x|, the absolute value of x, right? The idea is
that in order for the two-sided (or ordinary) limit of the “derivative” to exist at some
point, it is necessary that both one-sided limits (from the right and the left) each
exist and both be equal, remember? The point is that this function’s derivative
has both one-sided limits existing at x = 0 but unequal. Why? Let’s use
Table 3.1 and try to find its “limit from the right” at x = 0.
For this we suspect that we need h > 0, as we want the limit from the right,
and we’re using the same notions of right and left limits drawn from the theory of
continuous functions.
f (0 + h) − f (0) f (h) − f (0)
=
h h
h−0
= (because f (h) = h if h > 0)
h
= 1, (since h 6= 0).
88 3.1. MOTIVATION
OK, now let’s find its limit from the left at x = 0. For this we want h < 0, right?
Now
f (0 + h) − f (0) f (h) − f (0)
=
h h
−h − 0
= (because f (h) = −h if h < 0)
h
= −1 (since h 6= 0)
Example 65. On the surface of our moon, an object P falling from rest will fall
a distance of approximately 5.3t2 feet in t seconds. Find its instantaneous velocity
at t = a sec, t = 1 sec, and at t = 2.6 seconds.
Solution We’ll need to calculate its instantaneous velocity, let’s call it, “v”, at t = a
seconds. Since, in this case, f (t) = 5.3t2 , we have, by definition,
f (a + h) − f (a)
v = lim .
h→0 h
Now, for h 6= 0,
f (a + h) − f (a) 5.3(a + h)2 − 5.3a2
=
h h
5.3a2 + 10.6ah + 5.3h2 − 5.3a2
=
h
= 10.6a + 5.3h
So,
f ′ (x0 ) does not exist (right and left derivatives not equal)
f ′ (x1 ) = 0, (horizontal tangent line).
f ′ (x2 ) does not exist (left derivative at x = x2 is infinite).
f ′ (x3 ) < 0, (tangent line “falls”)
f ′ (x4 ) = 0, (horizontal tangent line)
f ′ (x5 ) > 0, (tangent line “rises”).
feet per second. It follows that its instantaneous velocity at t = 1 second is given
by (10.6) · (1) = 10.6 feet per second, obtained by setting a = 1 in the formula for
v. Similarly, v = (10.6) · (2.6) = 27.56 feet per second. From this and the preceding
discussion, you can conclude that an object falling from rest on the surface of the
moon will fall at approximately one-third the rate it does on earth (neglecting air
resistance, here).
Figure 38. Example 66. How long will it take the falling object of Example 65 to reach
an instantaneous velocity of 50 feet per second?
Example 67. Different derivatives in action, see Figure 38, and Table 3.3.
Solution By definition,
f (3 + h) − f (3)
f ′ (3) = lim .
h→0 h
We can’t simplify this any more, and now the expression “looks good” if we set
h = 0 in it, so we can pass to the limit as h → 0, to find,
f (3 + h) − f (3)
f ′ (3) = lim
h→0 h
5
= lim √
h→0 16 + 5h + 4
5
= √
16 + 4
5
= .
8
Summary
f (a + h) − f (a)
f ′ (a) = lim
h→0 h
f (x) − f (a)
= lim .
x→a x−a
whenever either limit exists (in which case so does the other). You get the second
definition from the first by setting h = x − a, so that the statement “h → 0” is the
same as “x → a”.
SIMPLIFY first, then
The right-derivative (resp. left-derivative) is defined by the right- (resp. left- GO to the LIMIT
hand) limits
′ f (a + h) − f (a)
f+ (a) = lim
h→0+ h
f (x) − f (a)
= lim ,
x→a+ x−a
and
′ f (a + h) − f (a)
f− (a) = lim
h→0− h
f (x) − f (a)
= lim .
x→a− x−a
NOTES
92 3.1. MOTIVATION
Find the slope of the tangent line to the graph of f at the given point.
7. f (x) = 3x + 2 at x = 1
8. f (x) = 3 − 4x at x = −2
9. f (x) = x2 at x = 3
10. f (x) = |x| at x = 1
11. f (x) = x|x| at x = 0
HINT: Consider the left and right derivatives separately.
1 x≥0
12. f (x) = (at x = 0. Remember Heaviside’s function?)
0 x<0
Determine whether or not the following functions have a derivative at the indicated
point. Explain.
1 x≥0
13. f (x) = at x = 0
−1 x<0
√
14. f (x) = x + 1 at x = −1
HINT: Graphing this function may help.
15. f (x) = |x2 | at x = 0
√
16. f (x) = 6 − 2x at x = 1
1
17. f (x) = x2
at x = 1
18. A function f is defined by
8
< x 0≤x<1
f (x) = x+2 1≤x<2
8 − x2
:
2 ≤ x < 3.
a) What is f ′ (1)? Explain.
b) Does f ′ (2) exist? Explain.
c) Evaluate f ′ ( 25 ).
NOTES:
3.2. WORKING WITH DERIVATIVES 93
By now you know how to find the derivative of a given function (and you can
actually check to see whether or not it has a derivative at a given point). You also
understand the relationship between the derivative and the slope of a tangent line
to a given curve (otherwise go to Section 3.1).
f (x) − f (a)
f ′ (a) = lim (3.1)
x→a x−a
provided the (two-sided) limit exists and is finite. Do you see why this definition is
equivalent to
f (a + h) − f (a)
f ′ (a) = lim ?
h→0 h
Simply replace the symbol “h” by “x − a” and simplify. As h → 0 it is necessary
that x − a → 0 or x → a.
Notation
When a given function f has a derivative at x = a we say that “f is differentiable
at x = a” or briefly “f is differentiable at a.”
Example 70. The Power Rule. The function g defined by g(x) = xn where
n ≥ 0 is any given integer is differentiable at every point x. If n < 0 then it is
differentiable everywhere except at x = 0. Show that its derivative is given by
d n
x = nxn−1 .
dx
(x + h)2 = x2 + 2xh + h2 ,
(x + h)3 = x3 + 3x2 h + 3xh2 + h3 ,
4
(x + h) = x4 + 4x3 h + 6x2 h2 + 4xh3 + h4 .
Since n ≥ 1 it follows that (because the limit of a sum is the sum of the limits),
Remark! Actually, more is true here. It is the case that for every number ‘a’
(integer or not), but a is NOT a variable like ‘x, sin x, ...’,
d a
x = axa−1 if x > 0.
dx
This formula is useful as it gives a simple expression for the derivative of any power
of the independent variable, in this case, ‘x’.
QUICKIES
Quick summary
Notation:
2. By the symbols f + g we For example, the function f defined by the absolute value of x, namely, f (x) = |x|,
mean the function whose val- ′
is differentiable at every point except at x = 0 where f− ′
(0) = −1 and f+ (0) = 1. On
ues are given by
the other hand, the function g defined by g(x) = x|x| is differentiable everywhere.
(f + g)(x) = f(x) + g(x) Can you show this ?
d df
a) (cf ) = c = cf ′ (x), c is a constant.
dx dx
d df dg
(f ± g) = ± , Sum/Difference Rule
b) dx dx dx
= f ′ (x) ± g′ (x)
d
c) (f g) = f ′ (x) g(x) + f (x) g′ (x), Product Rule
dx
f
d) If for some x, the value g(x) 6= 0 then g
is differentiable at x and
Note that the formula
„ «
d f f ′(x) g(x) − f (x) g′ (x) d
(fg) =
df dg
= , Quotient Rule dx dx dx
dx g g2 (x)
is NOT TRUE in general. For
example, if f(x) = x, g(x) = 1, then
where all the derivatives are evaluated at the point ‘x’. Hints to the proofs or f(x)g(x) = x and so (fg)′ (x) = 1.
verification of these basic Rules may be found at the end of this section. They On the other hand, f ′ (x)g′ (x) = 0,
are left to the reader as a Group Project. and so this formula cannot be true.
d d d d d
f ′ (x) = (2x3 ) + (−5x) + (1) = 2 (x3 ) + (−5) · (x) + 0
dx dx dx dx dx
= 2 · 3x2 + (−5) · 1
= 6x2 − 5.
d “√ √ ”
f ′ (x) 3 3
= x+ 2−1
dx
d “ 1/3 ” d “ 1/3 ” d “ 1/3 ”
= x + 21/3 − 1 = x + 2 −1
dx dx dx
1 13 −1
= x +0−0
3
1 − 32
= x .
3
96 3.2. WORKING WITH DERIVATIVES
1 2 1 `√ ´−2 1 1
Finally, f ′ (−1) = (−1)− 3 = 3
−1 = (−1)−2 = − .
3 3 3 3
Example 73. Find the slope of the tangent line to the curve defined by
the function h(x) = (x2 + 1)(x − 1) at the point (1, 0) on its graph.
Solution Using the geometrical interpretation of the derivative (cf., Table 3.1),
we know that this slope is equal to h′ (1). So, we need to calculate the derivative
of h and then evaluate it at x = 1. Since h is made up of two functions
we can use the Product Rule (Property (c), above). To this end we write
f (x) = (x2 + 1) and g(x) = x − 1. Then h(x) = f (x)g(x) and we want h′ (x).
So, using the Product Rule we see that
d
h′ (x) = f (x)g(x) = f ′ (x) g(x) + f (x) g′ (x)
dx
d ` 2 ´ d
= x + 1 · (x − 1) + (x2 + 1) · (x − 1)
dx dx
= (2x + 0) · (x − 1) + (x2 + 1) · (1 − 0) = 2x(x − 1) + x2 + 1
= 3x2 − 2x + 1.
The graph of the function h and its Example 74. Find the equation of the tangent line to the curve defined
tangent line at x = 1. The slope of by
this straight line is equal to 2 t
h(t) =
t2 + 1
Figure 40.
at the point (0, 0) on its graph.
Solution Since the function h is a quotient of two functions we may use the
Quotient Rule, (d). To this end, let f (t) = t and g(t) = t2 + 1. The idea is that
we have to find h′ (t) at t = 0 since this will give the slope of the tangent line
at t = 0, and then use the general equation of a line in the form y = mx + b
in order to get the actual equation of our tangent line passing through (0, 0).
OK, now
Next, it is clear that h′ (0) = 1 and so the tangent line must have the equation
y = x + b for an appropriate point (x, y) on it. But (x, y) = (0, 0) is on it,
The tangent line y = x through
by hypothesis. So, we set x = 0, y = 0 in the general form, solve for b, and
conclude that b = 0. Thus, the required equation is y = x + 0 = x, i.e., y = x,
(0, 0) for the function h in Exam-
see Figure 41.
ple 74.
Figure 41. Example 75. At which points on the graph of y = x3 + 3x does the
tangent line have slope equal to 9?
Solution This question is not as direct as the others, above. The idea here is
to find the expression for the derivative of y and then set this expression equal
′ 2 ′ 2
to 9 and then solve for x. Now, √ y (x) = 3x + 3 and so 9 = y (x) = 3x + 3
2
implies that 3x = 6 or x = ± 2. Note the two roots here. So there are two
points on the required graph where
√ the slope is equal to 9. The y−coordinates
are
√ √ then given by setting
√ x
√ = ± 2 into
√ the expression
√ for y. We find the points
( 2, 5 2) and (− 2, −5 2), since ( 2)3 = 2 2.
Solution Instead of using the Product Rule we can simply expand the product
noting that f (x) = (x2 − x + 1)(x2 + x + 1) = x4 + x2 + 1. So, f ′ (x) = 4x3 + 2x
by the Power Rule, and thus, f ′ (0) = 0, f ′ (1) = 6.
Find the derivative of each of the following functions using any one
of the Rules above: Show specifically which Rules you are using at
each step. There is no need to simplify your final answer.
x0.3
Example: If f (x) = , then
x+1
1. f (x) = x1.5
2. f (t) = t−2
3. g(x) = 6
2
4. h(x) = x 3
1
5. k(t) = t 5
6. f (x) = 4.52
7. f (t) = t4
8. g(x) = x−3
9. f (x) = x−1
10. f (x) = xπ
11. f (t) = t2 − 6
12. f (x) = 3x2 + 2x − 1
13. f (t) = (t − 1)(t2 + 4)
√ ` ´
14. f (x) = x 3x2 + 1
x0.5
15. f (x) =
2x + 1
x−1
16. f (x) =
x+1
x3 − 1
17. f (x) =
x2 +x−1
2
x3
18. f (x) = √ 3
x + 3x 4
98 3.2. WORKING WITH DERIVATIVES
Prove the Differentiation Rules in Section 3.2 using the definition of the derivative as
a limit, the limit properties in Table 2.4, and some basic algebra. Assume throughout
that f and g are differentiable at x and g(x) 6= 0. In order to prove the Properties
proceed as follows using the hints given:
1. Property a)
f (x + h) − f (x)
(cf )′(x) = c × lim ,
h→0 h
and complete the argument.
2. Property b) The Sum/Difference Rule: Show that for a given x and h 6= 0,
f (x + h)g(x) − f (x)g(x + h)
=
g(x + h)g(x)
NOTES:
3.3. THE CHAIN RULE 99
This section is about a method that will enable you to find the derivative of com-
plicated looking expressions, with some speed and simplicity. After a few examples
you’ll be using it without much thought ... It will become very natural. Many ex-
amples in nature involve variables which depend upon other variables. For example,
the speed of a car depends on the amount of gas being injected into the carburator,
and this, in turn depends on the diameter of the injectors, etc. In this case we could
ask the question: “How does the speeed change if we vary the size of the injectors
only ?” and leave all the other variables the same. We are then led naturally to a
study of the composition (not the same as the product), of various functions and
their derivatives.
We recall the composition of two functions, (see Chapter 1), and the limit-
definition of the derivative of a given function from Section 3.2. First, let’s see
if we can discover the form of the Rule that finds the derivative of the composition
of two functions in terms of the individual derivatives. That is, we want an explicit
Rule for finding
d d
(f ◦ g)(x) = f (g(x)),
dx dx
in terms of f and g(x).
We assume that f and g are both differentiable at some point that we call x0 (and
so g is also continuous there). Furthermore, we must assume that the range of g is
contained in the domain of f (so that the composition makes sense). Now look at
the quantity
k(x) = f (g(x)),
which is just shorthand for this composition. We want to calculate k′ (x0 ). So, we
need to examine the expression
and see what happens when we let h → 0. Okay, now let’s assume that g is not
identically a constant function near x = x0 . This means that g(x) 6= g(x0 )
for any x in a small interval around x0 . Now,
g(x0 + h) − g(x0 )
→ g′ (x0 ),
h
and this is the formula we wanted. It’s called the Chain Rule.
The Chain Rule is one of the most useful and important rules in the theory of dif-
ferentiation of functions as it will allow us to find the derivative of very complicated-
looking expressions with ease. For example, using the Chain Rule we’ll be able to
show that
d
(x + 1)3 = 3(x + 1)2 .
dx
Without using the Chain Rule, the alternative is that we have to expand
(x + 1)3 = x3 + 3x2 + 3x + 1
using the Binomial Theorem and then use the Sum Rule along with the Power Rule
to get the result which, incidentally, is identical to the stated one since
d 3
(x + 3x2 + 3x + 1) = 3x2 + 6x + 3 = 3(x + 1)2 .
dx
Replace the symbol “g(x)” by our box symbol, ✷. Then the Chain Rule says that
d
f (✷) = f ′ (✷) · ✷′
dx
| {z } | {z }
derivative of a composition derivative of f at ✷ · derivative of ✷ at x
where the ✷ may represent (or even contain) any other function(s) you wish. In
words, it can be remembered by saying that the
„ «
d 1 −1
1. = · g′ (x), or,
dx g(x) (g(x))2
d
2. (g(x))a = a(g(x))a−1 · g′ (x) The Generalized Power Rule
dx
whenever a is a real number and g(x) > 0. This Generalized Power Rule follows
easily from the Chain Rule, above, since we can let f (x) = xa , g(x) = ✷. Then the
composition (f ◦ g)(x) = g(x)a = ✷a . According to the Chain Rule,
d
f (✷) = f ′ (✷) · ✷′ .
dx
But, by the ordinary Power Rule, Example 70, we know that f ′ (x) = axa−1 . Okay,
now since f ′ (✷) = a✷a−1 , and ✷′ = g′ (x), the Chain Rule gives us the result.
An easy way to remember these formulae, once and for all, is by writing
where ✷ may be some differentiable function of x, and we have used the modern
notation “D” for the derivative with respect to x. Recall that the reciprocal of
something is, by definition, “ 1 divided by that something”.
The Chain Rule can take on different forms. For example, let y = f (u) and assume
that the variable u is itself a function of another variable, say x, and we write this
as u = g(x). So y = f (u) and u = g(x). So y must be a function of x and it
is reasonable to expect that y is a differentiable function of x if certain additional
conditions on f and g are imposed. Indeed, let y be a differentiable function of u
102 3.3. THE CHAIN RULE
“How does y vary with x?” The result looks like this ...
dy dy du
= ·
dx du dx
or
′
y (x) = f ′ (u) · g′ (x)
where we must replace all occurrences of the symbol ‘u’ in the above by
the symbol ‘g(x)’ after the differentiations are made.
1
Sophie Germain, 1776-1831, was Example 77. Let f be defined by f (x) = 6x 2 + 3. Find f ′ (x).
the second of three children of a
1
middle-class Parisian family. Some-
Solution We know f (x) = 6x 2 + 3. So, if we let x = ✷ we get
what withdrawn, she never married,
d 1/2 d
and by all accounts lived at home f ′ (x) = 6 ✷ + 3 (by Properties (a) and (b)),
dx dx
where she worked on mathematical
1
problems with a passion. Of the = 6 · ✷−1/2 + 0,
2
many stories which surround this
= 3x−1/2
gifted mathematician, there is this 3
one ... Upon the establishment of = √ .
x
the École Polytechnique in 1795,
women were not allowed to attend
the lectures so Sophie managed to Example 78. Let g be defined by g(t) = t5 − 4t3 − 2. What is g′ (0), the
get the lecture notes in mathemat- derivative of g evaluated at t = 0?
ics by befriending students. She
then had some great ideas and wrote Solution
d 5 d d
this big essay called a memoire and g′ (t) = (t ) − 4 (t3 ) − 2 (by Property (b))
then submitted it (under a male dt dt dt
name) to one of the great French = 5t4 − 4(3)t2 − 0 (Power Rule)
mathematcians of the time, Joseph = 5t4 − 12t2 .
Lagrange, 1736-1813, for his ad-
But g′ (0) is g′ (t) with t = 0, right? So, g′ (0) = 5(0)4 − 12(0)2 = 0.
vice and opinion. Lagrange found
much merit in the work and wished
Example 79. Let y be defined by y(x) = (x2 − 3x + 1)(2x + 1). Evaluate
to meet its creator. When he did
y′ (1).
finally meet her he was delighted
that the work had been written by
Solution Let f (x) = x2 − 3x + 1, g(x) = 2x + 1. Then y(x) = f (x)g(x) and we want
a woman, and went on to intro-
y′ (x). . . So, we can use the Product Rule (or you can multiply the polynomials
duce her to the great mathemati- out, collect terms and then differentiate each term). Now,
cians of the time. She won a prize
in 1816 dealing with the solution of
y′ (x) = f ′ (x)g(x) + f (x)g′ (x)
a problem in two-dimensional har- = (2x − 3 + 0)(2x + 1) + (x2 − 3x + 1)(2 + 0)
monic motion, yet remained a lone = (2x − 3)(2x + 1) + 2(x2 − 3x + 1), so,
genius all of her life.
x2 + 4
Example 80. Let y be defined by y(x) = . Find the slope of the
x3 − 4
tangent line to the curve y = y(x) at x = 2.
f (x)
Solution We write y(x) = where f (x) = x2 + 4, g(x) = x3 − 4. We also need
g(x)
f ′ (x) and g′ (x), since the Quotient Rule will come in handy here.
3.3. THE CHAIN RULE 103
The next Table may be useful as we always need these 4 quantities when using the
Quotient Rule:
x2 + 4 2x x3 − 4 3x2
No need to simplify here. We’re really asking for y′ (2), right? Why? Think “slope
of tangent line ⇒ derivative”. Thus,
4(4) − 8(12)
y′ (2) =
16
= −5
6
Example 81. Let y(x) = x2 − . Evaluate y′ (0).
x−4
Solution Now
d 2 d 1
y′ (x) = (x ) − 6 ( )
dx dx x − 4
(where we used Property (a), the Power Rule, and Consequence 1.)
» –
−1 d
= 2x − 6 (x − 4)
(x − 4)2 dx
„ « „ «
d 1 d 1 −1
since ( )= = ✷′
dx x-4 dx ✷ ✷2
where ✷ = (x − 4).
All right, now
6
y′ (x) = 2x + ,
(x − 4)2
and so
6
y′ (0) = 2(0) + ,
(−4)2
3
= .
8
4 − x2
Example 82. Let y be defined by y(x) = . Evaluate y′ (x) at
x2 − 2x − 3
x = 1.
f (x)
Solution Write y(x) = . We need y′ (1), right ? OK, now we have the table . . .
g(x)
4 − x2 −2x x2 − 2x − 3 2x − 2
104 3.3. THE CHAIN RULE
1.6
Example 83. Let y be defined by y(x) = . Evaluate y′ (0).
(x + 1)100
Solution Write y(x) = (1.6)(x + 1)−100 = 1.6f (x)−100 where f (x) = x + 1 (or,
replace f (x) by ✷). Now use Property (a) and Consequence (2) to find that
On the other hand, you could have used Consequence (1) to get the result. . . For
example, write y(x) as y(x) = f1.6
(x)
where f (x) = (x + 1)100 . Then
−1.6
y′ (x) = · f ′ (x) (by Consequence (1))
(f (x))2
−1.6
= (100(x + 1)99 (1)) (by Consequence (2))
(x + 1)200
−160
= (x + 1)99
(x + 1)200
−160
=
(x + 1)101
and so y′ (0) = −160, as before.
Solution Here f (u) = u5 and g(x) = x2 − 4. Now f ′ (u) = 5u4 by the Power Rule
and g′ (x) = 2x. . . So,
At x = 1 we get
y′ (1) = 10(1)(−3)4
= 810.
Since this value is ‘large’ for a slope the actual tangent line is very ‘steep’, close to
‘vertical’ at x = 1.
3.3. THE CHAIN RULE 105
SHORTCUT
Write y = ✷5 , then y′ = 5 ✷4 ✷′ , by the Generalized Power Rule. Replacing
4
the ✷ by x2 − 4 we find, y′ = 5 (x2 − 4) 2x = 10x(x2 − 4)4 , as before.
The point is, you don’t have to memorize another formula. The “Box” formula
basically gives all the different variations of the Chain Rule.
Whenever you see a function raised to the power of some number (NOT a vari-
able), then put everything “between the outermost parentheses”, so to speak,
in a box, ✷. The whole thing then looks like just a box raised to some power,
and you can use the box formulation of the Chain Rule on it.
and this is the slope of the tangent line to the curve y = y(x) at x = 0.
Example 86. Let y be defined by y(x) = (x + 2)2 (2x − 1)4 . Evaluate y′ (−2).
Solution We have a product and some powers here. So we expect to use a combi-
nation of the Product Rule and the Power Rule. OK, we let f (x) = (x + 2)2 and
g(x) = (2x − 1)4 , use the Power Rule on f, g, and make the table:
Solution OK, this ‘square root’ is really a power so we think “Power Rule”. We can
speed things up by using boxes, so write ✷ = f (x). Then, the Generalized Power
Rule gives us,
d 12
y′ (x) = ✷
dx
1 21 −1
= ✷ · ✷′ (PowerRule)
2
1 − 12 ′
= ✷ ✷
2
1 ′
= 1 ✷
2✷ 2
✷′
= √
2 ✷
f ′ (x)
= p
2 f (x)
SNAPSHOTS
q
√
Example 89. f (x) = x + 1. Evaluate f ′ (x).
√ √
Solution Let ✷ = ( x + 1) = x1/2 + 1. Then f (x) = ✷ so
√
D( ✷) D(✷)
z }| { z }| {
f ′ (x) = (1/2) · (x1/2 + 1)−1/2 · (1/2) · x−1/2
1
= · (x1/2 + 1)−1/2 · x−1/2
4
1
= p √
4 x · (1 + x)
√
x
Example 90. f (x) = √ . Find f ′ (1).
1 + x2
x √
where ✷ = . So f (x) = ✷, and
1 + x2
√ D(✷)
D( ✷)
z }| { z 2 }| {
x −1/2 (x + 1) · 1 − (x) · (2x)
f ′(x) = (1/2) · ( ) ·
1 + x2 (1 + x2 )2
x −1/2 1 − x2
= (1/2) · ( ) ·
1 + x2 (1 + x2 )2
x−1/2 · (1 − x2 )
= ,
2 (1 + x2 )3/2
√
where we used the Generalized Power Rule to get D( ✷) and the Quotient Rule to
evaluate D(✷). So, f ′ (1) = 0.
„ «−2.718
1
Example 91. f (x) = π · , where π = 3.14159.... Find f ′ (1).
x
Solution Simplify this first, in the sense that you can turn negative exponents
into positive ones by taking the reciprocal of the expression, right? In this case,
note that (1/x)−2.718 = x2.718 . So the question now asks us to find the derivative
of f (x) = π · x2.718 . The Power Rule gives us f ′(x) = (2.718) · π · x1.718 . So,
f ′ (1) = (2.718) · π = 8.53882.
Solution This looks mysterious but it really isn’t. If you don’t see an ‘x’ for the
variable, replace all the symbols between the outermost parentheses by ‘✷’. Then
The Generalized Power Rule takes
y = f (✷) and you realize quickly that you need to differentiate a composition of two the form
functions. This is where the Chain Rule comes into play. So,
d r r−1 d
✷ =r ✷ ✷,
y′ (x) = Df (✷) dx dx
Let’s look at the function f , say, defined by f (x) = (x2 + 1)10 . Since f (✷) =
(✷2 + 1)10 it follows that f (x3 ) = ((x3 )2 + 1)10 = (x6 + 1)10 , where we replaced ✷
by x3 (or you put x3 IN the box, remember the Box method? ).
The point is that this new function y = f (x3) has a derivative given by
y′ (x) = 3x2 · f ′ (x3 ),
which means that we find f ′ (x), replace each one of the x’s by x3 , and simplify (as
much as possible) to get y′ (x). Now, we write f (✷) = ✷10 , where ✷ = x2 + 1. The
Generalized Power Rule gives us
f ′ (x) = D(✷10 ) = (10)✷9 (d✷) = (10)(x2 + 1)9 (2x),
= (20x)(x2 + 1)9 . So,
′
y (x) = 3x2 · f ′ (x3 ) = (3x2 ) (20 x3 ) (x6 + 1)9
= 60 x5 (x6 + 1)9 .
108 3.3. THE CHAIN RULE
an xn + an−1 xn−1 + · · · + a1 x1 + a0 = 0
d n
and each x is replaced by a symbol ‘D = dx ’ where the related symbol D n = dx
d
n
th d
means the operation of taking the n derivative. This symbol, D = dx , has a
special name: it’s called a differential operator and its domain is a collection
of functions while it range is also a collection of functions. In this sense, the
concept of an operator is more general than that of a function. Now, the symbol
D 2 is the derivative of the derivative and it is called the second derivative; the
derivative of the second derivative is called the third derivative and denoted
by D 3 , and so on. The coefficients am above are usually given functions of the
independent variable, x.
d2 y d dy
= = y′′ (x)
dx2 dx dx
for the second derivative of y,
d3 y d d2 y
3
= = y′′′ (x)
dx dx dx2
for the third derivative of y, and so on. These higher order derivatives are very
useful in determining the graphs of functions and in studying a ‘function’s behavior’.
We’ll be seeing them soon when we deal with curve sketching.
Example 93. Let f be a function with the property that f ′ (x) + f (x) = 0
for every x. We’ll meet such functions later when we discuss Euler’s constant,
e ≈ 2.71828..., and the corresponding exponential function.
Show that the new function y defined by y(x) = f (x3) satisfies the differential
equation y′ (x) + 3x2 y(x) = 0.
Solution We use Example 92. We already know that, by the Chain Rule, y(x) =
f (x3 ) has its derivative given by y′ (x) = 3x2 · f ′ (x3 ). So,
But f ′ (x) + f (x) = 0 means that f ′ (△) + f (△) = 0, right? (Since it is true for any
‘x’ and so for any symbol ‘△’). Replacing △ by x3 gives f ′ (x3) + f (x3 ) = 0 as a
consequence, and the conclusion now follows . . .
The function y defined by y(x) = f (x3 ), where f is any function with f ′ (x) + f (x) =
0, satisfies the equation y′ (x) + 3x2 y(x) = 0.
Example 94. Find the second derivative f ′′ (x) given that f (x) = (2x + 1)101 .
Evaluate f ′′ (−1).
3.3. THE CHAIN RULE 109
Solution We can just use the Generalized Power Rule here. Let ✷ = 2x + 1. Then
✷′ = 2 and so f ′ (x) = 101 · ✷100 · ✷′ = 101 · ✷100 · 2 = 202 · ✷100 . Doing this one
more time, we find f ′′ (x) = (202) · (100) · 2 · ✷99 = 40, 400 · ✷99 = 40, 400 · (2x + 1)99.
Finally, since (−1)odd number = −1, we see that f ′′ (−1) = 40, 400·(−1)99 = −40, 400.
Example 95. Find the second derivative f ′′ (x) of the function defined by
3 −1
f (x) = (1 + x ) . Evaluate f ′′ (0).
Solution Use the Generalized Power Rule again. Let ✷ = x3 +1. Then ✷′ = 3x2 and
−2
so f ′ (x) = (−1) · ✷−2 · ✷′ = (−1) · ✷−2 · (3x2 ) = −(3x2 ) · ✷−2 = −(3x2 ) · (1 + x3 ) .
To find the derivative of THIS function we can use the Quotient Rule. So,
−6x 18x4
= 3 2
+
(1 + x ) (1 + x3 )3
6x · (2x3 − 1)
=
(1 + x3 )3
1. f (x) = π, f ′ (x) =?
2. f (t) = 3t − 2, f ′ (0) =?
2
3. g(x) = x 3 , g′ (x) =? at x = 1
p
4. y(x) = (x − 4)3 , y ′ (x) =?
1
5. f (x) = √ , f ′ (x) =?
x5
p
6. g(t) = t2 + t − 2, g′ (t) =?
3
d2 f
7. f (x) = 3x2 , =?
dx2
8. f (x) = x(x + 1)4 , f ′ (x) =?
x2 − x + 3 ′
9. y(x) = √ , y (1) =?
x
10. y(t) = (t + 2)2 (t − 1), y ′ (t) =?
2
11. f (x) = 16x2 (x − 1) 3 , f ′(x) =?
12. y(x) = (2x + 3)105 , y ′ (x) =?
√
13. f (x) = x + 6, f ′ (x) =?
14. f (x) = x3 − 3x2 + 3x − 1, f ′ (x) =?
1 p
15. y(x) = + x2 − 1, y ′ (x) =?
x
1
16. f (x) = √ , f ′′ (x) =?
1+ x
17. f (x) = (x − 1)2 + (x − 2)3 , f ′′ (0) =?
18. y(x) = (x + 0.5)−1.324 , y ′′ (x) =?
110 3.3. THE CHAIN RULE
d
19. Let f be a differentiable function for every real number x. Show that f (x2 ) =
dx
2xf ′ (x2 ).
20. Let g be a differentiable function for every x with g(x) > 0. Show that
d p
3 g′ (x)
g(x) = p .
dx 3 3 g(x)2
21. Let f be a function with the property that f is differentiable and
f ′ (x) + f (x) = 0.
y′ (x) + 2xy(x) = 0.
22. Let y = f (x) and assume f is differentiable for each x in (0, 1). Assume that
f has an inverse function, F , defined on its range, so that f (F (x)) = x for
every x, 0 < x < 1. Show that F has a derivative satisfying the equation
1
F ′ (x) = ′ at each x, 0 < x < 1.
f (F (x))
(Hint: Differentiate both sides of f (F (x)) = x.)
√ dy
23. Let y = t3 and t = u + 6. Find when u = 9.
du
24. Find the equation of the tangent line to the curve y = (x2 − 3)8 at the point
(x, y) = (2, 1).
25. Given y(x) = f (g(x)) and that g′ (2) = 1, g(2) = 0 and f ′ (0) = 1. What is the
value of y′ (2)?
2 √
26. Let y = r + and r = 3t − 2 t. Use the Chain Rule to find an expression for
r
dy
.
dt
q
√ df
27. Hard. Let f (x) = x + x. Evaluate f ′ (9). If x = t2 , what is ?
dt
√ √
28. Use the definition of x2 as x2 = |x| for each x, to show that the function
x
y = |x| has a derivative whenever x 6= 0 and y′ (x) = for x 6= 0.
|x|
29. Hard Show that if f is a differentiable at the point x = x0 then f is continuous
at x = x0 . (Hint: You can try a proof by ‘contradiction’, that is you assume
the conclusion is false and, using a sequence of logically correct arguments, you
deduce that the original claim is false as well. Since, generally speaking, a state-
ment in mathematics cannot be both true and false, (aside from undecidable
statements) it follows that the conclusion has to be true. So, assume f is not
continuous at x = x0 , and look at each case where f is discontinuous (unequal
one-sided limits, function value is infinite, etc.) and, in each case, derive a
contradiction.)
Alternately, you can prove this directly using the methods in the Advanced
Topics chapter. See the Solution Manual for yet another method of showing
this.
Web Links
www.math.hmc.edu/calculus/tutorials/chainrule/
www.ugrad.math.ubc.ca/coursedoc/math100/notes/derivative/chainap.html
www.khanacademy.org/math/calculus/v/the-chain-rule
NOTES:
112 3.4. IMPLICIT FUNCTIONS AND THEIR DERIVATIVES
You can imagine the variety of different functions in mathematics. So far, all the
functions we’ve encountered had this one thing in common: You could write them as
y = f (x) (or x = F (y) ) in which case you know that x is the independent variable
and y is the dependent variable. We know which variable is which. Sometimes it is
not so easy to see “which variable is which” especially if the function is written as,
say,
x2 − 2xy + tan(xy) − 2 = 0.
What do we do? Can we solve for either one of these variables at all? And if we can,
do we solve for x in terms of y, or y in terms of x? Well, we don’t always “have to”
solve for any variable here, and we’ll still be able to find the derivative so long as we
agree on which variable x, or y is the independent one. Actually, Newton was the
In his Method of Fluxions, (1736), first person to perform an implicit differentiation. Implicit functions appear very
Isaac Newton was one of the first often in the study of general solutions of differential equations. We’ll see later
to use the procedure of this sec-
tion, namely, implicit differentia- on that the general solution of a separable differential equation is usually given by
tion. He used his brand of deriva- an implicit function. Other examples of implicit functions include the equation of
tives though, things he called flux-
ions and he got into big trouble
closed curves in the xy-plane (circles, squares, ellipses, etc. to mention a few of the
because they weren’t well defined. common ones).
In England, one famous philosopher
by the name of Bishop Berkeley
criticized Newton severely for his
inability to actually explain what Review
these fluxions really were. Nev-
erthless, Newton obtained the right You should review the Chain Rule and the Generalized Power Rule in
answers (according to our calcula- the preceding section. A mastery of these concepts and the usual rules for
tions). What about Leibniz? Well,
even Leibniz got into trouble with differentiation will make this section much easier to learn.
his, so-called, differentials because
he really couldn’t explain this stuff
well, either! His nemesis in this
case was one Bernard Nieuwen- We can call our usual functions explicit because their values are given explicitly
tijt of Amsterdam (1694). Appar-
ently, neither Berkeley nor Nieuwen- (i.e., we can write them down) by solving one of the variables in terms of the other.
tijt could put the Calculus on a rig- This means that for each value of x there is only one value of y. But this is the
orous foundation either, so, even-
tually the matter was dropped. It
same as saying that y is a function of x, right? An equation involving two variables,
would take another 150 years un- say, x, y, is said to be an explicit relation if one can solve for y (or x) uniquely in
til Weierstrass and others like him terms of x (or y).
would come along and make sense
out of all this Calculus business with
rigorous definitions (like those in the Example 96. For example, the equation 2y = 2x6 − 4x is an explicit relation
Advanced Topics chapter).
because we can easily solve for y in terms of x. In fact, it reduces to the rule
y = x6 − 2x which defines a function y = f (x) where f (x) = x6 − 2x. Another
√
example is given by the function y whose values are given by y(x) = x + x whose
√
values are easily calculated: Each value of x gives a value of y = x + x and so
on, and y can be found directly using a calculator. Finally, 3x + 6 − 9y2 = 0 also
defines an explicit relation because now we can solve for x in terms of y and find
x = 3y2 − 2.
In the same spirit we say that an equation involving two variables, say, x, y, is said
to be an implicit relation if it is not explicit.
Example 97. For example, the relation defined by the rule y5 + 7y = x3 cos x
is implicit. Okay, you can isolate the y, but what’s left still involves y and x, right?
The equation defined by x2 y2 + 4 sin(xy) = 0 also defines an implicit relation.
Such implicit relations are useful because they usually define a curve in the xy-
plane, a curve which is not, generally speaking, the graph of a function. In fact,
you can probably believe the statement that a “closed curve” (like a circle, ellipse,
etc.) cannot be the graph of a function. Can you show why? For example, the circle
defined by the implicit relation x2 + y2 = 4 is not the graph of a unique function,
3.4. IMPLICIT FUNCTIONS AND THEIR DERIVATIVES 113
Note: It can be shown that the 4 steps above always produce an expression
for dy
dx
which can be solved explicitly. In other words, even though y is
dy
given implicitly, the function dx is explicit, that is, given a point P(x, y) on the
dy
defining curve described in (3) we can actually solve for the term dx .
This note is based on the assumption that we already know that y can be written
as a differentiable function of x. This assumption isn’t obvious, and involves an
important result called the Implicit Function Theorem which we won’t study here
but which can be found in books on Advanced Calculus. One of the neat things
about this implicit function theorem business is that it tells us that, under certain
conditions, we can always solve for the derivative dy/dx even though we can’t solve
for y! Amazing, isn’t it?
dy
Example 98. Find the derivative of y with respect to x, that is, dx
, when
2
x, y are related by the expression xy − y = 6.
xy(x) − y(x)2 = 6.
OK, since this is true for all x under consideration (the x’s were not specified, so
don’t worry) it follows that we can take the derivative of both sides and still get
equality, i.e.
d d
(xy(x) − y(x)2 ) = (6).
dx dx
114 3.4. IMPLICIT FUNCTIONS AND THEIR DERIVATIVES
d
Now, dx
(6) = 0 since the derivative of a constant is always 0 and
d d d
(xy(x) − y(x)2 ) = xy(x) − y(x)2
dx dx
» dx –
dy d(x) dy
= x + y(x) − 2y(x)
dx dx dx
dy
= [x − 2y(x)] + y(x)
dx
where we used a combination of the Product Rule and the Generalized Power Rule
(see Example 87 for a similar argument). So, we have
dy d
[x − 2y(x)] + y(x) = (6) = 0,
dx dx
dy
and solving for dx we get
dy −y(x)
= .
dx x − 2y(x)
y(x)
= .
2y(x) − x
dy
OK, so we have found dx
in terms of x and y(x) that is, since y = y(x),
dy y
=
dx 2y − x
To find the slope of the tangent line to a point P(x0 , y0 ) on this curve we calculate
dy y0
=
dx 2y0 − x0
where x0 y0 − y02 = 6, that’s all. So, for example the point (7, 1) is on this curve
because x0 = 7, y0 = 1 satisfies x0 y0 − y02 = 6. You see that the derivative at this
point (7, 1) is given by
dy 1 1
= =−
dx 2(1) − 7 5
dx dx
3x2 +7 = 3y2 ,
dy dy
since
d 3 dx
x = 3x2
dy dy
by the Generalized Power Rule. We can now solve for the expression dx/dy and find
a formula for the derivative, namely,
dx 3y2
= .
dy 3x2 + 7
3.4. IMPLICIT FUNCTIONS AND THEIR DERIVATIVES 115
Now we can find the derivative easily at any point (x, y) on the curve x3 + 7x = y3 .
For instance, the derivative at the point (1, 2) on this curve is given by substituting
the values x = 1, y = 2 in the formula for the derivative just found, so that
dx (3)(2)2 12 6
= = = .
dy (3)(1)2 + 7 10 5
For a geometrical interpretation of this derivative, see Figure 43 on the next page.
Example 100.
Find the slope of the tangent line to the curve y = y(x) given
Solution First, you should always check that the given point (−1, 1) is on this curve,
otherwise, there is nothing to do! Let x0 = −1, y0 = 1 and P(x0 , y0 ) =P(−1, 1). We
see that (−1)2 + 4(1)2 = 5 and so the point P(−1, 1) is on the curve.
Since we want the slope of a tangent line to the curve y = y(x) at x = x0 , we need
to find it’s derivative y′ (x) and evaluate it at x = x0 .
OK, now
d 2 d
(x + 4y(x)2 ) = (5)
dx dx
d
2x + 4 (y(x)2 ) = 0
| dx {z }
2x + 4 2y(x) · y′ (x) = 0
′ 2x x
y (x) = − =− , (if y(x) 6= 0)
8y(x) 4y(x)
and this gives the value of the derivative, y′ (x) at any point (x, y) on the curve, that
is y′ = − 4y
x
where (x, y) is on the curve (remember y = y(x)). It follows that at
(−1, 1), this derivative is equal to
(−1) 1
y′ (−1) = (−1) = .
4(1) 4
Example 101.
A curve in the xy-plane is given by the set of all points (x, y)
Solution Verify that (−3, 1) is, indeed, on the curve. This is true since 15 +
(−3)2 (1)3 = 10, as required. Next, we assume that x = x(y) is a differentiable
function of y. Then
d 5 d
(y + x2 y3 ) = (10)
dy dy
(where we used the Power Rule and the Product Rule). Isolating the term x′ (y) = dx
dy
gives us the required derivative,
dx −3x2 y2 − 5y4
= .
dy 2xy3
When x = −3, y = 1 so,
dx −27 − 5 16
= = .
dy −6 3
116 3.4. IMPLICIT FUNCTIONS AND THEIR DERIVATIVES
if dx
dy 6= 0, at the point P(x, y) under investigation. This is another consequence
of the Implicit Function Theorem and a result on Inverse Functions.
dy
1. x2 + xy + y2 = 1, dx at (1, 0)
dy
2. 2xy2 − y4 = x3 , dx
and dx
dy
√ dy
3. x + y + xy = 4, dx
at (16, 0)
dy
4. x − y2 = 4, dx
dy
5. x2 + y2 = 9, dx at (0, 3)
Find the equation of the tangent line to the given curve at the given point.
Web Links
archives.math.utk.edu/visual.calculus/3/implicit.7/index.html
www.ugrad.math.ubc.ca/coursedoc/math100/notes/derivative/implicit.html
(the above site requires a Java-enabled browser)
NOTES:
3.5. DERIVATIVES OF TRIGONOMETRIC FUNCTIONS 117
Our modern world runs on electricity. In these days of computers, space travel and
robots we need to have a secure understanding of the basic laws of electricity and
its uses. In this realm, electric currents both alternating (as in households), and
direct (as in a flashlight battery), lead one to the study of sine and cosine functions
and their interaction. For example, how does an electric current vary over time?
We need its ‘rate of change’ with respect to time, and this can be modeled using its
derivative.
An integrated circuits board
In another vein, so far we’ve encountered the derivatives of many different types of
functions; polynomials, rational functions, roots of every kind, and combinations of
such functions. In many applications of mathematics to physics and other physical
and natural sciences we need to study combinations of trigonometric functions and
other ‘changes’, the shapes of their graphs and other relevant data. In the simplest
of these applications we can mention the study of wave phenomena. In this area
we model incoming or outgoing waves in a fluid (such as a lake, tea, coffee, etc.)
as a combination of sine and cosine waves, and then study how these waves change
over time. Well, to study how these waves change over time we need to study
their derivatives, right? This, in turn, means that we need to be able to find the
derivatives of the sine and cosine functions and that’s what this section is all about.
There are two fundamental limits that we need to recall here from an earlier chapter,
namely
sin x
lim = 1, (3.2)
x→0 x
1 − cos x
lim = 0, (3.3)
x→0 x
All angles, A, B and x are in radians in the Table above, and this is customary in
calculus.
180
Recall that 1 radian = π
degrees.
The first result is that the derivative of the sine function is the cosine function, that
is,
d
sin x = cos x.
dx
This is not too hard to show; for example, assume that h 6= 0. Then
d
cos x = − sin x
dx
For example,
Since these two limits define the derivative of each trigonometric function we get
the boxed results, above.
OK, now that we know these two fundamental derivative formulae for the sine and
cosine functions we can derive all the other such formulae (for tan, cot, sec, and csc)
using basic properties of derivatives.
d
tan x = sec2 x
dx
3.5. DERIVATIVES OF TRIGONOMETRIC FUNCTIONS 119
sin x
as well. To see this we use the Quotient Rule and recall that since tan x = cos x
,
d d sin x
tan x = ( ) (by definition)
dx dx cos x
d d
cos x dx (sin x) − ( dx cos x) sin x
= (Quotient Rule)
cos2 x
2 2
cos x + sin x
= (just derived above)
cos2 x
1
= (by I3).
cos2 x
By imitating this argument it’s not hard to show that
d 1
cot x = − 2 ,
dx sin x
or, equivalently,
d
cot x = − csc2 x
dx
There are two more formulae which need to be addressed, namely, those involving
the derivative of the secant and cosecant functions. These are:
d
sec x = sec x tan x
dx
d
csc x = − csc x cot x
dx
Each can be derived using the Quotient Rule. Now armed with these formulae and
the Chain Rule we can derive formulae for derivatives of very complicated looking
functions, see Table 3.5.
Example 102.
Find the derivative of f where f (x) = sin2 x + 6x.
Example 103. d √
Evaluate 1 + cos x at x = 0.
dx
√
Solution We write f (x) = 1 + cos x and convert the root to a power (always do
Joseph Louis (Comte de) La- this so you can use the Generalized Power Rule).
grange, 1736 -1813, was born in
1 1
Torino, Italy and died in Paris, We get f (x) = (1 + cos x) 2 = ✷ 2 if we set ✷ = 1 + cos x so that we can put the
France. His main contributions to original function into a more recognizable form. So far we know that
mathematics were in the fields of
√ 1
analysis where he studied analytical f (x) = 1 + cos x = ✷ 2
and celestial mechanics, although
he excelled in everything that he So, by the Power Rule, we get
studied. In 1766, Lagrange became
1 − 21 ′
the successor of Euler in the Berlin f ′ (x) = ✷ ✷
Academy of Science, and during the 2
next year he was awarded the first
where ✷′ is the derivative of 1 + cos x (without the root), i.e.
of his many prizes for his studies
on the irregularities of the motion
d
of the moon. He helped to found ✷′ = (1 + cos x)
dx
the Academy of Science in Torino in d d
1757, and the École Polytechnique
= (1) + (cos x)
dx dx
in 1795. He also helped to create = 0 − sin x
the first commission on Weights and = − sin x
Measures and was named to the Le-
gion d’Honneur by Napoleon and Combining these results we find
elevated to Count in 1808.
1 1
f ′ (x) = (1 + cos x)− 2 (− sin x)
2
sin x
= − √
2 1 + cos x
sin 0 0
f ′ (0) = − √ =− √
2 1 + cos 0 2 2
= 0
Solution Write f (x) = cos x, g(x) = 1 + sin x. We need to find the derivative of the
quotient fg and so we can think about using the Quotient Rule.
In our case,
Example 105. 3
Let the function be defined by f (t) = . Evaluate f ′ ( π4 ).
sin(t)
by the Generalized Power Rule. But we still need ✷′ , right? Now ✷ = sin(t), so
✷′ = cos t. Combining these results we find
3
Note: Notice that we could have written f (t) = sin(t) as f (t) = 3 csc t and use the
derivative formula for csc t mentioned above. This would give f ′(t) = −3 csc t cot t
and we could then continue as we did above.
Example 106.
Let’s look at an example which can be solved in two different
ways. Consider the implicit relation
y + sin2 y + cos2 y = x.
We want y′ (x).
The easy way to do this is to note that, by trigonometry (I3), sin2 y + cos2 y = 1
regardless of the value of y. So, the original relation is really identical to y + 1 = x.
From this we observe that dy/dx = 1.
But what if you didn’t notice this identity? Well, we differentiate both sides as is the
case whenever we use implicit differentiation. The original equation really means
y + {sin(y)}2 + {cos(y)}2 = x.
or
dy dy dy
+ 2{sin(y)}1 cos(y) + 2{cos(y)}1 (− sin(y)) = 1.
dx dx dx
But the second and third terms cancel out, and we are left with
dy
= 1,
dx
as before. Both methods do give the same answer as they should.
Example 107.
Evaluate the following derivatives using the rules of this Chap-
ter and Table 3.5.
a) f (x) = sin(2x2 + 1)
√
b) f (x) = cos 3x sin x
c) f (t) = (cos 2t)2 , at t = 0
d) f (x) = cos(sin x) at x = 0
t
e) h(t) = at t = π/4
sin 2t
c) Let ✷ = cos 2t. The Generalized Power Rule comes to mind, so, use of Table 3.5
shows that
f ′ (t) = 2✷ · D✷,
= (2 · cos 2t) · (−2 · sin 2t)
= −4 cos 2t sin 2t
= −2 sin 4t, (where we use Table 3.4, (I7), with x = 2t).
3.5. DERIVATIVES OF TRIGONOMETRIC FUNCTIONS 123
So f ′ (0) = −2 sin(0) = 0.
d) We need to find the derivative of something that looks like cos ✷. So, let ✷ = sin x.
We know that D✷ = D sin x = cos x, and once again, Table 3.5 shows that
e) We see something that looks like a quotient so we should be using the Quotient
Rule, right? Write f (t) = t, g(t) = sin 2t. We need to find the derivative of the
quotient fg . Now, recall that this Rule says that (replace the x’s by t’s)
t 1 sin 2t 2 cos 2t
NOTES:
124 3.5. DERIVATIVES OF TRIGONOMETRIC FUNCTIONS
Evaluate the derivative of the functions whose values are given below, at the indi-
cated point.
√ x+1
1. sin x, at x = 1 11. , at x = π/2
sin x
cos x
4. 14. cot(3x − 2)
1 − sin x
√ 2x + 3
5. 1 + sin t, at t = 0 15.
sin x
NOTES:
3.6. IMPORTANT RESULTS ABOUT DERIVATIVES 125
This section is about things we call theorems. Theorems are truths about things
mathematical ... They are statements which can be substantiated (or proved) using
the language of mathematics and its underlying logic. It’s not always easy to prove
something, whether it be mathematical or not. The point of a ‘proof’ is that it
makes everything you’ve learned ‘come together’, so to speak, in a more logical,
coherent fashion.
The results here form part of the cornerstones of basic Calculus. One of them,
the Mean Value Theorem will be used later when we define the, so-called, an-
tiderivative of a function and the Riemann integral.
We will motivate this first theorem by looking at a sample real life situation. Figure 44.
Tangent lines to the left (respectively, right) of the point where the maximum height
is reached have positive (respectively, negative) slope and so we expect the tangent
line to be horizontal at M (the point where the maximum value is reached). This
is the key point, a horizontal tangent line means a ‘zero derivative’ mathe-
matically. Why? Well, you recall that the derivative of f at a point x is the slope
of the tangent line at the point P (x, f (x)) on the graph of f . Since a horizontal line
has zero slope, it follows that the derivative is also zero.
OK, now let’s translate all this into the language of mathematics. The curve has an
equation y = f (x) and the ball leaves the hand of the outfielder at a point a with
a height of f (a) (meters, feet, . . . we won’t worry about units here). Let’s say that
the ball needs to reach ‘b’ at a height f (b), where f (b) = f (a), above the ground.
The fastest way of doing this, of course, is by throwing the ball in a straight line
path from point to point (see Figure 45), but this is not realistic! If it were, the
tangent line along this flight path would still be horizontal since f (a) = f (b), right!?
So, the ball can’t really travel in a ‘straight line’ from a to b, and will always reach Figure 45.
a ‘maximum’ in our case, a maximum where necessarily y′ (M ) = 0, as there is
a horizontal tangent line there, see Figure 45. OK, now let’s look at all possible
(differentiable) curves from x = a to x = b, starting at height f (a) and ending at
height f (b) = f (a), (as in Figure 46). We want to know “Is there always a point
between a and b at which the curve reaches its maximum value ?”
A straight line from (a, f (a)) to (b, f (b)), where f (b) = f (a), is one curve whose
maximum value is the same everywhere, okay? And, as we said above, this is
necessarily horizontal, so this line is the same as its tangent line (for each point x
between a and b). As can be seen in Figure 46, all the ‘other’ curves seem to have
a maximum value at some point between a and b and, when that happens, there is
a horizontal tangent line there.
an interval I = (a, b) (recall (a, b) = {x : a < x < b}) and f (a) = f (b) then f ′ (c) = 0
for some c between a and b; at least one c, but there may be more than one. Actually,
this mathematical statement is true! The result is called Rolle’s Theorem and it
is named after Michel Rolle, (1652-1719), a French mathematician.
Of course we haven’t ‘proved’ this theorem of Rolle but it is believable! Its proof
can be found in more advanced books in Analysis, a field of mathematics which
includes Calculus.)
Remark
Example 108.
Show that the function whose values are given by f (x) = sin(x)
on the interval [0, π] satisfies the assumptions of Rolle’s Theorem. Find the required
value of c explicitly.
Figure 46. Solution We know that ‘sin’ as well as its derivative, ‘cos’, are continuous every-
where. Also, sin(0) = 0 = sin(π). So, if we let a = 0, b = π, we see that we can
apply Rolle’s Theorem and find that y′ (c) = 0 where c is somewhere in between 0
and π. So, this means that cos c = 0 for some value of c. This is true! We can
choose c = π/2 and see this c exactly.
We have seen Rolle’s Theorem in action. Now, let’s return to the case where the
baseball goes from (a, f (a)) to (b, f (b)) but where f (a) 6= f (b) (players of different
heights!). What can we say in this case?
Well, we know that there is the straight line path from (a, f (a)) to (b, f (b)) which,
unfortunately, does not have a zero derivative anywhere as a curve (see Figure 47).
But look at all possible curves going from (a, f (a)) to (b, f (b)). This is only a
thought experiment, OK? They are differentiable (let’s assume this) and they bend
this way and that as they proceed from their point of origin to their destination.
Look at how they turn and compare this to the straight line joining the origin
and destination. It looks like you can always find a tangent line to any one
of these curves which is parallel to the line joining (a, f (a)) to (b, f (b))!
(see Figure 48). It’s almost like Rolle’s Theorem (graphically) but it is not Rolle’s
Theorem because f (a) 6= f (b). Actually, if you think about it a little, you’ll see that
Figure 47. it’s more general than Rolle’s Theorem. It has a different name . . . and it too is a
3.6. IMPORTANT RESULTS ABOUT DERIVATIVES 127
true mathematical statement! We call it the Mean Value Theorem and it says
the following:
f (b) − f (a)
= f ′ (c).
b−a
Remark The number on the left of the equation, namely, f (b)−f b−a
(a)
is really the
′
slope of the line pointing from (a, f (a)) to (b, f (b)). Moreover, f (c) is the slope of
the tangent line through some point (c, f (c)) on the graph of f . Since these slopes
are equal, the corresponding lines must be parallel, which is what we noticed above.
Example 109.
Show that the function whose values are given by f (x) = cos 2x
on the interval [0, π/2] satisfies the assumptions of the Mean Value Theorem. Show
that there is a value of c such that sin 2c = 2/π.
Solution Here, ‘cos 2x’ as well as its derivative, ‘−2 sin 2x’, are continuous every-
where. Also, cos(0) = 1 and cos(π) = −1. So, if we let a = 0, b = π/2, we see that
we can apply the Mean Value Theorem and find that y′ (c) = 0 where c is somewhere
in between 0 and π/2. This means that −2 sin 2c = −4/π, or for some value of c,
we must have sin 2c = 2/π. We may not know what this value of c is,
exactly, but it does exist! In fact, in the next section we’ll show you how to find
this value of c using inverse trigonometric functions.
Applications
Example 110.
Let y be continuous in the interval a ≤ x ≤ b and a differentiable
function on an interval (a, b) whose derivative is equal to zero at each point x, a <
x < b. Show that y(x) = constant for each x, a < x < b. i.e. If y′ (x) = 0 for all
x then the values y(x) are equal to one and the same number (or, y is said to be a
constant function).
Solution This is one very nice application of the Mean Value Theorem. OK, let
t be any point in (a, b). Since y is continuous at x = a, y(a) is finite. Re-reading
the statement of this example shows that all the assumptions of the Mean Value
Theorem are satisfied. So, the quotient
y(t) − y(a)
= y′ (c)
t−a
where a < c < t is the conclusion. But whatever c is, we know that y′ (c) = 0 (by
hypothesis, i.e. at each point x the derivative at x is equal to 0). It follows that
y′ (c) = 0 and this gives y(t) = y(a). But now look, t can be changed to some other
number, say, t∗ . We do the same calculation once again and we get
y(t∗ ) − y(a)
= y′ (c∗)
t∗ − a
where now a < c∗ < t∗ , and c∗ is generally different from c. Since y′ (c∗ ) = 0 (again,
by hypothesis) it follows that y(t∗ ) = y(a) as well. OK, but all this means that
y(t) = y(t∗ ) = y(a). So, we can continue like this and repeat this argument for
128 3.6. IMPORTANT RESULTS ABOUT DERIVATIVES
every possible value of t in (a, b), and every time we do this we get that y(t) = y(a).
It follows that for any choice of t, a < t < b, we must have y(t) = y(a). In other
words, we have actually proved that y(t) = constant (= y(a)), for t in a < t < b.
Since y is continuous at each endpoint a, b, it follows that y(b) must also be equal
to y(a). Finally, we see that y(x) = y(a) for every x in [a, b].
Example 111.
The function defined by y = |x| has y(−1) = y(1) but yet
′
y (c) 6= 0 for any value of c. Explain why this doesn’t contradict Rolle’s
Theorem.
Solution All the assumptions of a theorem need to be verified before using the
theorem’s conclusion. In this case, the function f defined by f (x) = |x| has no
derivative at x = 0 as we saw earlier, and so the assumption that f be differentiable
over (−1, 1) is not true since it is not differentiable at x = 0. So, we can’t use the
Theorem at all. This just happens to be one of the many functions that doesn’t
satisfy the conclusion of this theorem. You can see that there’s no contradiction to
Rolle’s Theorem since it doesn’t apply.
−x, −2 ≤ x ≤ 0
f (x) =
1 − x, 0 < x ≤ 3.
In this example, the function f is defined on [−2, 3] by the 2 curves in the graph
and f (3)−f (−2)
3−(−2)
= − 45 but there is no value of c, −2 < c < 3 such that f ′ (c) = − 54 ,
because f ′ (c) = −1 at every c except c = 0 where f ′ (0) is not defined. Does this
contradict the Mean Value Theorem?
Solution No, there is no contradiction here. Once again, all the assumptions of
the Mean Value Theorem must be verified before proceeding to its conclusion. In
this example, the function f defined above is not continuous at x = 0 because its
left-hand limit at x = 0 is f− (0) = 0, while its right-hand limit, f+ (0) = 1. Since
these limits are different f is not continuous at x = 0. Since f is not continuous at
x = 0, it cannot be continuous on all of [−2, 3]. So, we can’t apply the conclusion.
So, there’s nothing wrong with this function or Rolle’s Theorem.
Example 113.
Another very useful application of the Mean Value Theorem/Rolle’s
Theorem is in the theory of differential equations which we spoke of earlier.
dy
+ y(x)2 + 1 = 0.
dx
Show that this function y cannot have two zeros (or roots) in the interval [a, b].
Solution Use Rolle’s Theorem and show this result by assuming the contrary. This
is called a a proof by contradiction, remember? Assume that, if possible, there
are two points A, B in the interval [a, b] where y(A) = y(B) = 0. Then, by Rolle’s
Theorem, there exists a point c in (A, B) with y′ (c) = 0. Use this value of c in the
equation above. This means that
dy
(c) + y(c)2 + 1 = 0,
dx
3.6. IMPORTANT RESULTS ABOUT DERIVATIVES 129
Summary
Rolle’s Theorem
Let f be continuous at each point of a closed interval [a, b] and differ-
entiable at each point of (a, b). If f(a) = f(b), then there is a point c
between a and b at which f ′ (c) = 0.
Remark Don’t confuse this result with Bolzano’s Theorem (Chapter 2).
Bolzano’s Theorem deals with the existence of a root of a continuous
function f while Rolle’s Theorem deals with the existence of a root of the
derivative of a function.
Mean Value Theorem
Let f be continuous on the interval a ≤ x ≤ b and differentiable on the
interval a < x < b. Then there is a point c between a and b at which
f(b)−f(a)
b−a
= f ′ (c).
right? Now, since y′ (c) = 0, it follows that y(c)2 + 1 = 0. But y(c)2 ≥ 0. So, this
is an impossibility, it can never happen. This last statement is the contradiction.
The original assumption that there are two points A, B in the interval [a, b] where
y(A) = y(B) = 0 must be false. So, there can’t be ‘two’ such points. It follows
that y cannot have two zeros in a ≤ x ≤ b.
Note The function y defined by y(x) = tan(c − x) where c is any fixed number,
dy
has the property that dx + y(x)2 + 1 = 0. If c = π, say, then y(x) = tan(π − x)
is such a function whose graph is reproduced in Figure 49.
Note that this function has ‘lots’ of zeros! Why does this graph not contradict
the result of Example 113? It’s because on this interval, [0, π] the function f
is not defined at x = π/2 (so it not continuous on [0, π]), and so Example 113
does not apply.
Example 114.
In a previous example we saw that if y is a differentiable function
′
on [a, b] and y (x) = 0 for all x in (a, b) then y(x) must be a constant function.
The same ideas may be employed to show that if y is a twice differentiable function Figure 49.
on (a, b) (i.e. the derivative itself has a derivative), y and y′ are each continuous on
[a, b] and if y′′ (x) = 0 for each x in (a, b) then y(x) = mx + b, for each a < x < b,
for some constants m and b. That is, y must be a linear function.
Solution We apply the Mean Value Theorem to the function y′ first. Look at the
′ ′
interval [a, x]. Then y (x)−y
x−a
(a)
= y′′ (c) where a < c < x. But y′′ (c) = 0 (regardless
of the value of c) so this means y′ (x) = y′ (a) = constant. Since x can be any
130 3.6. IMPORTANT RESULTS ABOUT DERIVATIVES
number, x > a, and the constant above does not ‘change’ (it is equal to y′ (a)), it
follows that y′ (x) = y′ (a) for any x in (a, b).
y(x) − y(a)
= y′ (c)
x−a
where a < c < x (not the same c as before, though). But we know that y′ (c) = y′ (a)
(from what we just proved) so this means that y(x) − y(a) = y′ (a)(x − a) or
Two other big theorems of elementary Calculus are the Intermediate Value Theorem
and a special case of it called Bolzano’s Theorem, both of which we saw in our chapter
on Limits and Continuity. We recall them here.
Example 115.
Show that there is a root of the equation f (x) = 0 in the interval
Bernhard Bolzano, 1781-1848, [0, π], where f (x) = x sin x + cos x .
Czechoslovakian priest and mathe-
matician who specialized in Analysis Solution OK, what’s this question about? The key words are ‘root’ and ‘function’
where he made many contributions and at this point, basing ourselves on the big theorems above, we must be dealing
to the areas of limits and continuity with an application of Bolzano’s Theorem, you see? (Since it deals with roots
and, like Weierstrass, he produced
of functions, see Table 3.7.) So, let [a, b] = [0, π] which means that a = 0 and
b = π. Now the function whose values are given by x sin x is continuous (as it is
a method (1850) for constructing a
the product of two continuous functions) and since ‘cos x’ is continuous it follows
continuous function which has no
that x sin x + cos x is continuous (as the sum of continuous functions is, once again
derivative anywhere! He helped to
continuous). Thus f is continuous on [a, b] = [0, π].
establish the tenet that mathemat-
ical truth should rest on rigorous What about f (0)? Well, f (0) = 1 (since 0 sin 0 + cos 0 = 0 + (+1) = +1).
proofs rather than intuition.
3.6. IMPORTANT RESULTS ABOUT DERIVATIVES 131
So, f (π) = −1 < 0 < f (0) = 1 which means that f (a)·f (b) = f (0)·f (π) < 0. So, all
the hypotheses of Bolzano’s theorem are satisfied. This means that the conclusion
follows, that is, there is a point c between 0 and π so that f (c) = 0.
Well, we need more techniques to solve this problem, and there is one, very useful
method, called Newton’s method which we’ll see soon, (named after the same
Newton mentioned in Chapter 1, one of its discoverers.)
Use Bolzano’s theorem to show that each of the given functions has a root in the
given interval. Don’t forget to verify the assumption of continuity in each
case. You may want to use your calculator. In the first few exercises show 1)
that the function is continuous,
and 2) that there are two points
1. y(x) = 3x − 2, 0 ≤ x ≤ 2
a, b inside the given interval with
2. y(x) = x2 − 1, −2 ≤ x ≤ 0
f(a)f(b) < 0. Then use Bolzano’s
3. y(x) = 2x2 − 3x − 2, 0 ≤ x ≤ 3 Theorem.
4. y(x) = sin x + cos x, 0 ≤ x ≤ π
5. y(x) = x cos x + sin x, 0 ≤ x ≤ π
6. The function y has the property that y is three-times differentiable in (a, b) and
continuous in [a, b]. If y′′′ (x) = 0 for all x in (a, b) show that y(x) is of the form
y(x) = Ax2 + Bx + C for a suitable choice of A, B, and C.
dy
7. The following function y has the property that dx + y(x)4 + 2 = 0 for x in (a, b).
Show that y(x) cannot have two zeros in the interval [a, b].
8. Use the Mean Value Theorem to show that sin x ≤ x for any x in the interval
[0, π].
9. Use Rolle’s Theorem applied to the sine function on [0, π] to show that the cosine
function must have a root in this interval.
10. Apply the Mean Value Theorem to the sine function on [0, π/2] to show that
x − sin x ≤ π2 − 1. Conclude that if 0 ≤ x ≤ π2 , then 0 ≤ x − sin x ≤ π2 − 1.
11. Use a calculator to find that value c in the conclusion of the Mean Value Theorem
for the following two functions:
a) f (x) = x2 + x − 1, [a, b] = [0, 2]
b) g(x) = x2 + 3, [a, b] = [0, 1]
Hint In (a) calculate the number f (b)−f b−a
(a)
explicitly. Then find f ′ (c) as a
function of c, and, finally, solve for c.
12. An electron is shot through a 1 meter wide plasma field and its time of travel
is recorded at 0.3 × 10−8 seconds on a timer at its destination. Show, using the
Mean Value Theorem, that its velocity at some point in time had to exceed the
speed of light in that field given approximately by 2.19 × 108 m/sec. (Note
This effect is actually observed in nature!)
One of the most important topics in the theory of functions is that of the inverse
of a function, a function which is NOT the same as the reciprocal (or 1 divided
by the function). Using this new notion of an inverse we are able to ‘back-track’ in
a sense, the idea being that we interchange the domain and the range of a function
when defining its inverse and points in the range get associated with the point in
the domain from which they arose. These inverse functions are used everywhere
in Calculus especially in the topic of finding the area between two curves, or
calculating the volume of a solid of revolution two topics which we will address
later. The two main topics in Calculus namely, differentiation and integration of
functions, are actually related. In the more general sense of an inverse of an op-
erator, these operations on functions are almost inverses of one another. Knowing
how to manipulate and find inverse functions is a necessity for a thorough under-
standing of the methods in Calculus. In this section we will learn what they are,
how to find them, and how to sketch them.
Review
You should be completely familiar with Chapter 1, and especially how to find
the composition of two functions using the ‘box’ method or any other method.
We recall the notion of the composition of two functions here: Given two func-
tions, f, g where the range of g is contained in the domain of f , (i.e., R=Ran(g) ⊆
Dom(f)=D) we define the composition of f and g, denoted by the symbol f ◦ g,
a new function whose values are given by (f ◦ g)(x) = f (g(x)) where x is in the
domain of g (denoted briefly by D).
Example 116.
Let f (x) = x2 + 1, g(x) = x − 1. Find (f ◦ g)(x) and (g ◦ f )(x).
On the other hand, when the same idea is applied to (g◦f )(x), we get (g◦f )(x) = x2 .
Note: This shows that the operation of composition is not commutative, that
is, (g ◦ f )(x) 6= (f ◦ g)(x), in general. The point is that composition is not the
same as multiplication.
Let f be a given function with domain, D=Dom(f), and range, R=Ran(f). We say
that the function F is the inverse of f if all these four conditions hold:
Dom(F ) = Ran(f )
Dom(f ) = Ran(F )
(F ◦ f )(x) = x, for every x in Dom(f)
(f ◦ F )(x) = x, for every x in Dom(F)
Thus, the inverse function’s domain is R. The inverse function of f is usually written
f −1 whereas the reciprocal function of f is written as f1 so that ( f1 )(x) = f (x)
1
6=
−1
f (x). This is the source of much confusion!
3.7. INVERSE FUNCTIONS 133
Example 117.
Find the composition of the functions f, g where f (x) = 2x + 3,
2
g(x) = x , and show that (f ◦ g)(x) 6= (g ◦ f )(x).
while
So we see that
(f ◦ g)(x) 6= (g ◦ f )(x)
F (x) = x−3
2
are inverse of one another. That is, show that F is the inverse of f and
f is the inverse of F .
How can we tell if a given function has an inverse function?. In order that
two functions f, F be inverses of one another it is necessary that each function be
one-to-one on their respective domains. This means that the only solution of the
equation f (x) = f (y) (resp. F (x) = F (y)) is the solution x = y, whenever x, y are
in Dom(f ), (resp. Dom(F )). The simplest geometrical test for deciding whether
a given function is one-to-one is the so-called Horizontal Line Test. Basically, one
looks at the graph of the given function on the xy-plane, and if every horizontal line
through the range of the function intersects the graph at only one point, then the
function is one-to-one and so it has an inverse function, see Figure 50. The moral
here is “Not every function has an inverse function, only those that are one-to-one!”
Example 119.
Show that the function f (x) = x2 has no inverse function if we
take its domain to be the interval [−1, 1].
Solution This is because the Horizontal Line Test shows that every horizontal
line through the range of f intersects the curve at two points (except at (0,0),
see Figure 51). Since the Test fails, f is not one-to-one and this means that f
cannot have an inverse. Can you show that this function does have an inverse if
its domain is restricted to the smaller interval [0, 1] ?
Example 120.
Figure 51.
Find the form of the inverse function of the function f defined
by f (x) = 2x + 3, where x is real.
134 3.7. INVERSE FUNCTIONS
Example 121.
f (x) = x4 , x ≥ 0, what is its inverse function F (x) (also denoted
by f −1 (x)) ?
The graph of f(x) = x4 . If x ≥ 0 Solution Let’s use Table 3.8, once again. Write y = x4 . From the graph of f
(Figure 52) we see that it is one-to-one if x ≥ 0. Solving for x in terms of y, we √get
this function is one-to-one.It is not √ √
x = 4 y since x is real, and y ≥ 0. So f −1 (y) = F (y) = 4 y or f −1 (x) = F (x) = 4 x
true that f is one-to-one if the do-
is the inverse function of f .
main of f contains negative points,
since in this case there are horizon-
Example 122.
tal lines that intersect the graph in If f (x) = x3 + 1, what is its inverse function, f −1 (x)?
TWO points.
dF df −1 1 1
(x) = (x) = ′ −1 = ′ (3.4)
dx dx f (f (x)) f (F (x))
where the symbol f ′ (f −1 (x)) means that the derivative of f is evaluated at the point
f −1 (x), where x is given. Why?
3.7. INVERSE FUNCTIONS 135
The simplest reason is that the Chain Rule tells us that since f (F (x)) = x we can
differentiate the composition on the left using the Box Method (with F (x) in the
box...). By the Chain Rule we know that
x = f (F (x))
Dx = Df (F (x)) = Df (✷)
1 = f ′ (✷) · D(✷)
= f ′ (F (x)) · F ′ (x).
Now solving for the symbol F ′ (x) in the last display (because this is what we want)
we obtain
1
F ′ (x) = ′ ,
f (F (x))
where F (x) = f −1 (x) is the inverse of the original function f (x). This proves our
claim.
since our point (x, y) lies on the graph of the inverse function, y = f −1 (x).
Example 124.
A function f with an inverse function denoted by F has the
property that F (0) = 1 and f ′ (1) = 0.2. Calculate the value of F ′ (0).
Solution We don’t have much given here but yet we can actually find the answer
as follows: Since
1
F ′ (0) = ′
f (F (0))
by (3.4) with x = 0, we set F (0) = 1, and note that f ′ (F (0)) = f ′ (1). But since
f ′ (1) = 0.2 we see that
1 1 1
F ′ (0) = = ′ = = 5.
f ′ (F (0)) f (1) 0.2
136 3.7. INVERSE FUNCTIONS
Example 125.
Let g be a function defined by
x+2
g(x) =
x−2
with Dom(g) = {x : x 6= 2}. Show that g has an inverse function, G, find its form,
and describe its Domain and Range.
Solution Let’s denote its inverse function by G. The first question you should be
asking yourself is: “How do we know that there is an inverse function at all?” In
other words, we have to show that the graph of g satisfies the Horizontal Line Test
mentioned above (see Fig. 50), or, in other words, g is one-to-one. To do this we can
do one of two things: We can either draw the graph as in Fig. 54 (if you have that
much patience), or check the condition algebraically by showing that if g(x) = g(y)
then x = y must be true (for any points x, y in the domain of g). Since the graph
is already given in the margin we are done, but let’s look at this using the algebraic
test mentioned here.
The graph of the function g in Ex- We assume that g(x) = g(y) (here y is thought of as an independent variable, just
ample 125. Note that any horizon-
like x). Then, by definition, this means that
tal line intersects the graph of g in x+2 y+2
=
only one point! This means that g is x−2 y−2
one-to-one on its domain. The ver-
for x, y 6= 2. Multiplying both sides by (x − 2)(y − 2) we get (x + 2)(y − 2) =
tical line across the point x = 2 is
(y + 2)(x − 2). Expanding these expressions we get
called a vertical asymptote (a line
on which the function becomes infi- xy + 2y − 2x − 4 = yx + 2x − 2y − 4
nite). More on this in Chapter 5.
from which we easily see that x = y. That’s all. So g is one-to-one. Thus, its inverse
function G exists.
Figure 54.
Next, to find its values, G(x), we replace all the x’s by y’s and solve for y in terms
of x, (cf., Table 3.8). Replacing all the x’s by y’s (and the only y by x) we get
y+2
x= .
y−2
Multiplying both sides by (y − 2) and simplifying we get
2x + 2
y= .
x−1
This is G(x).
Now that we know how to find the form of the inverse of a given (one-to-one)
function, the natural question is: “What does it look like?”. Of course, it is simply
another one of those graphs whose shape may be predicted by means of existing
computer software or by the old and labor intensive method of finding the critical
points of the function, the asymptotes, etc. So, why worry about the graph of an
inverse function? Well, one reason is that the graph of an inverse function is
related to the graph of the original function (that is, the one for which it is
the inverse). How? Let’s have a look at an example.
3.7. INVERSE FUNCTIONS 137
Example 126. √
Let’s look at the graph of the function f (x) = x, for x in
2
(0, 4), and its inverse, the function, F (x) = x , for x in (0, 2), Figure 55.
When we study these graphs carefully, we note, by definition of the inverse function,
that the domain and the range are interchanged. So, this means that if we
interchanged the x-axis (on which lies the domain of f ) and the y-axis, (on which
we find the range of f ) we would be in a position to graph the inverse function of f .
√
This graph of the inverse function is simply the reflection of the graph for y = x,
about the line y = x. Try it out ! Better still, check out the following experiment!
EXPERIMENT:
√
1. Make a copy of the graph of f (x) = x, below, by tracing it onto some
tracing paper (so that you can see the graph from both sides). Label the
axes, and fill in the domain and the range of f by thickening or thinning
the line segment containing them, or, if you prefer, by colouring them in.
2. Now, turn the traced image around, clockwise, by 90 degrees so
that the x-axis is vertical (but pointing down) and the y-axis is horizontal
(and pointing to the right). Figure 55. The graphs of y =
√
3. Next, flip the paper over onto its back without rotating the x2 and its inverse, y = x super-
paper! √
What do you see? The graph of the inverse function of imposed on one another
f (x) = x, that is, F (x) = x2 .
REMARK This technique of making the graph of the inverse function by rotating
the original graph clockwise by 90 degrees and then flipping it over always works!
You will always get the graph of the inverse function on the back side (verso), as if
it had been sketched on the x and y axes as usual (once you interchange x and y).
Here’s a visual summary of the construction . . .
Why does this work? Well, there’s some Linear Algebra involved. (The au-
thor’s module entitled The ABC’s of Calculus: Module on Inverse Functions has a
thorough explanation!)
RULE OF THUMB. We can always find the graph of the inverse function
by applying the above construction to the original graph
or, equivalently,
by reflecting the original graph of f about the line y = x and eliminating the
original graph.
Example 127.
We sketch the graphs of the function f , and its inverse, F , given
NOTE THAT if you are given the graph of the inverse function, F (x), of a
function f (x), you can find the graph of f (x) by applying the preceding “rule of
thumb” with f and F interchanged. Furthermore, the inverse of the inverse function
of a function f (so, we’re looking for the inverse) is f itself. Why? Use the definition
of the inverse! We know that F (f (x)) = x, for each x in Dom(f ), and x = f (F (x))
for each x in Dom(F ); together, these relations say that “F is the inverse of f ”. If
we interchange the symbols ‘F ’ and ‘f ’ in this equation we get the same equation
with the interpretation “f is the inverse of F ”, which is what we wanted!
Sketch the graphs of the following functions and their inverses. Don’t
forget to indicate the domain and the range of each function.
(iv) Given that f (−2) = 8 , what is the solution y, of F (y) = −2? Are there
any other solutions ?
(v) We know that f (−1) = 6. Are there any other points, x, such that
f (x) = 6?
7. Given that f is such that its inverse F exists, f ′ (−2.1) = 4, F (−1) = − 2.1,
find the value of the derivative of F at x = −1.
Find the form of the inverse of the given functions on the given domain
and determine the Domain and the Range of the inverse function. Don’t
forget to show that each is one-to-one first.
3.7. INVERSE FUNCTIONS 139
Web Links
library.thinkquest.org/2647/algebra/ftinvers.htm
(requires a Java-enabled browser)
www.khanacademy.org/math/algebra/algebra-functions/v/function-inverse-
example-1
www.math.duke.edu/education/ccp/materials/intcalc/inverse/index.html
NOTES:
140 3.8. INVERSE TRIGONOMETRIC FUNCTIONS
When you think of the graph of a trigonometric function you may have the general
feeling that it’s very wavy. In this case, the Horizontal Line Test should fail as
horizontal lines through the range will intersect the graph quite a lot! So, how can
they have an inverse? The only way this can happen is by making the domain ‘small
enough’. It shouldn’t be surprising if it has an inverse on a suitable interval. So,
every trigonometric function has an inverse on a suitably defined interval.
Since sin(π/2) = 1, it follows that Arcsin(1) = π/2. The cosine function with
Dom(cos) = [0, π] also has an inverse and it’s called the Arccosine function, This
Arccosine function is defined for −1 ≤ x ≤ 1, and its rule is given by y = Arccos(x)
which means that y is an angle whose cosine is x. Thus, Arccos(1) = 0, since
cos(0) = 1. Finally, the tangent function defined on (−π/2, π/2) has an inverse
called the Arctangent function and it’s defined on the interval (−∞, +∞) by
the statement that y = Arctan(x) only when y is an angle in (−π/2, π/2) whose
tangent is x. In particular, since tan(π/4) = 1, Arctan(1) = π/4. The remaining
inverse trigonometric functions can be defined by the relations y = Arccot(x), the
Arccotangent function, which is defined only when y is an angle in (0, π) whose
cotangent is x (and x is in (−∞, +∞)). In particular, since cot(π/2) = 0, we see
that Arccot(0) = π/2. Furthermore, y = Arcsec(x), the Arcsecant function, only
when y is an angle in [0, π], different from π/2, whose secant is x (and x is outside
the open interval (−1, 1)). In particular, Arcsec(1) = 0, since sec(0) = 1. Finally,
y = Arccsc(x), the Arccosecant function, only when y is an angle in [−π/2, π/2],
different from 0, whose cosecant is x (and x is outside the open interval (−1, 1)). In
particular, since csc(π/2) = 1, Arccsc(1) = π/2.
NOTE: sin, cos are defined for all x (in radians) but this is not true for their
‘inverses’, arcsin (or Arcsin), arccos (or Arccos). Remember that the inverse of a
function is always defined on the range of the original function.
Example 128.
Evaluate Arctan(1).
Example 129. 1
Evaluate Arcsin( ).
2
1
Solution By definition, we are looking for an angle in radians whose sine is . So
2
1 1 π
y = Arcsin( ) means sin y = or y = (see Figure 57).
2 2 6
Example 130. 1
Evaluate Arccos( √ ).
2
Figure 57.
1
Solution By definition, we seek an angle in radians whose cosine is √ . So y =
2
1 1 π
Arccos( √ ) means cos y = √ or y = .
2 2 4
Example 131. √
Evaluate Arcsec( 2).
√
Solution By definition,we are looking for an√angle in radians whose secant is 2.
√ √
So y = Arcsec( 2) means sec y = 2 (= 12 ). The other side has length s2 =
√ π
( 2)2 − 12 = 2 − 1 = 1. So s = 1. Therefore, the △ is isosceles and y = (see
4
Figure 58).
√
Example 132. 2
Find the value of sin(Arccos( )).
2
√ √ Figure 58.
2 2
Solution Let y = Arccos( ) then cos y = . But we want sin y. So, since
2 2
2 2
cos y + sin y = 1, we get
r
p 1 1
sin y = ± 1 − cos2 y = ± 1 − = ± √ .
2 2
Hence
√ √
2 1 2
sin(Arccos( )) = √ (= ).
2 2 2
Example 133. 1
Find sec(Arctan(− )).
2
1 1
Solution Now y = Arctan(− ) means tan y = − but we want sec y. Since sec2 y −
2 p 2q q √
tan2 y = 1 this means sec y = ± 1 + tan2 y = ± 1 + 41 = ± 54 = ± 25 . Now we
use Table 3.10, above.
Now, if we have an angle whose tangent is − 21 then the angle is either in II or IV.
But the angle must be in the interval (− π2 , 0) of the domain of definition (− π2 , π2 )
√
of tangent. Hence it is in IV and so its secant is > 0. Thus, sec y = 5/2 and we’re
done.
Example 134. 1
Find the sign of sec(Arccos( )).
2
1 1
Solution Let y = Arccos( ) ⇒ cos y = > 0, therefore y is in I or IV. By definition,
2 2
142 3.8. INVERSE TRIGONOMETRIC FUNCTIONS
Arccos( 12 ) is in [0, π]. Therefore y is in I or II, but this means that y must be in I.
„ „ ««
1
So, sec y > 0 by Table 3.10, and this forces sec Arccos = sec y > 0.
2
Example 135.
Determine the sign of the number csc(Arcsec(2)).
Example 136. 1
Find the sign of tan(Arcsin(− )).
2
1
Solution Let y = Arcsin(− ). Then sin y = − 21 ⇒ y in III or IV. By definition
2
1
of Arcsin; But, y = Arcsin(− ) must be in I or IV. Therefore y is in IV. So
2
1
tan(Arcsin(− )) < 0 (because tan < 0 in IV).
2
CAREFUL!!
Many authors of Calculus books use the following notations for the inverse
trigonometric functions:
Arcsin x ⇐⇒ sin−1 x
Arccos x ⇐⇒ cos−1 x
Arctan x ⇐⇒ tan−1 x
Arccot x ⇐⇒ cot−1 x
Arcsec x ⇐⇒ sec−1 x
Arccsc x ⇐⇒ csc−1 x
The reason we try to avoid this notation is because it makes too many readers
associate it with the reciprocal of those trigonometric functions and not their
inverses. The reciprocal and the inverse are really different! Still, you should
be able to use both notations interchangeably. It’s best to know what
the notation means, first.
NOTE: The inverse trigonometric functions we defined here in Table 3.9, are called
the principal branch of the inverse trigonometric function, and we use the notation
with an upper case letter ‘A’ for Arcsin, etc. to emphasize this. Non-principal
3.8. INVERSE TRIGONOMETRIC FUNCTIONS 143
branches of these inverse trigonometric functions begin with the lower case letter.
Thus, arctan x refers to a non-principal branch of the inverse tangent function, i.e.,
one whose range is something other than (−π/2, π/2), something like (π/2, 3π/2) or
(3π/2, 5π/2). In the same vein, arcsin x, arccos x, etc. denote non-principal branches
of the arcsine and arccosine functions, repectively. Just about everything you ever
wanted know about the basic theory of principal and non-principal branches of the
inverse trigonometric functions may be found in the author’s Module on Inverse
Functions in the series The ABC’s of Calculus, The Nolan Company, Ottawa, 1994.
Finally, we emphasize that since these functions are inverses then for any symbol,
✷, representing some point in the domain of the corresponding inverse function (see
Table 3.9), we always have
sin(Arcsin ✷) = ✷ cos(Arccos ✷) = ✷
tan(Arctan ✷) = ✷ cot(Arccot ✷) = ✷
sec(Arcsec ✷) = ✷ csc(Arccsc ✷) = ✷
the same equalities holding, in fact, for any branch of the inverse functions and not
just only the principal one. (So we can replace the upper case “A” by lower case
“a” above.)
On the other hand, the relationship between principal and non-principal branches
of the main inverse trigonometric functions is given by,
where m is an integer that may be positive, negative, or zero and that depends
on the branch being considered. Another way of writing this is, in the case of the
arcsine function,
−Arcsin (✷) + (odd) π,
arcsin(✷) =
Arcsin (✷) + (even) π
where the “odd” and “even” numbers here correspond to the case where m is an
odd or an even integer respectively (positive or negative) in the previous display.
where m here is either even or odd depending on which branch is being used.
Example 137.
Find the value of Arcsin (sin(2π/3)).
Solution If x lies in [−π/2, π/2], then it is clear from the definition of the principal
branch that Arcsin (sin x) = x. But here x = 2π/3 and 2π/3 is NOT in the interval
[−π/2, π/2]. So, what do we do? Well, we calculate the value of sin 2π/3 which
has to be some number in the √ interval [−1, 1]. When we apply the Arcsin function
to this number sin 2π/3 = 3/2 we HAVE to get an ANGLE in [−π/2, π/2] (be-
144 3.8. INVERSE TRIGONOMETRIC FUNCTIONS
cause that
√ is how the main branch of the arcsine function is defined). So what is
Arcsin ( 3/2)?√ Remember, we are looking for an angle in the interval
√ [−π/2, π/2]
whose sine is√ 3/2. But then, it is easy to see that sin(π/3) = 3/2 which means
that Arcsin ( 3/2) = π/3. In conclusion,
Remark: Observe that Example 137 is an instance of the case m = 1 in the first
formula in the box above Example 137.
Example 138.
Find the value of Arccos (cos(13π/4)).
Solution Recall that whenever x lies in [0, π], then the definition of the principal
branch of the arccosine function tells us that Arccos (cos x) = x. Now x = 13π/4
and of course this number is not in the interval [0, π]. So, as before, we calculate
the value of cos 13π/4 which is some number in the interval [−1,
√ 1]. When we apply
the Arccosine function to cos 13π/4 = cos(3π + π/4) = − 2/2 we HAVE to get
an ANGLE in [0, π] (because that is√ how the main branch of the arccosine function
is defined). So what is Arccos (−√ 2/2)? So, we are looking for an angle in the
interval [0, π] whose cosine is − 2/2. Since the cosine is negative the angle must
be in either QIII
√ or QIV. Finally, we see that 3π/4 is the required angle since
cos(3π/4) = − 2/2. Therefore,
Example 139.
Find the value of Arctan (tan(−16π/3)).
Solution For x in (−π/2, π/2), the definition of the principal branch of the arctangent
function tells us that Arctan (tan x) = x. Since x = −16π/3, this number is not in
the interval (−π/2, π/2). Next, tan(−16π/3) must be some number in the interval
(−∞, +∞). In fact,
√
tan(−16π/3) = tan(−5π − π/3) = tan(−π/3) = − tan(π/3) = − 3.
√ √
Finally, Arctan (− 3), denotes an angle whose tangent is equal to − 3. Since the
tangent is negative this angle must be in QII or QIV. It is now easy to see that it
must be −π/3. So,
Arctan (tan(−16π/3)) = −π/3.
NOTE: In problems involving negative angles we may use the identities sin(−✷) =
− sin(✷), cos(−✷) = cos(✷) and tan(−✷) = − tan(✷) to convert said angles to
positive ones.
Suggested Homework Set 14. Do problems 1, 7, 9, 10, 12, 16, 18, 19, 21.
NOTES:
146 3.9. DERIVATIVES OF INVERSE TRIGONOMETRIC FUNCTIONS
Now that we know what these inverse trigonometric functions are, how do we find
the derivative of the inverse of, say, the Arcsine (sin−1 ) function? Well, we know
from equation 3.4 that
dF 1
(x) = ′
dx f (F (x))
where F (x) = f −1 (x) is the more convenient notation for the inverse of f . Now let
f (x) = sin x, and F (x) = Arcsin x be its inverse function. Since f ′ (x) = cos x, we
see that
d dF
Arcsin x = (x)
dx dx
1
=
f ′ (F (x))
1
=
cos(F (x))
1
=
cos(Arcsin x)
Figure 59. Look at the definition of the Arcsin function in Table 3.9. You’ll see that this
function is defined only when the domain of the original sin function is restricted
to [−π/2, π/2]. But, by definition, Ran(Arcsin ) = Dom(sin) = [−π/2, π/2]. So,
cos θ = cos Arcsin x ≥ 0 because Arcsin x is in the interval [−π/2, π/2] and the cos
function is either 0 or positive in there. So we must choose the ‘+’ sign. Good. So,
p
cos(Arcsin x) = 1 − x2 .
d 1
Arcsin x =
dx cos(Arcsin x)
1
= √ .
1 − x2
d 1 du d −1 du
sin−1 (u) = √ cos−1 (u) = √ , | u |< 1,
dx 1 − u2 dx dx 1 − u2 dx
d 1 du d −1 du
tan−1 (u) = cot−1 (u) =
dx 1 + u2 dx dx 1 + u2 dx
d 1 du d −1 du
sec−1 (u) = √ , csc−1 (u) = √ , | u |> 1
dx | u | u2 − 1 dx dx | u | u2 − 1 dx
If we let u = u(x) = ✷ be any differentiable function, then we can use the basic
derivative formulae and derive very general ones using the Chain Rule. In this way
we can obtain Table 3.11.
Example 140. 1
Evaluate the derivative of y = cos−1 ( ), (or Arccos( x1 )).
x
Solution You can use any method here, but it always comes down to the Chain
1 du 1
Rule. Let u = , then = − 2 . By Table 3.11,
x dx x
dy d 1 du
= cos−1 u = − √
dx dx 1−u2 dx
1
1 1 2
= −q (−
2
)= q x
1 2
1 − (x) x 1− 1
x2
√
1 x2
= q = 2
√
x2 1 − 12 |x| x2 − 1
x
|x|
= √
|x|2 x2 − 1
1
= √ , (|x| > 1).
|x| x2 − 1
Example 141. √
Evaluate the derivative of y = cot−1 ( x).
√ du 1
Solution Let u = x, then = √ . So,
dx 2 x
dy d 1 du
= cot−1 u = −
dx dx 1 + u2 dx
1 1 1
= − √ · √ =− √ .
1 + ( x)2 2 x 2 x(1 + x)
Example 142. √
If y = csc−1 ( x + 1) , what is y′ (x)?
√ du 1
Solution Let u = x + 1, then = √ . So,
dx 2 x+1
dy d −1 du
= csc−1 u = √
dx dx | u | u2 − 1 dx
−1 1
= √ √ · √
x + 1( x + 1 − 1) 2 x + 1
−1
= √ .
2(x + 1) x
NOTES:
148 3.9. DERIVATIVES OF INVERSE TRIGONOMETRIC FUNCTIONS
Use Table 3.11 and the Chain Rule to find the derivatives of the functions
whose values are given here.
√
1. Arcsin(x2 ), at x = 0 6. sec−1 x
1
4. Arcsin(cos x) 9.
Arctanx
sin−1 x
5. 10. x3 Arcsec(x3 )
sin x
Web Links
http://www.khanacademy.org/math/trigonometry/
NOTES:
3.10. L’HOSPITAL’S RULE 149
Review
You should review all the material on limits from Chapter 2. You should
be really good in finding derivatives too! The section on Indeterminate
Forms is particularly important as this method allows you yet another way of
evaluating such mysterious looking limits involving ‘0/0’, ‘∞/∞’, etc. Also re-
member the basic steps in evaluating a limit: Rewrite or simplify or rationalize,
and finally evaluate using whatever method (this Rule, extended real num-
bers, continuity, numerically by using your calculator, and finally, incantations).
CAUTION
So, what this means is “If your limit doesn’t involve a quotient of two func-
tions then you can’t use the Rule!” So, if you can’t use the Rule, you’ll have
to convert your problem into one where you can use it.
Example 143.
The interval (−1, 0.5) is a neighborhood of 0, as is the interval
(−0.02, 0.3).
Example 144.
The interval (−1, 0) is a left-neighborhood of 0, so is (−3, 0),
or (−2.7, 0), etc.
Example 145.
The interval (1, 4) is a right-neighborhood of 1, so is (1, 1.00003),
Table showing the likelihood that or (1, 1000), etc
sin x/x → 1 as x → 0. Note that
x can be positive or negative so Finally, a punctured neighborhood of a is an open interval around a without
long as x → 0. the point a itself. Just think of it as an open interval with one point missing.
The Rule also holds if a is replaced by ±∞, or if the limits are one-sided
limits (i.e., limit as x approaches a from the right or left) or even in the
Figure 60. ±∞/∞ case.
Example 147.
Use L’Hospital’s Rule (Table 3.12) to show that
sin x
lim = 1.
x→0 x
Solution Here a = 0, f (x) = sin x, g(x) = x. The first thing to do is to check the
form! Is it really an indeterminate form? Yes, because (sin 0)/0 = 0/0.
3.10. L’HOSPITAL’S RULE 151
The next thing to do is to check the assumptions on the functions. Both these
functions are differentiable around x = 0, f ′ (x) = cos x, and g′ (x) = 1 6= 0 in any
neighborhood of x = 0. So we can go to the next step.. The next step is to see if
the limit of the quotient of the derivatives exists!? Now,
f ′ (x) cos x
lim = lim
x→0 g′ (x) x→0 1
= lim cos x
x→0
= cos 0 = 1, since the cosine function is continuous at x = 0.
So, it does exist and consequently so does the original limit (by the Rule) and we
have
sin x
lim = 1.
x→0 x
Remember the geometric derivation of this limit in Chapter 2? This is much easier,
no?
Three Steps to Solving Limit
Problems using L’Hospital’s
Example 148. Rule.
Show that if α is any given real number, then
• What is the ‘form’ ?
(∞/∞, 0/0?)
tan(αx)
lim = α. • Check the assumptions on
x→0 x the quotient.
f ′ (x)
1. What is the form? The form is tan(α · 0)/0 = tan(0)/0 = 0/0, which is lim .
x→a g′ (x)
indeterminate.
If this limit exists, then so does the
2. Check the assumptions on the functions. Here a = 0 and we have a original one and they must be equal!
quotient of the form f (x)/g(x) = tan(αx)/x, where f (x) = tan(αx) and g(x) = x.
Then, by the Chain Rule, f ′ (x) = α sec2 (αx), while g′ (x) = 1, which is not zero
near x = 0. Both functions are differentiable near 0, so there’s no problem, we can
go to Step 3.
So, this limit does exist and consequently so does the original limit (by the Rule)
and we have
tan(αx)
lim = α.
x→0 x
Example 149.
Evaluate
x2 + 6x + 5
lim
x→−1 x2 − x − 2
Solution
152 3.10. L’HOSPITAL’S RULE
1. What is the form? The form is ((−1)2 + 6(−1) + 5)/((−1)2 − (−1) − 2) = 0/0,
which is indeterminate.
Table showing the likelihood that 3. Check the existence of the limit of the quotient of the derivatives.
f(x)/g(x) → −4/3 as x → −1.
Note that x can be greater
than or less than 1 so long as
f ′ (x) 2x + 6
x → −1. lim = lim
x→−1 g′ (x) x→−1 2x − 1
= (−2 + 6)/(−2 − 1), continuity at x = −1.
x f(x)/g(x)
−.990000 −1.413793 = 4/(−3) = −4/3.
−.999917 −1.340425 So, this limit does exist and consequently so does the original limit (by the Rule)
−.999989 −1.335845 and
−.999997 −1.334609
−.999999 −1.334188 x2 + 6x + 5 4
lim =− .
... ... x→−1 x2 − x − 2 3
−1 −1.333333
... ... We check this out numerically in Figure 61. Note that −4/3 ≈ −1.333333...
−1.00003 −1.333307
−1.00250 −1.331391 This rule of L’Hospital is not all powerful, you can’t use it all the time! Now we
−1.00500 −1.329451 look at an example where everything looks good at first but you still can’t apply the
−1.02000 −1.317881 Rule.
Example 150.
Evaluate
Figure 61. √
x+1−1
lim
x→0 x2
Solution
√
Table showing the likelihood that 1. What is the form? The form is ( 1 − 1)/0 = 0/0, which is indeterminate.
f(x)/g(x) → −∞ as x → 0− .
2. Check the assumptions on√ the functions. Here a = 0 √ and we have a
2
x f(x)/g(x) quotient of the form f (x)/g(x) = ( x + 1 − 1)/(x√ ), where f (x) = x + 1 − 1 and
−.0050000 −99.87532 g(x) = x2 . A simple calculation gives f ′ (x) = (2 · x + 1)−1 , while g′ (x) = 2x 6= 0,
−.0033333 −149.87520 near x = 0. Both functions are differentiable near 0, so we can go to Step 3.
−.0016667 −299.8751
−.0014290 −349.8751 3. Check the existence of the limit of the quotient of the derivatives.
−.0010000 −499.875
−.0001000 −4999.9
−.0000010 −500000 f ′ (x) √1
2· x+1
lim = lim
x→0 g′ (x) x→0 2x
1
= lim √ ,
x→0 4x · x+1
Figure 62.
But this limit does not exist because the left and right-hand limits are not equal. In
3.10. L’HOSPITAL’S RULE 153
fact,
1
lim √ = −∞, (see F igure 62)
x→0− 4x · x+1
1
lim √ = +∞, (see F igure 63)
x→0+ 4x · x+1
Since the limit condition is not verified, we can’t use the Rule.
So, it seems like we’re back to where we started. What do we do? Back to the
original ideas. We see a square root so we should be rationalizing the numerator, so
as to simplify it. So, let x 6= 0. Then
√ √ √
x+1−1 ( x + 1 − 1) · ( x + 1 + 1)
= √
x2 x2 ( x + 1 + 1)
(x + 1) − 1
= √
x2 ( x + 1 + 1)
x
= √
2
x ( x + 1 + 1)
1
= √ .
x ( x + 1 + 1)
Table showing the likelihood that
f(x)/g(x) → +∞ as x → 0+ .
But this quotient does not have a limit at 0 because the left and right-hand limits
are not equal there. In fact, x f(x)/g(x)
1 .0050000 99.87532
lim √ = +∞, while
x→0+ x ( x + 1 + 1) .0033333 149.87520
1 .0016667 299.8751
lim √ = −∞. .0014290 349.8751
x→0 x ( x + 1 + 1)
−
.0010000 499.875
The conclusion is that the original limit does not exist. .0001000 4999.9
.0000010 500000
Example 151.
Evaluate the limit
√
3 3x−x−2
lim . Figure 63.
x→1 3(x − 1)2
Figure 64.
154 3.10. L’HOSPITAL’S RULE
x−2/3 − 1 − 32 x−5/3 2
lim = lim =−
x→1 6(x − 1) x→1 6 18
1
= − .
9
This is really nice! Why? Because the existence of this limit means that we can
Sometimes you have to use apply the Rule to guarantee that
L’Hospital’s Rule more than once
f ′ (x) 1
in the same problem! lim =− ,
x→1 g′ (x) 9
and since this limit exists, the Rule can be applied again to get that
√
3 3x−x−2 1
lim =− .
x→1 3(x − 1)2 9
See Figure 64 for the numerical evidence supporting this answer. Keep that battery
charged!
Example 152.
Evaluate
tan 2x − 2x
lim
x→0 x − sin x.
Table showing the likelihood that
f(x)/g(x) → 16 as x → 0.
Solution The form is 0/0 and all the conditions on the functions are satisfied. Next,
x f(x)/g(x) the limit of the quotient of the derivatives is given by (remember the Chain Rule
.100000 16.26835 and the universal symbol ‘D’ for a derivative),
.033333 16.02938
D(tan 2x − 2x) 2 · sec2 2x − 2
.016667 16.00743 lim = lim ,
x→0 D(x − sin x) x→0 1 − cos x
.010101 15.97674
.010000 15.99880 which is also an indeterminate form of the type 0/0. The conditions required by the
.001042 16.03191 Rule about these functions are also satisfied, so we need to check the limit of the
.001031 15.96721 quotient of these derivatives. This means that we need to check the existence
.001020 16.05640 of the limit
` ´
... ... D 2 · sec2 2x − 2 8 · sec2 (2x) · tan(2x)
0.00000 16.00000.. lim = lim ,
x→0 D (1 − cos x) x→0 sin x
... ...
−.00100 15.99880 which is yet another indeterminate form of the type 0/0 (because tan 0 = 0, sin 0 =
−.01000 16.00260 0). The conditions required by the Rule about these functions are also satisfied, so
−.05000 16.06627 we need to check the limit of the quotient of these new derivatives. We do the
same thing all over again, and we find
−.10000 16.26835
D(8 · sec2 (2x) · tan(2x)) 2 · sec42x + 4 · sec2 2x · tan2 (2x)
lim = (8) · lim ,
x→0 D(sin x) x→0 cos x
Figure 65. (8) · (2 + 0)
=
1
= 16.
Phew, this was a lot of work! See Figure 65 for an idea of how this limit is reached.
Here’s a shortcut in writing this down:
NOTES:
3.10. L’HOSPITAL’S RULE 155
SHORTCUT
We can write
tan 2x − 2x D(tan 2x − 2x)
lim = lim ,
x→0 x − sin x x→0 D(x − sin x)
2 · sec2 2x − 2
= lim ,
x→0 1 − cos x
` ´
D 2 · sec2 2x − 2
= lim
x→0 D (1 − cos x),
8 · sec2 (2x) · tan(2x)
= lim ,
x→0 sin x
2
D(8 · sec (2x) · tan(2x))
= lim ,
x→0 D(sin x)
2 · sec4 2x + 2 · sec2 2x · tan2 (2x)
= (8) · lim ,
x→0 cos x
(8) · (2 + 0)
= ,
1
= 16,
WATCH OUT!
Even if ONE of these limits ON THE RIGHT of an equation fails to exist,
then we have to STOP and TRY SOMETHING ELSE. If they ALL exist then
you have your answer.
NOTES:
156 3.10. L’HOSPITAL’S RULE
SNAPSHOTS
Example 153.
Evaluate
x2 − 4x + 3
lim
x→3 x2 + x − 12
Solution The form is 0/0 and all the conditions on the functions are satisfied. Next,
Sometimes a thoughtless application
of L’Hospital’s Rule gives NO infor- the limit of the quotient of the derivatives exists and is given by
mation even though the actual limit
may exist! For example, the Sand- 2x − 4 ((2)(3) − 4) 2
wich Theorem shows that
lim = = .
x→3 2x + 1 ((2)(3) + 1) 7
1
„ «
lim x sin = 0. So, by the Rule, the original limit also exists and
x→0+ x
x2 − 4x + 3 2x − 4 2
However, if we apply the Rule to lim = lim = .
x→3 x2 + x − 12 x→3 2x + 1 7
`1´
1 sin x
„ «
lim x sin = lim 1
,
x→0+ x x→0+ x
Example 154.
Evaluate
we get
− x12 cos
`1´
1
x2 − 2x + 1
lim .
„ «
x
lim 1
= lim cos x→1 x3 − x
x→0+ − x→0+ x
x2
x2 − 2x + 1 2x − 2
lim = lim = 0.
x→1 x3 − x x→1 3x2 − 1
Example 155.
Evaluate
sin π x
lim
x→1 x2 − 1
Solution The form is (sin 0)/0 = 0/0 and all the conditions on the functions are
satisfied. The limit of the quotient of the derivatives exists and is given by
π · cos(πx) π · cos(π)
lim =
x→1 2x 2
π
= − .
2
So, by the Rule, the original limit also exists and
sin π x π · cos(πx)
lim = lim
x→1 x2 − 1 x→1 2x
π
= − .
2
3.10. L’HOSPITAL’S RULE 157
Example 156.
Evaluate
sin 4x
lim .
x→0 sin 7x
Solution The form is (sin 0)/(sin 0) = 0/0 and all the conditions on the functions
are satisfied. The limit of the quotient of the derivatives exists and is given by
4 · cos 4x 4·1
lim =
x→0 7 · cos 7x 7·1
4
= .
7
So, by the Rule, the original limit exists and
sin 4x 4 · cos 4x
lim = lim
x→0 sin 7x x→0 7 · cos 7x
4
= .
7
At this point we move on to the study of limits at infinity. In these cases the Rule
still applies as can be shown in theory: Refer to Table 3.13 above for the result.
The Rule is used in exactly the same way, although we must be more careful in
handling these limits, because they are at ‘±∞’, so it may be helpful to review your
section on Extended Real Number Arithmetic, in Chapter 2, in order to cook up your
guesses.
Sometimes these limit problems may be ‘in disguise’ so you may have to move
things around and get them in the right form (i.e., a quotient) BEFORE you
apply the Rule.
Then
f(x) f ′ (x)
lim = lim ′
x→∞ g(x) x→∞ g (x)
whenever the latter limit (the one on the right) exists. A similar result is
true if we replace ∞ by −∞ in the limits. The values of the limits may
be infinite as well.
Challenge Problem
Let M be some number such that f and g are each differentiable in M < x < ∞.
Assume the existence of each of the following limits, i.e.,
lim g(x) = ±∞,
x→∞
158 3.10. L’HOSPITAL’S RULE
and
f ′ (x)
lim = +∞.
x→∞ g′ (x)
Then the following limit exists and
f (x)
lim = +∞.
x→∞ g(x)
Example 157.
Compute
1
lim .
x→∞ x sin( πx )
Solution Check the form In this case we have ‘1/(∞ · 0), which is indeterminate
because ‘0 · ∞’ is itself indeterminate. So, we can’t even think about using the Rule.
But, if we rewrite the expression as
1/x
lim ,
x→∞ sin( πx )
then the form is of the type ‘0/0’, right? (because 1/∞ = 0).
Check the assumptions on the functions. This is OK because the only thing
that can go wrong with the derivative of f (x) = 1/x is at x = 0, so if we choose
M = 1, say, in Table 3.13, then we’re OK. The same argument applies for g.
1/x −1/x2 1 1
lim = lim = lim = ,
x→∞ sin(π/x) x→∞ (−π/x2 ) · cos(π/x) x→∞ πcos(π/x) π
since all the limits exist, and π/x → 0, as x → ∞ (which means cos(π/x) → cos 0 =
1 as x → ∞).
Table showing the likelihood that Don’t like to tangle with infinity?
(x2 − 1)/(x2 + 1) → 1 as x → −∞.
No problem. Whenever you see ‘x → ∞ just let x = 1/t everywhere in the expres-
x f(x)/g(x) sions and then let t → 0+ . Suddenly, the limit at ∞ is converted to a one-sided
−20 .99501 limit at 0. In fact, what happens is this:
−50 .99920
−200 .99995 f (x) f ′ (1/t)
lim = lim
x→+∞ g(x) t→0+ g′ (1/t)
−300 .99997
−1, 000 .99998 f ′(1/x)
= lim ′
−10, 000 .99999 x→0+ g (1/x)
... ... In this way you can find limits at infinity by transforming them to limits at 0.
−∞ 1.00000...
Example 158.
Compute
Figure 66. x2 − 1
lim .
x→−∞ x2 + 1
Solution Without the Rule In this case we have ∞/∞, which is indeterminate.
Now let’s convert this to a problem where the symbol −∞ is converted to 0− . We
3.10. L’HOSPITAL’S RULE 159
x2 − 1 (1/t)2 − 1
lim = lim ,
x→−∞ x2 + 1 t→0− (1/t)2 + 1
1 − t2
= lim ,
t→0− 1 + t2
= 1,
since both the numerator and denominator are continuous there. Did you notice we
didn’t use the Rule at all? (see Figure 66 to convince yourself of this limit). This is
because the last limit you see here is not an indeterminate form at all.
With the Rule The original form is ∞/∞, which is indeterminate. We can also
use the Rule because it applies and all the conditions on the functions are met. This
means that, provided all the following limits exist,
x2 − 1 2x
lim = lim ,
x→−∞ x2 + 1 x→−∞ 2x
= lim 1,
x→−∞
= 1,
as before.
Example 159.
Compute
√ √
lim x+1− x.
x→+∞
since the denominator is infinite at this point and so its reciprocal is zero. Table showing the likelihood that
f(x)/g(x) → +∞ as x → +∞.
Once again, did you notice we didn’t use the Rule at all? This is because the last
limit you see here is not an indeterminate form either. x x2 · sin(1/x)
20 19.99167
Example 160.
Evaluate
60 59.99722
200 199.99917
300 299.99944
1
lim x2 · sin . 2000 1999.99992
x→+∞ x
10, 000 9999.9
... ...
Solution Check the form In this case we have (∞) · (0), which is indeterminate. +∞ +∞
You can’t use the Rule at all here because the form is not right again, we’re not
Figure 67.
160 3.10. L’HOSPITAL’S RULE
dealing with a quotient, but a product. So, once again we convert this to a problem
where the symbol +∞ is converted to 0+ . We let x = 1/t. Then,
1
1 sin
lim x2 · sin = lim 1
x
,
x→+∞ x x→+∞
x2
sin t
= lim ,
t→0+ t2
and this last form is indeterminate. So we can use the Rule on it (we checked all
the assumptions, right?). Then,
1 sin t
lim x2 · sin = lim ,
x→+∞ x t→0+ t2
cos t
= lim ,
t→0+ 2t
= +∞,
since this last form is of the type cos 0/∞ = 0. So, the limit exists and
1
lim x2 · sin = +∞,
x→+∞ x
see Figure 67.
Determine the limits of the following quotients if they exist, using any method. Try
to check your answer numerically with your calculator too.
x2 − 1 x3 − 3x + 1 2 cos x − 2 + x2
4. lim 9. lim 14. lim
x→−1 x+1 x→1 x4 − x2 − 2x x→0 3x4
x4 − 1 Arctan x x sin(sin x)
5. lim 10. lim 15. lim
x→1 x2 − 1 x→0 x2 x→0 1 − cos(sin x)
NOTES:
3.11. CHAPTER EXERCISES 161
Use any method to find the derivative of the indicated function. There
is no need to simplify your answers.
√ 1
1. (x + 1)27 6. 2x − 5 11.
sin 3x
x+2
2. cos3 (x) 7. sin 2x 12.
cos 2x
x+1 x2 + 1
3. 8. cos(sin 4x) 13.
sin 2x 2x + 3
` ´ 1
4. sin (x + 5)2 9. 14. (sin 3x) · (x1/5 + 1)
(cos 2x)3
1 x2 + 1
5. 10. 15. sin(x2 + 6x − 2)
sin x + cos x cos 2x
−1.4
16. , at x = 0 19. (2x + 3)105 , at x = 1
2x + 1
2
17. (x + 1) 3 , at x = 1 20. x · sin 2x, at x = 0
1
18. √ , at x = 2 21. sin(sin 4x), at x = π
x+ x2 − 1
f (2 + h) − f (2)
22. lim where f (x) = (x − 1)2
h→0 h
f (−1 + h) − f (−1)
23. lim where f (x) = |x + 2|
h→0 h
f (1 + h) − f (1) √
24. lim where f (x) = x + 1,
h→0 h
• Rationalize the numerator and simplify.
25. Find the second derivative f ′′ (x) given that f (x) = (3x−2)99 . Evaluate f ′′ (+1).
d
26. Let f be a differentiable function for every real number x. Show that dx f (3x2 ) =
6x · f ′ (3x2 ). Verify this formula for the particular case where f (x) = x3 .
27. Find the equation of the tangent line to the curve y = (x2 − 3)6 at the point
(x, y) = (2, 1).
√ dy
28. Let y = t3 + cos t and t = u + 6. Find du when u = 9.
√
29. Let y = r1/2 − 3
r
and r = 3t − 2 t. Use the Chain Rule to find an expression
for dy
dt .
30. Use the definition of the derivative to show that the function y = x · |x| has a
derivative at x = 0 but y′′ (0) does not exist.
162 3.12. CHALLENGE QUESTIONS
dy
31. x3 + 2xy + y2 = 1, at (1, 0)
dx
dy dx
32. 2xy2 − y4 = x3 , and
dx dy
√ dy
33. x + y + x2 y2 = 4, at (0, 16)
dx
dy
34. y5 − 3y2 x − yx = 2,
dx
dy
35. x2 + y2 = 16, at (4, 0)
dx
Find the equation of the tangent line to the given curve at the given
point.
x2 − 1
41. lim
x→+∞ 2x2 − 1
x
42. lim
x→+∞ x−1
„ «
x3
43. lim −x
x→+∞ x2 + 1
x2
44. lim
x→−∞ x3 −1
2 π
45. lim x · ( + Arctan x)
x→−∞ 2
Suggested Homework Set 17. Work out problems 14, 20, 21, 24, 28, 33, 37
1. Use the methods of this section to show that Newton’s First Law of motion in the
form F = ma, where a is its acceleration, may be rewritten in time independent
form as
dv
F =p .
dx
Here p = mv is the momentum of the body in question where v is the velocity.
Conclude that the force acting on a body of mass m may be thought of as being
3.13. USING COMPUTER ALGEBRA SYSTEMS 163
proportional to the product of the momentum and the rate of change of the
momentum per unit distance, that is, show that
p dp
F = .
m dx
Use your favorite Computer Algebra System (CAS), like Maple, MatLab, etc., or
even a graphing calculator to answer the following questions:
1. Two functions f, g have the property that f ′ (9.657463) = −2.34197, and g(1.2) =
9.657463. If g′ (1.2) = −6.549738 calculate the value of the derivative of their
composition, D(f ◦ g)(1.2).
2. Let f (x) = x(x + 1)(x − 2) be defined on the interval [−3, 3]. Sketch the graph of
f (x) and then, on the same axes, sketch the graph of its derivative f ′(x). Can
you tell them apart? If we hadn’t told you what the function f was but only
gave you their graphs, would you be able to distinguish f from its derivative,
f ′ ? Explain.
3. Find the equations of the tangent lines to the curve
x+1
y=
x2 + 1
through the points x = 0, x = −1.2, x = 1.67 and x = 3.241.
4. Remove the absolute value in the function f defined by f (x) = |x3 − x|. Next,
remove the absolute value in the function g(x) = |x − 2|. Now write down the
values of the function h defined by the difference h(x) = f (x) − 3g(x) where
−∞ < x < +∞. Finally, determine the points (if any) where the function h
fails to be differentiable (i.e., has no derivative). Is there a point x where
f ′ (x) = 0?
5. Use implicit differentiation to find the first and second derivative of y with
respect to x given that
x2 + y2 x + 3xy = 3.
6. Find a pattern for the first eight derivatives of the function f defined by f (x) =
(3x + 2)5 2. Can you guess what the 25th derivative of f looks like?
7. Use Newton’s method to find the positive solution of the equation x + sin x = 2
where 0 ≤ x ≤ π2 . (Use Bolzano’s theorem first to obtain an initial guess.)
8. Use repeated applications of the Product Rule to find a formula for the deriva-
tive of the product of three functions f, g, h. Can you find such a formula given
four given functions? More generally, find a formula for the derivative of the
product of n such functions, f1 , f2 , . . . , fn where n ≥ 2 is any given integer.
9. Use repeated applications of the Chain Rule to find a formula for the derivative
of the composition of three functions f, g, h. Can you find such a formula given
four given functions? More generally, find a formula for the derivative of the
composition of n such functions, f1 , f2 , . . . , fn where n ≥ 2 is any given integer.
164 3.13. USING COMPUTER ALGEBRA SYSTEMS
Chapter 4
Exponentials and
Logarithms
This exponential function of Euler will be denoted by ex . It turns out that all other
exponential functions (like 2x , (0.5)x , ... ) can be written in terms of it too! So,
we really only need to study this one function, ex . Part of the importance of this
function of Euler lies in its applications to growth and decay problems in population
biology or nuclear physics to mention only a few areas outside of mathematics per
se. We will study these topics later when we begin solving differential equations.
The most remarkable property of this function is that it is its own derivative! In
other words, D(ex ) = ex where D is the derivative. Because of this property of its
derivative we can solve equations which at one time seemed impossible to solve.
Review
You should review Chapter 1 and especially Exercise Set 3, Number 17 where
the inequalities will serve to pin down Euler’s number, “e”, whose value is
e ≈ 2.718 . . . obtained by letting n → ∞ there.
165
166 4.1. EXPONENTIAL FUNCTIONS AND THEIR LOGARITHMS
which is read as “the logarithm with base a of x ”. Since this is an inverse function
in its own right, it follows by definition of the inverse that:
Figure 68.
x = f (F (x))
= aF (x)
= aloga (x)
and, more generally:
✷ = aloga (✷)
✷ = loga (a✷ )
Example 161.
Let, f (x) = 3x . Then F (x) = log3 (x) is its inverse function
and
3log3 (x) = x, x>0
log3 (3x ) = x, −∞ < x < ∞.
Example 162.
32 = 9 means the same as:
log3 (9) = 2.
Now notice the following pattern: In words this is saying that,
4.1. EXPONENTIAL FUNCTIONS AND THEIR LOGARITHMS 167
or,
basepower = result
Example 163.
Write the following expression as a logarithm.
√
1 1 2
2− 2 = 1 =
22 2
Figure 70.
Example 164.
Write the following expression as a logarithm.
√
2
≈ 7.10299
4
√
means we set the base = 4, power = 2 and result = 7.10299. So,
√
log4 (7.10299) = 2
Example 165.
Write the following expression as a logarithm.
√
√
3 3
2 ≈ 1.38646
√
3
√
Solution This means that we set the base = 2, the power = 3 and the result:
√
log √
3 (1.38646) =
2
3
Remember that the base does not have to be an integer, it can be any irrational or
rational (positive) number.
Figure 71.
Example 166.
Sketch the graph of the following functions by using a calculator:
use the same axes (compare your results with Figure 72).
a. f (x) = 3x
1
b. f (x) =
2x
√
c. f (x) = ( 2)x
168 4.1. EXPONENTIAL FUNCTIONS AND THEIR LOGARITHMS
x -2 -1 0 1 2
3x 0.12 0.33 1 3 9
x -2 -1 0 1 2
1
2x
4 2 1 0.5 0.25
√x -2 -1 0 1 2
( 2)x 0.5 0.71 1 1.4 2
Remarks: Note that as ‘a’ increases past 1 the graph of y = ax gets ‘steeper’
as you proceed from left to right ( harder to climb).
If 0 < a < 1 and ‘a’ is small but positive, the graph of y = ax also becomes
steeper, but in proceeding from right to left.
From these graphs and the definitions of the exponential and logarithm functions
we get the following important properties:
Figure 72.
a△ = ✷ means loga (✷) = △
and
a0 = 1
loga (a) = 1
loga (1) = 0
where, as usual, △, ✷ are any two ‘symbols’ (usually involving x but not necessarily
so).
Example 167.
Show that for △ > 0 and ✷ > 0 we have the equality:
Solution (Hint: Let A = loga (△), B = loga (✷). Show that aA+B = △✷, by using
the definition of the logarithm. Conclude that A + B = loga (△✷).)
Example 168.
Calculate the value of log√2 (4) exactly!
√
Solution Write the definition down...Here the base = 2, the result is 4 so the
4.1. EXPONENTIAL FUNCTIONS AND THEIR LOGARITHMS 169
ay = ✷
(ay )△ = ✷△
ay△ = ✷△ .
loga (✷△ ) = y△
(as ‘y△’ and ‘✷△ ’ are just two ‘new’ symbols). But y△ = △ loga (✷), and
so the result is true, namely that,
power =? Well,
√
( 2)power = 4
√ √ √ √
means power = 4, by inspection (i.e., 2 · 2 · 2 · 2 = 4). So,
log√2 (4) = 4
Example 169.
Solve for x if log2 (x) = −3
Example 170.
If loga (9) = 2 find the base a.
Example 171. √
Evaluate log3 ( 3) exactly.
Solution We use the rule loga (✷△ ) = △ loga (✷) with a = 3. Note that
√ 1
log3 ( 3) = log3 (3 2 )
170 4.1. EXPONENTIAL FUNCTIONS AND THEIR LOGARITHMS
Example 172.
Simplify the following expression for f (x) using the properties
above:
√ π
f (x) = log2 ( x sin x), if 0 < x < .
2
Solution:
√
f (x) = log2 ( x sin x),
√
= log2 ( x) + log2 (sin x), by Table 4.1, (2)
1
= log2 (x ) + log2 (sin x)
2
1
= log2 (x) + log2 (sin x), by Table 4.1, (1)
2
Example 173.
Simplify the following expression for f (x) using the properties
above:
2
f (x) = log4 (4x 8x +1
), x ≥ 0
Now if log4 (2) = z, say, then, by definition, 4z = 2, but this means that (22 )z = 2
or 22z = 2 or 2z = 1, that is, z = 21 . Good, this means
1
log4 (2) =
2
and so,
3 2
f (x) = x + (x + 1),
2
hard to believe isn’t it?
NOTES:
4.1. EXPONENTIAL FUNCTIONS AND THEIR LOGARITHMS 171
2
1. 2log2 (x +1)
„ «log 1 (x) „ «
1 2 1
2. Hint : Let a =
2 2
2
3. log4 (2x 16−x )
„ «
3
4. log3 (Hint : Use Property 3)
4
5. loga (2x 2−x )
6. f (x) = 4x
1
7. f (x) = x
4
√
8. ( 3)x
Write the following equations in logarithmic form (e.g. 23 = 8 means log2 (8) = 3):
√
√ 2
9. 2 ≈ 1.6325
1
10. 2−4 =
16
1
11. 3−2 =
9
Write the following equations as power functions (e.g. log2 (8) = 3 means 23 = 8).
Now that we know how to handle various exponential functions and their loga-
rithms we’ll define one very special but really important exponential function. We’ll
introduce Euler’s number, denoted by ‘e’, after Euler, whose value is approximately
e ≈ 2.718281828459. Using this number as a ‘base’, we’ll define the special expo-
nential function, ex , and its inverse function, called the natural logarithm. We’ll
then look at the various formulae for the derivative of exponential and logarithmic
functions. The most striking property of e lies in that y = ex has the property that
y′ = y (a really neat property!).
Before we move on to the definition of this number ‘e’ which is the cornerstone
of differential and integral calculus, we need to look at sequences, or strings of
numbers separated by commas. Well, more precisley, a sequence is the range of a
function, denoted by ‘a’, whose domain is a subset of the integers. So, its values are
given by a(n) = an , where an is just shorthand for this value and it can be thought
of as representing the nth term of the sequence, the term in the nth position. For
example, if a(n) = 2n − 1, then a(6) = 2 · 6 − 1 = 11, and so we write a6 = 11;
a(15) = 29 and so we write a15 = 29, and so on. The whole sequence looks like
1, 3, 5, 7, 9, |{z}
11 , 13, 15, 17, . . .
Before we jump into this business of exponentials, we need to describe one central
result. A sequence of numbers is said to be monotone increasing if consecutive
terms get bigger as you go along the sequence. For example,
1, 2, 3, 4, 5, 6, . . .
is an increasing sequence. So is
1 3 5
, 1, , 2, , . . .
2 2 2
or even,
and so on. Mathematically we write this property of a sequence {an } by the in-
equality,
an < an+1 , n = 1, 2, 3, . . .
which means that the nth term, denoted by an , has the property that an is smaller
than the next one, namely, an+1 ; makes sense right?!
Well, the next result makes sense if you think about it, and it is believable but we
won’t prove it here. At this point we should recall the main results on limits in
Chapter 2. When we speak of the convergence of an infinite sequence we mean
it in the sense of Chapter 2, that is, in the sense that
or, if you prefer, replace all the symbols n by x above, so that we are really looking
at the limit of a function as x → +∞ but x is always an integer, that’s all.
4.2. EULER’S NUMBER, E = 2.718281828 ... 173
lim an
n→∞
lim an = L < ∞
n→∞
or,
lim an = +∞
n→∞
n
bn =
n+1
is increasing and
lim bn = 1
n→∞
(Why? The simplest proof uses L’Hospital’s Rule on the quotient x/(x + 1). Try
it.)
The practical use of this result on the convergence of increasing sequences is shown
in this section. We summarize this as:
lim an = L
n→∞
where L ≤ M .
2. If there is no such number M , then
lim an = +∞
n→∞
r
Example 174. n
What is lim ?
n→∞ n+1
r r
n n+1
Solution Here an = and an+1 = . (Remember, just replace the
n+1 n+2
174 4.2. EULER’S NUMBER, E = 2.718281828 ...
subscript/symbol ‘n’ by ‘n + 1’.) Compare the first few terms using your calculator,
a1 = 0.7071
a2 = 0.8165
a3 = 0.8660
a4 = 0.8944
a5 = 0.9129
and since a1 < a2 < a3 < a4 < a5 < . . . it is conceivable that the sequence {an }
is increasing, right? Well, the proof of this is not too hard. You can get a proof as
follows. For example, the statement
an < an+1
n2 + 2n < n2 + 2n + 1
0 < 1,
which is clearly true! Since all these statements are equivalent, you can ‘go back-
wards’ from the last statement that ‘0 < 1 to the first staement which is that
‘an < an+1 ’ which is what we wanted to show, (see Figure 73 for a graph of the
sequence {an }).
This is basically how these arguments go insofar as proving that a sequence is in-
creasing: A whole bunch of inequalities which need to be solved and give another
set of equivalent inequalities.
That’s all. You could also have used L’Hospital’s Rule to get this answer (replacing
n by x and using this Rule on the corresponding function).
We define e as
„ «n
1
e = lim 1+
n→∞ n
It’s value is approximately e ≈ 2.7182818284590 . . . .
n
0.02
n 1+
n
Why does this limit exist? Well, in Exercise 17 of Exercise Set 3, we proved
1 1.02
that if n is any integer with n ≥ 2, then
10 1.02018 . . .
100 1.020199 . . .
„ «n 1,000 1.020201 . . .
1
2< 1+ < 3. 10,000 1.020201 . . .
n
100,000 1.020201 . . .
OK, in that same Exercise we also found that the nth term of the sequence {an }
In monetary terms, the numbers on
defined by
„ «n the right can be thought of as the
1 bank balance at the end of 1 year
an = 1 +
n for an initial deposit of 1.00 at an
can be rewritten as interest rate of 2% that is com-
„ «n „ « „ «„ «
1 1 1 1 2 1 pounded n times per year. The limit
an = 1 + = 1+1+ 1− + 1− 1−
n n 2! n n 3! of this expression as the number
„ «„ «„ « „ « of compounding period approaches
1 2 3 n−1 1
+··· + 1 − 1− 1− ··· 1 − infinity, that is, when we continu-
n n n n n!
ously compound the interest, gives
(where there are (n + 1) terms on the right side).
the number e0.02 , where e is Eu-
ler’s number. Use your calculator
Now notice that {an } is increasing because if we replace ‘n’
„ by ‘n+1’
« in the expression
i to check that the value of e0.02 ≈
for an above, we note that every factor of the form 1 − , i ≥ 1, ‘increases’ 1.020201340 in very good agreement
„ « n
i with the numbers above, on the
(because every such term is replaced by 1 − which is larger than the right.
n+1
preceding one. So an+1 is larger than an , in general for n > 1 and {an } is increasing.
Figure 74.
That’s it! Using the Increasing Sequence Theorem we know that
lim an
1
n
n→∞
n 1+
exists and is not greater than 3. The first few terms of this sequence are gi