Calaclus
Calaclus
T
Dunwoody Campus
This document is covered by a Creative Commons Attribution-NonCommercial 4.0 International public license.
Disclaimer about sources
This document presents lecture notes developed by the author while teaching Calculus at Texas
State University, UWM, Berry College, and GSU in the years 2006 through 2020. The handwritten
originals drew material from a variety of editions of a number of textbooks, including the Five
College Consortium’s Calculus in Context, George Thomas’ Calculus, James Stewart’s Calculus,
Claudia Neuhauser’s Calculus for Biology and Medicine, and Ross Middlemiss’s Di↵erential and
Integral Calculus.
A serious e↵ort has been made to remove direct quotations of expository material and exercises
the author suspects to have been taken from these copyrighted textbooks, and to provide citations
where the sources are known. As time allows, and to the best of her ability, she will continue to
purge and replace material whose original attribution is unknown to her.
However, the author no longer has access to every edition of every textbook from which she
taught Calculus over the years, and her memory regarding the origin of every exercise included in
this document is far from infallible. Doubtless some of the material appearing herein can also be
found in the sources from which she drew while compiling her handwritten notes.
The author also notes the exigency imposed by the COVID-19 pandemic, which was ongoing
when this document was created and hastily deployed.
To the best of the author’s knowledge, in the production of auxiliary teaching materials used for
pedagogical reasons and not for personal profit, the practice of recycling mathematical exercises
that may be found in other authors’ printed material is is protected by the legal doctrine of Fair
Use, as well as being consistent with long-established practices in tertiary mathematics education.
Lesson 0: Sets and functions
Sets
A set can be specified in one of several ways, which we will now discuss.
+ The symbols (-1, 1) mean the same thing as R: that is, the set of all numbers on
the number line.
Ex. 1. True/False/Makes no sense:
(a) ⇡ 2 R.
(b) 32/ R.
(c) R 2 2.
(d) 1 is a number on the number line.
The Cartesian plane R2 is the set of points (or ordered pairs) (x, y), where x, y 2 R.
We can write R2 in set-builder notation as follows:
R2 = (x, y) | x 2 R and y 2 R .
+ You’re not required to memorize the meaning of the symbols Z, N, R2 , and Q. (But
you should memorize the meaning of the symbol R.)
Intersections and unions:
+ Let A and B be two sets. Their intersection A \ B is the set of members both of
A and of B. Their union A [ B is the set of members either of A or of B. In set-builder
notation,
A \ B = {x x 2 A and x 2 B},
A [ B = {x x 2 A or x 2 B}.
Ex. 6. Write the set [2, 4] \ (3, 1) in the simplest possible notation. (Hint: Draw the
number line and, using two di↵erent colors, shade the regions corresponding to the two sets
[2, 4] and (3, 1).)
Ex. 7.
(a) How many numbers are members of the set {1, 2}?
(b) How many numbers are members of the set (1, 2)?
(c) How many numbers are members of the set [1, 2)?
Functions
Definition: If y is a function of x, we call y the dependent variable (or output), we call x the
independent variable (or input), and we say that y depends on x.
Ex. 9. Consider the following relation between the two variables x and y.
y = x2 .
Is y a function of x? Is x a function of y?
Some functions are not described by algebraic formulas.
Instead, a procedure may be given for determining the output for a given input, as in the following
example.
1.0 1.0
P=HcosHtL, sinHtLL
»t»
0.5 0.5
t
-1.0 -0.5 0.5 1.0 -1.0 -0.5 0.5 1.0
t
»t»
-0.5 -0.5
P=HcosHtL, sinHtLL
-1.0 -1.0
Ex. 11. Explain why we can’t solve the equation cos(t) = 1/t by writing t = 1/ cos.
Function notation
A function is a relationship between two variables—an input variable and an output variable whose
value depends on the value of the input.
In Ex. 10, we saw that a function can be given a name (like cos).
When we give a function a name, we often use function notation:
If “f” is the name of a function, we write
f(t)
(read as “f of t”) for the value of the output of f when the input value is t.
Ex. 12. V(s) = volume of a cube with side length s. Evaluate the expression V(2).
Ex. 13. Define a function y = f(x) by the relation y = x2 . Evaluate the expression
f(3 + h) - f(3).
and then fill in the first blank with the value of y = f(x) = x2 when x = 3 + h, and the
second blank with the value of f(x) = x2 when x = h. Then simplify.
-n if n is even,
S(n) =
0 if n is odd.
The output of a function f need not be defined for every input value. (See Ex. 14(c).)
Definition. The set of all input values for which f is defined is called the domain of f.
Ex. 15.
(a) What is the domain of the function f(x) = x2 - 1?
(b) What is the domain of the function A(r) = area of a circle of radius r? (Is 0 a member of the
domain of A?)
p p
(c) What is the domain of the function g(x) = - x? (Recall: the symbol means the
nonnegative square root.)
Convention: In this class, our variables will always represent real numbers, unless explicitly stated
otherwise.
Definition. The graph of an equation involving x and y is the set of ordered pairs (x, y) 2 R2
satisfying the equation.
y
Hx-2L2 +Hy-2L2 =4
5
x
-1 1 2 3 4 5
-1
y= 4 - Hx - 2L2 + 2
5
x
-1 1 2 3 4 5
-1
Ex. 16.
(a) Graph y = -x + 2. Is y a function of x?
(b) Graph y = x4 . Is y a function of x?
(c) Graph x = y4 . Is y a function of x?
Symmetry
Definition.
• A function f is even if f(x) = f(-x) for all x 2 Domain(f).
• A function f is odd if -f(x) = f(-x) for all x 2 Domain(f).
To determine if a function f is even, odd, both, or neither using algebra only, simplify the expressions
-f(x) and f(-x), and then check the definitions above.
Ex. 17. Using algebra only, determine whether the function is even, odd, both, or neither.
1
• f(x) =
1 - x2 - x4
• g(x) = x7 + x5 - x4 + x
• h(x) = 2x2 + x
• j(x) = 3
p
• k(x) = x
Ex. 18. Suppose f is a function with domain R = (-1, 1), and f(3) = 20.
(i) If f is even, then f(-3) = .
(ii) If f is odd, then f(-3) = .
Solution:
(f even)
(i) f(-3) = f(3) = 20.
(f odd)
(ii) f(-3) = -f(3) = -20.
How can we tell whether a function is even or odd from its graph?
• A function is even if its graph has mirror symmetry in the y-axis.
• A function is odd if it is symmetric in the origin (has 180 rotational symmetry).
Ex. 19 (Challenge). How many functions with domain R are both even and odd?
x if x > 0,
A(x) = |x| =
-x if x < 0.
f(x) = xa
where a is a constant.
• When a = 1, we call f the identity function.
• When a = -1, we call f the reciprocal function.
• When a = 1/n and n > 2 is a positive integer, we call f a root function.
p
(Recall that x1/n = n x for any natural number n > 2.)
{x | D(x) 6= 0}.
x-1
Ex. 22. Find the domains of g(x) = and h(x) = 3x.
x2 - 1
What’s wrong with the following reasoning?
x-1 1
Since g(x) = = , the domain of g is {x x 6= 1}.
(x + 1)(x - 1) x+1
Solution.
Set the denominator D(x) = 0:
Answer: {x | x 6= ±1}
Now we’ll look at h(x) = 3x. First we rewrite h(x) to spell out what the denominator is. . .
3x
h(x) = 3x =
1
. . . and then we set the denominator = 0:
1=0 makes h(x) undefined
No choice of x makes 1 = 0, obviously! So:
Answer: R
4x
Ex. 23. Find the domain of F(x) = p .
x - 4(x - 2)
Solution.
F is not a rational function.
But we can still ask the question, for what values of x is F(x) defined?
x-4 > 0
x>4
So only numbers x such that x > 4 can be in the domain of F. But note that we already
knew that 4 is not in the domain of F.
Answer: {x | x > 4}
Ex. 24. Give three examples of algebraic functions. Then do the same for transcendental functions.
Is the absolute value function algebraic? Is exp algebraic? How about ln?
Composition of functions
A function may be viewed as a machine, or a “black box,” that “eats” an input value x and “spits
out” the corresponding output value y = f(x):
f
x 7! y = f(x)
(the symbol 7! is read as “maps to”).
We can combine two functions f and g by doing them sequentially, one after another:
f g
x 7! y = f(x) 7! z = g f(x)
We call this the composite of f and g. It is a new, third function, which we give the symbol g f
(notice the order of f and g in this notation).
g f
x 7! z
You may find it helpful to read the symbol as “after.”
Definition. Given two functions f and g, the composite function g f (also called the composition
of g and f) is defined by the relation
(g f)(x) = g f(x) .
Ex. 26. Find the domain of f g and the domain of g f, where f and g are as in the previous
example.
p
Ex. 27. Find a formula for G F, where F(x) = x + 3 and G(y) = y.
Domain of F = R.
Domain of G = [0, 1).
When is F(x) in the domain of G?
F(x) > 0
x > -3
Domain of G F:
\
Domain(f) {x f(x) 2 Domain(g)} = R \ [-3, 1) = [-3, 1) .
Function arithmetic
For example, if f and g are two functions, we can define a new function h(x) = f(x) + g(x). The
name of this new function is f + g:
(We write parentheses around the name of the function f + g because, if we didn’t, we’d end up
writing f + g(x), which, if you think about it, doesn’t make any sense—take the name of the
function f and add it to the output of g?)
The domain of the new function f + g is Domain(f) \ Domain(g).
Ex. 28.
• What’s the domain of f - g (x) = f(x) · g(x)? In other words, for what x-values is the
expression f(x) - g(x) defined?
• What’s the domain of fg (x) = f(x) · g(x)?
f(x)
• What’s the domain of f g (x) = ? (Careful!)
g(x)
More preliminaries
This document is a refresher of some—but certainly not all—of the concepts you’ll need in
Calculus 1.
If it’s been a while since you’ve taken Precalculus, it is strongly recommended that you brush up on
all the material in Chapter 1 of our textbook with the possible exception of the hyperbolic functions
(see ? below).
In addition to the material covered in this document, be sure you are comfortable with:
• Linear functions (Section 1.2 in the OpenStax textbook)
• Point-slope and slope-intercept form of the equation of a line (Section 1.2)
• Polynomial and power functions (Section 1.2)
• “Behavior at infinity,” also known as “end behavior” (Section 1.2)
• Piecewise-defined functions (Section 1.2)
• Transformations of functions (Section 1.2)
• Radian measure (Section 1.3)
• The six basic trigonometric functions sin, cos, tan, csc, sec, and cot (Section 1.3)
• Trigonometric identities (Section 1.3)
• Inverse functions (Section 1.4)
• One-to-one functions, the Horizontal Line Test, and restrictions of a function’s domain
(Section 1.4)
• The inverse trigonometric functions sin-1 , cos-1 , tan-1 , csc-1 , sec-1 , cot-1 (Section 1.4)
• The laws of exponents (Section 1.5)
• Exponential functions f(x) = bx (Section 1.5)
• The number e (Section 1.5)
• Logarithmic functions f(x) = logb (x) (Section 1.5)
• Changing between logarithmic bases (Section 1.5)
?: Studying the hyperbolic trigonometric functions sinh, cosh, tanh, csch, sech, and coth
(Section 1.5) may be useful to students of electrical engineering, architecture, or physics, but
we won’t be discussing them in our course.
Workbook Lesson 1
§2.1, Introduction to Calculus
Last revised: 2021-08-20 19:34
If the world and everything in it was flat—that is to say, linear —we wouldn’t need calculus.
First question: How fast is this line rising?
(4,1)
1 2 3 4 5 6 7
y 1
m= =
x 2
It doesn’t matter what point on the line we start from. The slope is constant—the line everywhere
rises at the same rate.
Second question: what’s the area between the line and the x-axis, let’s say between the two
values of x marked on the graph below?
1 2 3 4 5 6 7
a b
1 2 3 4 5 6 7
a b
As soon as we start dealing with curves, it’s less obvious how to proceed.
How fast is this curve rising?
y = x2
9
8
7
6
5
4
3
2
1
x
-3 -2 -1 1 2 3
First of all, on one side of the y-axis, the curve isn’t rising at all—it’s falling.
Okay, so how fast is the curve rising for non-negative x?
Well, that depends on what point you’re starting from. If you’re starting at x = 0, the curve is
rising slowly. If you’re starting at, say, x = 2, the curve rises a lot faster.
We could use algebra to give a rough idea of how fast this curve rises. We could mark o↵ two
points on the curve and say something like, “the average rate of change from x = 0 to x = 3 is
the slope of the line through these two points.”
y = x2
9
8
7
6
5
4
3
2
1
x
-3 -2 -1 1 2 3
a b
Without calculus, that’s the best we can do—an approximation of how fast the curve rises,
depending on what part of the curve we’re looking at.
This is exactly the idea of the slope of the secant line, which you may have heard about in a previous
class.
Solution to Ex. 1:
To find the two points a, f (a) and b, f (b) on the secant line, we take a = 0 and b = 3
and substitute the two values into the formula f (x) = x2 :
a= 0 f (0) = 02 = 0
b= 3 f (3) = 32 = 9
a, f (a) = (0, 0)
b, f (b) = (3, 9)
The average rate of change is the slope of the line through these two points:
y 9 0
= = 3
x 3 0
The problem with the average rate of change is, although it always approximates how fast the curve
rises or falls, sometimes it’s a bad approximation of how fast the height changes starting from a
given point (say, in the following example, starting from x = 0).
1
3 /2
2 /2
1/2
π π π x
-π π
6 3 2
-1
We could get a better approximation if we take the two points of the secant line closer together.
What are these numbers telling us? It looks like as we take the rightmost point closer to x = 0,
the slope gets larger—which means, the curve rises more and more sharply.
y = sin(x)
1
3 /2
2 /2
1/2
π π π x
-π π
6 3 2
-1
But although the slopes are increasing as the rightmost point gets closer to x = 0, we know from
the graph that there’s a limit to how large the slope can get. The secant line is never going to look
anything like, say, a vertical line (which has infinite slope).
We now ask, will the slopes of the secant lines “home in” on some exact number as we take the
rightmost point closer and closer to x = 0? And if so, what is that exact number? Our textbook
calls this question the tangent problem.
To solve the tangent problem, we need more than algebra and geometry. We need calculus.
We’re not going to solve the tangent problem in this lesson. For now, I just want you to get a
sense of what algebra can’t do that calculus can.
Let’s ask another question for which algebra and geometry can’t give us an exact answer. What’s
the area under the curve y = x2 from x = 0 to x = 1?
y = x2
x
1
��
We can approximate the area under a curve by trying to “exhaust”—that is, cover all of—the area
by rectangles.
y = x2 y = x2 y = x2 y = x2
1 1 1 1
��
x x x x
1 1 1 1
We can’t actually ever cover all the area with rectangles because one side of the region is curved.
But if you know what a pixel is, you understand that we can get pretty close to a curved shape using
blocks, provided that we make the blocks small enough to fit in a large number of them.
In the case of finding the area under a curve, we take more and more rectangles, thinner and thinner.
The total area of all the rectangles becomes a better approximation of the actual area.
As we take more and more, thinner and thinner rectangles, we know that the total area homes in
on some number—namely, the actual area under the curve. But to find that number exactly, we
need calculus. Geometry and algebra can’t do the job.
Limiting processes
What we’ve seen today are two examples of what we might call limiting processes.
• In the case of the area under a curve, we ask whether the total area of the rectangles “homes
in” on some number—which we’ll learn is called a limit—as the number of rectangles becomes
infinitely large.
• In the case of instantaneous velocity, we ask whether the slope of the secant line through two
points homes in on some number—a limit—as the distance between the two points becomes
infinitely small.
In calculus, we learn how to calculate with infinities. We find out that it’s not as hard as it sounds.
But you can understand why it took thousands of years for human beings to figure out how to do
it. For the ancient Greeks, infinity was a mysterious, mystical concept. Honestly, infinity seems
mysterious and mystical to most people—at least at first.
Infinity was tamed by Newton and Leibniz when they discovered the methods of calculus. You will
learn how to tame the infinite, too. Does that sound impressive? Taming the infinite sounds pretty
impressive to me.
But, you may wonder, what’s the point of it? What’s it useful for? How will calculus help me when
I’m working at a job in marketing, or in engineering, or in psychology, or in the social sciences?
Calculus is the mathematics of change. Whatever career you’re interested in, change plays some
role.
• When your company raises the price of a product they’re selling, how will that change the
number of units you sell? That’s the idea of marginal demand, which we calculate the same
way as instantaneous velocity.
• When we ask someone to learn a more difficult task, how much longer will it take them to
learn it? That question (of psychology) can be answered by finding a tangent line.
• How much water can a curved tank hold? In Calculus II and III, future engineers learn how
to solve that problem, which is similar to finding the area under a curve.
Let’s do some practice problems, now that we have an idea where this is all leading.
Definition. Suppose the position of a particle in motion is given by a function s(t). (For example,
if a stone is dropped from a great height, its position function is the particle’s height above ground
level.)
• The particle’s average velocity from time t = a to time t = b is the average rate of change
in its position function:
s(b) s(a)
b a
• The instantaneous velocity of a particle in motion is the instantaneous rate of change in its
position function—that is, the value to which the average velocity (from time a to time b)
approaches as b approaches a, provided that there is such a value.
Ex. 3 (§2.1—#1). Find the slope of the secant line to the graph of f (t) = t2 + 1 passing through
the point P = (1, 2) and the point Q = t, f (t) when. . .
Then estimate the instantaneous velocity at t = 1 of a particle in motion whose position is given
by f (t) = t2 + 1.
Ex. 4. A stone is dropped from a window 300 feet above ground level. Its height in feet after t
seconds is h(t) = 300 16t2 . Find the average velocity of the stone for the time period beginning
when t = 3 and lasting 0.5 seconds.
Solution:
The average velocity is the slope of the secant line through two points.
• The first point is 3, h(3) . It corresponds to the beginning of the time period.
• The second point, which corresponds to the end of the time period 0.5 seconds later,
is 3.5, h(3.5) .
• Substituting t = 3 and t = 3.5 into the position function h(t) yields
So the slope of the secant line through 3, h(3) and 3.5, h(3.5) is
Ex. 5 (§2.1—#18). A stone is tossed into the air from ground level with an initial velocity of
15 m/sec. Its height in meters after t seconds is h(t) = 15t 4.9t2 . Find the average velocity of
the stone for each of the given time intervals.
(a) [1, 1.05] (b) [1, 1.01] (c) [1, 1.005] (d) [1, 1.001]
Ex. 6 (§2.1—#19). Use the preceding exercise to estimate the instantaneous velocity of the stone
at t = 1 sec.
Ex. 7.
(a) Sketch the graph of f (x) = |x| over the interval [ 2, 4] and shade the region above the x-axis.
(b) Approximate the area between the graph of f and the x-axis from x = 2 to x = 4 by drawing
six rectangles and calculating their total area.
(c) Find the exact area between the graph of f and the x-axis from x = 2 to x = 4 using
geometry.
Solution:
First we shaded the region between the graph and the x-axis (yellow). Then we drew rectangles
contained in the shaded region.
�(�)=|�|
4
1 Total area = 1 + 1 + 2 + 3
= 7.
-4 -3 -2 -1 1 2 3 4
�
�(�)=|�|
4
= 10 .
-4 -3 -2 -1 1 2 3 4
�
Ex. 8.
p
(a) (§2.1—#26) Sketch the graph of y = 1 x2 over the interval [ 1, 1]. (Hint: Square both
sides of the equation and recall the standard form of the equation of a circle.)
p
(b) Approximate the area between the graph of y = 1 x2 and the x-axis from x = 1 to
x = 1 by drawing six rectangles and calculating their total area.
p
(c) Find the exact area between the graph of y = 1 x2 and the x-axis from x = 1 to x = 1
using geometry.
Workbook Lesson 2
§2.2, Limit of a Function (Informal Definitions)
Last revised: 2021-05-28 10:35
Objectives
• Using correct notation, describe the limit of a function.
• Use a table of values to estimate the limit of a function or to identify when the limit does not exist. (Moved
to Lesson 5, §2.5)
• Define one-sided limits and provide examples.
• Explain the relationship between one-sided and two-sided limits.
• Using correct notation, describe an infinite limit.
• Define a vertical asymptote.
These rules are as natural to us as walking, or throwing a ball. We don’t always think about the
rules of a field when we do arithmetic, but we should—all the alegbra we learn prior to calculus
follows from these ten simple rules.
Calculus begins with the definition of additional rules, defined in terms of what we call limits.
About 90% of undergraduate calculus involves a limit of one kind or another (e.g., derivatives,
integrals, limits of sequences, series), so it’s worth taking the time to understand this concept.
The limit of a function: Informal definition
Let f be a function, and let a be a constant. The statement
lim f (x) = L
x!a
Informal Definition 1: This means that the output f (x) can be made as near to L as we like, if
we take x sufficiently near a, but not equal to a.
+ It has nothing whatsoever to do with the value of f (x) when x equals a.
�
(See applet on iCollege: “First example of a limit’’)
It might be that the value of the function x2 + 1 is 1 when x equals 0, but in general this has
nothing to do with the idea of a limit.
�
-3 -2 -1 1 2 3 4
-1 �
x2 4
From the graph, we see that the value of gets as close as we like to 4 if we take x
x 2
close enough to 2.
lim f (x) = L
x!a
• When we say that f (x) gets close to L, or x gets close to a, how “close” is close enough?
We’ll answer this question precisely in Section 2.5. For now, think of “close” as meaning “as
close as you like.”
As x ! a, f (x) ! L.
It’s important to be able to “eyeball” the limit of a function from its graph.
Ex. 1. The Heaviside function is
⇢
0 if x < 0
H(x) =
1 if x 0
�(�)
Ex. 2. Does lim H(x) exist? That is, is there a number L such that lim H(x) = L? If so, say
x!0 x!0
what L is. If not, say why not.
Answer:
As x approaches 0 from the right, H(x) approaches 1.
As x approaches 0 from the left, H(x) approaches 0.
There is no single number that H(x) approaches as x approaches 0.
Therefore, lim H(x) does not exist.
x!0
lim f (x) = L
x!a
lim f (x) = L
x!a+
If the lefthand limit lim f (x) and the righthand limit lim+ f (x) are not the same, then we say
x!a x!a
the “two-sided” limit lim f (x) does not exist.
x!a
y=f (x)
2.5
2.0
lim f (x) = 1
x!1
1.5
lim f (x) = 2
x!1+
1.0
lim f (x) does not exist
x!1
0.5
0.0 x
0.0 0.5 1.0 1.5 2.0
Ex. 3. The graph of a function y = f (x) is given below. Find the lefthand limit lim f (x) and the
x!2
righthand limit lim+ f (x). If lim f (x) exists, state its value; if it does not exist, give your answer
x!2 x!2
as “DNE.”
�-�
�(�) =
�-�
1.0
0.5
�
-3 -2 -1 1 2 3 4
�
-0.5
-1.0
Ex. 4 (compare with §2.2, #46–49) The graph of a function y = f (x) is given. State the
value of each quantity, if it exists. If it does not exist, explain why not.
156 Chapter 2 | Limits
⎛ ⎞ ⎛ ⎞
(c)θ lim f (x) ⎝ ⎠ θ ⎝ ⎠
x!6
−0.1 a. 0.1 e.
(d) f (6)
−0.01 b. 0.01 f.
(e) lim f (x)
x! 8
−0.001 c. 0.001 g.
(f)−0.0001
lim + f d.
(x) 0.0001 h.
x! 8
⎛ ⎞
(h) f (8) a ⎝ ⎠ 46.
0.1 a. 47.
0.01 b. 48.
49.
Infinite limits
1
Consider the graph of f (x) = . Does the limit of f (x) as x approaches 2 exist?
(x 2)2
�
�(�) =
(� - �)�
10
�
�
-3 -2 -1 1 2 3 4
The graph shows that the output f (x) can be made as large as we like by taking x near 2. Although
the outputs do not approach a number, we can say something about how f behaves close to 2.
Informal Definition 4:
• A (one-sided or two-sided) limit of f (x) as x approaches a is positive infinity if the values of
f (x) increase without bound as x approaches a.
• A (one-sided or two-sided) limit of f (x) as x approaches a is negative infinity if the values of
f (x) decrease without bound as x approaches a.
+ • The symbol 1 is not a number. In particular, we should not substitute x = ±1 in
an equation or an expression. We use the symbols ±1 only to indicate the behavior of
f (x) as x ! a.
Given the previous graph, we see that lim f (x) = 1 and lim+ f (x) = 1.
x!2 x!2
Since the one-sided limits as x ! 2 are the same, we see that lim f (x) = 1.
x!2
Definition: The graph of a function f (x) has a vertical asymptote at x = a if one or both of
the one-sided limits of f (x) as x ! a is positive or negative infinity.
1 1 1
Ex. 5. Graph f (x) = . (Hint: is a transformation of .)
x 3 x 3 x
Write the equation of its vertical asymptote.
Then state the value of each quantity, if it exists. If it does not exist, explain why not.
(d) f (3)
Additional exercises
Ex. 6 (§2.2—#76). Sketch the graph of a function f with the given properties.
lim f (x) = 1,
x!2
lim f (x) = 3,
x!4
lim f (x) = 6,
x!4+
Ex. 7 (§2.2—#77). Sketch the graph of a function f with the given properties.
Ex. 10. Sketch the graph of the piecewise-defined function below. Then use the graph to determine
the values of a for which lim f (x) exists.
x!a
8
< 2x + 1 if x 0
f (x) = 4x if 0 < x < 1
:
(x + 1)2 if x 1
Workbook Lesson 3
§2.3, The Limit Laws
Last revised: 2021-06-17 13:29
Objectives
• Recognize the basic limit laws.
• Use the limit laws to evaluate the limit of a function.
• Evaluate the limit of a function by factoring.
• Use the limit laws to evaluate the limit of a polynomial or rational function.
• Evaluate the limit of a function by factoring or by using conjugates.
• Evaluate the limit of a function by using the Squeeze Theorem.
sin(x)
• Evaluate lim .
x!0 x
To find the exact value of a limit, we often use the following properties, called the Limit Laws.
In the equations below, a and c are constants, n is a positive integer, and f (x) and g(x)
are functions defined for all x 6= a in some open interval containing a.
Ex. 1. Derive the rule lim xn = an (from the Identity Law and Power Law).
x!a
1
Ex. 2. Use the Limit Laws to find a formula for lim . When does this limit exist?
x!a f (x)
Ex. 3. Calculate lim (x4 3x)(x2 + 5x + 3). Justify each step by indicating the appropriate Limit
x! 1
Law.
1 1
Ex. 4. Evaluate lim , if it exists.
x!0 x x2 +x
1 1 1 1
lim = lim Can’t use Quotient Law. . . Try simplifying.
x!0 x x2 + x x!0 x x(x + 1)
(x + 1) 1
= lim
x!0 x(x + 1)
x
= lim
x!0 x(x + 1)
1
= lim Why is this equality justified?
x!0 x + 1
lim 1
x!0
=
lim x + lim 1
x!0 x!0
1
=
0+1
= 1.
(a + h)3 a3
Ex. 5. Evaluate lim , if it exists.
h!0 h
(a + h)3 a3 (a3 + 3a2 h + 3ah2 + h3 ) a3
lim = lim
h!0 h h!0 h
3a h + 3ah + h3
2 2
= lim
h!0 h
= lim 3a + 3ah + h2
2
h!0
2
= 3a . Are we done?
t2 + 6t + 9
Ex. 6. Find lim .
t! 3 t2 + 3t
t2 + 6t + 9 (t + 3)2
lim = lim
t! 3 t2 + 3t t! 3 t(t + 3)
1 (t + 3)2
= lim
t! 3 t t + 3
1
= lim · lim (t + 3)
t! 3 t t! 3
1
= ·0
3
= 0.
p(x) p(a)
(Rational Functions) lim = if q(a) 6= 0.
x!a q(x) q(a)
1
• Other types of indeterminate forms include the meaningless expressions , 0 ⇥ 1, 1 1,
0 1 0
1
0 , 1 , and 1 .
We have already seen (in Exercises 4, 5, and 6) that, before the Limit Laws can be applied, a
certain amount of algebraic “tinkering” must be done first.
We now introduce additional techniques. The first involves the conjugate of a sum or di↵erence.
Recall:
• The conjugate of a sum (+) or di↵erence ( ) w ± A is w ⌥ A.
Solution:
p p p
x+2 1 x+2 1 x + 2 +1
lim = lim ·p
x! 1 x+1 x! 1 x+1 x + 2 +1
x+2 1
= lim p
x! 1 (x + 1) x + 2 + 1
x⇠
⇠ +⇠
1
= lim ⇠ p
x! 1 (x⇠+⇠1)
⇠ x+2+1
1
= lim p Can we apply the Limit Laws now?
x! 1 x+2+1
1
= .
2
The trick of “multiplying by a special form of 1” can also be useful for evaluating limits of complex
fractions (fractions that contain fractions).
1 1
x+1 2
Ex. 8. Evaluate lim , if it exists.
x!1 x 1
Hint: As written, the limit is an indeterminate form of type 0/0. Rewrite it by multiplying by the
complex fraction by the following special form of 1:
2(x + 1)
2(x + 1)
Do you see where the expression 2(x + 1) came from, and why the hint will result in simplifying
the numerator of the complex fraction?
The Limit Laws for one-sided limits
Solution:
Recall that ⇢
x if x 0
|x| =
x if x < 0
lim |x| = 0
x!0
since
lim |x| = 0 = lim+ |x|.
x!0 x!0
“P =) Q” means “If you did poorly in school, then you end up serving in the military.”
—Al Gore during the 2000 presidential campaign
“P (= Q” means “If you end up serving in the military, then you did poorly in school.”
—A misinterpretation of Gore’s statement by his critics
“P () Q” means P =) Q and P (= Q.
We pronounce the symbol “()” as “if, and only if.”
Two of these statements are indefensible insults to members of the Armed Services. One is a
warning to students, and not necessarily an insult.
All three of these statements have di↵erent meanings.
Squeeze Theorem
Another useful property of limits is as follows.
f (x) = x 2
for all x 6= a in an open interval containing a. �� g(x) = cos(1/x)
-0.10 -0.05 0.05 0.10
If h(x) = -x 2
lim f (x) = L = lim h(x), -0.005
x!a x!a
then -0.010
lim g(x) = L.
x!a
We can use the Squeeze Theorem to evaluate limits when other methods fail.
In the next exercise, we’ll apply the Squeeze Theorem to find the important limit
sin(x)
lim ,
x!0 x
which cannot be found by applying the Limit Laws.
First, recall:
The region bounded by a circle and one of its central angles is called a sector of the circle.
A circle and its sector have areas proportional to their angle measures:
Area of sector Angle measure of sector
= . (?)
Area of circle Angle measure of circle
⇡r2 /4 1 ⇡/2
= =
⇡r2 4 2⇡
sin x
Ex. 11. Find lim .
x!0 x
sin x
First let’s take a guess. When x ⇡ 0, we see by graphing that sin x ⇡ x, so x
⇡ 1—at
least for x near 0.
Our guess is, the limit is 1. . . but this is just a guess. We need a proof to be convinced.
sin(x)
We can’t use the Quotient Rule to evaluate the limit lim . (Why not?)
x!0 x
We’ll make a geometric argument.
Let x be the radian measure of a sector of the unit circle in the first
quadrant. (So 0 < x < ⇡2 .)
1
A
Claims to be proven:
x sin x tan x
(1) Area(sector OAC) = (2) Area( OAC) = (3) Area( OBC) =
2 2 2
Proofs of claims:
B
1
A
(1) x x
Area(sector OAC) = · ⇡(1)2 = by the above formula (?).
O x C
2⇡ 2
D
1
A
1 1
Area( OAC) = (1)(AD) = sin x
(2) 2 2
O x C because A = (cos x, sin x).
D
1
A
opp. BC
tan x = = = BC.
adj. 1
(3)
O x C 1 tan x
Area( OBC) = (1)(BC) = .
D
2 2
The figures on the previous page show that
sin x
By the Squeeze Theorem, lim+ = 1.
x!0 x
sin x
A similar argument shows that lim = 1, so
x!0 x
sin x
lim =1.
x!0 x
sin(23x)
Ex. 12. Find lim .
x!0 x
Solution:
✓ ◆
sin(23x) 1 sin(23x)
lim = lim 23 · ·
x!0 x x!0 23 x
sin(23x)
= 23 · lim
x!0 23x
= 23 · 1
= 23.
Additional exercises
Ex. 14. Use Direct Substitution to find the value of the limit.
Ex. 16. Find the value of the limit. (Hint: See Example 2.20 in the textbook.)
1 3
lim
x!0 x x(x + 3)
Ex. 17. Find the value of the limit. (Hint: See Example 2.23 in the textbook.)
x2 + 5x + 14
lim
x! 2 x2 + x 2
Ex. 18 (§2.3—#107–114). Given that lim f (x) = 4, lim g(x) = 9, and lim h(x) = 6, find the
x!6 x!6 x!6
limits that exist. If the limit does not exist, explain why.
3 ⇥ ⇤
(a) lim 2f (x)g(x) h(x) (e) lim (x + 1) · f (x)
x!3 (c) lim x!3
x!3 2
⇥ ⇤ p
(b) lim f (x) + 13 g(x) (d) lim g(x) f (x) (f) lim f (x) · g(x) h(x)
x!3 x!3 x!3
Ex. 19. Use Direct Substitution to show that the limit leads to the indeterminate form 0/0. Then
evaluate the limit.
x2 16 sin(✓)
(a) (§2.3—#93) lim (e) (§2.3—#99) lim
t!4 x 4 ✓!⇡ tan(✓)
3x 18 x3 1
(b) (§2.3—#95) lim (f) (§2.3—#100) lim
t!4 2x 12 x!1 x2 1
(h + 1)2 1 2x2 + 3x 2
(c) (§2.3—#96) lim (g) (§2.3—#101) lim
h!0 h t!4 2x 1
p
t 9 x+4 1
(d) (§2.3—#97) lim p (h) (§2.3—#102) lim
t!9 t 3 x! 3 x+3
Ex. 20. Evaluate the limit.
x2 4x x2 + 2x + 1 cos ✓ 1
(a) lim (b) lim (c) lim
x!4 x2 3x 4 x! 1 x4 1 ✓!0 sin ✓
Ex. 21 (Example 2.24). Use the Squeeze Theorem to show that lim x cos(x) = 0.
x!0
Objectives
• Explain the three conditions for continuity at a number.
• Describe three kinds of discontinuities.
• Define continuity on an interval.
• State the Composite Function Theorem.
• Apply the Intermediate Value Theorem.
Introduction to continuity
Recall that, in general, the limit of f (x) as x approaches a has nothing to do with the value of
f (x) when x reaches a. For example, in the graph below on the left, the limit as x ! 2 of f (x)
is 4. The output value at x = 2—that is, f (2)—isn’t even defined.
Out[! ]=
The graph on the right shows a modified version of f . Let’s call the modified version g. The only
di↵erence between f and g is, there’s no hole at x = 2 in the graph of g. The limit of g(x) as
x ! 2 is the same as for f (x). But this time, the output at 2,
g(2) = 4,
is defined. Moreover, g(2) is the number to which the values of g(x) are approaching as x ap-
proaches 2.
Another word for “unbroken” is continuous. We can express the di↵erence between the behavior
of f and g at x = 2 by saying that g is continuous at x = 2, and f is not.
When Calculus was first being developed, a distinction was drawn between graphs you can draw
without lifting your pencil—which were called continuous—and ones you can’t. Later, in the 1800s,
that rough idea of continuity (that is, the property of being continuous) was refined and defined
more precisely. We’ll use the modern, more precise definition of “continuous.”
At first glance, our definition doesn’t seem to say anything about the graph of f (x) being unbroken:
Definition. A function f is continuous at a number a if lim f (x) = f (a).
x!a
In fact, this definition describes only what happens near a single point on the graph. It says that,
as x approaches a, the value of f (x) doesn’t just approach a limit—it actually reaches the value of
the limit when x is equal to a. That is, as the input x approaches a, the output f (x) approaches
f (a)—and gets there.
We’ll see in the next subsection (see ?) how this definition relates to the idea that a graph has no
breaks in it.
But first, we need to unpack the meaning of the equation in the definition of continuity:
This equation comes up so often, we’ll give it a special name: “the Direct Substitution Property.”
• lim f (x) = f (a) (and since f (a) is a real number, lim f (x) 6= ±1)
x!a x!a
+ To decide whether a function f is continuous at a number a, verify that all three of the
bulleted statements are true.
0 x
0 1 2 3 4 5 6 7
(c) At what numbers a does lim f (x) exist but f is not continuous at a?
x!a
Continuity on an interval
We can extend the idea of continuity at a single number x = a to continuity over an entire interval
of x-values. (?): If (but not only if!) you can draw a function’s graph over an entire interval without
lifting your pencil, then the function is continuous “on” (or “over”) that interval:
f (x) = 3-x
x
1 2 3 4
-1
p
f (x) = 3 x is continuous at each x-value such that 1 < x < 3
Notice that we specified that the interval has to be open (that is, endpoints are not included). To
define continuity on a closed interval (endpoints included), we need to define what it means to be
continuous from one side, say, at an endpoint. The definition we just gave won’t work, because if
a function’s output isn’t defined on the far side of an endpoint, then one of the one-sided limits at
the endpoint won’t exist.
Definition. f is continuous from the left at a if lim f (x) = f (a), and continuous from the
x!a
right at a if lim+ f (x) = f (a).
x!a
That is, “continuous on [a, b]” means “continuous on both sides everywhere in the interior (a, b)
of the interval, and continuous from one side at each endpoint.”
Finally, you are invited to consider the problem of defining “continuous everywhere.” We need to
clarify what we mean by “everywhere.” Do we mean “at every number on the number line,” or do
we mean “at every number in the domain of f ”? If the former, then f (x) = 1/x is not continuous
“everywhere.” If the latter, then f (x) = 1/x is continuous “everywhere.”
Our textbook does not define “continuous everywhere.” But sometimes, speaking casually, we may
say that a function “is continuous,” or “is continuous everywhere.” This is imprecise—technically,
in this class, we should always specify on what interval (or at what number) the function is
continuous. Be mindful that, according to our definitions, “continuous” always means “continuous
on an interval” or “continuous at a number x = a”.
Discontinuities
Our word for “not continuous” is discontinuous.
+ Our book has a slightly di↵erent definition. For f to be discontinuous at a, they do not
require f (a) to be defined. During our exams, you can safely ignore this subtle distinction. We’ll
only give you problems in which this issue doesn’t come up.
Ex. 2. The Heaviside function (see Lesson 2 for its graph) has a discontinuity at 0. This type of
discontinuity is called a jump discontinuity.
x2 3x 4
Ex. 3. The function f (x) = has one discontinuity. What is it? This is an example of
x 4
a removable discontinuity.
Sketch the graph:
⇢
1/x2 if x 6= 0
Ex. 4. The function f (x) = has one discontinuity. What is it? This is an
1 if x = 0
example of an infinite discontinuity.
Sketch the graph:
⇢
1 if x is rational
Ex. 5 (Challenge). The function I(x) = is discontinuous at every real
0 if x is irrational
number x. Can you explain why?
Definition: If f (x) is discontinuous at a, then
• f has a removable discontinuity at a if lim f (x) exists.
x!a
(Note: When we state that lim f (x) exists, we mean that lim f (x) = L for some real number L.)
x!a x!a
• f has a jump discontinuity at a if lim f (x) and lim+ f (x) both exist, but lim f (x) 6=
x!a x!a x!a
lim+ f (x).
x!a
(Note: When we state that lim f (x) and lim f (x) both exist, we mean that both limits are
x!a x!a+
equal to real numbers.)
• f has an infinite discontinuity at a if lim f (x) = ±1 or lim+ f (x) = ±1 (or both).
x!a x!a
+ Recall: if you can draw the graph of a function over an interval without lifting your pencil,
then the function is continuous on that interval.
(a) From the graph, state the intervals on which the function is continuous.
(b) Classify each discontinuity as jump, removable, or infinite.
1
Ex. 7. Sketch the graph of the function f (x) = and explain why f is discontinuous at the
x+2
number a = 2.
Theorem.
If f and g are continuous at x = a, then the following functions are continuous at x = a.
f g f ±g f ·g f /g (if g(a) 6= 0)
⇡
Ex. 10. Find lim h(x), where h(x) = x + sin x 2
.
x!⇡
Solution:
The function h is the combination of continuous functions using the operations in the previous
theorem, so h is continuous.
Since h is continuous, we can use the Direct Substution Property:
⇡
lim h(x) = h 2
=⇡ sin( ⇡2 ) = ⇡ 1
x!⇡
Intermediate Value Theorem
The following is an example of an existence theorem. It asserts that there exists a number (call
it c) satisfying certain properties, but it does not tell us the value of c.
Intermediate Value Theorem (IVT). Suppose f is continuous on [a, b]. Suppose f (a) 6= f (b).
If z is any number between f (a) and f (b), then there exists a number c in the interval (a, b) such
that f (c) = z.
Ex. 12. Show there is a zero of the equation 4x3 6x2 + 3x 2 = 0 between 1 and 2.
f (b)=12
z=0 x
1 c 2
f (a)=-1
Ex. 14. Determine the value(s), if any, at which each function is discontinuous. Classify each
discontinuity as removable, jump, or infinite.
1 1 • k(x) = tan(2x)
• f (x) = p • h(t) = +1
x t
x 5 t+3
• g(x) = 2 • j(t) = t • `(t) =
x x e 2 t2 + 5t + 6
Ex. 15 (§2.4—#151). A particle moving along a line has a position function s(t), which is
continuous. Assume s(2) = 5 and s(5) = 2.
(a) Explain why there must be a value c such that 2 < c < 5 and s(c) = 4.
(b) Now suppose a second particle has a position function h(t) = s(t) t. Explain why there must
be a value d such that 2 < d < 5 and h(d) = 0.
Objectives
• Interpret an inequality of the form 0 < |x a| < c as a statement about the distance between x and a.
• Use a table of values to estimate the limit of a function or to identify when the limit does not exist. (Moved
from Lesson 2, §2.2)
• Describe the idea behind the epsilon-delta definition of a limit.
• Apply the epsilon-delta definition to find the limit of a function.
• Describe the epsilon-delta definitions of one-sided limits and infinite limits.
• Use the epsilon-delta definition to prove the limit laws.
Anchoring one end of a piece of string at the purple point on the number line below, pinch o↵ a
length of string—call the length c—and swing it around the purple point like a compass to see why
c is sometimes called the “radius” of the inequality.
0 < |x 7| < 2?
sin x
Ex. 4. Guess the value of lim using only a calculator.
x!0 x
1
Ex. 5. Guess the value of lim sin .
x!0 x
1.0
0.5
�
-0.5 0.5
-0.5
-1.0
There’s something seriously wrong with our “informal” definition of a limit—it misleads us
1
into giving an incorrect answer. The limit of sin as x ! 0 does not exist.
x
In the next section of this Lesson, we will revise our informal definition of
lim f (x)
x!a
and give a precise definition that is reliable in all cases.
Let’s get a more intimate understanding of the concept of a limit before we look at the true
definition.
(See applet on iCollege: “Epsilon-delta definition of limit”)
Here is the graph of a function. Let’s not worry about what the formula for this function is.
y = f(x)
2.5
2.0
1.5
f(a) 1.0
0.5
x
-10 -9 -8 -7 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 7 8 9 10
a
-0.5
A point a, f (a) on the graph is marked.
For what x-values is the output f (x) near f (a)?
You might say, well, how near do you want it? (Set a = 5 in the applet.) Let’s say I want the
output to be within four tenths of f (a) = 1. (Set E = .4 in the applet.)
�
��������� � > �
������ � > �
2.5
2.0
1.5
a = 5
e f (a) = 1.
L D = 3
f(a) 1.0 E = 0.4
e
0.5
x
-10 -9 -8 -7 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 7 8 9 10
a
-0.5
How close must the input x be to a
so that the corresponding output f (x) is within E of L ?
Imagine an old-fashioned radio with a knob you turn to change the station. You don’t have to tune
the knob to exactly the right frequency. Within a certain tolerance will be close enough to make
the radio station come in clearly.
So how close to a do our x-values have to be to give us output values that are all within the
tolerance shown? Is it enough to be within 3 units? (Set D = 3 in the applet.)
�
��������� � > �
������ � > �
2.5
2.0
1.5
a = 5
e f (a) = 1.
L D = 3
f(a) 1.0 E = 0.4
e
0.5
x
-10 -9 -8 -7 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 7 8 9 10
a
d d
-0.5
How close must the input x be to a
so that the corresponding output f (x) is within E of L ?
The distance between the output f (x) and L is less than the tolerance E (?)
whenever the distance between the input x 6= a and a = 5 is less than the margin D.
��������� � > �
������ � > �
2.5
2.0
1.5
a = 5
e f (a) = 1.
L D = 1
f(a) 1.0 E = 0.4
e
0.5
x
-10 -9 -8 -7 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 7 8 9 10
a
d d
-0.5
How close must the input x be to a
so that the corresponding output f (x) is within E of L ?
But now suppose I want the output to be closer than 0.4 away. Suppose I change the tolerance to
some smaller number—say 0.1. (Set E = 0.1 in the applet.)
�
��������� � > �
���
������ � > �
2.5
2.0
1.5
a = 5
f (a) = 1.
L D = 1
e
f(a) 1.0 e E = 0.1
0.5
x
-10 -9 -8 -7 -6 -5 -4 -3 -2 -1 1 2 3 4 5 6 7 8 9 10
a
d d
-0.5
How close must the input x be to a
so that the corresponding output f (x) is within E of L ?
Now this fact (?) that I wrote (in both English and symbols) isn’t true anymore.
This statement guarantees that every x within D of a = 5 gives us an output that’s within the
tolerance of 1. But there are x values within the margin of 5 that yield outputs that are more than
0.1 away from the desired value, 1.
Well, is there some D I could choose to make this fact true again? Is there some D so that the
portion of the graph within the blue stripe, lies entirely within the red stripe?
Tinker with the slider and try to find a D that works. . .
Now let me ask you this. Is it the case that, no matter what E I pick, I can always pick a margin
D so small that the fact on the board holds true?
That is, can I always make the margin stripe so small that the portion of the graph it contains is
entirely contained in the yellow stripe—no matter how narrow I make the yellow stripe?
Yes. And this is the idea of a limit.
(in words: “the limit of f (x) as x approaches a is L”) means that, given any tolerance E > 0,
there exists some margin D > 0 such that
f (x) L <E
whenever
0 < |x a| < D.
+ We don’t care what happens when x = a.
Note: Most authors use the Greek letters and " in the above definition rather than the Roman
letters D and E. (Of course, the names of variables don’t matter in mathematics!)
2.5
2.0
output f (x)
1.5
1.0
0.5
0.0
0 1 2 3 4 5 6 7
input x
Ex. 6. The graph of a function f is given. State whether or not each quantity exists. If it does
not exist, explain why not.
-4 -3 -2 -1 1 2 3 4 5 6
Let us revisit our definitions of infinite limits in order to make them more precise.
lim f (x) = 1
x!a
f (x) > M
whenever x satisfies
0 < |x a| < D.
Similarly,
lim f (x) = 1
x!a
means that for any number M , there is a D > 0 such that
f (x) < M
whenever x satisfies
0 < |x a| < D.
The statements
2x 2x 2x
Ex. 8. Find lim+ and lim . Then find lim , if it exists.
x!3 x 3 x!3 x 3 x!3 x 3
Solution:
As x ! 3 from the right, x 3 ! 0 through positive values, and 2x ! 6 > 0. So
2x 1
lim+ 2x ·
= lim+ |{z} = 1.
x!3 x 3 x!3 x 3
!6 | {z }
!1
2x 2x
Since lim+ 6= lim , the limit
x!3 x 3 x!3 x 3
2x
lim
x!3 x 3
does not exist.
1
Ex. 9. Find lim .
x!2 (x 2)4
Solution:
Solution:
1
As x ! 2 from the right, (x 2)4 ! 0 through positive values. That is, > 0 for
(x 2)4
x > 2 near 2. Thus
1
lim+ = 1.
x!2 (x 2)4
1
As x ! 2 from the left, (x 2)4 ! 0 through positive values. That is, > 0 for
(x 2)4
x < 2 near 2. Thus
1
lim = 1.
x!2 (x 2)4
lim f (x) = 1,
x!0
this means:
Given any E > 0, you must be able to find a number D > 0
such that |f (x) 1| < E for any x such that 0 < |x 0| < D.
An epsilon-delta proof is an argument that proves it’s always possible to meet the challenge no
matter what E > 0 is.
Ex. 10. Let f (x) = 4x 5. Let E = 1. Find D > 0 such that |f (x) 7| < E whenever
0 < |x 3| < D.
Solution:
To find d, begin with the inequality |f (x) 7| < E = 1.
|f (x) 7| < 1
|(4x 5) 7| < 1
|4x 12| < 1
|4 · (x 3)| < 1
4|x 3| < 1 (|A · B| = |A| · |B|)
|x 3| < 14
1
Therefore, |f (x) 7| < 1 whenever 0 < |x 3| < 4
.
(Notice that, in this example, x = 3 makes |f (x) 7| < 1, so the ‘0 <’ isn’t used.)
No. . . this has to work for any E = 1, not only the single particular choice E = 1.
Ex. 11. Let f (x) = 1 2x. Show that lim f (x) = 7.
x!4
Solution:
The definition of a limit requires that we can find a D > 0 such that, for any given E > 0,
the following is true whenever 0 < |x 4| < D.
Our work proves the following statement: for any E > 0, we have
whenever
E
0 < |x 4| < D = .
2
Objectives
• Recognize the meaning of the tangent to a curve at a point.
• Calculate the slope of a tangent line.
• Find an equation for the tangent line to the graph of a function f at the point a, f (a) .
• Identify the derivative as the limit of a di↵erence quotient.
• Calculate the derivative of a given function at a point.
• Describe the velocity as a rate of change.
• Explain the di↵erence between average velocity and instantaneous velocity.
90 90 90
80 80 80
��
70 70 70
60 60 60
50 50 50
40 40 40
x x x
0.0 0.5 1.0 1.5 2.0 0.0 0.5 1.0 1.5 2.0 0.0 0.5 1.0 1.5 2.0
Ex. 1. Find the average rate of change in the function f (x) = 100 x6 from a = 0 to b.
(i) b = 2 (ii) b = 1 (iii) b = 0.1
Solution:
[100 26 ] [100 06 ]
(i) = 25 = 16.
2 0
[100 16 ] [100]
(ii) = 1.
1 0
[100 (0.1)6 ] [100]
(iii) = 0.000001.
1 0
The derivative at x = a is the limit of the slopes of secant lines to the graph through the points
P = a, f (a) and Q = b, f (b) , taking the limit as b approaches a.
f(x)=100 - x 6
110
100
90
80
70
60
50
40
x
0.0 0.5 1.0 1.5 2.0
Visually, the secant lines through P and nearby points Q = (x, f (x)) “limit” as Q ! P to a line
that “kisses” the graph of f at P , meeting the graph at P and at no other nearby points. We call
this line the tangent line at P to the graph of f :
Definition: If f 0 (a) exists, the tangent line to the curve y = f (x) at a point P = (a, f (a))
is defined to be the line with slope f 0 (a) through the point P .
+ A very old and very imprecise definition of a tangent line is:
a straight line which touches a curve, but does not cut it.
Here, “tangent” is opposed to a line which “cuts” the curve, as opposed to ‘kissing” it. (Compare
the definition of a continuous function as “a function whose graph can be drawn without lifting
one’s pencil”. . . )
Ex. 2. Find the derivative of f (x) = x2 at x = 5, using the definition of the derivative.
Solution:
We substitute a = 5 into definition (**) of the derivative of f at a, which we’ve copied here:
f (a + h) f (a)
f 0 (a) = lim (**)
h!0 h
We get:
f (5 + h) f (5) (5 + h)2 52
f 0 (5) = lim = lim
h!0 h h!0 h
25 + 10h + h2 25
= lim
h!0 h
h(10 + h)
= lim
h!0 h
= lim (10 + h)
h!0
= 10.
Ex. 3. Find an equation for the tangent line to the graph of f (x) = x2 at x = 5.
Solution:
The slope of the tangent line to f (x) at x = 5 is f 0 (a), which we found in the previous
exercise.
We now use the point-slope form of a linear equation,
y y0 = m(x x0 ),
+ Notice that, for a linear function f (x) = mx+b, the slope of the tangent line and the slope of
all secant lines coincide. The derivative of a linear function is constant, f 0 (x) = m for all x.
Ex. 5. Find the tangent line to the curve y = 3/x at the point (3, 1).
Solution:
Check: The graph of f —that is, the set containing all points of the form x, f (x) —contains
the point a, f (a) = (3, 1). X
3 3 (3+h)
0 f (3 + h) f (3) 3+h
1 3+h
f (3) = lim = lim = lim
h!0 h h!0 h h!0 h
h 1 1
= lim = lim = .
h!0 h(3 + h) h!0 3 + h 3
1
We need the equation of a line with slope f 0 (3) = through the point (3, 1).
3
y y1 = f 0 (a) · (x a)
y 1 = f 0 (3) · (x 3)
1
y= 3
(x 3) + 1
3y = (x 3) + 3
x + 3y 6 = 0
Determining di↵erentiability from a graph, and the formula for the tangent line
A function f is di↵erentiable at x = a (that is, f 0 (a) exists) if its graph looks like a non-vertical
straight line when we zoom in sufficiently around the point (a, f (a)).
That is, the tangent line at x = a is a close approximation of the graph of f at points x, f (x)
for x near a.
(See applet on iCollege: “The differentiation microscope”)
Intuitively : no matter how much we zoom in on the graph of f near (0, 0), the graph will
always have a “corner” (or “cusp”) in it.
Therefore, no line is tangent to the graph of f at the point (0, 0).
p
Counterexample. The function f (x) = 3
x is not di↵erentiable at x = 0.
y = x1/3
1.0
0.5
x
- 1.0 - 0.5 0.5 1.0
- 0.5
- 1.0
The graph ofpy = x1/3 can be obtained by reflecting the graph of y = x3 in the line y = x
because y = 3 x and y = x3 are inverse functions.
As x approaches 0, the tangent lines to the curve at x become steeper and steeper.
When x equals 0, the tangent line is vertical.
That is, the slope of the tangent line, f 0 (x), approaches infinity as x ! 0: in symbols,
lim f 0 (x) = 1.
x!0
Formula: The tangent line to the graph of y = f (x) at the point a, f (a) is
y = f 0 (a) · (x a) + f (a)
| {z }
slope
provided that
• a is in the domain of f (so that f (a) is defined),
• f is di↵erentiable at a (so that f 0 (a) is defined),
• lim f 0 (x) 6= ±1 (that is, the tangent line cannot be vertical).
x!a
Finding a linear extension of a function that is di↵erentiable and continuous
Suppose we are given a function that is defined only for x 0. . . say, f (x) = ex for x 0.
�
-� -� � �
We wish to extend the function so that its graph is a line for x > 0 in such a way that the resulting
piecewise function is continuous (e.g., no gaps) and di↵erentiable (e.g., no sharp corners):
�
-� -� � �
How should we pick the y-intercept and the slope of the line? That is, what should a and b be in
order to make the piecewise function
⇢ x
e for x 0,
f (x) =
ax + b for x > 0
continuous and di↵erentiable?
• We can imagine the following real-world situation in which the above problem might need
to be solved: Let x = 0 represent the present moment, so that x < 0 represents the past.
Suppose a virus has been spreading faster and faster (exponentially) until now. We would
like to predict the number of infected, f (x), under the assumption that the rate of spread in
the future (time x > 0) stays the same as it is at the present moment.
• A mathematically similar problem is encountered in graphic and industrial design, economics,
and robotics: a curve is to be joined with a straight line at a point (called the break point)
in such a way that the result is perfectly smooth, with no corners or gaps. In this situation,
we might replace the exponential function ex by some other type of function—for example, a
polynomial. (Polynomials are often used in the design of fabricated objects and the modeling
of economic phenomena.)
Ex. 6. A stone is tossed into the air from ground level with an initial velocity of 15 m/sec. Its
height in meters after t seconds is s(t) = 15t 4.9t2 . Find the instantaneous velocity of the stone
at t = 1 sec.
Ex. 7. A co↵ee shop determines that the daily profit on scones, P (s), obtained by charging s dollars
per scone is modeled by the following equation:
(a) Find P 0 (3), the rate of change in profit when the price is $3.
(b) Should the co↵ee shop consider raising or lowering its prices on scones?
Solution to part (a).
P (s) P (3)
P 0 (3.25) = lim
s!3 s 3
⇥ ⇤ ⇥ ⇤
20s2 + 140s 240 20(3)2 + 140(3) 240
= lim
s!3 s 3
2
20s + 140s 240
= lim
s!3 s 3
2
20(s 7s + 12)
= lim
s!3 s 3
20(s 4)(s 3)
= lim
s!3 s 3
= lim 20s + 80
s!3
= 20
Additional exercises
Ex. 8 (§3.1—#1, 5, 7, 8). Find the slope of the secant line between the values x1 and x2 for
each function.
p
• f (x) = 4x + 7, x1 = 2, x2 = 5 • h(x) = x 9, x1 = 10, x2 = 13
p 4
• g(x) = x, x1 = 1, x2 = 16 • j(x) = , x1 = 1, x2 = 3
3x 1
Ex. 9 (§3.1—#11).
(a) Find the slope of the tangent line to the parabola y = x2 + x at the point (1, 2).
(b) Find an equation for the tangent line to the parabola at the point (1, 2).
Ex. 10 (§3.1—#15).
7
(a) Find the slope f 0 (a) of the tangent line to the curve y = at the point a, f (a) for a = 3.
x
(b) Find an equation for the tangent line to the curve at x = 3.
Ex. 11. The graph of a function f is given. Arrange the following numbers from least to greatest.
-1 1 2 3 4
Ex. 12 (§3.1—#21, 23, 25, 27). Find f 0 (a) using the definition of the derivative.
p
(a) f (x) = 5x + 4, a = 1 (c) f (x) = x, a = 4
1
(b) f (x) = x2 + 9x, a = 3 (d) f (x) = , a = 2
x
Workbook Lesson 7
§3.2, The Derivative as a Function
Last revised: 2021-05-03 08:53
Objectives
• Define the derivative function of a given function.
• Graph a derivative function from the graph of a given function.
• State the connection between derivatives and continuity.
• Describe three conditions for when a function does not have a derivative.
• Explain the meaning of a higher-order derivative.
• Here we list all the most common notations used to denote the derivative of y = f (x):
dy d⇥ ⇤
f 0 (x) f (x) Df (x) y0
dx dx
x=a
after an expression means “evaluate the expression by substituting x = a.” So, for instance,
the notation
dy
dx x=a
means the same thing as
f 0 (a).
Recall:
• When we discuss a function y = f (x), the input variable x is called the independent
variable.
• We call y the dependent variable because the value of y = f (x) depends on x.
• For another example with di↵erent variable names, if r is a function of t, and we write
r = g(t), then t is the independent variable and r is the dependent variable.
dy
We say that = f 0 (x) is the derivative of y = f (x) with respect to x, the independent variable.
dx
dy
• = f 0 (x) is the instantaneous rate of change in y = f (x) as x varies.
dx
dr
• = g 0 (t) is the instantaneous rate of change in r = g(t) as t varies.
dt
• The variable of di↵erentiation is the independent variable, with respect to which the
derivative is taken.
+ When unfamiliar variable names are used, you may find it helpful to identify which variable is
the dependent variable (what you take the derivative of ) and the independent variable (what you
take the derivative with respect to).
Graphing a derivative
f (x + h) f (x)
f 0 (x) = lim
h!0 h
p p
x+h x
= lim
h!0 h
p p p p
x+h x x+h+ x
= lim ·p p
h!0 h x+h+ x
⇢x+h ⇢ x
= lim p p
h!0 h x + h + x
◆
h
= lim p p
h!0 ◆
h x+h+ x
1
= p .
2 x
1
f '(x) =
2 x
1.0
0.8
0.6
0.4
x
-1 1 2 3 4 5
Di↵erentiability implies continuity
We can make f (x) f (a) look like the slope of the secant line if we divide it by x a. We’ll
multiply by (x a) at the same time so that the value is not changed:
f (x) f (a)
f (x) f (a) = · (x a)
x a
Now we take the limit on both sides, and use the Limit Laws:
f (x) f (a)
lim [f (x) f (a)] = lim (x a)
x!a x!a x a
f (x) f (a) h i (†)
lim f (x) lim f (a) = lim [f (x) f (a)] = lim · lim x a = f 0 (a) · 0 = 0,
x!a x!a x!a x!a x a x!a
(*)
where the equality (†) is justified by the fact that, by definition of di↵erentiability of f at a,
f (a) f (x)
the limit f 0 (a) = lim exists.
x!a x a
Adding lim f (a) to both sides of (*) and then applying the Constant Law for Limits yields
x!a
Ex. 3.
The graph of the Heaviside function H(x) is shown below.
Is the Heaviside function di↵erentiable at x = 0? (That is, does H 0 (0) exist?)
Justify your answer.
�(�)
Answer: No.
If H 0 (0) did exist, then by the above Theorem, H would be continuous at x = 0.
Justification:
Since H is not continuous at x = 0, H 0 (0) must not exist.
Higher derivatives
Recall:
If a function y = f (x) is di↵erentiable at every point of its domain, then f 0 (x) is a new
function with the same domain, called the (first) derivative of f .
This new function f 0 may (or may not) have a derivative of its own. If it does, the derivative of f 0
is denoted by
00 d dy d2 y d2 ⇥ ⇤
f = 2 f (x) D2 f or y 00 .
dx dx dx dx2
Definition: The derivative of the (first) derivative f 0 is called the second derivative of f .
The concepts of derivative and second derivative have natural interpretations in terms of mo-
tion.
Our first example will be the motion of a swinging pendulum. In later sections, we will see that
the same interpretation applies to a body undergoing one-dimensional “rectilinear” motion (that is,
motion in a straight line), such as a ball thrown straight up in the air.
Let x be time. Let f (x) be the displacement from an object’s initial position at time x = 0.
For the pendulum, define f (x) to be the positive or negative angle between the rest position
of the pendulum and the angle of the pendulum at time x.
Let’s look at a displacement function that is simpler than that of the pendulum in the applet.
Ex. 6. Let x be time and suppose f (x) = sin(x) is the displacement function for a pendulum.
Identify the displacement, velocity and acceleration in the following graph.
1.0
0.5
2 4 6 8 10 12
-0.5
-1.0
Solution.
We recognize the solid blue graph as the graph of the function sin function.
At time t = ⇡/2, we have f (x) = displacement = 1 radian ⇡ 57 . At that instant, the
pendulum has stopped moving to the right, and is about to move to the left: its speed is 0.
Thus the dashed purple line is velocity f 0 (x).
By process of elimination, the dotted gold line must be acceleration. We verify that this
makes sense: at time t = ⇡/2, the pendulum is momentarily motionless, f 0 (⇡/2) = 0,
and accelerating in the leftward direction from its rightmost position, f (⇡/2) = 1. At that
instant, the acceleration is f 00 (⇡/2) = 1. The maximum acceleration in the rightward
direction occurs when the pendulum is motionless and in its leftmost position.
How should we interpret the acceleration at the instant t = ⇡, when the pendulum is in its rest
position f (⇡) = 0?
• f (x) = 2 3x • h(x) = 5x x2
1
• g(x) = 6 • j(x) = p
x
Ex. 8 (§3.2—#68, 73). The given limit is the derivative of a function y = f (x) at x = a. What
are f (x) and a?
(1 + h)2/3 1 eh 1
(a) lim (b) lim
h!0 h h!0 h
Ex. 10. The figure shows the graphs of f , f 0 , and f 00 . Identify each curve.
Ex. 11. The figure shows the graphs of f , f 0 , f 00 , and f 000 . Identify each curve.
Ex. 12. The graphs of a function f and its derivative f 0 are shown. Which is larger, f 0 ( 1) or
f 0 ( 1)?
-1 1 2 3 4
Workbook Lesson 8
§3.3, Di↵erentiation Rules
Last revised: 2020-12-14 15:24
Objectives
• State the constant, constant multiple, and power rules.
• Apply the sum and di↵erence rules to combine derivatives.
• Use the product rule for finding the derivative of a product of functions.
• Use the quotient rule for finding the derivative of a quotient of functions.
• Extend the power rule to functions with negative exponents.
• Combine the di↵erentiation rules to find the derivative of a polynomial or rational function.
d
Ex. 1. Find the derivative [5] of the constant function f (x) = 5 using the definition of the
dx
derivative.
Since the average rate of change of a constant function is 0, we expect the instantaneous
rate of change to be 0 also.
d f (x + h) f (x)
[5] = lim
dx h!0 h
5 5
= lim
h!0 h
0
= lim
h!0 h
=0
where the last equality is justified by the fact that the limit as h ! 0 depends only on
nonzero values of h.
Ex. 1 is an example of the Constant Rule (Rule 1 on the Handout).
Intuitively: the instantaneous rate of change in a constant function is 0.
d e⇡ e ⇡
Ex. 2. Calculate: .
dt 2
d
Ex. 3. Find [s].
ds
Write f (s) = s.
d f (s + h) f (s) s+h s
[s] = lim = lim = 1.
ds h!0 h h!0 h
Proofs of the Power, Constant Multiple, Sum, and Di↵erence Rules (Rules 4–7 on the Handout)
can be found in the textbook.
Let’s look at some more problems similar to those you might see on an Exam.
1
Ex. 4. Find the derivative: t = 5s + 3 + 2 + 3s5 . Justify each step by stating which Rules were
s
used.
The dependent variable is t, and the independent variable is s,
so we are di↵erentiating with respect to t.
d⇥ ⇤ d ⇥ ⇤
t(s) = 5s + s 3 + 2 + 3s5
ds ds
d d ⇥ 3⇤ d d ⇥ 5⇤
= [5s] + s + [2] + 3s (Rule 6: Sum Rule)
ds ds ds ds
d d ⇥ 3⇤ d ⇥ 5⇤
= 5 [s] + s +0+3 s (Rule 5 and Rule 1)
ds ds ds
4
=5 3s + 15s4
3
=5 + 15s4 .
s4
x3 + 2x + 1
Ex. 5. Di↵erentiate the function: y = p .
x
The dependent variable is y. The independent variable is x.
So we are di↵erentiating with respect to x.
dy d x3 + 2x + 1
=
dx dx x1/2
d ⇥ 5/2 ⇤
= x + 2x1/2 + x 1/2
dx
5 1 3/2
= x3/2 + x 1/2 x
2 2
3 p 2 3
= x x+ p p
2 x 2x x
2 p
3 t2
Ex. 6. Find the derivative: f (t) = p 27t + .
5
t 2
Independent variable: t
d d 1/5 1
f (t) = 2t 3t1/3 + t2
dt dt 2
1 6/5 1 2/3 1
= 2 5
t 3 3
t + (2)t
2
2 3 2/3 2
= t 6/5 t + t
5 3 2
2 1
= 6/5 +t
5t t2/3
2 1
= p5 6
p
3 2
+ t.
5 t t
Product and Quotient Rules
We have seen (Sum Rule) that
d⇥ ⇤ d⇥ ⇤ d⇥ ⇤
f (x) + g(x) = f (x) + g(x) .
dx dx dx
That is,
The derivative of a sum of two functions, is the sum of the derivative of the two functions.
A similar rule holds for subtraction (Di↵erence Rule), but not for products:
d⇥ ⇤ d⇥ ⇤ d⇥ ⇤
f (x) · g(x) = f (x) · g(x) + f (x) · g(x).
dx dx dx
That is, the right-hand side of the Product Rule is
(first) · (derivative of the second) + (derivative of the first) · (second).
+ Since addition and multiplication are commutative, we can write this rule in a few di↵erent
ways, e.g.:
d⇥ ⇤
f (x) · g(x) = f (x) · g 0 (x) + f 0 (x)g(x)
dx
= f 0 (x) · g(x) + f (x)g 0 (x)
= g(x) · f 0 (x) + g 0 (x)f (x).
dy dy
Ex. 7. Find and .
dx dt
(a) y = tx2 + t3 x t x
(b) y = +
x2 t
Hint: To avoid having to use the Quotient Rule in part (b), rewrite the given formula without
fractions by using negative exponents:
t x
y = 2 + = tx 2 + xt 1
x t
d ⇥ ⇤ d ⇥ ⇤
5x12 + 2 ⇡ ⇡ 2 x4 = 5x12 + 2 ⇡ ⇡ 2 x4
dx dx
0 0
= 5x12 + 2 ⇡ ⇡ 2 x4 + 5x12 + 2 ⇡ ⇡ 2 x4
= 60x11 (⇡ ⇡ 2 x4 ) 4⇡ 2 x3 (5x12 + 2)
= 80⇡ 2 x15 + 60⇡x11 8⇡ 2 x3 .
1 x2
Ex. 9. Prove that and have the same derivative.
1 x2 1 x2
d 1 (Recip. Rule) (1 x2 )0 ( 2x) 2x
= = = .
dx 1 x2 (1 x2 )2 (1 x2 )2 (1 x2 )2
d f (x) g(x)f 0 (x) f (x)g 0 (x)
For the Quotient Rule = , take
dx g(x) [g(x)]2
f (x) = x2 g(x) = 1 x2
f 0 (x) = 2x g 0 (x) = 2x
d x2 (Quot. Rule) (1 x2 )(x2 )0 (x2 )(1 x2 ) 0
=
dx 1 x2 (1 x2 )2
(1 x2 )(2x) (x2 )( 2x)
=
(1 x2 )2
2x 2x3 + 2x3
=
(1 x2 )2
2x
= .
(1 x2 )2
Ex. 11.
Ex. 13 (§3.3—#119). Find the equation of the tangent line to the curve y = 2x3 + 4x2 5x 3
at the point ( 1, 4).
Ex. 18 (§3.3—#146). The concentration of antibiotic in the bloodstream t hours after being
injected is given by the function
2t2 + t
C(t) = 3 ,
t + 50
where C(t) is measured in milligrams per liter of blood
(a) Find the rate of change of C(t).
(b) Determine the rate of change for t = 8, 12, 24, and 36.
(c) Briefly describe what seems to be occurring as the number of hours increases.
Ex. 19 (§3.3—#111, 116, 117). Di↵erentiate.
✓ ◆
4 13 x2 + 4 x+9
• f (x) = 3x 18x + • f (x) = 2 • f (x) =
x+1 x 4 x2 7x + 1
6
Ex. 20 (§3.3—#141). Find an equation of the tangent line to the curve y = at the point
x 1
(3, 3).
Ex. 21. Find an equation of the normal line to the graph of f (x) = x + x2 at the point (0, 0).
(See above for the definition of the normal line.)
Ex. 22. The psychologist L. L. Thurstone suggested the following relationship between learning
time T = f (n) and the length n of a list:
p
T = f (n) = An n b,
where A and b are constants that depend on the person and the task.
dT
(a) Compute and interpret your results.
dn
(b) For a certain person, suppose A = 4 and b = 4. Compute f 0 (13) and f 0 (29) and interpret
your results.
Di↵erentiation Rules
In the equations below, c is a (real) constant, and f (x) and g(x) are functions.
d⇥ ⇤
Recall: ⇤ means “the derivative of ⇤ with respect to x.’
dx
Basic formulas
d
1. Derivative of a constant [c] = 0
dx
d
2. Derivative of identity function [x] = 1
dx
d ⇥ ⇤
3. Chain Rule g f (x) = g 0 f (x) · f 0 (x)
dx
Arithmetic formulas
d c
4. Power Rule [x ] = cxc 1
dx
d⇥ ⇤
5. Constant Multiple Rule c · f (x) = c · f 0 (x)
dx
d⇥ ⇤
6. Sum Rule f (x) + g(x) = f 0 (x) + g 0 (x)
dx
d⇥ ⇤
7. Di↵erence Rule f (x) g(x) = f 0 (x) g 0 (x)
dx
d⇥ ⇤
8. Product Rule f (x) · g(x) = f (x) g 0 (x) + g(x) f 0 (x)
dx
d 1 g 0 (x)
9. Reciprocal Rule =⇥ ⇤2
dx g(x) g(x)
d f (x) g(x) f 0 (x) f (x) g 0 (x)
10. Quotient Rule = ⇥ ⇤2
dx g(x) g(x)
Transcendental functions
d⇥ ⇤ d⇥ ⇤
sin(x) = cos(x) cos(x) = sin x
dx dx
d⇥ ⇤ d⇥ ⇤
csc(x) = csc(x) cot(x) sec(x) = sec(x) tan(x)
dx dx
d⇥ ⇤ d⇥ ⇤
tan(x) = sec2 (x) cot(x) = csc2 (x)
dx dx
d x d⇥ ⇤ 1
[e ] = ex ln(x) =
dx dx x
d x d⇥ ⇤ 1
[b ] = bx ln(b) logb (x) =
dx dx x ln(b)
Workbook Lesson 9
§3.5, Derivatives of Trigonometric Functions
Objectives
• Find the derivatives of the sine and cosine function.
• Find the derivatives of the standard trigonometric functions.
• Calculate the higher-order derivatives of the sine and cosine.
Let’s add two more Rules into the mix: the derivatives of sin and cos.
d
⇥ ⇤ d
⇥ ⇤
Ex. 2. Show that (a) dx
csc(x) = csc(x) cot(x) and (b) dx
tan(x) = sec2 (x).
Solution:
⇥ ⇤ ⇥ ⇤
d d 1 sin(x) · [0] [1] · cos(x)
[csc(x)] = =
dx dx sin(x) sin2 (x)
cos(x)
=
sin2 (x)
cos(x) 1
=
sin(x) sin(x)
= csc(x) cot(x).
d⇥ ⇤ d sin(x)
tan(x) =
dx dx cos x
⇥ ⇤
cos(x) · cos(x) sin(x) · sin(x)
=
cos2 (x)
cos2 (x) + sin2 (x)
= (⇤)
cos2 (x)
1
=
cos2 (x)
= sec2 (x).
d⇥ ⇤
tan(x)
dx
⇥ ⇤
cos(x) · cos(x) sin(x) · sin(x)
=
cos2 (x)
cos2 (x) sin2 (x)
= +
cos2 (x) cos2 (x)
= 1 + tan2 (x).
sin2 (x) + cos2 (x) = 1 (Divide each term by cos2 (x)) (†)
1 + tan2 (x) = sec2 (x)
1 + cot2 (x) = csc2 (x) (Divide each term in (†) by sin2 (x))
By formula,
d⇥ ⇤
tan(x) = sec2 (x).
dx
d2 ⇥ ⇤ d⇥ 2 ⇤ d⇥ ⇤
2
tan(x) = sec (x) = sec(x) · sec(x)
dx dx dx
= sec(x) · sec(x) tan(x) + sec(x) tan(x) · sec(x)
= 2 sec2 (x) tan(x).
2
f (x) = sin(x) g(x) = x
f 0 (x) = cos(x) g 0 (x) = 2x 3
d sin(x) d ⇥ ⇤
2 (Prod. Rule) 2
= sin(x) · x = cos(x) · x + sin(x) · ( 2x 3 )
dx x2 dx
cos(x) 2 sin(x)
= .
x2 x3
Additional exercises
Ex. 8 (§3.5—#197). Find all values of x at which the graph of f (x) = 3 sin(x) cos(x) has a
horizontal tangent line.
Ex. 9 (§3.5—#203). The number of hamburgers sold at a fast-food restaurant in Pasadena,
California, is approximately given by
y = 10 + 5 sin(x)
where y is the number of hamburgers sold and x represents the number of hours after the restaurant
opened at 11 a.m. The restaurant closes at 11 p.m.. Find y 0 and determine the intervals where
the number of burgers being sold is increasing.
Workbook Lessons 10 and 11
§3.6, Chain Rule
§3.4, Derivatives as Rates of Change
Last revised: 2021-09-30 12:10
Objectives
• State the chain rule for the composition of two functions.
• Apply the chain rule together with the power rule.
• Apply the chain rule and the product/quotient rules correctly in combination when both are necessary.
• Recognize the chain rule for a composition of three or more functions.
• Find derivatives using all the Di↵erentiation Rules learned so far.
• Solve word problems that apply di↵erential calculus to problems in physics and business.
z = sin(x-1)
x
1 2 3 4 5 6
dz
dx
Now sketch the graph of sin(2x). Guess what the graph of its derivative must look like.
z
dz
dx
z = sin(2x)
x
1 2 3 4 5 6
d⇥ ⇤ d⇥ ⇤
The graphs we drew suggest that sin(x 1) = cos(x 1) and sin(2x) = 2 cos(2x).
dx dx
These guesses are correct.
There is a general rule we can use to find the derivative z = sin(f (x)) with respect to x.
Indeed, we can replace sin by any (di↵erentiable) function g.
Let f and g be two functions. The Chain Rule says that the composite function g f . . .
input to f y = output from f
d
Ex. 1. Find cos( 2x).
dx
f g
x 7! y= 2x 7! z = cos( 2x)
inside outside
y = 2x z = cos(y)
dy dz
= 2 = sin(y)
dx dy
dz dz dy
= · = sin(y) · ( 2) = sin( 2x) · ( 2) = ...
dx dy dx
p
4
Ex. 2. Di↵erentiate f (x) = 4x3 2.
f g
x 7! y = 4x3 2 7! (4x3 2)1/4
inside outside
f (x) = 4x3 2 g(y) = y 1/4
f 0 (x) = 12x2 g 0 (y) = 14 y 3/4
d 1 3x2
(4x3 2)1/4 = g 0 (f (x)) · f 0 (x) = g 0 (4x3 2) · (12x2 ) = (4x3 2) 3/4
· (12x2 ) = p .
dx 4 4
(4x3 2)3
✓ ◆
5 v
Ex. 3. Di↵erentiate q = sin .
v
✓ ◆
f 5 v g 5 v
v 7! y= 7! sin
v v
5 v 0 d 5 v d 1 2 5
f (v) = . f (v) = = [5v 1] = 5v = .
v dv v dv v2
✓ ◆
0 d d 5 v
g(y) = sin(y). g (y) = [ sin(y)] = [sin(y)] = cos (y) = cos .
dy dy v
✓ ◆ ◆ ✓ ◆ ✓
d 5 v 0 0 5 5 v
sin = g (f (v)) · f (v) = cos · 2
dv v v v
✓ ◆
5 5 v
= 2 cos .
v v
d h 4
i d⇥ ⇤
cos(x) = 4 cos3 (x) · cos(x)
dx dx
= 4 cos3 (x) sin(x)
= 4 cos3 (x) sin(x).
1
Ex. 5. Di↵erentiate .
(3x2 + 1)2
d 1 d ⇥ 2 ⇤
2 2
= (3x + 1) 2
dx (3x + 1) dx
d ⇥ 2 ⇤
= 2(3x2 + 1) 3
· 3x + 1
dx
= 2x(3x2 + 1) 3 (6x)
12x
= .
(3x2 + 1)3
d⇥ ⇤ d⇥ ⇤
(7x 2)3 = 3(7x 2)2 · 7x 2
dx dx
= 21(7x 2)2 .
d⇥ ⇤ d⇥ ⇤ d⇥ ⇤
(7x 2)3 (2x 1) = (7x 2)3 · (2x 1) + (7x 2)3 · 2x 1 (Product Rule)
dx dx dx
d⇥ ⇤ d⇥ ⇤
= 3(7x 2)2 · 7x 2 · (2x 1) + (7x 2)3 · 2x 1 (Chain Rule)
dx dx
= 21(7x 2)2 · (2x 1) + 2(7x 2)3 .
d⇥ ⇤ d⇥ ⇤ d⇥ ⇤
(7x 2)3 (2x 1)5 = (7x 2)3 · (2x 1)5 + (7x 2)3 · (2x 1)5 (Product Rule)
dx dx dx
d⇥ ⇤
= 21(7x 2)2 (2x 1)5 + (7x 2)3 · (2x 1)5 (Chain Rule)
dx
d⇥ ⇤
= 21(7x 2)2 (2x 1)5 + (7x 2)4 · 5(2x 1)4 · 2x 1
dx
= 21(7x 2)2 (2x 1)5 + 10(7x 2)4 .
Ex. 9. Prove that
(a) the derivative of an even function is odd, and
(b) the derivative of an odd function is even.
Solution:
f even =) f (x) = f ( x).
By Chain Rule, f 0 (x) = [f ( x)]0 = f 0 ( x) · ( 1) = f 0 ( x).
Thus f 0 is odd: f 0 (x) = f 0 ( x).
Ex. 10.
• Suppose the motion of a particle is described by a displacement function s(t).
• As usual, let v(t) be the particle’s velocity, and let a(t) be the particle’s acceleration.
• Prove that
dv
a(t) = v(t)
ds
(note the use of Lebiniz notation).
Solution:
First, let’s clarify the meaning of each variable:
t time
s(t) displacement
ds
v(t) = velocity
dt
dv
a(t) = acceleration
dt
Comments:
By Chain Rule,
dv dv ds dv
a= = = v(t).
dt ds dt ds
dv
is acceleration, i.e. the rate of change in velocity with respect to time.
dt
dv
is the rate of velocity with respect to the displacement.
ds
Example:
v(s) = sin(s) and s(t) = 2t.
Then
dv d
= sin(s) = cos(s),
ds ds
while
ds
v(t) = =2
dt
and
d2 v dv
= v(t) = cos(s) · 2 = 2 cos(2t).
dt2 ds
Exercises 11–35 below are accompanied by fully worked solutions. You are not expected to practice
every single exercise.
+ But please be sure to study Exercises 24, 25, 26, 27, and 28!
+ Business students are encouraged to also study Exercises 32–35.
Worked problems
Ex. 11. Di↵erentiate:
1
(a) p
(5x 1)3
1
(b) t sin
t
(c) sin(cos( 13 s3 ))
Solution:
" #
d 1 d ⇥ ⇤
p = (5x 1) 3/2 (a)
dx (5x 1)3 dx
3 d⇥ ⇤
= (5x 1) 5/2 · 5x 1
2 dx
15
= p .
2 (5x 1)5
d ⇥ ⇤ d d ⇥ ⇤
t sin(t 1 ) = [t] · sin(t 1 ) + t · sin(t 1 ) (b)
dt dt dt
d ⇥ ⇤
= sin(t 1 ) + t sin(t 1 )
dt
d
= sin(t ) + t cos(t 1 ) · [t 1 ]
1
dt
= sin(t 1 ) t cos(t 1 ) · t 2
1 cos 1t
= sin .
t t
d ⇥ ⇤ d ⇥ ⇤
sin cos( 13 s3 ) = cos cos( 13 s3 ) · cos( 13 s3 ) (c)
ds ds
d ⇥ 1 3⇤
= cos cos( 13 s3 ) · sin( 13 s3 ) · s
ds 3
= cos cos( 13 s3 ) · sin( 13 s3 ) · (s2 )
= s2 cos cos( 13 s3 ) sin( 13 s3 ).
dy
Ex. 12. If y(x) = 9x3 + 3x2 + 5 and x(t) = 7t2 + 10t + 2, find .
dt
Solution:
dy dy dx
= = (27x2 + 6x)(14t + 10)
dt dx dt
= 6x(9x + 2)(7t + 5)
= 6(7t2 + 10t + 2) 9(7t2 + 10t + 2) + 2 (7t + 5)
= 6(7t2 + 10t + 2)(63t2 + 90t + 20)(7t + 5).
p
Ex. 13. Di↵erentiate y = x(x 1).
Solution:
0
y 0 = x1/2 (x 1)
0
= x3/2 x1/2
3p 1
= x p
2 x
.
2
0
y 0 = x1/2 (x 1)
1
= p (x 1) + x1/2 (1)
2 x
x 1
= p + 22x p
x
2 x
3x 1
= p .
2 x
p p
Ex. 14. Di↵erentiate g(u) = 2u+ 3u. Justify each step by giving the name of the di↵erentiation
rule you are using.
Solution:
p p 0
g 0 (u) = 2u + 3u
p 0 p 0
= 2u +3u Sum Rule
p 0 p p 0
= 2 u + 3 u Identity & Constant Multiple
p 0 p 0
= 2 u + 3 u1/2 Constant Multiple
p p
= 2 + 23 u 1/2 Identity & Power Rule
p p
= 2 + 2p3u .
Ex. 15.
(a) Di↵erentiate H(x) = (x + x 1 )3 without using the Chain Rule.
(b) Then di↵erentiate it using the Chain Rule.
Solution:
0
H 0 (x) = (x + x 1 )3
0
= x3 + 3x2 x 1
+ 3x(x 1 )2 + (x 1 )3
3 0
= x3 + 3x + 3x 1 + x
= 3x2 + 3 3x 2 3x 4
Ex. 16.
p
x 1
(a) Di↵erentiate y = p using the Quotient Rule.
x+1
(b) Then di↵erentiate it using the Product Rule.
Solution:
1 0
y 0 = (x1/2 1) · (x1/2 + 1)
0
= (x1/2 1)0 (x1/2 + 1) 1 + (x1/2 1) (x1/2 + 1) 1
= ( 12 x 1/2 )(x1/2 + 1) 1 + (x1/2 1)( 1)(x1/2 + 1) 2 · 12 x 1/2
p
1 x 1
= p p p p
2 x( x + 1) 2 x( x + 1)2
Ex. 17.
t
(a) Di↵erentiate y = without using the Chain Rule.
(t 1)2
(b) Then di↵erentiate it using the Chain Rule.
Solution to part (a):
✓ ◆0
0 t
y =
(t1)2
✓ ◆0
t
=
t2 2t + 1
(t2 2t + 1) t(2t 2)
=
(t2 2t + 1)2
1 t2
=
(t2 2t + 1)2
(1 t)(1 + t)
=
(t 1)4
1 t
= .
(t 1)3
y 0 = g 0 f (t) · f 0 (t)
= g 0 (t 1) · 1
2 3
= (t 1) 2(t 1)
1 2
= +
(t 1)2 (t 1)3
1(t 1) 2
=
(t 1)3
t 1
= .
(t 1)3
1
Ex. 18. Di↵erentiate y = without using the Quotient Rule or the Product Rule.
(1 + sec x)2
Solution:
2 0 2 sec x tan x
y 0 = (1 + sec x) = 2(1 + sec x) 3
sec x tan x = .
(1 + sec x)3
Ex. 19. Let g(x) = (x2 +1)3 (x3 +2)6 . Show that g 0 (x) = 6x(x2 +1)2 (x3 +2)5 (4x3 +3x+2).
Solution:
⇥ ⇤0
g 0 (x) = (x2 + 1)3 (x3 + 2)6
⇥ ⇤0 ⇥ ⇤0
= (x2 + 1)3 (x3 + 2)6 + (x2 + 1)3 (x3 + 2)6
= 18x2 (x2 + 1)3 (x3 + 2)5 + 6x(x2 + 1)2 (x3 + 2)6 Collect like terms
= 6x(x2 + 1)2 (x3 + 2)5 3x(x2 + 1) + (x3 + 2)
= 6x(x2 + 1)2 (x3 + 2)5 (4x3 + 3x + 2).
x 14 3x
Ex. 20. Let f (x) = p . Show that f 0 (x) = p .
7 3x 2 (7 3x)3
Solution:
1/2 0
f 0 (x) = x(7 3x)
0
= x (7 3x) 1/2 + (7 3x) 1/2
= x( 21 )(7 3x) 3/2 ( 3) + (7 3x) 1/2 Factor out (7 3x) 3/2
For x 6= 0:
f (x) f (0)
f 0 (0) = lim (definition of derivative)
x!0 x 0
x sin x1 0
= lim (f (x) = x sin x1 for x 6= 0)
x!0 x
= lim sin x1 does not exist. (See Section 2.5)
x!0
1 1 1
f 0 (0) does not exist. For x 6= 0, f 0 (x) = sin x x
cos x
.
Ex. 23.
p d x
(a) Write |x| = x2 , and use the Chain Rule to show that |x| = .
dx |x|
(b) Let f (x) = | sin x|. Find f 0 (x) and sketch the graphs of f and f 0 . Where is f not di↵erentiable?
Solution:
d d 1 x x
|x| = (x2 )1/2 = (x2 ) 1/2
· 2x = = .
dx dx 2 (x2 )1/2 |x|
d sin x d sin x
| sin x| = · (sin x) = cos x.
dx | sin x| dx | sin x|
d sin x
| sin x| = cos x is undefined () | sin x| = 0
dx | sin x|
() x = n⇡ where n is any integer.
Worked problems with tangent lines
Ex. 24. Find an equation of the tangent line to the curve y = 1/(1 + x2 ), called the witch of
Maria Agnesi, at the point ( 1, 12 ).
y y(a) = y 0 (a) · (x a)
2x
y0 = 1(1 + x2 ) 2 (2x) = ,
(1 + x2 )2
we have
1
y 0 ( 1) = .
2
1
y 2
= 12 (x + 1)
p
Ex. 25. Find an equation of the tangent line to the curve y = x x that is parallel to the line
y = 1 + 3x.
Solution:
p
y 0 = (x3/2 )0 = 3
2
a.
Solution:
The slope of x 2y = 2 is m = 12 :
x 2 = 2y
y = 12 x 1
x 1 2
The slope of the tangent line to y = at x = a is y 0 (a) = . We solve the
x+1 (a + 1)2
equation y 0 (a) = m.
2
= 12
(a + 1)2
(a + 1)2 = 4
p
a= 1± 4 = 1 or 3
y 2 = 12 (x + 3) and y 0 = 12 (x 1) .
Ex. 27. Show that the curve y = 6x3 + 5x 3 has no tangent line with slope 4.
Solution:
y 0 = 18x2 + 5
We solve y 0 (a) = 4:
y 0 (a) = 18a2 + 5 = 4
18a2 = 1
a2 = 181 < 0 Impossible: the square of any real number is nonnegative.
Ex. 28. The position of a particle in motion is given by the equation s = t3 6t2 + 9t, where s is
measured in meters and t is measured in seconds.
(a) Find the velocity at time t.
(b) What is the velocity after 2 s? After 4 s?
(c) When is the particle at rest?
(d) When is the particle moving forward (that is, in the positive direction)?
(Hint: When is v(t) > 0?)
(e) Draw a diagram to represent the motion of the particle.
(f) Find the total distance traveled by the particle during the first five seconds.
(g) Find the acceleration at time t.
(h) Find the acceleration after 4 s.
Solution.
(a) v(t) = s0 (t) = 3t2 12t + 9 .
1.86t2 15t + 25 = 0
p
15 ± 152 4(1.86)(25)
t=
2(1.86)
h(t) = 25 when t = t1 ⇡ 2.35 ot t = t2 ⇡ 5.71.
What is the approximate rate of change in the height at times t = t1 and t = t2 ?
v(t1 ) ⇡ 6.24 (upward)
v(t2 ) ⇡ 6.24 (downward)
Answer to (b): 6.24 m/s upward
Answer to (c): 6.24 m/s downward
kg · m
+ Recall: 1 newton (N) = 1
s2
is the force required to produce an acceleration of 1 m/s2
in a body of mass 1 kg.
Ex. 30. Newton’s Law of Gravitation says that the magnitude F of the force (in newtons N) exerted
GmM
by a body of mass on a body of mass M is F = , where G is the gravitational constant and
r2
r is the distance between the bodies.
dF
(a) Find , and explain its meaning. What does the minus sign indicate?
dr
(b) Suppose it is known that the earth attracts an object with a force that decreases at the rate
of 2 N/km when r = 20, 000 km. How fast does this force change when r = 10, 000 km?
Solution.
GmM 2
(a) F (r) = | {z } · r .
= GmM
r2
constants
dF
= 2 GmM r 3 is the rate of change in the gravitational force F between the two
dr
bodies with respect to the distance r between them. The minus sign indicates that, as the
distance (independent variable) r increases, (the dependent variable) F decreases.
(When interpreting the meaning of the derivative in this and similar problems, regard the
independent variable as increasing.)
(b) Given that F 0 (20, 000) = 2, we want to find F 0 (10, 000). Using the fact that GmM =
20, 0003 . . .
2GmM
2 = F 0 (20, 000) =
20, 0003
GmM = 20, 0003
. . . we find that
2 · 20, 0003 16 ⇥ 1012
F 0 (10, 000) = = = 16.
10, 0003 1 ⇥ 1012
The force decreases at 16 N/km when r = 10, 000 km.
Ex. 31. If the equation of motion of a particle is given by s = A cos(!t + ), the particle is said
to undergo simple harmonic motion.
(a) Find the velocity of the particle at time t.
(b) When is the velocity 0?
(a) v(t) = s0 (t) = !A sin(!t + ).
(b)
v(t) = !A sin(!t + ) = 0
sin(!t + ) = 0
!t + = n⇡
n⇡
The velocity is 0 when t = where n is any integer.
!
+ A frictionless pendulum undergoes simple harmonic motion—provided that the pendulum
swings only through a small angle, and does not swing entirely around the pivot it hangs from! A
more realistic mathematical model would include a frictional force that causes the motion to slow
to an eventual halt. Such motion is called simple harmonic motion with damping. For details,
see any undergraduate Di↵erential Equations textbook.
Additional applications of basic di↵erential calculus
Ex. 32. The cost of producing x ounces of gold from a new gold mine is C = f (x) dollars.
(a) What is the meaning of the derivative f 0 (x)? What are its units?
(b) What does the statement f 0 (800) = 17 mean?
(c) Do you think f 0 (x) will increase or decrease in the short term? What about in the long term?
Explain.
(a) Rate of change in production cost with respect to number of ounces of gold produced,
in dollars per ounce.
(b) After 800 oz of gold have been produced, the rate at which the production cost increases
is about $17 per ounce. So the cost of producing the 801st ounce is ⇡ $17.
(c) The production cost of the first ounce includes all startup costs. Initially, the rate of
increase in production costs will decrease due to increasingly efficient use of startup costs.
Eventually, the rate may increase due to costs specific to large-scale operations.
Ex. 33. The number N of locations of a popular co↵eehouse chain is given in the table. (The
numbers as of October 1 are given.)
Year 2004 2005 2006 2007 2008
N 8569 10, 241 12, 440 15, 011 16, 680
(a) Find the average rate of growth (i) from 2006 to 2008, (ii) from 2006 to 2007, (iii) from 2005
to 2006. Include the units.
(b) Estimate the instantaneous rate of growth in 2006 by taking the average of two average rates
of change. What are its units?
(a)
N
(Average rate of change from N = 2006 to N = 2008) = (i)
t
16, 680 12, 440
=
2
= 2120 locations/yr.
N
(Average rate of change from N = 2006 to N = 2007) = (ii)
t
= 2571 locations/yr.
N
(Average rate of change from N = 2006 to N = 2007) = (iii)
t
= 2199 locations/yr.
(b) We use the average rates of change from parts (ii) and (iii) because the instantaneous
2199 + 2571
rate of change, N 0 (t), is a two-sided limit: = 2385 locations/yr.
2
Ex. 34. (Calculator required) The cost (in dollars) of producing x units of a certain commodity is
C(x) = 5000 + 10x + 0.05x2 .
(a) Find the average rate of change of C with respect to x when the production level is changed
(i) from x = 100 to x = 105, (ii) from x = 100 to x = 101.
(b) Find the instantaneous rate of change of C with respect to x when x = 100. (This is called
the marginal cost.)
(a)
C
(i) = $20.25 per unit.
x
C
(ii) = $20.05 per unit.
x
(b) C 0 (100) = $20 per unit.
C(x + h) C(x)
C 0 (x) = lim , (1)
h!0 h
since C(x + h) is technically not defined when h ! 0 is so small that x + h is not an integer.
However, we can always replace C(x) by a smooth (i.e. di↵erentiable) approximating function.
Ex. 35. A manufacturer produces bolts of fabric with a fixed width. The quantity q of this fabric
(measured in yards) that is sold is a function of the selling price p (in dollars per yard), so we can
write q = f (p). Then the total revenue earned with selling price p is R(p) = pf (p).
(a) What does it mean to say that f (20) = 10, 000 and f 0 (20) = 350?
(b) Assuming the values in part (a), find R0 (20) and interpret your answer.
(a) q = f (p) = quantity of the fabric sold as a function of the selling price p.
f (20) = 10, 000 means that
As the selling price increases past $20/yd, the amount of fabric sold is decreasing at a
rate of 350 yards per $1/yd increase in the price.
Here, 7000 is the loss in dollars per $/yd due to selling less fabric (f 0 (20) < 0).
But the fact that R0 (20) = 3000 means that:
As the price of fabric per yard increases past $20, the total revenue is increasing at
$3000 per $/yd increase in price.
We conclude from equation (*) that the revenue 10, 000 makes up for the loss 7000 due
to increasing the price.
Additional exercises
Ex. 36 (§3.6—#245). If
what is h0 (0)?
6 8
Ex. 39. (§3.6—#243). Find all points on the graph of the function f (x) = x x
at which
the tangent is horizontal.
Ex. 40 (§3.6—#254). A mass hanging from a vertical spring is in simple harmonic motion as
given by the following position function, where t is measured in seconds and s is in inches:
⇡
s(t) = 3 cos ⇡t + 4
.
Ex. 42 (§3.4—#157). A potato is launched vertically upward with an initial velocity of 100 ft/s
from a potato gun at the top of an 85-foot-tall building. Its height above ground level after t
seconds is given by s(t) = 16t2 + 100t + 85.
(a) Find the velocity of the potato at 0.5 seconds.
(b) Find the velocity of the potato at 5.75 seconds.
(c) Find the speed of the potato at 0.5 seconds.
(d) Find the speed of the potato at 5.75 seconds.
(e) When does the potato reach its maximum height?
(f) What’s the acceleration of the potato at 0.5 s and 1.5 s?
(g) How long is the potato in the air?
Ex. 43 (§3.4, Example 3.36). A particle’s displacement is given by the function s = f (t),
where
f (t) = t3 9t2 + 24t + 4 (t 0).
Here time t is measured in seconds and displacement s is measured in feet.
(a) Find the velocity at time t.
(b) When is the particle at rest?
(c) When is the particle moving in the positive direction (from left to right)? When is the particle
moving in the negative direction (from right to left)?
Ex. 43. A spherical balloon is being inflated. Recall that the surface area of a sphere with radius
r is given by S = 4⇡r3 . Find the rate of increase in the surface area when r is 1 ft, 2 ft, and 3 ft.
What conclusion can you make?
Workbook Lesson 12
§3.8, Implicit Di↵erentiation
Objectives
• Find the derivative of a complicated function by using implicit di↵erentiation.
• Use implicit di↵erentiation to determine the equation of a tangent line.
Implicit di↵erentiation
Consider the following equation of a circle:
x2 + y 2 = 25.
Is y a function of x?
We can, however, solve this equation for y. For each value of x, there are two values of y:
p
y = ± 25 x2 .
x3 + y 3 = 6xy
Now suppose we’re asked to find a tangent line to this curve, say at the point (3, 3). The equation
of the tangent line would be
y 3 = f 0 (3)(x 3).
But we really don’t want to take the derivative of the last equation!
Fortunately, we don’t have to. We’ll assume that y can be solved as one or more (di↵erentiable)
functions of x. Then both sides of the equation can be di↵erentiated. We call this process
implicit di↵erentiation.
Ex. 1. Find the equation of the tangent line to the graph of x3 + y 3 = 6xy at (3, 3),
Solution:
d ⇥ 3 ⇤ d
x + y3 = [6xy]
dx dx
⇥ ⇤
3x2 + 3y 2 y 0 = 6 (1)(y) + (x)(y 0 )
3x2 + 3y 2 y 0 = 6y + 6xy 0
p
Ex. 2. Find the tangent line to x2/3 + y 2/3 = 4 at 3 3, 1 ⇡ ( 5.196, 1) and the tangent line
at (8, 0).
Solution:
p
At the point 3 3, 1 :
2 2
1/3
+ 1/3 y 0 = 0
3x 3y
2 3y 1/3
y0 =
3x1/3 2
y 1/3
y0 =
x1/3
p 1 1 1 1 1
y0 3 3, 1 = p = p = = =p .
( 3 3)1/3 ( 32 · 3)1/3 ( 33/2 )1/3 ( 1)1/3 (33/2 )1/3 3
Tangent line:
1 p
y 1 = p (x + 3 3)
3
1
y = p x+4
3
At the point (8, 0):
01/3
y 0 (8, 0) =
81/3
y 0 = 0(x 8)
y=0
Ex. 3. Show that any tangent line at a point P to a circle with center O is perpendicular to the
radius OP .
Solution:
Let ⌃ be a circle with radius r. For simplicity assume its center is (0, 0). Its equation is
x2 + y 2 = r 2
Let P = (x0 , y0 ) 2 ⌃ (that is, P is a point on the circle). By implicit di↵erentiation,
x
2x + 2yy 0 = 0 =) y0 = ,
y
x0
so the tangent line to the circle at P is y 0 (x0 , y0 ) = . But the slope of the radius is
y0
y0 0
. Since these slopes are each other’s negative reciprocal, the tangent line at P is
x0 0
perpendicular to the radius OP .
b2 x 0
y 0 (x0 , y0 ) =
a2 y 0
y0 y x0 x
The tangent line at (x0 , y0 ) is + 2 =1:
b2 a
b2 x 0
y y0 = (x x0 )
a2 y 0
y0 y y0 2 x0 x x0 2
= + 2
b2 b2 a2 a
y0 y x0 x x0 2 y0 2
+ = + 2
b2 a2 a2 b
y0 y x0 x x0 2 y0 2
+ = + 2 = 1.
b2 a2 a2 b
Additional exercises
dy
Ex. 5 (§3.8—#301, 307, 309). Find .
dx
(a) 6x2 + 3y 2 = 12 (b) y sin(xy) = y 2 + 2 (c) x3 y + xy 3 = 8
Ex. 6. Find y 00 and simplify fully.
sin(y) + cos(x) = 1
Ex. 7 (§3.8—#317). Find the equation of the normal line to the graph of x2 + 2xy 3y 2 = 0
at the point (1, 1).
Ex. 8 (§3.8—#318). Find all points on the graph of y 3 27y = x2 90 at which the tangent
line is vertical.
Ex. 9 (§3.8—#323). The number of cell phones produced when x dollars is spent on labor and
y dollars is spent on capital invested by a manufacturer can be modeled by the equation
Recall:
A function f is one-to-one (or invertible) if di↵erent input values yield di↵erent output
values. In symbols,
x1 6= x2 =) f (x1 ) 6= f (x2 )
� �
1 p
f (x) has no inverse The inverse of g(x) is g (y) = y
1
To construct the graph of f , we reflect the graph of f in the line y = x.
• This reflection has the e↵ect of swapping the roles of x and y.
• That is, for each point a, f (a) on the graph of the original function f (shown in blue
below), we find the “shadow point” f (a), a on the graph of the inverse f 1 (shown in
orange below).
(See applet on iCollege: “Tangent and tangent to inverse”)
�
�
�=
� (�)
�
� � (�)
However, it is more common to use x to denote the input value no matter whether we are talking
about f or f 1 . If we adopt this convention, equation (?) becomes
1 0 1
f x = .
f0 f 1 (x)
1 0 1
f x =
f0 f 1 (x)
provided that
f0 f 1
(x) 6= 0.
1 0
Ex. 1. Find f (1) if f (x) = 2x + cos x.
Solution:
We know f is di↵erentiable. Is f one-to-one?
f 0 (x) = 2 sin x > 0, so f is increasing, so f is one-to-one.
1
Let’s find a = f (1).
1
f (1) = a
1 = f (a)
1 = 2a + cos a
a=0 (by inspection)
1 0 1 1 1 1
f (1) = = = = .
f0 f 1 (1) f 0 (a) 2 sin 0 2
x+2
Ex. 2. Let f (x) = .
x
(a) Find the derivative of f .
(b) Find a formula for f 1 .
(c) Use the Inverse Function Theorem to find the derivative of f 1 .
(d) Find the derivative of f 1 without using the Inverse Function Theorem.
Solution:
x+2 (x)(1) (x + 2)(1) 2
(a) By the Quotient Rule, f 0 (x) = = 2
= 2.
x x x
1
(b) To find a formula for f , we write y = f (x) as follows:
x +2
y=
x
Then we solve for the input x:
xy = x + 2
xy x = 2
(y 1)x = 2
2
x=
y 1
1
Finally, we swap x and y to obtain a formula for f (x), bearing in mind that in this final
equation, x is the output of f :
1 2
f (x) = y = .
x 1
(c) First, let’s check the conditions for the Inverse Function Theorem:
• Since
x+2 1
f (x) = =1+2·
x x
1
is a transformation of the elementary function , we see that f passes the Horizontal
x
Line Test, so f is invertible.
2
• f is di↵erentiable except at x = 0, where f 0 (x) = is undefined.
x2
We can now apply the Inverse Function Theorem:
2 2 ✓ ◆2
1 0 1 1 1 x 1 1 2 2
f x = 0 = 0 2 = 2 = = =
1
f f (x) f x 1 2 x 12 2 2 x 1 (x 1)2
2
(d) We verify our answer to (c) by di↵erentiating f 1 (x) = :
x 1
d 2 (x 1)(0) 2(1)
=
dx x 1 (x 1)2
2
= .
(x 1)2
p
Ex. 3. Let g(x) = 5
x.
1
(a) Find a formula for g and its derivative.
(b) Use the Inverse Function Theorem to find the derivative of g.
Solution:
1 0
(a) g 1 (x) = x5 and g (x) = 5x4 .
(b) Let us write f = g 1 , noting that, since f and g are inverse functions, g = f 1
.
Now
1 0 1
g 0 (x) = f (x) =
f0 f 1 (x)
1
=
g 1 0 g(x)
1
= p
g 1 0 5
x
1
= p 4
5 5x
1
= 4
5 x1/5
1 4/5
= x .
5
p
3
Ex. 4. Let g(x) = x 1.
1
(a) Find a formula for g and its derivative.
(b) Use the Inverse Function Theorem to find the derivative of g.
Derivatives of inverse trigonometric functions
It is clear that the standard six standard trigonometric functions are not one-to-one, and thus do
not have inverses.
y=sinHxL y=cosHxL y=tanHxL
1.0 1.0 6
4
0.5 0.5
2
p p p p p p
-p - p -p - p -p - -2 p
2 -0.5 2 2 -0.5 2 2 2
-4
-1.0 -1.0 -6
p p p p p
- p - -2
2 -0.5 2 -0.5 2 2 2
-4
-1.0 -1.0 -6
The inverses of these restricted functions are called the inverse trigonometric functions. They
are denoted by sin 1 , cos 1 , etc.
y=sin-1 HxL y=cos-1 HxL y=tan-1 HxL
p p
2 2
-1 1 -5 -4 -3 -2 -1 1 2 3 4 5
p
-
2 1
+ We will work only with the most common inverse trigonometric functions: sin 1 , cos 1 , and
1
tan .
The derivatives of inverse trigonometric functions are quite surprising in that their derivatives are
actually algebraic functions.
Ex. 5. We will find a formula for the derivative of g(x) = sin 1 (x).
(a) Write sin 1 (x) = ✓, so that sin(✓) = x, and draw a picture of a right triangle in which ✓ and
sin(✓) are labeled. Then label the remaining sides of the triangle.
0
(b) The derivative of g 1 (x) = sin(x) is g 1 (x) = cos(x). Use the diagram you drew in part (a)
0
to find an algebraic formula for g 1 g(x) .
(c) Use the Inverse Function Theorem to find the derivative of g(x) = sin 1 (x).
Solution:
(a)
opp.
Label one of the non-right angles as ✓. Since sin(✓) = , we will take the length of the
hyp.
hypotenuse to be 1 for simplicity, and label the side opposite ✓ as
x = sin(✓).
Then by the Pythagorean Theorem, the length of the adjacent side satisfies
adj.2 + x2 = 1,
so p
adj. = 1 x2 .
(b)
We have
g(x) = sin 1 (x) = ✓,
so
1 0
g g(x) = cos sin 1 (x) = cos(✓),
adj.
and from the fact that cos(✓) = it follows that
hyp.
0 p
g 1 g(x) = cos(✓) = 1 x2 .
(c)
1
g 0 (x) =
g 1 0 g(x)
1
=p .
1 x2
Ex. 6. Using the same technique as in the previous exercise, show that
d⇥ ⇤ 1
cos 1 (x) = p .
dx 1 x2
We can also find the derivatives of inverse functions by using implicit di↵erentiation.
Ex. 7. Find the derivative of tan 1 (x) without the Inverse Function Theorem.
Solution:
Set
1
✓ = tan x.
Then
tan(✓) = x,
and di↵erentiating the latter equation yields
d⇥ ⇤ d⇥ ⇤
tan(✓) = x
dx dx
d✓
sec2 (✓) · =1
dx
d✓ 1 1 1
= 2
= 2
= .
dx sec (✓) 1 + tan (✓) 1 + x2
3.7 EXERCISES
3.7 EXERCISES
EXERCISES
3.7
For
For the
the following
following exercises,
exercises, use
use the
the graph
graph of
of to
to 263.
263.
For the following exercises, use the graph of to 263.
a.
a. sketch
sketch the
the graph
graph of
of and
and
a. sketch the graph of and
Additional exercises
b. use part a. to estimate
b. use part a. to estimate
b.Ex.use8 part a. to estimate261, 262). Use the graph of y = f (x) to sketch the graph of y = f
(§3.7—#260, 1
(x).
260. 1 0
260. Then use the result to estimate f (1).
260.
(a)
For
For the
the following
following exercises,
exercises, use
use the
the functions
functions
For
find the following exercises, use the functions
find
find
a.
a. at
at and
and
a. at and
b.
b.
261.
261. b.
261.
c.
c. Then
Then use
use part
part b.
b. to
to find
find at
at
(b) c. Then use part b. to find at
264.
264.
264.
265.
265.
265.
266.
266.
266.
267.
267.
267.
For
For each
each of
of the
the following
following functions,
functions, find
find
262.
262. For each of the following functions, find
262.
(c) 268.
268.
268.
269.
269.
269.
270.
270.
270.
271.
271.
271.
272.
272.
272.
273.
273.
273.
For
For each
each of
of the
the given
given functions
functions
For each of the given functions
a. find the slope of the tangent line to its inver
1 0
Ex. 9 (§3.7—#269). Let f (x) = x3 + 2x + 3. Find f (0).
2 1 0
Ex. 10 (§3.7—#271). Let f (x) = x , x < 0. Find f (1).
x
1 0
Ex. 11 (§3.7—#273). Let f (x) = tan(x) + 3x2 . Find f (0).
Workbook Lesson 14
§3.9, Derivatives of Exponential and Logarithmic Functions
Last revised: 2021-02-18 12:45
Objectives
• Di↵erentiate exponential functions.
• Apply Logarithm Laws.
• Di↵erentiate logarithmic functions.
• Use logarithmic di↵erentiation to determine the derivative of a function.
Notation: Write
expb (x) = bx .
Assumption: (we’ll prove this assumption later) For any choice of positive real number b > 0, the
function expb (x) = bx is continuous.
• The function expb (x) = bx is called the exponential function with base b.
• Some authors require b 6= 1 in the definition of an exponential function, because the function
1x is a bit silly—its output is a constant, 1.
• For positive b > 1, the exponential function models exponential growth.
• For positive 0 < b < 1, the exponential function models exponential decay.
5
y = (1/10)x y = 10x
4
3
y = (1/2)x y = 2x
2
y = 1x
1
• The graphs suggest it is reasonable to assume that exponential functions are continuous.
(See applet on iCollege: “Graphs of exponential functions”)
+ Do not confuse the expression 2x with the expression x2 .
50 y = 2x
40
30
20 y = x2
10
-4 -2 2 4 6
However, our textbook doesn’t use this definition. We’ll follow the textbook’s approach and define
the number e informally, as follows.
Let’s consider the tangent line to the exponential function expb (x) = bx at the point (0, 1).
+ Notice that the point (0, 1) is on the graph of every exponential function, no matter what
the base b is, because for any positive number b we have b0 = 1.
3
m ≈ 1.0986
2 m ≈ 0.6931
y = 2x
y = 3x -1 1
-1
-2
-3
When the base is b = 2, the slope of the tangent line (dashed blue) is a little less than 1.
When the base is b = 3, the slope of the tangent line (dashed purple) is a little greater than 1.
It stands to reason that for some value of b between 2 and 3, the slope of the tangent at (0, 1) is
exactly 1.
3
m=1
y = ex
-1 1
-1
-2
-3
We’ll use this informal reasoning to define the number e. Toward the end of this lesson, we’ll revisit
the idea that
n
e = lim 1 + n1 .
n!1
Definition: The number e is the real number such that the tangent line to the exponential function
ex at the point (0, 1) has slope m = 1.
+ When the base is b = e, we omit the base and write
exp(x) = ex .
This definition of the number e only makes sense if we assume the following:
• There’s only one unique number that satisfies our definition of the number e.
• The tangent line at x = 0 exists—that is, the function ex is di↵erentiable at x = 0.
Has our reasoning so far seemed a little shaky? Well, it is. We’re making assumptions without
verifying that they’re true. But, as we said, we will give an alternative definition of e that doesn’t
rely on unproven assumptions toward the end of this lesson.
Definition of the logarithmic functions
Recall:
1
• The inverse of a function f is a function, denoted by f , that “undoes” f .
1
• The fact that f “undoes” f is expressed by the Cancellation Formulas:
1
• The graph of the inverse function f is the mirror image of the graph of f reflected in the
line y = x.
Definition. The logarithmic function with base b, denoted by logb , is the inverse function of
the exponential function expb (x) = bx .
The Cancellation Formulas for an exponential function and its inverse are:
✓ ◆
logb expb (x) = logb bx = x for all real numbers x,
y = 2x y=x
4
(1,2)
2
y = log2 (x)
(0,1) (2,1)
(1,0)
-4 -2 2 4
-2
-4
H1,eL
He,1L
y = lnHxL
H0,1L
H1,0L
-4 -2 2 4
-2
Definition of bx for all real numbers x, and continuity of bx for any b > 0
-4
As mentioned above, you have probably never been taught the precise definition of an exponential
x
expression of the form b for x a real (possibly irrational) number. Let us now do so, using only
(1) the fact that exp(x) = ex and ln(x) = loge (x) are inverse functions, and (2) the rules of
exponents for rational exponents.
Theorem. For b > 0 and rational r,
br = er ln b .
Proof. By the second Cancellation Formula,
b = eln b (b > 0).
Thus
br = (eln b )r (r rational)
= er ln b .
We have just proven
br = er ln b for r rational. (*)
ex ,
is itself:
d ⇥ x⇤
e = ex .
dx
The derivative of the exponential function with any other base is a bit more complicated:
d ⇥ x⇤
b = bx ln(b).
dx
y = ln(x)
ey = x (Cancellation Formula)
d ⇥ y⇤ d⇥ ⇤
e = x
dx dx
dy
ey =1
dx
dy
eln(x) =1 (Substitution: y = ln(x))
dx
dy
x =1 (Cancellation Formula)
dx
dy 1
=
dx x
d ⇥ ⇤ 1
ln(x) =
dx x
We find the derivative of bx similarly:
y = logb (x)
by = x (Cancellation Formula)
d ⇥ y⇤ d⇥ ⇤
b = x
dx dx
dy
by ln(b) =1
dx
dy
blogb (x) ln(b) =1 (Substitution: y = logb (x))
dx
dy
x ln(b) =1 (Cancellation Formula)
dx
dy 1
=
dx x ln(b)
d⇥ ⇤ 1
logb (x) =
dx x ln(b)
To summarize:
d ⇥ x⇤ d⇥ ⇤ 1
e = ex ln(x) = for x > 0
dx dx x
d ⇥ x⇤ d⇥ ⇤ 1
b = bx ln(b) logb (x) = for x > 0
dx dx x ln(b)
(Note that the domain of the logarithmic functions is (0, 1).)
Exercises
x3 +1
Ex. 1. Di↵erentiate y = e .
Solution:
d h x3 +1 i (C.R.) x3 +1 d ⇥ 3 ⇤
e = e · x +1
dx dx
3 +1
= 3x2 ex
d ⇥ 2x ⇤ ⇥ ⇤0
xe = [x]0 e2x + x · e2x
dx
⇥
= e2x + x · e2x 2x]0
= e2x + 2xe2x
d ⇥ ⇤0
[x ln(2x)] = [x]0 ln(2x) + x · ln(2x)
dx
1⇥ 0
= ln(2x) + x · 2x]
2x
1
= ln(2x) + x · · (2)
2x
= ln(2x) + 1
d⇥ ⇤ 1
ln u(x) = · u0 (x)
dx u(x)
Solution:
d⇥ ⇤ 1 d⇥ ⇤ 1
ln u(x) = · u(x) = · u0 (x).
dx u(x) dx u(x)
d x+1
Ex. 6. Compute ln p .
dx x 2
Solution:
We will apply the formula
d⇥ ⇤ 1
ln u(x) = · u0 (x),
dx u(x)
which was proven in the previous exercise.
x+1
u(x) = p .
x 2
d⇥ ⇤
u0 (x) = (x + 1)(x 2) 1/2
dx
d⇥ ⇤ d⇥ ⇤
= (x + 1) · (x 2) 1/2 + (x + 1) · (x 2) 1/2
dx dx
1 3/2 1/2
= (x + 1) · 2
(x 2) + 1 · (x 2)
1
= (x + 1)(x 2) 3/2 + 1 · (x 2) 1/2
.
2
x+1 1
= p +p .
2 (x 2)3 x 2
p
1 x 2
= .
u(x) x+1
y = »x»
We will therefore have to calculate the derivative of |x| for x 6= 0 piecewise.
⇢
x if x 0,
u(x) = |x| =
x if x < 0.
8
< 1 if x 0, x
u0 (x) = undefined if x = 0,
:
1 if x < 0.
8
> 1
>
> if x 0,
>
< x
1
= undefined if x = 0,
u(x) >>
>
: 1
>
if x < 0.
x
The Logarithm Laws will be needed for our next technique, called logarithmic di↵erentiation.
Ex. 9. Rewrite ln(a) + 12 ln(b) as a single logarithm. Cite the Logarithm Law you are using at each
step.
Solution:
(3) p
ln(a) + 12 ln(b) = ln(a) + ln b
(1) p
= ln a b
e as a limit
(1) (2)
Theorem. e = lim (1 + x)1/x = lim (1 + n1 )n .
x!0 n!1
1
Proof. Let f (x) = ln(x). Then f 0 (1) = = 1.
1
f (1 + h) f (1)
1 = f 0 (1) = lim
h!0 h
ln(1 + h) ln(1)
= lim
h!0 h
1
= lim ln(1 + x)
x!0 x
⇥ ⇤1/x
= lim ln(1 + x)
x!0
Now
⇣ ⇥ ⇤1/x ⌘
e = exp(1) = exp lim ln(1 + x)
⇥ x!0 ⇤
= lim exp ln(1 + x)1/x
x!0
= lim (1 + x)1/x ,
x!0
which is (1).
For (2), take n = 1/x. As x ! 0+ , we have n ! 1, so
1 n
lim (1 + x)1/x = lim 1 + n
.
x!0 n!1
Although it would be tedious, we could certainly do this using only the Power, Product, Quotient,
and Chain Rules.
+ The derivative of a function f (x) that only involves products, quotients, and powers (which
p
includes roots n x = x1/n ) can be found using the technique of logarithmic di↵erentiation.
p
dy x3/4 x2 + 1
Ex. 10. Find if y = .
dx (3x + 2)5
(1) Take ln of both sides of the equation y = f (x), and apply the Logarithm Laws.
dy
(2) Find using implicit di↵erentiation.
dx
d d 3 1
ln y = ln x + ln(x2 + 1) 5 ln(3x + 2)
dx dx 4 2
✓ ◆ ✓ ◆ ✓ ◆
1 dy 3 1 1 1 1
= + · 2x 5 ·3
y dx 4 x 2 x2 + 1 3x + 2
✓ ◆
dy 3 x 15
=y +
dx 4x x2 + 1 3x + 2
Ex. 12. Find the equation of the tangent line to the curve
y = x4 + 2ex
y = ln(x)
d ⇥ p ⇤ 1
Ex. 14. Show that ln x + x2 + 1 = p .
dx 2
x +1
y = x1/x (x > 0)
x3 x ln(y) + y 3 = 2x + 5
dy
at the point where x = 2. (Hint: Use implicit di↵erentiation to find .)
dx
2.0
1.5
1.0
0.5
-2 -1 1 2
-0.5
-1.0
Workbook Lesson 15
§4.1, Related Rates
Last revised: 2021-06-03 14:09
Objectives
• Express changing quantities in terms of derivatives.
• Find relationships among the derivatives in a given problem.
• Use the Chain Rule to find the rate of change of one quantity that depends on the rate of change of other
quantities.
Worked example
Ex. 1. Consider a 10 foot ladder that is leaning against a wall. If the bottom of the ladder slides
away from the wall at a rate of 1 ft/sec, how fast is the top of the ladder sliding down the wall
when the bottom of the ladder is 6 ft from the wall?
Recall that the velocity of a object that is moving over time t is given by the formula
d⇥ ⇤
velocity = position function .
dt
So, if y is the distance from the top of the ladder to the ground, then the speed at which the
dy
top of the ladder slides down the wall is .
dt
dx
Similarly, the speed at which the bottom of the ladder slides away from the wall is .
dt
Step 1: Write a Legend. Draw a picture, if applicable.
Legend:
x = distance from bottom of ladder to wall
y = distance from top of ladder to ground
t = time 10 y
dy
= velocity of top of ladder, sliding down wall
dt
dx
= velocity of bottom of ladder, sliding away from wall x
dt
Step 2: Identify the independent variable. Then state, in terms of the variables, the information
that is given and the rate to be determined.
• The independent variable is time t.
dy
• The desired rate of change is .
dt
• The given information is:
length of ladder = 10
dx
= velocity of bottom of ladder = 1
dt
x = distance of bottom of ladder from wall = 6
Step 4: Di↵erentiate both sides of the equation found in Step 3 with respect to the independent
variable.
d⇥ 2 ⇤ d ⇥ 2⇤
x + y2 = 10
dt dt
dx dy
2x + 2y =0 (Chain Rule)
dt dt
Step 5: Substitute all known values from Step 2 into the equation from Step 4, then solve for the
unknown rate of change.
dx dy
2x + 2y =0
dt x=6
dt x=6
dy
2(6)(1) + 2y =0
dt
dy
y = 6
dt
What is y when x = 6? We can use equation (?) to find out:
36 + y 2 = 100
y=8
dy
Now we can solve for the desired rate of change, :
dt
dy
8 = 6
dt
dy 6 3
= =
dt 8 4
3
The top of the ladder is sliding down the wall at a rate of 9 inches (= 4
feet) per second.
An activity is presented in the remainder of this document. It may be done in
groups of students, or on your own.
• On the next page, you’ll find eight exercises. (We’ve already done Ex. 1.)
• For each exercise, write a Legend (and draw a picture, if applicable).
• The subsequent page gives the instructor’s Legends for each problem.
– Do not look at the Legends until you’ve made a real e↵ort to come up
with your own.
– Compare your Legend with the instructor’s Legend.
– It’s okay if they’re not exactly the same—we may use di↵erent words and
variable names to express the same relationships.
• The remainder of this document presents the instructor’s solutions for each
of the exercises.
– Do not look at the instructor’s solution until you’ve made your best e↵ort
at figuring out your own solution.
Additional practice exercises can be found in the Final Exam Review on iCollege
(under Section 4.1).
Related rates—Exercises
Ex. 1. Consider a 10 foot ladder that is leaning against a wall. If the bottom of the ladder slides away
from the wall at a rate of 1 ft/sec, how fast is the top of the ladder sliding down the wall when the bottom
of the ladder is 6 ft from the wall?
Ex. 2. Boyle’s Law states that when a sample of gas is compressed at a constant temperature, the pressure
P and volume V satisfy the equation P V = C, where C is a constant. Suppose that a certain instant
the volume is 600 cm3 , the pressure is 150 kilopascals (kPa), and the pressure is increasing at a rate of
20 kPa/min. At what rate is the volume decreasing at this instant?
Ex. 3. The length of a rectangle is increasing at a rate of 8 cm/s. Its width is increasing at a rate
of 3 cm/s. When the length is 20 cm and the width is 10 cm, how fast is the area of the rectangle
increasing?
Ex. 4. A baseball diamond is a square with side 90 ft. A batter hits the ball and runs toward first base
with a speed of 24 ft/s.
(a) At what rate is his distance to second base decreasing when he is halfway to first base?
(b) At what rate is his distance to third base increasing when he is halfway to first base?
Ex. 5. In an electrical circuit, two resistors with resistances R1 and R2 are connected in parallel as shown.
P = pressure dP
= change in pressure
Ex. 2. dt
V = volume dV
= change in volume
t = time (independent variable) dt
` = length
Ex. 3. w = width
A = area
t = time (independent variable)
R1 = resistance in resistor #1
Ex. 5. R2 = resistance in resistor #2
R = total resistance
t = time (independent variable)
h
x s
Ex. 8.
C: rate at which water is pumped into tank (constant)
V: volume of water in the tank (increasing)
t: time (independent variable)
dV
: rate of change in volume of water in the tank
dt
h = AL : height of water (rising)
r = LM : radius of surface of water (increasing)
6 = AB : height of cone (constant)
2 = BC : radius of cone’s base (constant)
Related rates—Solutions
Ex. 2. Boyle’s Law states that when a sample of gas is compressed at a constant temperature, the
pressure P and volume V satisfy the equation P V = C, where C is a constant. Suppose that a
certain instant the volume is 600 cm3 , the pressure is 150 kilopascals (kPa), and the pressure is
increasing at a rate of 20 kPa/min. At what rate is the volume decreasing at this instant?
P = pressure dP
= change in pressure
Step 1 (Legend): dt
V = volume dV
= change in volume
t = time (independent variable) dt
` = length
Step 1 (Legend): w = width
A = area
t = time (independent variable)
d`
=8
Step 2 (State what’s known and dt
what’s asked for, in terms of the dw
=3
variables): dt
dA
= ? when ` = 20 and w = 10
dt
Step 3 (Equation relating the
A = `w
variables):
dA d
= [`w]
Step 4 (Di↵erentiate with respect to dt dt
the independent variable): dA d` dw
=w +`
dt dt dt
dA d` dw
= 10 + 20 ·
Step 5 (Substitute what’s known and dt `=20 dt `=20 dt `=20
w=10 w=10 w=10
find the rate that was asked for):
dA
= 20(3) + 3(8) = 140
dt `=20
w=10
24
The runner’s distance from second base is decreasing at a rate of p
5
ft/s.
(b) For this part of the problem, we’ll let w = runner’s distance from home plate.
w2 + 902 = z 2
ww0
z0 =
z
p
z w=45 = 45 5
45(24) 24
y 0 w=45 = p =p
45 5 5
24
The runner’s distance from third base is increasing at a rate of p
5
ft/s.
Ex. 5. If two resistors with resistances R1 and R2 are connected in parallel as shown,
R1 = resistance in resistor #1
Legend: R2 = resistance in resistor #2
R = total resistance
t = time (independent variable)
dR1 dR2 dR
We find the relation between R1 , R2 , , , and .
dt dt dt
d ⇥ 1⇤ d ⇥ ⇤
R = R1 1 + R2 1
dt dt
2 dR 2 dR1 2 dR2
R = R1 R2
dt dt dt
dR
Solve for by multiplying both sides in the previous equation by R2 .
dt
✓ ◆
dR 2 1 dR1 1 dR2
=R + 2 (***)
dt R12 dt R2 dt
When R1 = 80 and R2 = 100, the value of R is
1 1 1 9
= + = .
R 80 100 400
Now substitute R1 = 80, R2 = 100, dR1 /dt = 0.3, and dR2 /dt = 0.2 into (***).
✓ ◆2 ✓ ◆
dR 400 1 3 1 2 107
= 2
+ 2
=
dt 9 80 10 100 10 810
107
R is changing at ⇡ 0.132099 ⌦/sec.
810
Ex. 6. A plane flying at a constant speed of 300 km/h passes over a ground radar station at an
altitude of 1 km and climbs at an angle of 30 . At what rate is the distance from the plane to the
radar station increasing one minute later?
Legend:
x = distance traveled by the plane (variable)
y = initial height of plane (constant)
D = distance from plane to radar station (variable)
t = time (independent variable)
D
1 km
D 2 = x2 + y 2 2xy cos ✓
D 2 = x2 + 1 2x 1
2
(y = 1, ✓ = 2⇡/3)
D 2 = x2 + x + 1
By implicit di↵erentiation,
dD dx dx
2D = 2x +
dt dt dt
dD 2x + 1 dx
=
dt 2D dt
After 1 minute,
300 km
x= = 5 km,
60 min
so p p
D = D(5) = 52 + 5 + 1 = 31,
giving
dD 2(5) + 1 3300
= p · 300 = p ⇡ 296.349 km/h .
dt 2 31 2 31
Ex. 7. A sprinter runs away from a tall stadium light. The light is 30 feet from the ground. If
the sprinter is 6 feet tall, and runs at 24 feet per second, at what rate does her shadow grow
longer?
Legend:
H = height of light (constant)
h = height of sprinter (constant)
x = distance from sprinter to base of light (increasing)
H s = length of shadow (increasing)
t = time (independent variable)
h
x s
By similar triangles,
H h h
= .
x s
We solve for s:
h
s= x.
H h
Then
ds h
= x0
dt H h
ds 6
= · 24 = 6 ft/sec .
dt 30 6
Ex. 8. Water is leaking out of an inverted (i.e. upside-down) conical tank at a rate of 10, 000
cm3 /min. At the same time, water is pumped into the tank at a constant rate. The tank has
height 6 m and the diameter at the top is 4 m. When the height of the water is 2 m, the water
level is rising at a rate of 20 cm/min. Find the rate at which water is being pumped into the
tank.
Given the points labeled as shown, we set up the legend.
Legend:
C: rate at which water is pumped into tank (constant)
V: volume of water in the tank (increasing) h = AL : height of water (rising)
t: time (independent variable) r = LM : radius of surface of water (increasing)
6 = AB : height of cone (constant)
dV
: rate of change in volume of water in the tank 2 = BC : radius of cone’s base (constant)
dt
We have
(rate of change in volume of water) = (speed of inflow) (speed of outflow)
that is,
dV
=C 10, 000.
dt
The formula for the volume of a cone tells us
1 1 1
V = (area of base)(height) = ⇡(LM )2 (AL) = ⇡r2 h.
3 3 3
800, 000⇡
Water is being pumped into the tank at a rate of C = 10, 000 + ⇡ 289, 253 cm3 /min.
9
Additional exercises
Ex. 9 (§4.1—#17). The volume of a cube decreases at a rate of 10 m3/s. Find the rate at which
the side of the cube changes when the side of the cube is 2 m.
Ex. 10 (§4.1—#19). Recall that, in general, the surface area of a sphere with radius r is
A = 4⇡r2 .
The radius of a sphere decreases at a rate of 3 m/sec. Find the rate at which the surface area
decreases when the radius is 10 m.
Ex. 13 (§4.1—#11). A 6-foot-tall person walks away from a 10-ft. lamppost at a constant rate
of 3 ft./sec. What is the rate that the tip of the shadow moves away from the pole when the person
is 10 ft. away from the pole?
Ex. 11 (§4.1—#30). A trough has ends shaped like isosceles triangles with width 3 m and height
4 m. The trough is 10 m long. Water is being pumped into the trough at a rate of 5 m3 /min. At
what rate does the height of the water change when the water is 1 m deep?
Ex. 12 (§4.1—#7). Two airplanes are flying in the air at the same height: airplane A is flying
east at 250 mi/h and airplane B is flying north at 300 mi/h. If they are both heading to the same
airport, located 30 miles east of airplane A and 40 miles north of airplane B, at what rate is the
distance between the airplanes changing?
Ex. 14 (§4.1—#37). You are stationary on the ground and are watching a bird fly horizontally
at a rate of 10 m/sec. The bird is located 40 m above your head. How fast does the angle of
elevation change when the horizontal distance between you and the bird is 9 m?
Ex. 14 (§4.1—#39). A lighthouse (L) is on an island 4 mi away from the closest point, P , on the
beach (see image). If the lighthouse light rotates clockwise at a constant rate of 10 revolutions/min,
how fast does the beam of light move across the beach 2 mi away from the closest point on the
beach?
Workbook Lesson 16
§4.2, Linear approximations and di↵erentials
Last revised: 2020-09-29 12:44
Objectives
• Describe the linear approximation to a function at a point.
• Write the linearization of a given function.
• Draw a graph that illustrates the use of di↵erentials to approximate the change in a quantity.
• Calculate the relative error and percentage error in using a di↵erential approximation.
� (�) 1.0
• The linear approximation to a function f (x)
at the point x = a is given by the 0.5
� (�) 1.0
y = f 0 (a)(x a) + f (a)
Let’s rewrite this in function notation, and call it the linear approximation to (or linearization,
or tangent line approximation of) f near a:
L(x) = f 0 (a)(x a) + f (a)
When we say that “the linear approximation is close to f for x near a,” what we are saying is
that
|f (x) L(x)| < "
for all x sufficiently near a.
Ex. 1.
p
(a) Find the linear approximation L(x) to the function f (x) = x near 1.
(That is, find the equation of the tangent line to the graph of f at 1, f (1) and write it in
function notation L(x) = · · · .)
p
(b) Using a calculator to evaluate L(9.1), approximate the value of f (9.1) = 9.1.
You may say, why are we bothering p with this linear approximation stu↵, if in the end we’re just
going to use a calculator to evaluate 9.1?
That’s a fair question. The answer is that, when we are dealing with a complicated function
f , it is often the case that evaluating the linear approximation L is faster, easier, and yields an
approximation that is close enough for practical purposes to the true value.
Here are some examples of situations in which a linear approximation is used instead of an exact
calculation:
• In computer animation, when the position of many moving objects must be evaluated many
times per second (nonlinear functions require faster, more expensive graphics cards and pro-
cessors)
• In engineering, when an irregular shape can be approximated by a flat shape (after all, there
are no perfectly smooth surfaces in the real world)
• In physics, when a theoretical calculation by hand becomes much, much easier if a nonlinear
function is replaced by a linear function (e.g., sin(x) ⇡ x near x = 0)
• In statistics, when a simple description of a general trend is desired (a line is easier to
intuitively understand than a complicated curve)
• In economics, when an observed trend is “jittery” due to frequent fluctuations (think of the
stock market) and a short-term prediction is sought
The di↵erential of a function
CT
Recall: In the following figure, the slope of the orange line is .
AC
5
4 T
2 A C
0
0 1 2 3 4 5
4 T
Dy=CB
3 dy = CT
2 A=Hx,yL C
Dx
1
0
0 1 2 3 4 5
!
The slope of the tangent line AT to f at A = (x, y) is
CT
= f 0 (x).
x
!
Since, near x, the graph of y = f (x) is close to the tangent line AT of f at x, we see that when
x is small, we have
⇣ ⌘ ⇣ ⌘
actual change in y = f (x) = y ⇡ CT = change in height of tangent line of f at x ,
so
y ⇡ f 0 (x) · x. (?)
def
Definition. The di↵erential of the function y = f (x) is: dy = f 0 (x) · x.
+ Since the di↵erential of the function y = x is
dx = 1 · x= x,
we often write the definition of the di↵erential as
dy = f 0 (x) dx.
+ It should be kept in mind that the variable dy depends on (the independent variables) x and
dx. So dy = dy(x, dx), that is, dy is really a function of two variables.
Ex. 2.
• d(sin x) = cos(x) x = cos(x) dx.
• If y = 6x2 + 3, then dy = 12x dx.
• If A(r) = ⇡r2 , then dA = 2⇡r dr.
dy
+ Until this point, we have not regarded the symbol
dx
as a fraction. Now that we have defined
dy
the di↵erential, it is clear that we can think of = f 0 (x) as an ordinary fraction.
dx
Ex. 3. Compute approximately the volume of metal in a hollow spherical shell of thickness 0.05
in., with inside radius 5 in.
Solution. The volume of the metal in the shell is the amount by which the volume of a sphere
increases when its radius changes from 5 to 5.05 in.
Using the formula for the volume of a sphere,
V = 43 ⇡r3 ,
we find that
dV = 4⇡r2 dr.
Since all measurements are prone to some degree of error, we do not know the exact value of a
measured quantity, so we cannot calculate the propagated error exactly.
However, given an estimate of the accuracy of a measurement, we can use di↵erentials to approx-
imate the propagated error y. Specifically, if f is di↵erentiable at a, then the propagated error
is
y ⇡ dy = f 0 (a) dx.
We do not know what a is—we only know the measured value a + dx. However, provided that
a + dx ⇡ a (that is, the measurement error dx is small), we have
y ⇡ dy ⇡ f 0 (a + dx) dx.
Ex. 5. Suppose the side length of a cube is measured to be 5 cm with an accuracy of 0.1 cm.
(a) Use di↵erentials to estimate the error in the computed volume of the cube.
(b) Compute the volume of the cube if the side length is 4.9 cm to compare the estimated error
with the actual potential error.
Relative error and percentage error
The measurement error dx = x and the propagated error y are absolute errors. We are
typically interested in the size of an error relative to the size of the quantity being measured or
calculated.
q
In general, if a measured quantity q has an absolute error q, we define the relative error as ,
q
where q is the quantity’s true value.
The percentage error is the relative error expressed as a percentage.
• For example, if we measure the height of a ladder to be 63 in. when the actual height is 62
in., the absolute error is 63 62 = 1 in., but the relative error is
1
= 0.016,
62
or 1.6%.
• By comparison, if we measure the width of a piece of cardboard to be 8.25 in. when the
1
actual width is 8 in., our absolute error is in., whereas the relative error is
4
1
0.258 = ,
32
or 3.1%.
• Therefore, the percentage error in the measurement of the cardboard is larger, even though
0.25 in. is less than 1 in.
Ex. 6. An astronaut using a camera measures the radius of Earth as 4000 mi with an error of ±80
mi. Use di↵erentials to estimate the relative and percentage error of using this radius measurement
to calculate the volume of Earth, assuming the planet is a perfect sphere.
Solution:
If the measurement of the radius is accurate to within ±80, we have
80 dr 80.
We know from a previous exercise that the di↵erential of the volume V of a sphere is
dV = 4⇡r2 dr.
Using the measured radius of 4000 mi, we can estimate bounds on the propagated error dV :
Additional exercises
1
Ex. 7 (§4.2—#51). Find the linear approximation L(x) to f (x) = at a = 2.
x
Ex. 9 (§4.2—#55). Find the linear approximation L(x) of f (x) = sin2 (x) at a = 0.
Ex. 10 (§4.2—#69, 71). Find the di↵erential of the function.
(a) y = cos(x) x2 + 2
(b) y =
x 1
1
Ex. 12 (§4.2—#73). Find the di↵erential of y = and evaluate at x = 1 and dx = 0.25.
x+1
Ex. 13 (§4.2—#79). Find the change in volume, dV , if the sides of a cube change from x to
x + dx.
Ex. 14 (§4.2—#81). Find the change in volume, dV , if the radius of a sphere changes from r
to r + dr.
Ex. 15 (§4.2—#84). A spherical ball is measured to have a radius of 5mm, with a possible
measurement error of 0.1mm. Use di↵erentials to estimate the maximum possible error, relative
error, and percentage error in computing the volume of the ball.
Ex. 16 (§4.2—#85). A pool has a rectangular base of 10 ft by 20 ft and a depth of 6 ft. What
is the change in volume if you only fill it up to 5.5 ft?
Workbook Lesson 17
§4.3, Maxima and Minima
Last revised: 2021-03-02 11:34
Objectives
• Define absolute extrema and local extrema.
• Explain how to find the critical points of a function over a closed interval.
• Describe how to use critical points to locate absolute extrema over a closed interval.
Extreme values
Absolute max
Local max
Local min
Absolute min
3.0
2.5
2.0
1.5
1.0
0.5
-4 -2 2 4
-0.5
Let y = f (x) be a function. Let c be a number in the domain of f . The value f (c) is
The global and local maxima and minima are the extreme values (or extrema) of f .
Note: The conditions in (3) and (4) are sometimes stated “. . . for all x in the domain of f near c,’
or “for all x in an interval containing c.” (See Lesson 2.5, first Objective.)
Fact. Every global maximum of f is also a local maximum of f .
+ Note the di↵erence between an extreme value (output of a function—say, f (c)) and the input
value (say, c) that corresponds to that value.
Ex. 1. What are the extreme values (that is, the global and local maxima and minima) of these
functions?
• h(x) = 3(x 2)2 + 1
• f (x) = cos(x)
• g(x) = 4/x
• j(x) = 0
The Extreme Value Theorem, Fermat’s Theorem, and critical numbers
Extreme Value Theorem (EVT). If f is a function that is continuous on [a, b] for some a < b,
then
• for some c 2 [a, b], f (c) is a global maximum of f on [a, b], and
• for some d 2 [a, b], f (d) is a global minimum of f on [a, b].
Ex. 2. The function y = g(x) pictured is continuous on its domain, but does not have a global
maximum. Why doesn’t this contradict the EVT?
Scratchwork:
-1 2
Commentary: If we restrict this function so that its domain is [ 1, 1], the restricted version of g
does have a global maximum, namely g(1) (since g is increasing).
Ex. 3. Define
1+x
f (x) =
, 5 x 5.
1 + x2
The notation “. . . , 5 x 5” means f is a function with domain [ 5, 5].
Prove that there exists a number c in the interval [ 5, 5] such that f has a global maximum f (c)
on [ 5, 5] by verifying the hypotheses of the EVT.
Solution:
The Extreme Value Theorem applies, because f is continuous on [ 5, 5]. Justification:
1+x
• is a rational function, so it is continuous at every point in its domain.
1 + x2
• Every number in [ 5, 5] is in the domain of f .
By EVT, there exists a number c in the interval [ 5, 5] such that f (c) is an global maximum of f
on [ 5, 5].
(There’s a d in the domain of f such that f (d) is a global minimum, too.)
Fermat’s Theorem. If f (c) is a local maximum or local minimum value of f , and f 0 (c) exists,
then f 0 (c) = 0.
Definition. A critical number (or critical point in the domain) of a function f is a number c
in the domain of f such that
(i) f 0 (c) does not exist, or
(ii) f 0 (c) = 0.
Solution:
f is di↵erentiable everywhere, so we only need to check (ii) in the definition of a critical number.
f (x) = x5 16x3
f 0 (x) = 5x4 48x2 = x2 (5x2 48)
Set f 0 (x) = 0:
x2 (5x2 48) = 0
q q
48
has solutions x = 0 and x = ± 5 = ±4 35 .
q
3
Answer: The critical numbers of f are 0 and ±4 5
.
Question: Fermat’s Theorem says
hold?
Answer: No. In the previous exercise (graph shown below), f (0) = 0 is not an extreme value, but
c = 0 is a critical number.
f (x) = x3 (x 4)(x + 4)
3 3
-4 4
5 5
+ Can you think of another function f such that f 0 (c) = 0 for some number c in its domain,
but f (c) is not an extreme value of f ?
3x2 + 12x 15 = 0
2
x + 4x 5=0
(x + 5)(x 1) = 0
x= 5 or x = 1
5, 1
⇡
Ex. 6. Find all critical numbers of f (x) = x 2 cos x ( 2
x 0).
Solution:
f 0 (x) = 1 + 2 sin x
Solve f 0 (x) = 0:
1 + 2 sin x = 0
1
sin x =
2
1.0
1.0
0.5
0.5
-0.5
-0.5
-pê6
-1.0 -1.0
⇡
6
p 1
Ex. 7. Find all critical numbers of h(p) = .
p2 + 4
Solution:
(p2 + 4)(1) (p 1)(2p) p2 + 2p + 4
h0 (p) = =
(p2 + 4)2 (p2 + 4)2
Solve h0 (p) = 0:
p2 + 2p + 4
=0
(p2 + 4)2
p2 + 2p + 4 = 0
p p p
2± 22 4( 1)(4)
p= 2( 1) = 1 ± 12 20 = 1 ± 5
p
1± 5
Notice that in the previous three exercises, the instructions were the same—“find the critical
numbers”—but the methods used to actually do this were entirely di↵erent. (Factoring in Exercise
5, graphing in Exercise 6, and the Quadratic Formula in Exercise 7.)
• Get used to this. In calculus and later classes, the techniques we’ve learned are tools in our
toolbox: we are asked to solve problems using any tool we can, not to mechanically run
through the same step-by-step procedure over and over like robots.
4
F 0 (x) = x 1/5 (x 4)2 + 2x4/5 (x 4)
5
1
= x 1/5 (x 4) 4(x 4) + 10x
5
1
= x 1/5 (x 4)(14x 16)
5
2
= p (x 4)(7x 8)
55x
Solve F 0 (x) = 0:
2 8
p (x 4)(7x 8) = 0 x = 4 or x =
55x 7
0, 87 , 4
Finding global extreme values with the Closed Interval Theorem
Closed Interval Theorem. To find the global maximum and global minimum values of a contin-
uous function f on a closed interval [a, b]:
1. Find f (c) for all critical numbers c in the domain of [a, b].
2. Find f (a) and f (b).
3. The largest (smallest) of the numbers you found is the global maximum (minimum).
f (1) = 1 3+1= 1
Critical points:
f (0) = 1
Global minimum value: 1
Global maximum value: 1
-2 -1 1 2
-1
-2
x
Ex. 10. Find all absolute maxima and minima of f (x) = on [0, 3].
x2 x+1
Solution:
⇥ ⇤
1 0
f 0 (x) = x(x2 x + 1)
f 0 (x) = (x2 x + 1) 1
x(x2 x + 1) 2
(2x 1)
1 2x2 x
f 0 (x) =
x2 x+1 (x2 x + 1)2
1 2x2 x
=0
x2 x+1 (x2 x + 1)2
x2 + 1
=0
(x2 x + 1)2
x = ±1
f (0) = 0
f (1) = 1
f (3) = 37
Ex. 11. Find all absolute maxima and minima of f (x) = (x2 1)3 on [ 1, 2].
Solution:
f 0 (x) = 3(x2 1)2 (2x) = 0
x = 0 or x = ±1
f ( 1) = 0
f (0) = 1
f (1) = 0
f (2) = 27
Ex. 12. The graph of a function is shown. State the absolute and local maximum and minimum
values of the function.
y
9
8
7
6
5
4
3
2
1
x
1 2 3 4 5 6 7 8 9
Ex. 13 (§4.3—#107). Sketch the graph of a function that is continuous on [ 4, 4] with absolute
maximum values at x = 2 and x = 3, a local minimum value at x = 1, and an absolute minimum
value at x = 4.
Ex. 16 (§4.3—#109, 111, 113, 115, 116, 117). Find the critical numbers of the function.
p p
(a) f (x) = 4 x x2 (c) f (x) = 4 x2 (e) f (x) = sin2 (x)
x2 1 1
(b) f (x) = ln(x 2) (d) f (x) = (f) f (x) = x +
x2 + 2x 3 x
Ex. 17 (§4.3—#90). Recall: the maximum or minimum value of a quadratic function f (x) =
B
Ax2 + Bx + C is given by the formula f 2A
. Prove this formula using calculus.
Ex. 18 (§4.3—#119, 121, 123, 127, 129, 133). Find the local and absolute maximum values
and the local and absolute minimum values of the function over the given interval.
2 (d) f (x) = sin(x) + cos(x) over [0, 2⇡]
(a) f (x) = x2 + over [1, 4]
x
1 (e) f (t) = x2 + 4x + 5 over ( 1, 1)
(b) f (x) = over (0, 1)
x x2
x2 + x + 6
(c) f (x) = x + sin(x) over [0, 2⇡] (f) f (t) = over ( 1, 1)
x 1
Ex. 19 (§4.3—#135, 139). Technology required. Use a graph to estimate the absolute maximum
and minimum values of the function. Then use calculus to find the exact maximum and minimum
values.
p
p 4 x2
(a) f (x) = 3x 1 x 2 (b) f (x) = p
4 + x2
Ex. 20 (§4.3—#141). A ball is thrown into the air and its height (in meters) is given by
Objectives
• Explain the conclusion of Rolle’s Theorem in plain English.
• Explain the conclusion of the Mean Value Theorem in plain English.
• Explain three consequences of the Mean Value Theorem (Corollaries 1–3 below).
Rolle’s Theorem
Rolle’s Theorem. Let f be a function. There is some number c in the interval (a, b) such that
f 0 (c) = 0 if:
• f is continuous on [a, b],
• f is di↵erentiable on (a, b), and
• f (a) = f (b).
- -
Case 3. f (x) < f (a) for some x in the interval (a, b).
(Similar to Case 2)
EVT =) there exists a number c in the interval [a, b] such that f (c) is a local min.
f (b) = f (a) =) a 6= c 6= b.
Fermat =) f 0 (c) = 0. ⇤
Ex. 1. Show that x3 + x 1 = 0 has exactly one (real) root.
Solution:
Claim: f (x) = x3 + x 1 has at least one root.
f (0) = 0 + 0 1= 1<0
f (1) = 1 + 1 1=1>0
Mean Value Theorem on a pedestrian bridge across East Zhushikou Avenue in Beijing
Mean Value Theorem. If f is di↵erentiable on (a, b) and f is continuous on [a, b], then there is
a number c in the interval (a, b) such that
f (b) f (a) = f 0 (c) · (b a). (*)
Note that (*) can be rewritten
f (b) f (a)
= f 0 (c).
b a
According to the Mean Value Theorem, these two slopes are equal
for some choice of c between a and b.
The Mean Value Theorem (and its special case, Rolle’s Theorem) just says there exists some c
between a and b.
Like some other theorems we have seen, the Mean Value Theorem does not tell you what the value
of c is. (Recall:) We call such a theorem an existence theorem.
Ex. 2. Suppose f is a di↵erentiable function such that f (0) = 3 and f 0 (x) 5 for all values
of x. Use the Mean Value Theorem to find an upper bound on f (2).
f di↵erentiable on (0, 1) X
The MVT applies:
f continuous on [0, 1] X
By MVT, there is some c 2 (0, 2) s.t.
f (2) f (0) = f 0 (c)(2 0)
f (2) + 3 = 2f 0 (c)
f (2) + 3 = 2f 0 (c) 10 since f 0 (c) 5
f (2) 7
f (2) 7.
Ex. 3. Find a number c that satisfies the conclusion of the Mean Value Theorem for f (x) =
x3 3x + 2 on the interval [ 2, 2].
f di↵erentiable on ( 2, 2) X
The MVT applies:
f continuous on [ 2, 2] X
Use MVT:
f (2) f ( 2) = f 0 (c)(2 ( 2)) (by MVT)
4 = (8 2 + 2) ( 8 + 6 + 2) = 4f 0 (c)
f 0 (c) = 1
Now we know the value of the f 0 of c. But what’s the value of c? We can solve for it:
f 0 (x) = 3x2 3 (get a formula for f 0 . . . )
1 = f 0 (c) = 3c2 3 (. . . then plug in c, and use the fact that f 0 (c) = 1)
4 = 3c2
r
4
c=±
3
r
4
Both of ± are in [ 2, 2].
3
r
4
c=± .
3
Ex. 4. Before reading the proof to follow, explain why the following corollary to the Mean Value
Theorem is true.
Corollary 1. If f 0 (x) = 0 for all x in the interval (a, b), then f is constant on (a, b).
Proof:
For any x1 , x2 in the interval (a, b) such that x1 < x2 , by the Mean Value Theorem, there is
some c in the interval (x1 , x2 ) such that
Ex. 5. Complete the proof of the following corollary to the Mean Value Theorem.
Corollary 2. Suppose f and g are each di↵erentiable over an interval (a, b).
If f 0 (x) = g 0 (x) for all x in the interval (a, b), then there exists some constant
C such that f (x) = g(x) + C for every x in (a, b).
Proof:
Let h(x) = f (x) g(x). Then
h0 (x) =
.
Why?
1
Ex. 7. On what interval(s) is f (x) = increasing? On what interval(s) is it decreasing?
x
Since f is di↵erentiable on the interval (a, b) and continuous on [a, b], by the Mean Value Theorem
there exists a number c in (a, b) such that
f (b) f (a)
f 0 (c) = .
b a
Ex. 6.
(a) Complete the statement of the theorem.
Mean Value Theorem. There is a number c in the interval
(a, b) such that
if:
• f is on (a, b), and
• f is on [a, b].
(b) Suppose f is a di↵erentiable function such that f (0) = 3 and f 0 (x) 5 for all values of x.
Use the Mean Value Theorem to find the largest possible value for f (2).
(c) Find a number c that satisfies the conclusion of the Mean Value Theorem for g(x) = x3 3x+2
on the interval [ 2, 2].
Sample answer:
See Ex. 2 and Ex. 3 above.
Ex. 7.
Fermat’s Theorem. If f (c) is a local maximum or local mini-
mum value of f , and f 0 (c) exists, then f 0 (c) = 0.
Sample answer:
Line (4) is incorrect. The statement “if f 0 (c) = 0, then f (c) is a local min. or max.” is false.
Ex. 8.
Extreme Value Theorem (EVT). Suppose a < b. If f is a function that is
continuous on [a, b], then
• for some c in the interval [a, b], f (c) is a global maximum of f on [a, b]
• for some d in the interval [a, b], f (d) is a global minimum of f on [a, b]
Why can’t the Extreme Value Theorem be applied to find a global maximum of the Heaviside
function ⇢
1 if x 0
H(x) =
0 if x < 0
on the interval [ 1, 1]?
Sample answer:
The Extreme Value Theorem does not apply to the function H(x) on the interval [ 1, 1]
because H is not continuous on [ 1, 1].
+ Note that the Extreme Value Theorem will not be reprinted on exams or quizzes.
Ex. 9.
Use the Extreme Value Theorem to find the global maximum and minimum values of
f (x) = x3 3x2 + 1 ( 1
2
x 1).
Ex. 10.
Prove that f (x) = x3 + x 1 has at least one root by following these steps.
(a) Find f (0) and f (1).
(b) What Theorem guarantees that there is some number x0 in the interval (0, 1) such that
f (x0 ) = 0?
(c) What facts must be known for the Theorem to apply?
Sample answer:
(a) f (0) = 1 and f (1) = 1
(b) Intermediate Value Theorem
(c) f is continuous, f (0) < 0, and f (1) > 0.
Ex. 11.
Rolle’s Theorem. Let f be a function. There is some number
c in the interval (a, b) such that f 0 (c) = 0 if:
• f is continuous on [a, b],
• f is di↵erentiable on (a, b), and
• f (a) = f (b).
Assume that the function
f (x) = x3 + x 1
has at least two roots a and b: that is,
f (a) = 0 = f (b).
Sample answer:
(b)
f 0 (x) = 0
3x2 + 1 = 0
1
x2 =
3
The equation has no solutions because x2 cannot be negative.
Additional exercises
Ex. 12. The graph of a function f is shown. Verify that f satisfies the three hypotheses of Rolle’s
Theorem on the interval [0, 8]. Then estimate the value(s) of c that satisfy the conclusion of Rolle’s
Theorem on that interval.
y= f (x)
6
5
4
3
2
1
x
1 2 3 4 5 6 7 8 9
(a) Verify that g satisfies the hypotheses of the Mean Value Theorem on the interval [0, 9].
(b) Estimate the value(s) of c that satisfy the conclusion of the Mean Value Theorem on the
interval [0, 8].
(c) Estimate the value(s) of c that satisfy the conclusion of the Mean Value Theorem on the
interval [2, 7].
Ex. 14 (§4.4—#149).
• In order to be applied to a function f , the Mean Value Theorem requires that f must be
di↵erentiable on an interval (a, b).
• Prove that di↵erentiability is needed by drawing a counterexample of a function f with
domain [ 2, 2] on the blank coordinate system provided below.
• (That is, draw the graph of a function f which is not di↵erentiable on ( 2, 2) and which
does not satisfy the conclusion of the Mean Value Theorem for any number c such that
2 < c < 2.)
y= f (x)
x
-2 -1 1 2
Workbook Lesson 19
§4.5, Derivatives and the Shape of a Graph
Last revised: 2020-09-29 12:44
Objectives
• Explain how the sign of the first derivative a↵ects the shape of a function’s graph.
• Use the Increasing/Decreasing Test to determine intervals of increase/decrease.
• State the First Derivative Test for critical points.
• Use concavity and inflection points to explain how the sign of the second derivative a↵ects the shape of a
function’s graph.
• Explain the concavity test for a function over an open interval.
• Explain the relationship between a function and its first and second derivatives.
• State the Second Derivative Test for local extrema.
Motivation
We can graph a function using calculators, computers, and even our phones. But we still teach
how to graph in calculus class. Why?
Consider the following graph of the function y = x6 + 4x5 3x 1.
7000
6000
5000
4000
3000
2000
1000
-4 -2 2 4
How many local maxima and minima are there? It looks like there’s just one, f ( 3.329 . . . ) =
265.354 . . . .
However, the tools of calculus tell us there must be two more.
Now look at this graph (top of next page):
4
-2
-4
-6
This is the same function, plotted on a di↵erent range of x-values. We see two more extreme
values—a local maximum f ( 0.657 . . . ) ⇡ 0.561 . . . and a local minimum f (0.597 . . . ) = 2.442 . . . .
We use calculus to ensure that we are not misled by technology. As we see in this example, a
graphing calculator can easily cause us to miss important features of the graph.
-1 0 2
- + - +
-1 0 2
Ex. 3. Suppose the derivative of a function f is f 0 (x) = (x 3)2 (x + 1)4 (x 7)5 . On what
intervals is f increasing? Decreasing?
(x3)2 (x + 1)4
Ex. 4. Suppose the derivative of a function f is f 0 (x) = . On what intervals is f
(x 7)5
increasing? Decreasing? Can [3, 7] be one of the intervals of increase/decrease?
The First Derivative Test
Recall: for di↵erentiable f ,
⇥ ⇤ (Fermat) ⇥ ⇤
f (c) is a local max or min value =)⇠
c is a critical number of f
⇠
(=
Given a critical number c, we want a test that tells us whether or not f (c) is a local max or
min.
Ex. 5. Find the local maximum and local minimum values of f (x) = 3x4 4x3 12x2 + 5.
Solution:
f 0 (x) = 0: When x = 0, x = 2, or x = 1
f 0 (x) is undefined: Never
Critical numbers on the number line:
- + - +
-1 0 2
local local local
min max min
f ( 1) = 0
Local max values: 5
f (0) = 5
Local min values: 0, 27
f (2) = 27
Ex. 6. Find the local maximum and local minimum values of
Solution:
The derivative
g 0 (x) = 1 + cos x
exists everywhere, so the only critical numbers c are those such that g 0 (c) = 0:
g 0 (x) = 0
1 + 2 cos x = 0
1
cos x =
2
2⇡ 4⇡
x= ,
3 3
2⇡ 4⇡
Critical numbers: ,
3 3
The fastest and simplest way to determine the sign chart is by looking at the graph of g 0 (x),
which we can quickly sketch without tech based on what we know about the cos function:
Graph of y = g 0 (x):
3
2p 4p
p 2p
3 3
-1
+ - +
2p 4p
3 3
local local
max min
Definition: If the graph of f lies above (below) all its tangents on an interval I, it is said to be
concave up (down) on I.
6 6
5 5
4 4
3 3
2 2
1 1
0 1 2 3 4 0 1 2 3 4
Ex. 7. Sketch the graph of a function f satisfying all of the following conditions:
(i) f 0 (x) > 0 on ( 1, 1); f 0 (x) < 0 on (1, 1)
(ii) f 00 (x) > 0 on ( 1, 2) and (2, 1); f 00 (x) < 0 on ( 2, 2)
(iii) lim f (x) = 2; lim f (x) = 0
x! 1 x!1
For example, part (a) is true because the tangent at c is horizontal, and the concavity is up.
Critical numbers:
f 0 is defined at all x in R.
f 0 (x) = 0 at x = 0 and x = 3.
40
30
20
10
-2 -1 1 2 3 4
-10
-20
Additional exercises
x
-2 -1 1 2
x
-2 -1 1 2
is increasing or decreasing, and list all local minimum values and all local maximum values of f .
(4.4) Inc./Dec. Test f continuous on [a, b] If f 0 (x) > 0 for all x in (a, b), then f is increasing on [a, b].
f di↵erentiable on (a, b) If f 0 (x) < 0 for all x in (a, b), then f is decreasing on [a, b].
(4.5) 1st Deriv. Test c critical number of f If f 0 changes sign at c from + to , then f (c) is a local max value.
f continuous on [a, b] If f0 changes sign at c from to +, then f (c) is a local min value.
f 0 changes sign at c If f 0 does not change sign at c, then f (c) is not a local min or max value.
(4.5) Concavity Test f twice di↵erentiable on I, If f 00 (x) < 0 for all x in I, then the graph of f is concave up on I.
where I is an interval
If f 00 (x) < 0 for all x in I, then the graph of f is concave down on I.
(4.5) 2nd Deriv. Test f 00 continuous on an interval If f 0 (c) = 0 and f 00 (c) > 0, then f (c) is a local max value.
that contains c
If f 0 (c) = 0 and f 00 (c) < 0, then f (c) is a local min value.
Workbook Lesson 20
§4.6, Limits at Infinity, Asymptotes, and Curve Sketching
Last revised: 2021-03-09 07:44
Objectives
• Calculate the limit of a function as x increases or decreases without bound.
• Recognize a horizontal asymptote on the graph of a function.
• Estimate the end behavior of a function as x increases or decreases without bound.
• Analyze a function and its derivatives to draw its graph.
Limits at infinity
k_12297_ch01_ptg01_hr_052-061 1/17/12 1:46
In the previous examples, wePM
sawPage
the 59
output of a function growing arbitrarily “large” (that is,
toward positive or negativeLicensed to:Now we look at limits where the input approaches ±1.
infinity).
x2 1
Ex. 1. What value does f (x) = approach as we take x ! 1? As we take x ! 1? SECTION
x2 + 1
Let’s begin by investigating the behavior of
x f !x"
SECTION 1.6 LIMITS INVOLVING INFINITY 59 x ! 2
0 !1
f !x" ! 2
&1 0 x "
Let’s begin by investigating the behavior
&2 0.600000
of the function f defined by
f !x" &3 0.800000 as x becomes large. The table at the left gives
&4 0.882353 decimal places, and the graph of f has been dr
1 x2 ! 1
!x" ! 20.923077
f&5
0 &10 "1
x 0.980198 y
0.600000 &50 0.999200 y
0.800000 as x becomes large. The table at &100
the left gives values of this function correct to six
0.999800
0.882353 decimal places, and the graph of&1000
f has been drawn
0.999998by a computer in Figure 7.
0.923077 0 1
0.980198 y
0.999200 y=1 FIGURE 7
0.999800
0.999998 As x grows larger and larger you can see tha
0 er to 1. In fact, it seems
x that we can make the
1 ≈-1 by taking x sufficiently large. This situation is
y=
≈+1
FIGURE 7 x2 ! 1
lim 2
x l# x " 1
As x grows larger and larger you can see that the values of f !x" get closer and clos-
er to 1. In fact, it seems that we can make the values of f !x" asInclose
general, we use
as we likethe
to notation
1
by taking x sufficiently large. This situation is expressed symbolically by writing lim f !x" !
x l#
lim f (x) = L
x!1
means that for any E > 0, there is a number M such that |f (x) L| < E whenever x > M .
The statement
lim f (x) = L
x! 1
is defined similarly.
1
Ex. 2. Show that lim = 0, using the definition of a limit at infinity.
x!1 x
1
0 <E
x
1
Ex. 3. By looking at the graph of f (x) = sin(x), we make the guess that lim f (x) = 0. Can
x x!1
you justify this guess without referring to the graph? (Justification given on next page.)
1
y= sinHxL
x
1.0
0.8
0.6
0.4
0.2
0.0 x
20 40 60 80
-0.2
-0.4
Justification:
Since sin(x) is always between 1 and 1, that is,
1 sin(x) 1,
we know
1 1 1
sin(x) (x > 0).
x x x
1 1
But we know that ! 0 as x ! 1. Similarly, ! 0 as x ! 1.
x x
1 1
As x ! 1, the value of sin(x) must approach 0 because it is “squeezed” between
x x
1
and , each of which approach 0.
x
(If we had to, we could make this argument into a careful formal proof.)
Solution:
As x ! 1, the value of sin(x) oscillates between 1 and 1 infinitely often. Therefore, the
limit does not exist: no number M is as required in the definition of a limit at infinity.
p p
Except for the laws lim xn = an and lim n x = n a, the Limit Laws are valid for limits as x ! ±1.
x!a x!a
1
Ex. 5. Let n be a positive integer. Taking it as known that ! 0 as x ! ±1, use the Limit
x
Laws to justify the following facts.
1 1
lim = 0, lim = 0.
x!1 xn x! 1 xn
3x2 x 2
Ex. 6. Find lim . (Use the Limit Laws.)
x!1 5x2 + 4x + 1
To find the limit of any rational function as x ! ±1, start by dividing numerator and
denominator by the largest power of x appearing in the denominator.
Solution:
3x2 x 2
1 2
3x2 x 2 x2 3 x x2
lim 2 = lim = lim
x!1 5x + 4x + 1 x!1 5x2 + 4x + 1 x!1 5 + 4
x
+ 1
x2
x2 1 2
lim 3 x x2
x!1
= 4 1
lim 5 + x
+ x2
x!1
3 0 0 3
= = .
5+0+0 5
x5 1
Ex. 7. Find lim . (Use the Limit Laws.)
x!1 x3 + 1
x5 1 1 x!1
x5 1 x3
x2 x3
!1
lim 3 = lim x3 +1
= lim 1 x!1
x!1 x + 1 x!1 x!1 1+ !1
x3 x3
= 1.
p
t tt
Ex. 8. Find lim 3/2 .
t!1 2t + 3t 5
Solution:
lim x2 x = lim x(x 1) = 1
x!1 x!1
Before we tackle the above Exercise, let’s review some vocabulary and facts about functions’
behavior.
• To sketch the graph of a p-periodic function, just sketch the graph an interval of length p,
then repeat it.
• If f is periodic with period p, then the period of the function
f (Ax)
for a constant A 6= 0 is p
.
|A|
2⇡
Ex. 12. Period of cos( x5 ): = 10⇡.
|1/5|
⇡
Ex. 13. Period of tan( 2x) + 1: = ⇡2 .
| 2|
Ex. 14. What is the period of cot(1 x)?
x2 6x + 9
Ex. 17. What are the vertical asymptotes, if any, of g(x) = ?
x 3
There are none, because limx!a g(x) = limx!a x 3 is a number for any a 2 R—even
for a = 3.
• To find the vertical asymptotes of a rational function, set the denominator equal to 0 after
canceling any common factors.
⇡
Ex. 18. Show that x = is an asymptote of y = tan x by using the definition.
2
The 8-step process for sketching a curve
A. Find domain
B. Find x- and y-intercepts
C. Determine symmetry (even/odd, periodic)
D. Find any vertical or horizontal asymptotes
E. Find intervals where function is increasing, intervals where it is decreasing
F. Identify any local maxima and local minima
G. Determine intervals where function is concave up, intervals where it is concave down, and
identify any inflection points
H. Sketch the curve
2x2
Ex. 19. Sketch the graph of f (x) = by hand.
x2 1
A. Domain
{x | x 6= ±1}
B. Intercepts
(0, 0)
C. Symmetry
Even:
We test whether or not f ( x) = f (x):
2( x)2 2x2 X
f ( x) = = = f (x)
( x)2 1 x2 1
X f is even.
Odd:
f is even and f (x) 6⌘ 0, so f is not odd.
Periodic:
f is not periodic.
D. Asymptotes
HA:
2
lim f (x) = lim 1 =2
x!1 x!1 1 x2
y=2
VA:
Noting that
• f is a rational function and
• f has no common factors in numerator and denominator,
we set the denominator equal to 0 to find two vertical asymptotes x = ±1 .
E. Increasing/decreasing
Start by finding a formula for f 0 (x):
4x
f 0 (x) =
(x2 1)2
By the Increasing/Decreasing Test (§3.3), f is increasing on an interval I if, and only
if, f 0 (x) > 0 for all x 2 I.
f 0 (x) > 0
4x
() >0
(x2 1)2
() 4x > 0 (x2 1)2 is always positive
() x < 0 Dividing by 4 reverses the inequality symbol
(Recall that the symbol () means “if, and only if,” or that two statements are “logically
equivalent,” i.e. both true or both false. We often don’t write this symbol, but when
we solve an inequality or an equation, it is silently implied between each step.)
Thus
f 0 (x) > 0 () x < 0.
This means
• f is increasing on the interval {x | x < 0}.
• f is decreasing on the interval {x | x > 0}.
F. Local max/min
f 0 (x) = 0 if, and only if, x = 0.
By the 1st Derivative Test (§3.3), f (0) = 0 is a local max.
12x2 + 4
f 00 (x) = >0
(x2 1)3
() (x2 1)3 > 0 12x2 + 4 is always positive
() |x| > 1
Thus
f 00 (x) > 0 () |x| > 1.
By the Concavity Test (§3.3), this means
• f is concave up on the intervals {x | x > 1} and {x | x < 1}.
• f is concave down on the interval {x | 1 < x < 1}.
cos x
Ex. 20. Sketch the graph of f (x) = by hand.
2 + sin x
A. Domain
R
B. Intercepts
(2k+1)⇡
(0, 12 ) and 2
, 0 for any integer k
C. Symmetry
Even:
Want to test whether or not
cos x
f ( x) = f (x) = .
2 + sin x
cos( x) cos(x)
f ( x) = =
2 + sin( x) 2 sin(x)
f is not even.
Odd:
Want to test whether or not
cos x
f ( x) = f (x) = .
2 + sin x
cos( x) cos(x)
f ( x) = =
2 + sin( x) 2 sin(x)
f is not odd.
Periodic:
Want to test whether
f (x + p) = f (x)
for some p > 0 yet to be determined.
Guess: The period p of f is 2⇡. (We guess this because cos and sin are periodic
with period 2⇡.)
Check:
cos(x + 2⇡) cos(x)
f (x + 2⇡) = = = f (x)
2 + sin(x + 2⇡) 2 + sin(x)
X f is periodic (with period 2⇡)
At this point we should pick an interval I of length p = 2⇡.
We’ll pick
I = [0, 2⇡].
D. Asymptotes
HA: None
VA: None
E. Increasing/decreasing
Start by finding a formula for f 0 (x):
2 sin x + 1
f 0 (x) =
(2 + sin x)2
f 0 (x) > 0
2 sin x + 1
() >0
(2 + sin x)2
() 2 sin x
1>0
1
() sin x <
2
7⇡ 11⇡
() <x<
6 6
Thus
7⇡ 11⇡
f 0 (x) > 0 () <x< .
6 6
This means
7⇡ 11⇡
• f is increasing on the interval {x | 6
<x< 6
}.
7⇡
• f is decreasing on the intervals {x | 0 < x < 6
} and {x | 11⇡
6
< x < 2⇡}.
F. Local max/min
7⇡ p1 11⇡ p1
Using the 1st Derivative Test, f 6
= 3
is a local min, and f 6
= 3
is a local max.
G. Concavity and inflection points
Want to know when
2 cos x(1 sin x)
f 00 (x) =
(2 + sin x)3
is positive.
• Since 1 sin x 1, we know (1 sin x) in the numerator is always nonnegative.
• Also since 1 sin x 1, we know 2 + sin x is always positive, so (2 + sin x)3 is
always positive.
• Since
1 sin x
f 00 (x) = 2 cos x fraction is always nonnegative
(2 + sin x)3
we conclude that
⇡ 3⇡
f 00 (x) > 0 () 2 cos x > 0 () cos x < 0 () <x<
2 2
for x 2 I = [0, 2⇡].
By the Concavity Test,
⇡ 3⇡
• f is concave up on the interval {x | 2
<x< 2
}.
• f is concave down on the intervals {x | 0 < x < ⇡2 } and {x | 3⇡
2
< x < 2⇡}.
p
3
Ex. 21. Sketch the graph of f (x) = x3 + 1 by hand.
A. Domain
R
B. Intercepts
( 1, 0), (0, 1)
C. Symmetry
Even:
p p
f ( x) = 3
( x)3 + 1 6= 3 x3 + 1
p
3
(Take x = 1, then f ( 1) = 0 but f (1) = 2.)
f is not even.
Odd:
f is not odd.
Periodic:
f is not periodic because f (x) ! 1 as x ! 1
D. Asymptotes
HA:
limx!1 f (x) = 1 and limx! 1 f (x) = 1
No HA
VA:
No VA because f is continuous
E. Increasing/decreasing
f 0 (x) = 13 3x2 (x3 + 1) 2/3
= x2 (x3 + 1) 2/3
f 0 (x) > 0
x2
() p >0
3
(x3 + 1)2
p
() 3 (x3 + 1)2 > 0
Always true.
f is increasing on ( 1, 1)
F. Local max/min
Since f 0 (x) 6= 0 for all x 2 R, there are no local maxima or minima (hence no global
maxima or minima).
d ⇥ 2 3 ⇤
f 00 (x) = x (x + 1) 2/3
>0
dx
2 2 3 5/3
() x (x + 1) (3x2 ) + 2x(x3 + 1) 2/3
3
2x4 2x
() 3 5/3
+ 3 >0
(x + 1) (x + 1)2/3
2x4 + 2x(x3 + 1)
()
(x3 + 1)5/3
2x
() >0
(x3 + 1)5/3
() x > 0
Thus
f 00 (x) > 0 () x > 0.
By the Concavity Test (§3.3), this means
• f is concave up on the interval {x | x > 0}.
• f is concave down on the interval {x | x < 0}.
Ex. 22. Sketch the graph of f (x) = x5/3 5x2/3 by hand.
A. Domain
R
B. Intercepts
(0, 0) and (5, 0):
x5/3 5x2/3 = 0 =) x2/3 (x 5) = 0
C. Symmetry
No symmetry
D. Asymptotes
No asymptotes
E. Increasing/decreasing
5 10 5
f 0 (x) = x2/3 x 1/3
= x 1/3
(x 2)
3 3 3
f 0 (x) > 0
5 1/3
() x (x 2) > 0
3
() x < 0 or x > 2
• f is increasing on the intervals {x | x < 0} and {x | x > 2}.
• f is decreasing on the interval {x | 0 < x < 2}.
F. Local max/min
p
Using the 1st Derivative Test, f (0) = 0 is a local max, and f (2) = 3 3 4 is a local min.
Ex. 23. For the function f whose graph is given, state the following.
(a) lim f (x) (b) lim f (x) (c) lim f (x) (d) lim f (x)
x!1 x! 1 x!1 x!3
Ex. 24. Find the limit or show that it does not exist.
p
4x + 3 x + 3x2
(a) lim (e) lim
x!1 5x 1 x!1 4x 1
p
3t2 + t 1 + 4x6
(b) lim (f) lim
t! 1 t3 4t + 1 x! 1 2 x3
p
p (g) lim 25t2 + 2 5t
4 x t!1
(c) lim p p p
x!1 2 + x (h) lim x2 + ax x2 + bx
x!1
(u2 + 1)(2u2 1) 1 ex
(d) lim (i) lim
u! 1 (u2 + 2)2 x!1 1 + 2ex
Workbook Lesson 21
§4.7, Applied Optimization Problems
Last revised: 2021-03-23 11:41
Objectives
• Set up and solve optimization problems in several applied fields.
Warmup
Problem:
• We have a pipe cleaner 8 inches long.
• We want to bend the pipe cleaner into the shape of a rectangle.
• How can we make the space inside the rectangle as large as possible?
We’ll need to bend the pipe cleaner into four segments (the four sides of the rectangle).
w w w w
Since the pipe cleaner is 8 inches long, the perimeter of the rectangle will also be 8 inches long.
Exercises
Ex. 1. Find the area of the largest rectangle that can be inscribed in a semicircle
of radius r. (Hint: Let the base of the rectangle be a line segment in the x-axis
with the origin as its midpoint.)
Ex. 2. The sum of two positive numbers is 16. What is the smallest possible
value of the sum of their squares?
Ex. 3. What is the minimal vertical distance between the parabolas y1 = x2 + 1
and y2 = x x2 ?
Ex. 4. A box with a square base and open top must have a volume of 32, 000
cm3 . Find the dimensions (` ⇥ w ⇥ h) of the box that minimize the amount of
material used.
Ex. 5. A right circular cylinder is inscribed in a sphere of radius r. Find the largest
possible volume of such a cylinder.
Ex. 6. A piece of wire 10 m long is cut into two pieces. One piece is bent into a
square and the other is bent into an equilateral triangle. How should the wire be
cut so that the total area enclosed is a maximum? (A calculator will be needed.)
+ The setups for Ex. 1 and Ex. 3 are outlined in the applets “ Inscribed rectangle” and
“ Vertical distance” on iCollege.
Optimization problems—General Strategy
In an optimization problem, a quantity Q (e.g., cost, profit, distance, angle, area, volume, . . . ) is to be
maximized or minimized.
We express the quantity as a function, Q = Q(x), and find its extreme values by solving the equation
Q0 (x) = 0.
+ The following process is a suggestion, not a requirement. You are free to organize your work on
these problems however you like, as long as your work makes sense.
#4. A box with a square base and open top must have a volume of 32, 000 cm3 . Find the dimensions of
the box that minimize the amount of material used.
¨ Write a legend. Draw a picture, if applicable. DRAW PICTURE FIRST
It may be helpful to avoid using equations in this Key:
step.
Q: amount of material used
b: side length of square base
h: height of box
V: volume of box
≠ Identify what the question asks for. Want: Dimensions of box for min value of Q
But h is a function of b:
2
h = 32, 000b
So
Q = b2 +4b(32, 000b 2
) = b2 +128, 000b 1
Is b = 40 a local min or a local max? Draw sign chart. Test points: Q0 (1) < 0 and
Q0 (1, 000, 000) > 0, so by the First Derivative Test, b = 40 is a local min.
The dimensions of the box are
40 ⇥ 40 ⇥ 20 , because if b = 40,
± Give the information asked for in Step 2. 32, 000
then h = 32,000
402
= = 20.
1, 600
Optimization Problems—Legends
A: Area of rectangle
r: Radius of semicircle (constant)
Ex. 1.
2x: Width of rectangle
y: Height of rectangle
x: 1st number
Ex. 2. y: 2nd number
Q: sum of their squares
Ex. 5.
#6.
10
Want: How to cut wire into pieces of length a and 10 a so that Q is maximized.
Constraints:
a 10
p opp. h
3 1 ⇡
h= 2
t = p
2 3
(10 a) (= sin 3
= =
hyp. t p 3
t sin = t
t 3 2
(Since an equilateral triangle is required, the angle at each
vertex of the triangle is 60 = ⇡3 .)
Equation for Q: p
3
⇣ ⇡ 4.81125
Q(0) ⌘
Q 9p120
3+12
⇡ 2.71853
Q(10) = 6.25
Answer: Don’t cut the wire! The entire 10 m of the wire should be bent into a square.
Additional exercises
Ex. 7 (§4.7—#318). Find two positive integers a and b such that a + b = 10 and such that
a2 + b2 is maximized.
Ex. 8 (§4.7—#320). You have 400 ft. of fencing to construct a rectangular pen for cattle. What
are the dimensions of the pen that maximize the area?
Ex. 9 (§4.7—#315). To carry a box on an airplane, the length + width + height of the box
must be less than or equal to 62 in. Assuming the height is fixed, show that the maximum volume
is
2
V = 31 12 h h.
What height allows you to have the largest volume?
Ex. 10 (§4.7—#347). Find the point on the line y = 5 2x that is closest to the origin.
y = x2
Ex. 12 (§4.7—#324, 325). A patient’s pulse measures 70 bpm, then 80 bpm, then 120 bpm.
To determine an accurate measurement of pulse, the doctor wants to know what value minimizes
the expression
(x 70)2 + (x 80)2 + (x 120)2 .
(a) What value minimizes the above expression?
(b) In the previous problem, assume the patient was nervous during the third measurement, so
we only weight that value half as much as the others. What is the value that minimizes the
following expression?
(x 70)2 + (x 80)2 + 12 (x 120)2
Ex. 13 (§4.7—#355). You are the manager of an apartment complex with 50 units. When you
set rent at $800/month, all apartments are rented. As you increase rent by $25/month, one fewer
apartment is rented. Maintenance costs run $50/month for each occupied unit. What is the rent
that maximizes the total amount of profit?
connected to the ground. The first pole is tall and
False. For every continuous nonlinear
n find the value that maximizes the the second pole is tall. There is a distance of
between the two poles. Where should the wire be anchored
to the ground to minimize the amount of wire needed?
alse. For every continuous nonconstant
ed, finite domain, there exists at least one
Ex. 14 (§4.7—#354). You are building five identical pens adjacent to each other with a total
or maximizes the function.
area of 1000m2 , as shown in the following figure. What dimensions should you use to minimize the
amount
g exercises, set up of fencing?
and evaluate each
lem.
e is What height
exercises, consider the construction of a accurate measurement of pulse, the doctor wants to know
area. what value minimizes the expression
What value
of fencing to construct a minimizes it?
or cattle. What are the dimensions of the
the area?
Workbook Lesson 22
§4.8, L’Hôpital’s Rule
Last revised: 2020-09-29 12:43
Objectives
• Recognize when to apply L’Hôpital’s rule.
• Identify indeterminate forms produced by quotients, products, subtractions, and powers, and apply L’Hôpital’s
rule in each case.
• Describe the relative growth rates of functions.
Indeterminate quotients
Recall: We used an ad hoc geometric argument to show that
sin x
lim = 1.
x!0 x
0
“Plugging in” x = 0 to evaluate this limit yields . In general, a limit of the form
0
f (x)
lim where f (x) ! 0 and g(x) ! 0 as x ! a
x!a g(x)
Shortly, we will see several other types of indeterminate form, including 1 1, 0 · 1, 1/1,
10 , and 11 . In this section, we’ll look at a systematic method, called L’Hôpital’s rule, that can
be used to evaluate indeterminate forms.
L’Hôpital’s Rule. Let f and g be di↵erentiable functions, with g 0 (x) 6= 0 near a (except possibly
at a). Here, we allow a = ±1. Suppose that
or that
lim f (x) = ±1 and lim g(x) = ±1.
x!a x!a
(In other words, we have an indeterminate form of type 0/0 or 1/1 .) Then
f (x) f 0 (x)
lim = lim 0
x!a g(x) x!a g (x)
ex
Ex. 2. Show that lim = 1. (“There is a struggle between the numerator and the denomina-
x!1 x2
tor.” Which one outraces the other as x ! 1?)
ln x
Ex. 3. Show that lim p = 0.
x!1 3 x
tan(x) x 1
Ex. 4. Show that lim = .
x!0 x3 3
sin(x)
Ex. 5. Show that lim = 0.
x!⇡ 1 cos x
1 sin ✓
Ex. 6. Find lim .
✓!⇡/2 csc ✓
Solution:
1 sin ✓ cos ✓
lim = lim
✓!⇡/2 csc ✓ ✓!⇡/2 cot ✓ csc ✓
cos ✓
= lim
✓!⇡/2 cos ✓ 1
sin ✓ sin ✓
sin ✓
= lim cos ✓ sin ✓
✓!⇡/2 cos ✓
= lim sin2 ✓ = 0.
✓!⇡/2
x3
Ex. 7. Find lim 2.
x!1 ex
Solution:
x3 3x
lim x 2 = lim 2
x!1 e x!1 2ex
3
= lim 2 = 0.
x!1 4xex
is not an indeterminate form: although the denominator approaches 1, the numerator is fi-
nite.
to mean that f (x) grows larger than any finite number as x ! a. But (†) is not a statement
that two numbers are equal, if by the word “number” you mean a point on the real number
line.1
In general, expressions that involve infinity symbols or division by zero should be understood
as statements about the behavior of a function f (x) as we take a limit.
Indeterminate products
What is the limit of 2x ln x as x ! 0+ ?
The factors f (x) = 2x and g(x) = ln x have competing behaviors as x ! 0+ .
• As x ! 0+ , the factor 2x gets closer and closer to 0.
• But ln x ! 1 as x ! 0+ .
• It’s not obvious which behavior will win out.
• If 2x wins, the limit is 0. If ln x wins, the limit is 1.
• It’s also possible in principle that the two competing behaviors reach a stalemate, in which
the case the limit is some finite nonzero number.
1
It is possible to “extend” the real numbers so that we can perform certain arithmetic operations involving 1,
but we will not do this in the calculus sequence.
When we encounter such a struggle f (x) · g(x), we can rewrite the product as
f (x) g(x)
h(x) = or h(x) = . (††)
1/g(x) 1/f (x)
Then l’Hôpital’s Rule can be applied to the limit of the quotient.
Definition.
• An indeterminate form of type 0 · 1 is a limit of the form
⇥ ⇤
lim f (x) · g(x) where f (x) ! 0 and g(x) ! ±1 as x ! a.
x!a
Solution:
ln x
lim+ x ln x = lim+
x!0 x!0 1/x
1/x
= lim+
x!0 1/x2
1
= lim+
x!0 1/x
= lim+ ( x) = 0.
x!0
x2 x3
lim x3 e = lim 2 = 0 (see above).
x!1 x!1 ex
Ex. 10. Find lim cot 2x sin 6x.
x!0
Solution:
sin 6x
lim cot 2x sin 6x = lim
x!0 x!0 tan 2x
6 cos 6x
= lim = 3.
x!0 2 sec2 2x
Indeterminate di↵erences
I claim that ⇥p p ⇤
lim x x 1 = 0.
x!1 |{z} | {z }
# #
1 1
1 1
In this example, ! 1 wins, and ! 1 loses.
x4 x2
An indeterminate form of type 1 1 is a limit of the form
⇥ ⇤
lim f (x) g(x) where both f (x) ! 1 and g(x) ! 1 as x ! a.
x!a
In order to evaluate an indeterminate di↵erence, we should try to rewrite the di↵erence as a fraction,
because l’Hôpital’s Rule applies only to indeterminate quotients.
2
Hint: p p
p p p p x+ x 1 1
x x 1= x x 1 p p =p p .
x+ x 1 x+ x 1
Ex. 11. Find lim sec x tan x .
x!(⇡/2)
Solution:
✓ ◆ ✓ ◆
1 sin x cos x
lim sec x tan x = lim = lim = 0.
x!(⇡/2) x!(⇡/2) cos x x!(⇡/2) sin x
Indeterminate powers
⇥ ⇤g(x)
A limit of the form lim f (x) is an indeterminate form of. . .
x!a
0
. . . type 0 if f (x) ! 0 and g(x) ! 0 as x ! a,
. . . type 10 if f (x) ! 1 and g(x) ! 0 as x ! a,
. . . type 11 if f (x) ! 1 and g(x) ! 1 as x ! a.
⇥ ⇤g(x)
or rewrite f (x) using the identity bp = ep ln b (recall that this identity follows from the cancel-
lation law for exp and ln).
⇥ ⇤g(x)
f (x) = eg(x)·ln f (x) = exp g(x) · ln f (x) .
|{z} | {z }
# #
1 1
p
x
Ex. 12. Find limx!0+ x .
Solution:
p
x
p
Set y(x) = x . Then ln y = x ln x, and
ln x 1/x
lim+ ln y = lim+ = lim 1
x!0 x!0 x 1/2 x!0+ 2
x 3/2
= lim+ 2x 1 x3/2
x!0
p
= lim+ 2 x = 0.
x!0
y : = (1 2x)1/x .
1
ln y = ln(1 2x).
x
ln(1 2x)
lim ln y = lim
x!0 x!0 x
2/(1 2x)
= lim = 2.
x!0 1
(We might restate this informally by saying, “The form 01 is not indeterminate.”)
f (x + h) f (x h)
Theorem. If f 0 is continuous, then lim = f 0 (x).
h!0 2h
f (x + h) 2f (x) + f (x h)
Theorem. If f 00 is continuous, then lim = f 00 (x).
h!0 h2
Ex. 16 (§4.8—#357, 359, 363, 365, 369, 371, 375, 377, 383, 385, 387). Evaluate the limit,
if possible. If L’Hôpital’s Rule can’t be applied, explain why not.
ex x2 sin(x) tan(x) (j) lim x ln x4
(a) lim (d) lim (g) lim +
x!0
x!1 xk x!1 1/x x!0 x3
2
x a (1 + x) 1 ex x 1 (k) lim x2 e x
(b) lim (e) lim (h) lim x!1
x!a x2 a2 x!0 x x!0 x2
x ⇡
(f) lim 1 x
(c) lim x1/x x!⇡ sin(x)
(i) lim x sin x1 (l) lim 1 x
x!1 x!1 x!1
Ex. 17. If an initial amount A0 of money is invested in an interest rate r compounded n times a
year, the value of the investment after t years is
⇣ r ⌘nt
A = A0 1 + .
n
If we let n ! 1, we refer to the continuous compounding of interest. Use L’Hôpital’s Rule to
show that if interest is compounded continuously, then the amount after t years is
A = A0 ert .
Workbook Lesson 24
§4.10, Antiderivatives
Last revised: 2021-04-22 12:35
Objectives
• Find the general antiderivative of a given function.
• Explain the terms and notation used for an indefinite integral.
• State the power rule for integrals.
• Use antidi↵erentiation to solve simple initial-value problems.
Ex. 1. If F 0 (x) = 3x2 , what can F be? Give two di↵erent answers.
We haven’t given you any formulas for finding antiderivatives yet. This was intentional.
• At this stage, you are asked to simply guess what the antiderivative is.
• Check your answer by di↵erentiating.
• If your answer is a little bit o↵, modify your guess and try again.
for all x in I, so
F 0 (x) G0 (x) = f (x) f (x) = 0.
Since
F 0 (x) G0 (x)
is the derivative of the function
F (x) G(x),
the Theorem tells us that
Therefore,
G(x) = F (x) + D
for some D = const.
⇤
F (x) + C (C = const)
Di↵erential equations
Definition. An equation that involves an unknown function and its derivatives is called a di↵erential
equation. An initial value problem is a di↵erential equation for which the output of the function
is specified for a single input value.
y 0 = x2
Ex. 4. Find y given
y(2) = 4
Solution:
1
y(x) = x3 + C
3
1
4 = y(2) = · 23 + C
3
4
=C
3
1 4
y(x) = x3 +
3 3
v(t) = s0 (t) = sin t cos t
Ex. 5. Find y given
s(0) = 0
Solution:
Rectilinear motion
Recall:
d/dt d/dt
s(t) v(t) a(t)
position velocity acceleration
During World War II, mechanical devices aboard rockets were used to carry out the process of
antidi↵erentiating twice in order to guide the missile to its target.
While the position of the rocket as it flew could not be determined by the technology of the day,
acceleration could be measured mechanically, as the following quote from a novelist (and former
engineering student) describes:
“a little pendulum was kept centered by a magnetic field. During launch, pulling gs,
the pendulum would swing aft, o↵ center. It had a coil attached to it. When the coil
moved through the magnetic field, electric current flowed in the coil. As the pendulum
was pushed o↵ center by the acceleration of the launch, current would flow—the more
acceleration, the more flow. So the Rocket . . . sensed acceleration first. . . . To get to
distance from acceleration, the Rocket had to [antidifferentiate] twice—needed a
moving coil, transformers, electrolytic cell, bridge of diodes, one tetrode. . . ”
—Thomas Pynchon, Gravity’s Rainbow
Ex. 6. A particle moving in a straight line has acceleration
a(t) = 12t 6.
Its initial velocity is v(0) = 6 cm/s and its initial displacement is s(0) = 9 cm.
(a) Find its position function.
(b) When is the first time after the initial time t = 0 that the displacement s(t) is 0?
(a)
v 0 (t) = 12t 6
2
v(t) = 6t 6t + C
6 = v(0) = C
s0 (t) = 6t2 6t 6
s(t) = 2t3 3t2 6t + C
9 = s(0) = C
s(t) = 2t3 3t2 6t + 9
(b)
s(t) = 2t3 3t2 6t + 9
= t2 (2t 3) 3(2t 3) factor out (2t 3)
= (t2 3)(2t 3) = 0
p 3
t = ± 3 = ±1.732050 . . . or t= = 1.5
2
Ex. 7. A stone is dropped o↵ a cli↵ and hits the ground at a speed of 120 ft/s. What is the height
of the cli↵?
Assume downward acceleration due to gravity is the constant
g = 32 ft/s2 .
Solution:
The acceleration is a constant function:
a(t) = 32
When was the stone at rest? That is, at what time t = T did we have v(T ) = 0?
0 = v(T ) = 32T 120
120 15
T = =
32 4
15
seconds before the stone hit the ground.
4
15
What was the displacement at time t = T = 4
?
15 225 15
s(T ) = s 4
= 16 · 16
120 · 4
= 225 + 450 = 225 ft .
Ex. 8. Show that the displacement at time t for rectilinear motion with constant acceleration A,
initial velocity v0 , and initial displacement s0 is
s = 12 At2 + v0 t + s0 .
Solution:
a(t) = v 0 (t) = A
v(t) = At + C1
v0 = v(0) = C1
v(t) = At + v0
v(t) = s0 (t) = At + v0
s(t) = 12 At2 + v0 t + C2
s0 = s(0) = C2
s(t) = 12 At2 + v0 t + s0 .
Ex. 9. A stone is thrown downward at a speed of 5m/s from a height of 450m above the ground
How long does it take to reach the ground? (Use g = 9.8m/s2 .)
Solution:
We could use the formula we got in the previous exercise, but we’ll do the work from scratch
for practice.
a(t) = g = 9.8 (Note sign.)
v(t) = 9.8t 5
s(t) = 4.9t2 5t + 450
We solve 0 = s(t) = 4.9t2 5t + 450 by the Quadratic Formula
p p
( 5) ± 25 4( 4.9)(450) 5 ± 8845
t= = .
2( 4.9) 9.8
F (x) + C,
+ The definition of the derivative came with a formal process—the definition of the derivative—
that could be used to find the derivative of a function using algebra and limits. There is no such
process for finding the indefinite integral.
We find an antiderivative of a function f either
• by inspection, i.e. by thinking of a function whose derivative is f ,
• using a table, e.g. in Appendix A of your textbook,
• with special techniques such as “u-substitution” and “integration by parts” (these will be
discussed later in the calculus sequence) or
• “numerically,” i.e. by a process of approximation (often done by computer).
Rp Rp
Question. Can you evaluate the integrals 1 + 4x2 dx and sin x dx by inspection?
Answer: Almost certainly not!
We used an app (Mathematica) to find the first integral—you are certainly not expected to come
up with this! Z p
1 p 1 p
1 + 4x2 dx = x 1 + 4x2 + log( 1 + 4x2 + 2x) + C
2 4
But if you hate memorization, it is recommended that when you are asked to find an antiderivative
of a function f , just ask yourself:
Ex. 10. Verify that each of the provided integration rules logically follows from the corresponding
di↵erentiation rule indicated in the table.
Additional exercises
Ex. 13 (§4.10—#475, 477, 479, 481, 483, 489). Find an antiderivative of the function.
2 x2
(a) f 0 (x) = x 3 , f (0) = 1 (b) f 0 (x) = , f (1) = 0
x2 2
Ex. 16 (§4.10—#505, 507). Find two di↵erent possible functions f .
(a) f 00 (x) = e x
(b) f 000 (x) = cos(x)
Ex. 17. The graph of a function f is shown. Which graph is an antiderivative of f and why?
g f h
Ex. 18. The graph of a function y = f (x) is shown. Make a rough sketch of its antiderivative F ,
given that F (0) = 1.
y = f (x )
x
1 2 3 4
Integration rules
Z
1 d⇥ ⇤ 1
dx = ln |x| + C ln |x| =
x dx x
Z
d ⇥ x⇤
ex dx = ex + C e = ex
dx
Z
1 x d ⇥ x⇤
bx dx = b + C for 0 < b 6= 1 b = bx ln(b)
ln(b) dx
Z
d⇥ ⇤
cos(x) dx = sin(x) + C sin(x) = cos(x)
dx
Z
d⇥ ⇤
sin(x) dx = cos(x) + C cos(x) = sin(x)
dx
Z
d⇥ ⇤
sec2 (x) dx = tan(x) + C tan(x) = sec2 (x)
dx
Z
d⇥ ⇤
csc(x) cot(x) dx = csc(x) + C csc(x) = csc(x) cot(x)
dx
Z
d⇥ ⇤
sec(x) tan(x) dx = sec(x) + C sec(x) = sec(x) tan(x)
dx
Z
d⇥ ⇤
csc2 (x) dx = cot(x) + C cot(x) = csc2 (x)
dx
Z
1 d⇥ ⇤ 1
dx = tan 1 (x) + C tan 1 (x) =
1 + x2 dx 1 + x2
Workbook Lesson 25
§5.1, Approximating Areas
Last revised: 2020-09-29 12:43
Objectives
• Use sigma (summation) notation to calculate sums and powers of integers.
• Use the sum of rectangular areas to approximate the area under a curve.
• Use Riemann sums to approximate area.
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20.
1 + 2 + 3 + 4 + · · · + 19 + 20,
6
k⇡
Ex. 1. Evaluate ⌃ ak , where ak = sin .
k=0 2
We can use any letter we like for the index. Mathematicians most often use i, j, k, m, and n for
indices.
The index is used only to keep track of the terms to be added. It does not factor into the calculation
of the sum itself. The index is therefore called a dummy variable. For example,
20 20
⌃ j and ⌃ k
j=1 k=1
Ex. 2.
(a) Write the sum of terms 3k for k = 1, 2, 3, 4, 5 in sigma notation and evaluate.
1 1 1 1
(b) Write the sum + + + in sigma notation.
2 4 8 16
1 1 1 1 1
(c) Write the sum + + + + in sigma notation.
4 9 16 25 36
5
(d) Evaluate ⌃ (x + 1).
x=0
n
X n
X n
X
(ak + bk ) = ak + bk
k=1 k=1 k=1
n
X n
X n
X
(ak bk ) = ak bk
k=1 k=1 k=1
n n
! n
!
X X X
(ak · bk ) = ak · bk
k=1 k=1 k=1
Answer: The last formula is not true. (The remaining three are correct.)
Ex. 4. True or False: If the terms ak are all defined, then
10
X 9
X 11
X
ak = ak+1 = ak 1
k=1 k=0 k=2
no matter what the values of the ak are.
= n(n + 1).
Out[136]=
n
X n2 (n + 1)2
k3 =
i=1
4
• The partition is regular if all the subintervals have the same width, in which we case we
write x for the shared width.
�� �� �� �� �� �� �� �� �� ��
� �
Ex. 7. What is the width of each subinterval in a regular partition of the interval [a, b] with n
subintervals?
Taking the sample points x⇤k as inputs to the function f (x) gives us the heights of rectangles, one
rectangle for each subinterval:
f (x )=x 2
400
�(�*� )300
200
�(�*� )
100
�(�*� ) �� �� �� ��
5 10 15 20
x
� �
-100
�*� �*� �*�
If we take the sample points to be the right endpoints of the subintervals [xk 1 , xk ], then the total
area of all the rectangles is a right-endpoint approximation of the area under the curve from a
to b:
f (x )=x 2
�(�*� )400
300
�(�*� )
200
�(�*� )100
�� �� �� ��
5 10 15 20
x
� �*
-100
�*� �*� ��
A left-endpoint approximation of the area under the curve from a to b is defined analo-
gously:
f (x )=x 2
�(�*� )400
300
�(�*� )
200
�(�*� )100
�� �� �� ��
5 10 15 20
x
� �
-100
�*� �*� �*�
The area of each rectangle is
Ex. 8. Two of the three sums written below is a left-endpoint approximation under the curve
y = f (x) on [a, b]. The remaining sum is a right-endpoint approximation. Which is which?
Explain your reasoning.
n
X n
X n 1
X
f (xk 1 ) xk f (xk ) xk f (xk ) xk+1
k=1 k=1 k=0
Ex. 9.
(a) Find the right-endpoint approximation of the area under the curve y = x2 from x = 0 to
x = 20 with 5 rectangles.
(b) Sketch the rectangles in part (a) on the graph of y = x2 .
(c) Is this an overestimate or an underestimate of the actual area under the curve?
Ex. 10.
(a) Find the right-endpoint approximation of the area under the curve y = x2 from x = 4 to
x = 0 with 4 rectangles.
(b) Sketch the rectangles in part (a) on the graph of y = x2 .
(c) Is this an overestimate or an underestimate of the actual area under the curve?
Riemann sums
Suppose f is a function defined on [a, b]. A Riemann sum for the function f and the partition P
is a sum of the form n
X
f (x⇤k ) xk
k=1
where the x⇤k are sample points for the partition P (that is, each x⇤k is a number in the interval
[xk 1 , xk ].
Notice that a Riemann sum depends not only on the function f and the interval [a, b], but also on
the choice of partition P and the sample points x⇤k chosen for that partition.
That is, if I choose a certain partition and sample points, and you choose a di↵erent partition and
di↵erent sample points, then it’s unlikely that our Riemann sums will be equal, even when we’re
both approximating the area under the same curve y = f (x) over the same interval [a, b].
Our ultimate goal is not to approximate the area, but to find the exact area. To this end, we take
more and more, thinner and thinner rectangles. As the number of rectangles approaches 1, the
width of the rectangles approaches 0.
We may express this “limiting process” (see Lesson 1) by writing, “the limit of the Riemann sums
as the number of rectangles approaches 1”—in symbols,
n
X
lim f (x⇤k ) xk .
n!1
k=1
Or we might prefer to write, “the limit of the Riemann sums as the rectangles’ widths approach
0”—in symbols,
Xn
lim f (x⇤k ) xk .
max xk !0
k=1
However we write it, we are dealing here with a type of limit that is rather peculiar, because
if I take the limit of, say, left-endpoint approximations, and you take the limit of, say, right-
endpoint approximations, then there is no reason for us to believe that our limits will turn out to
be equal.
Fortunately, the following theorem—whose proof is beyond the scope of this class—guarantees that
whatever partitions we choose as the number of rectangles gets larger, and whatever sample points
we pick for each partition, the limit of the Riemann sums is “unique.” (Here, by “unique,” we
mean that if two di↵erent people compute the limit in di↵erent ways, then the values they get will
be equal.)
Theorem. For any function f that is continuous on the interval [a, b], if the limit of the Riemann
sums n
X
lim f (x⇤k ) xk
n!1
k=1
exists for some particular choice of sample points and partitions, then the limit exists for every
choice of sample points and partitions, and in every case, the value of the limit is the same.
If this limit exists and is a real number, we say f is integrable on the interval [a, b]. (We will
return to the idea of “integrability” in the next lesson.)
Types of Riemann sums
We’ve already seen two ways to pick sample points—by choosing the left or right endpoints of each
subinterval of a partition. We now mention three other popular ways of picking sample points.
Definition. Let f be a function on [a, b] and let P : a = x0 < x1 < x2 < · · · < xn 1 < xn = b be
a partition of [a, b]. Consider the Riemann sum
n
X
f (x⇤k ) xk . (†)
k=1
• If we choose x⇤k so that f (x⇤k ) is the maximum value of f on [xk 1 , xk ]—in symbols,
• If we choose x⇤k so that f (x⇤k ) is the minimum value of f on [xk 1 , xk ]—in symbols,
Ex. 11. Explain why the previous sentence is true. Then make an analogous statement that’s true
for decreasing functions.
Ex. 12.
(a) Find and evaluate a lower sum with n = 4 rectangles that approximates the area under the
curve y = 10 x2 on [0, 1].
(b) Sketch the approximation.
Ex. 13.
(a) Find and evaluate an upper sum with n = 4 rectangles that approximates the area under the
curve y = 10 x2 on [0, 1].
(b) Sketch the approximation.
Ex. 14 (Midpoint approximation).
(a) Taking the sample points x⇤k to be the midpoints of the subintervals of the partition
find and evaluate a Riemann sum with n = 5 rectangles that approximates the area under the
curve y = 3x + 1 on [0, 10].
(b) Sketch the approximation.
2k 4k 2
f (xk ) = f n
= .
n2
(b) Then take the limit as n ! 1 to find the exact area under the curve.
Additional exercises
10 15 10 9
(b) ⌃ k and ⌃ (k 5) (d) ⌃ j(j 1) and ⌃ (k 2 k)
k=1 k=6 j=1 k=0
Ex. 18 (§5.1—#19). Compute the left-endpoint Riemann sum L8 with 8 rectangles for
f (x) = x2 2x + 1
on [0, 6], and compare the values of L6 and R6 . Illustrate with a graph.
Ex. 20 (§5.1—#27). Express the left-endpoint sum R100 for f (x) = ln(x) on [1, e], but do not
evaluate the sum.
Ex. 21 (§5.1—#39). The following table gives the approximate increase in mean sea level in
inches over 20 years starting in the given year. Estimate the net change in mean sea level from
1870 to 2010.
starting year 1870 1890 1910 1930 1950 1970 1990
20-year change 0.3 1.5 0.2 2.8 0.7 1.1 1.5
Data source: Church & White, Sea-level rise from the late 19th to the early 21st century, Surv Geophys 32 (2011), pp. 585–602
is 1 unit and its height is The base of the outer
triangle is and the height is
Objectives
• State the definition of the definite integral.
• Explain the terms integrand, limits of integration, and variable of integration.
• Explain when a function is integrable.
• Describe the relationship between the definite integral and net area.
• Use geometry and the properties of definite integrals to evaluate them.
• Calculate the average value of a function.
However, the phrase “area under the curve” only makes sense if the values of f (x) are nonnegative—
that is, if the graph of f never dips below the x-axis.
If f has both positive values and negative values, the Riemann sum can include the area of rectangles
that lie below the x-axis.
We now lift the restriction that f (x) 0 for all x in [a, b], and define the definite integral to be
the limit of the Riemann sums.
Definition. For a function f defined on an interval [a, b], we define the definite integral of f
from a to b to be Z b n
X
f (x) dx = lim f (x⇤i ) x.
a n!1
i=1
Z
+ The integration symbol is an elongated S, meant to suggest summation (which is happening
behind the scenes in the Riemann sums whose limit is the definite integral).
Z b
+ Think of the symbols and dx in the definite integral to be like parentheses—it is an error
Z a Z b
to write and omit the dx at the end. The expression f (x) between and dx is called the
a
integrand.
+ If we use a variable other than x as the input to the function f , the expression dx should be
changed accordingly. For example, the symbols
Z b Z b
f (t) dt and f (x) dx
a a
mean the same thing.
Z b
+ The variable ⇤ in the definite integral f (⇤) d⇤ is called the variable of integration.
a
The numbers a and b are called the limits of integration.
Definition. The net signed area “under” the curve y = f (x) over [a, b] is defined to be
A1 A2
where A1 is the area of the portion of the region between the curve y = f (x) (a x b) and the
x-axis that lies above the x-axis, and A2 is the area of the portion that lies below the x-axis.
Theorem. The definite integral of a continuous function f from a to b is equal to the net signed
area over [a, b]:
Z b
f (x) dx = A1 A2 .
a
Ex. 1. The graph of h consists of two straight lines and a semicircle. Evaulate the integrals by
interpreting them in terms of areas.
h(x)
6
x
2 4 6 8
-2
Z 3 Z 6 Z 8
(a) h(x) dx (b) h(x) dx (c) h(x) dx
0 3 0
x
1 2 3 4 5
Z 10
Ex. 3. Evaluate |x 5| dx.
0
Ex. 4.
(a) Write a formula for a Riemann sum using n rectangles and a right-endpoint approximation of
f (x) = 2x 1 on the interval [0, 3].
Z 3
(b) Use the definition of the integral to evaluate 2x 1 dx.
0
Solution (Ex. 4):
Rb
By definition of the definite integral a
f (⇤) d⇤,
Z b Z 3 n
f (x) dx = 2x 1 dx = lim ⌃ 2x⇤k 1 x,
a 0 n!1 k=1
where x⇤1 , . . . , x⇤n are sample points for a partition 0 = x0 < · · · < xn = 3 of [0, 3].
For a right-endpoint approximation, we take:
b a ✓ ◆
x= x⇤1 = right endpoint of the
= x1
n first subinterval [x0 , x1 ]
✓ ◆
x0 = a x⇤2 = right endpoint of the
= x2
next subinterval [x1 , x2 ]
x1 = a + x
..
x2 = a + 2 x .
✓ ◆
.. right endpoint of the
. x⇤k = k th subinterval [xk 1 , xk ] = xk
xk = a + k x
..
.. .
. ✓ ◆
right endpoint of the
xn = a + n x x⇤n = last subinterval [xn 1 , xn ] = xn
We now substitute and evaluate the limit, using a special sum formula along the way:
Z 3 n n 3 n 3
f (x) dx = lim ⌃ 2x⇤k 1 x = lim ⌃ 2xk 1 · = lim ⌃ 2k x 1 ·
0 n!1 k=1 n!1 k=1 n n!1 k=1 n
✓ ◆
n 6k 3
= lim ⌃ 1 ·
n!1 k=1 n n
✓ ◆
n 18k 3
= lim ⌃
n!1 k=1 n2 n
✓ ◆
n 18k n 3
= lim ⌃ ⌃
n!1 k=1 n2 k=1 n
✓ ◆
18 n
= lim 2 ⌃ k 3
n!1 n k=1
18 n(n + 1)
= lim 3
n!1 n2 2
18(n + 1)
= lim 3
n!1 2n
=9 3= 6
Ex. 5.
n
X 1 x2i
Express the limit lim x as a definite integral on the interval [2, 6].
n!1
i=1
4 + x2i
Total area
Definition. Let A1 and A2 be as above. The total area “under” the curve y = f (x) over [a, b]
is Z b
f (x) dx = A1 + A2 .
a
Ex. 5. Find the total area between f (x) = x 2 and the x-axis over the interval [0, 6]. (Hint: Sketch
the graph!)
Ex. 6. Find the signed area and the total area for g(x) = 1 |x| over the interval [0, 4].
(Hint: Sketch the graph!)
Conditions for integrability
If the limit Z n
b X
f (x) dx = lim f (x⇤i ) x.
a n!1
i=1
0
0 1 2 3 4 5 6 7
The definition of a Riemann sum makes sense even if a > b. To see this, swap a and b. Then
b a a b
x= becomes = x instead. Then, when we take the limit on both sides of the
n n
equation !
Xn Xn
⇤ ⇤
f (xi )( x) = f (xi ) x
i=1 i=1
we get
Z a Z b
f (x) dx = f (x) dx. (1)
b a
Some additional properties of the definite integral (assuming all integrals exist):
Z b Z b
cf (x) dx = c f (x) dx for c = const (3)
a a
Z b Z b Z b
⇥ ⇤
f (x) + g(x) dx = f (x) dx + g(x) dx (4)
a a a
Z b Z c Z c
f (x) dx + f (x) dx = f (x) dx (5)
a b a
(Use rule (3), and interpret the definite integral as area under a curve.)
Hint: Use rule (3), rule (4), and the definition of subtraction.
Z 1
Ex. 8. Find (4 + 3x2 ) dx.
0
Z 1
1
Hint: x2 dx = .
0 3
Z 17 Z 12 Z 17
Ex. 9. Given that f (x) dx = 3 and f (x) dx = 2, find f (x) dx.
0 0 12
Hint: Use rules (1) and (5).
The following facts can be used to estimate lower or upper bounds for the value of a definite
integral.
Z b
If f (x) 0 for a x b, then f (x) dx 0. (6)
a
Z b Z b
If f (x) g(x) for a x b, then f (x) dx g(x) dx. (7)
a a
Z b
If m f (x) M for a x b, then m(b a) f (x) dx M (b a). (8)
a
Z 4 p p
Ex. 10. Find lower and upper bounds for x dx. (Use the fact that f (x) = x is increasing
1
to find the minimum and maximum values of f on [1, 4].)
0 1 2 3 4 5 6 7 8 9 10
What is the average temperature inside the oven over the ten-minute period we’ve graphed?
If we measure the temperature n times, at evenly spaced intervals, then the average temperature
is
y1 + y2 + · · · + yn
, (†)
n
no matter what n we use.
But what if the temperature changes “quadratically”? That is, what if the graph of the temperature
function follows a parabola?
5
0 1 2 3 4 5 6 7 8 9 10
-1
Now formula (†) can’t always give us the exact average temperature. After all, if Al takes the
average of n = 2 measurements of the temperature, at time x = 5 and x = 10, he gets
1.2 + 5
= 3.1,
2
but if Ana takes the average of n = 5 measurements, estimating the height of the graph at
x = 2, 4, 6, 8, 10, she gets
0.2 + 0.8 + 1.8 + 3.2 + 5 11
= = 5.5
5 5
—and these can’t both be right.
Al and Ana have approximated the average value. It’s reasonable to think that if we take more
and more measurements, our approximation will get more and more accurate.
Our formula for the average of finitely many numbers is
y1 + · · · + yn
.
n
If these represent the values of a function f over the interval [a, b], this becomes
y1 + · · · + yn f (x⇤1 ) + · · · + f (x⇤n )
=
n n
b a
for some values x⇤1 , . . . , x⇤n chosen from subintervals of equal width x= .
n
Solving for n, we have
b a
n= ,
x
so
y1 + · · · + yn f (x⇤1 ) + · · · + f (x⇤n ) f (x⇤1 ) + · · · + f (x⇤n )
= =
n n (b a)/ x
1 ⇥ ⇤
= f (x⇤1 ) x + · · · + f (x⇤n ) x
b a
n
X
1
= f (x⇤k ) x.
b a k=1
Ex. 11. Find the average value of f (x) = x + 1 over the interval [0, 5].
Ex. 12. Find the average value of f (x) = 6 2x over the interval [0, 3].
⇥⇡ ⇤
Ex. 13. Find the average value of g(t) = csc(t) cot(t) on the interval 6
, ⇡4 .
Solution: p
Z ⇡/4
⇡/4 1 1 2 1
g(t) dt = [csc(t)]⇡/6 = = .
⇡/6 sin(⇡/4) sin(⇡/6) 2
Additional exercises
Ex. 14 (§5.2—#60, 61, 62, 63). Express the limits as definite integrals over the indicated in-
terval.
n n
(a) lim ⌃ x⇤k x over [1, 3] (c) lim ⌃ sin2 (2⇡x⇤k ) x over [0, 1]
n!1 k=1 n!1 k=1
n ⇥ ⇤ n e xk
(b) lim ⌃ 5(x⇤k )3 4x⇤k x over [2, 7] (d) lim ⌃ x over [0, 1]
n!1 k=1 n!1 k=1 1 + xk
Ex. 15 (§5.2—#64, 67). Given the left Riemann sum Ln or the right Riemann sum Rn as
indicated, express as a definite integral the limit of the sum as n ! 1, identifying the correct
intervals.
✓ ◆
1 n k 1 3 n k
(a) Ln = ⌃ (b) Rn = ⌃ 3+3
n k=1 n n k=1 n
61. over
Chapter 5 | Integration
62. over
Ex. 16 (§5.2—#71, 72). Evaluate the integrals of the functions graphed using the formulas for
areas of triangles and circles, and subtracting the areas below the x-axis.
63. over 72.
e limits as integrals. (a)
71. (b)
over
64.
65.
r 72. 73.
66.
n or Rn as indicated,
as definite integrals,
67.
68.
69.
73.
In the following exercises, evaluate the integrals of the
Ex.functions
17 (§5.2—#76,
graphed using the79,formulas
81, 83). Evaluate
for areas the
of triangles integral using area formulas.
and
R circles, and subtracting the areas below the x-axis. R5p
3
(a) (3 x) dx (c) 1 4 (x 3)2 dx
70. 0
R6 R3
(b) 0
3 |x 3| dx (d) 2
3 |x| dx
p://cnx.org/content/col11964/1.12
Ex. 18 (§5.2—#98, 101). Given that
Z 1 Z 1 Z 1
1 2 1 1
x dx = , x dx = , and x3 dx = ,
0 2 0 3 0 4
compute the integrals Z 1
(1 + x + x2 + x3 ) dx
0
and Z 1
(1 2x)3 dx.
0
f (x) = x2
Objectives
• State the meaning of the Fundamental Theorem of Calculus, Part 1.
• Use the Fundamental Theorem of Calculus, Part 1, to evaluate derivatives of integrals.
• State the meaning of the Fundamental Theorem of Calculus, Part 2.
• Use the Fundamental Theorem of Calculus, Part 2, to evaluate definite integrals.
• Explain the relationship between di↵erentiation and integration.
• Explain the meaning of the Mean Value Theorem for Integrals.
Evaluation Theorem
Not all integrable functions are continuous. But for continuous functions, the value of a definite
integral can be very easy to determine.
EvaluationR Theorem. Let f be a function that is continuous on [a, b]. If F is any antiderivative
b
of f , then a f (x) dx = F (b) F (a).
Considering how complicated the definition of the definite integral was, this formula seems to be a
minor miracle. The definition of the definite integral involved infinitely many values of f (x). But
this theorem says we can evaluate it knowing only two (!) values of an antiderivative F (x).
On the other hand, if we look at a certain physical application, this theorem becomes quite believ-
able. We know that the position function is an antiderivative of velocity:
d/dt
s(t) v(t).
The area under the velocity curve is equal to the change in distance:
Z b
v(t) dt = s(b) s(a).
a
Ex. 1. Evaluate:
Z 1 Z ⇡/3
Z 4 p
(a) x2 dx (b) sec ✓ tan ✓ d✓ (c) t(1 + t) dt
2 ⇡/4 1
⇥ ⇤b
+ The notations . . . a means “evaluate what’s inside the brackets when b and a are substituted
b
for the variable, and then subtract.” The notation . . . a
is defined similarly. For example,
⇥ ⇤b b
F (x) a
= F (x) a
= F (b) F (a).
Solution to Ex. 1:
1
(a) An antiderivative of f (x) = x2 is F (x) = x3 .
3
Z 1 1
x3 13 ( 2)3 1 8
x2 dx = = = + = 3.
2 3 2 3 3 3 3
Z ⇡/3 p
⇥ ⇤⇡/3 1 1 1 1
sec ✓ tan ✓ d✓ = sec ✓ ⇡/4 = = p =2 2.
⇡/4 cos ⇡/3 cos ⇡/4 1/2 2/2
p
(c) An antiderivative of f (t) = t(1 + t) = t1/2 + t3/2 is F (t) = 23 t3/2 + 25 t5/2 .
Z 4
4 p 2 2
t(1 + t) dt = t3/2 + t5/2
1 3 5 1
2 3/2 2 5/2 2 3/2 2 5/2
= 4 + 4 1 + 1
3 5 3 5
16 64 2 2
= + +
3 5 3 5
80 192 10 6
= + +
15 15 15 15
256
= .
15
The relationship between the indefinite integral and the definite integral
The relationship between the indefinite and definite integral of a continuous function f (x) is
Z b Z b
f (x) dx = f (x) dx .
a a
Notice that Z b
f (x) dx = [F (b) + C] [F (a) + C] = F (b) F (a)
a
no matter what constant C we choose.
Rectilinear motion problems
Ex. 2. A particle moves along a horizontal line with velocity
v(t) = t2 t 6
meters per second at time t.
(a) Find and interpret the displacement s(4) s(1) of the particle during the time period t 2 [1, 4].
R4
(b) Find the distance traveled 1 |v(t)| dt during this time period.
Solution:
(a) Since v(t) = s0 (t), by the Evaluation Theorem we have
Z 4
s(4) s(1) = v(t) dt
1
Z 4
= t2 t 6 dt
1
3 4
t t2
= 6t
3 2 1
64 1 1
= 8 24 6
3 3 2
9
= .
2
R4
(b) How should we evaluate 1
|v(t)| dt?
We know that |v(t)| = v(t) when v(t) > 0, and |v(t)| = v(t) when v(t) < 0.
So where is v(t) > 0 and where is v(t) < 0?
Recall that the parabola
v(t) = t2 t 6 = (t 3)(t + 2)
opens upward and meets the horizontal axis at t = 2 and t = 3.
Therefore,
Z 4 Z 3 Z 4 Z 3 Z 4
|v(t)| dt = |v(t)| dt + |v(t)| dt = v(t) dt + v(t) dt
1 1 3 1 3
Z 3 Z 4
2
= t t 6 dt + t2 t 6 dt
1 3
3 2 3 3 4
t t t t2
= 6t + 6t
3 2 1 3 2 2
22 17
= +
3 6
61
=
6
Functions defined by an integral
Consider the following function:
✓ area under the curve ◆
f (x) = y = t2 .
from t = 0 to t = x
A formula for this function is. . . Z x
f (x) = t2 dt.
0
Functions defined by integrals appear often in physics, statistics, chemistry, electrical and civil
engineering. . .
Today we will see how to analyze a function like this by using di↵erential calculus. For example,
we’ll find the local maximum values of the sine integral function
Z x
sin t
Si(x) = t
dt.
0
+ We will also see that the natural logarithmic function ln can be defined by an integral.
Notice in the previous exercise that the expression we got for g 0 (x) was exactly the integrand in
the original equation (*) defining g.
That is,
g 0 (x) = 4x3 = f (x).
Why is this?
Let’s try to understand why this is true by looking at the situation geometrically.
• The definition of the derivative says
g(x+h) g(x)
g 0 (x) = lim h
.
h!0
• Therefore,
g(x + h) g(x)
⇡ f (x). (**)
h
For continuous functions, taking the limit as h ! 0 in this last approximation (**) turns it into an
equality:
g(x + h) g(x)
g 0 (x) = lim = f (x).
h!0 h
Notice that this equation establishes a connection between integration (since g was defined by
an integral), and differentiation, the two branches of the science of calculus.
Z x
0 d g(x + h) g(x)
g (x) = f (t) dt = lim = f (x).
dx a h!0 h
The above argument will serve as our proof for the first part of the Fundamental Theorem of
Calculus.
Corollary.
Let f be a continuous function defined on [a, b]. If F is any antiderivative of f on [a, b], then
Z b
f (t) dt = F (b) F (a).
a
Solution:
✓ ◆
d⇥ ⇤ ⇡t2
S(x) = sin .
dx 2
Ex. 6. Let
h(t) = 12t 8 sin(2t) + sin(4t).
Given the fact that
h0 (t) = 32 sin4 (x), (***)
find Z ⇡/2
sin4 (t) dt.
0
Solution:
Equation (***) tells us that the function
is an antiderivative of
h0 (t) = 32 sin4 (x),
so
Z ⇡/2 Z ⇡/2 Z ⇡/2
1 0 1
4
sin (t) dt = h (t) dt = h0 (t) dt
0 0 32 32 0
1
= [12t 8 sin(2t) + sin(4t)]⇡/2
0
32
= [6⇡ 8 sin(⇡) + sin(2⇡)] 0
= 6⇡ 8.
Ex. 7. At what values of x does the following function have local maximum values?
Z x
sin t
Si(x) = dt (x > 0)
0 t
Solution:
d⇥ ⇤ sin x
Si(x) = = 0 (x > 0) () sin x = 0 (x > 0)
dx x
() x = k⇡ (k positive integer).
⇡, 2⇡, 3⇡, . . .
Answer:
Si(x) has local maximum values at x = ⇡, 3⇡, 5⇡, . . . .
The Fundamental Theorem of Calculus, Part 1
We actually already know the second part of the Fundamental Theorem of Calculus—we’ve been
calling it the Evaluation Theorem (see beginning of this document).
Fundamental Theorem of Calculus, Part 2.
Let f be an integrable function defined on [a, b]. If F is any antiderivative of f on [a, b], then
Z b
f (x) dx = F (b) F (a).
a
The observant student will notice that this looks very much like the Corollary to Part 1 of the FTC.
The only di↵erence is that, in the Corollary, we required f to be continuous—here, we only require
that f is integrable on the interval [a, b].
+ We’ve seen functions that are integrable on a closed interval [a, b], but not continuous. Can
you sketch the graph of such a function?
Ex. 8. As written above, the Mean Value Theorem for Integrals says that, for a continuous
function f defined on the interval [a, b],
Z b
f (c) · (b a) = f (x) dx
a
for some number c in [a, b]. Show that this means exactly that:
(See applet on iCollege: “Mean Value Theorem for Integrals”—image on next page)
( )
�� � (�)
����
��
'Integral Mean Value Theorem'. From the Wolfram Demonstrations Project
https://demonstrations.wolfram.com/IntegralMeanValueTheorem/
��
�
� � �
“Shave the mountain”
Ex. 9. Find the average value of the function f (x) = 8 2x over the interval [0, 4] and find c in
[0, 4] such that f (c) equals the average value of f over [a, b].
R3
Ex. 10. Given the fact that 0 2x2 1 dx = 15, find c in the interval [0, 3] such that 2c2 1 equals
the average value of f (x) = 2x2 1 over [0, 3].
Additional exercises
Ex. 11. Find a function f and a number a such that
Z x
f (t) p
6+ 2
dt = 2 x.
a t
Solution:
Z x
d f (t) d⇥ p ⇤
6+ dt = 2 x
dx a t2 dx
✓ ◆
f (x) 1
2
=2 x 1/2 = x 1/2
x 2
f (x) = x3/2
Ex. 12. Suppose h is a function such that h(1) = 2, h0 (1) = 2, h00 (1) = 3, h(2) = 6, h0 (2) = 5,
h00 (2) = 13, and h00 is continuous. Find
Z 2
h00 (u) du,
1
Z 2
h00 (u) du = h0 (2) h0 (1) (Corollary to FTC applies since h00 is continuous)
1
=5 2 = 3.
Ex. 16 (§5.3—#191, 193). Use the evaluation theorem to express the integral as a function
of x.
Z x Z x
t
(a) e dt (b) sin(t) dt
1 x
Workbook Lesson 28
§5.4, Integration Formulas and the Net Change Theorem
Last revised: 2020-09-29 12:42
Objectives
• Apply the basic integration formulas.
• Explain the significance of the net change theorem.
• Use the net change theorem to solve applied problems.
• Apply the integrals of odd and even functions.
Rules for integration were given in Lesson 24 (Section 4.10). Let’s warm up with a couple of
exercises that apply one of those formulas.
Ex. 2. Find the definite integral of f (x) = x2 3x over the interval [1, 3].
The Net Change Theorem
The Net Change Theorem considers the integral of a rate of change F 0 (x).
It says that when a quantity changes, the new value equals the initial value plus the integral of the
rate of change of that quantity.
Net Change Theorem. The new value of a changing quantity equals the initial value plus the
integral of the rate of change:
Z b
F (b) = F (a) + F 0 (x) dx.
a
This is not news. If the function F is continuously di↵erentiable (that is, if the derivative of F is
continuous), then Z b
F 0 (x) dx = F (b) F (a)
a
by the Evaluation Theorem (also known as the Fundamental Theorem of Calculus, Part 2). Simply
adding F (a) to both sides yields the Net Change Theorem.
The significance of the net change theorem lies in the results. Net change can be applied to area,
distance, and volume, to name only a few applications. Net change accounts for negative quantities
automatically without having to write more than one integral.
For example, suppose we are given the velocity function of a particle in motion. The velocity
function accounts for both forward distance (v(t) > 0) and backward distance (v(t) < 0). To find
the change in position—that is, the net displacement—we integrate v(t).
Notice, however, that if we want the total distance traveled, we must count both forward distance
and backward distance as positive quantities. When the total distance traveled is asked for, we
must integrate |v(t)|, which is always nonnegative.
Ex. 3. Given a velocity function v(t) = 3t 5 (in meters per second) for a particle in motion from
time t = 0 to time t = 3, find the net displacement of the particle.
Ex. 4. Find the total di↵erence traveled by the particle in the previous exercise.
Ex. 5. Find the net displacement and total distance traveled in meters given the velocity function
f (t) = 12et 2 over the interval [0, 2].
We can apply the Net Change Theorem to rates of change other than the velocity of a moving
particle. For example, in the next exercise, we apply the Net Change Theorem to the rate of fuel
consumption.
Ex. 7. If the motor on a motorboat is started at t = 0 and the boat consumes gasoline at 5 t3
gal./hr for the first hour, how much gasoline is used in the first hour?
Integrating even and odd functions
Recall:
A function f is even if
f ( x) = f (x)
for all x in the domain of f , odd if
f ( x) = f (x)
When integrating an even or odd function, symmetry ensures that the following rule holds true.
5
3
2
-2 -1 1 2
1
-5
-2 -1 1 2
2
For an even function (e.g., x ), the For an odd function (e.g., x3 ), the
signed area from 0 to a is equal to the signed area from a to 0 cancels with
signed area from a to 0. the signed area from 0 to a.
Ex. 8. Evaluate the definite integral of the odd function 5 sin x over the interval [ ⇡, ⇡].
Ex. 9. Integrate the even function 3x8 2 from 2 to 2 and verify that the integration formula
for even functions holds.
Additional exercises
Ex. 12 (§5.4—#219). Write an integral that quantifies the change in the area of the surface of
a cube when its side length doubles from s units to 2s units and evaluate the integral.
Ex. 13 (§5.4—#221). Write an integral that quantifies the increase in the surface area of a
sphere as its radius doubles from R units to 2R units and evaluate the integral.
Ex. 14 (§5.4—#225). Suppose that a particle moves along a straight line with velocity defined
by v(t) = |2t 6|, where 0 t 6 (in meters per second). Find the displacement at time t and
the total distance traveled up to t = 6.
Ex. 15 (§5.4—#239). For a given motor vehicle, the maximum achievable deceleration from
braking is approximately 7 m/sec2 on dry concrete. On wet asphalt, it is approximately 2.5 m/sec2 .
Given that 1 mph corresponds to 0.447 m/sec, find the total distance that a car travels in meters
on dry concrete after the brakes are applied until it comes to a complete stop if the initial velocity is
67 mph (30 m/sec) or if the initial braking velocity is 56 mph (25 m/sec). Find the corresponding
distances if the surface is slippery wet asphalt.
Workbook Lesson 29
§5.5, Substitution
Last revised: 2021-04-22 12:38
Objectives
• Use substitution to evaluate indefinite integrals.
• Use substitution to evaluate definite integrals.
Let u = (x 3)2 .
becomes
u2 u = 0,
which can be solved quickly:
u(u 1) = 0
u=0 u=1
(x 3)2 = 0 (x 3)2 = 1
x=3 x 3 = ±1
x=2 x=4
The statement
Let u = (x 3)2 .
is an example of a change of variable.
+ Note that, when you make a change of variable in a math problem, you must tell the reader
by writing a statement like “Let u = . . . ”
The Substitution Rule
As we’ve mentioned, the definition of the derivative comes with a formal process for di↵erentiating
a function, whereas antidi↵erentiation does not (see Lesson 24). So far, we have only been able to
evaluate indefinite integrals “by inspection.” That is, to evaluate
Z
f (x) dx,
we had to stare at f (x) until we thought of an antiderivative F (x), that is, a function F such
that
F 0 (x) = f (x)
on some interval. If we couldn’t think of such a function F (or find one in a table of integrals), we
couldn’t evaluate the integral.
Special techniques for evaluating complicated integrals exist, however. We’ll look at one such
technique today, often called u-substitution.
Formally, this technique amounts to reversing the Chain Rule.
In practice, we think of this technique as a “change of variable” that simplifies the integrand. That
is, we rewrite the integrand
y = y(x)
as a function of a new variable
y = y(u).
Ex. 1.
du p
(a) Find a function u(x) such that both u and appear in the expression 2x 1 + x2 .
dx
R p
(b) Evaluate 2x 1 + x2 dx. Make sure to state the change of variables you used, e.g. by writing
“Let u = . . . ”
Solution:
du
Set u = 1 + x2 . Then = 2x.
dx
Z Z Z
2 1/2 1/2 du
(1 + x ) · |{z}
2x dx = u dx = u1/2 du
| {z } dx
du
y=u1/2
dx
= 23 u3/2 + C
= 23 (1 + x2 )3/2 + C
Notice that we give our answer in terms of the original variable x.
Solution:
du
Set u = tan x. Then = sec2 x.
dx
Z Z Z
du
sec x tan x dx = (tan x) (sec x) dx = u3 dx
2 3 3 2
dx
1
= u4 + C
4
1
= tan4 x + C.
4
A popular trick for applying the Substitution Rule is as follows. It uses the notation for di↵eren-
tials.
Trick. If u = u(x), then du = u0 (x) dx, so
Z Z
0
y(u(x)) · u (x) dx = y(u) du.
Group work: Substitution Rule, Day 1
Z
I. x2 cos x3 dx
Z p
sin t
II. p dt
t
Z
cos(⇡/x)
III. dx
x2
Z
dt
IV. p
cos2 t 1 + tan t
Z
V. sin ✓ sec2(cos ✓) d✓
Z p
⇡
VI. x cos x2 dx
0
Z 1
⇡t
VII. cos dt
1 4
Z 1
tan x dx
VIII. 2 4
11+x +x
Z
IX. csc ⇡t cos ⇡t dt
II.
p Z p Z
u = t = t1/2 sin t 1 ⇣p ⌘
du 1 1/2 1 p dt = p sin t dt
= t = p t t
dt 2 2 t
= 2 cos(u) + C
1 p
2 du = p dt = 2 cos t + C
t
III. Z Z ⇣⇡ ⌘
cos(⇡/x) 2
dx = x cos dx
x2 x
Z
⇡ 1 1
u = = ⇡x = cos(u) du
x ⇡
du Z
= ⇡x 2 1
dx = cos(u) du
⇡
1 2 1
du = x dx = sin(u) + C
⇡ ⇡
1 ⇣⇡ ⌘
= sin +C
⇡ x
Z
dt
IV. p
cos2 t 1 + tan t Z Z
dt sec2 (t)
p = p dt
cos2 (t) 1 + tan(t) 1 + tan(t)
Z
u = 1 + tan(t) = u 1/2
du
du = sec2 (t) dt
= 2u1/2 + C
p
= 2 1 + tan(t) + C
V. Z Z
2
u = cos(✓) sin(✓) sec (cos(✓)) d✓ = sec2 (u) du
du = sin(✓) d✓ = tan(u) + C
du = sin(✓) d✓
= tan (cos(✓)) + C
VI. Z p Z
x= ⇡
u = x2 2 1 u=⇡
x cos(x ) dx = cos(u) du
du = 2x dx x=0 2 u=0
u=⇡
1 1
du = x dx = sin(u)
2 2 u=0
1
p = sin(⇡) sin(0)
x= ⇡ u=⇡ 2
x=0 u=0 = 0
VII. Z ✓ ◆ Z
1 ⇡/4
⇡t 4
cos dt = cos(u) du
⇡t ⇡ 1 4 ⇡ ⇡/4
u= = t ⇡/4
4 4 4
⇡ = sin(u)
du = dt ⇡
4 ⇡/4
4
du = dt 4 h ⇣⇡ ⌘ ⇣ ⇡ ⌘i
⇡ = sin sin
⇡ 4 4
"p p !#
⇡ 4 2 2
x=1 u= =
4 ⇡ 2 2
⇡
x= 1 u= p
4 4 2
=
⇡
VIII.Z
1
tan x dx tan x
2 4
= 0 because f (x) = is odd:
1 1+x +x 1 + x2 + x4
?
f ( x) = f (x)
tan( x) ? tan x
2 4
=
1 + ( x) + ( x) 1 + x2 + x4
tan(x) X tan x
=
1 + x2 + x4 1 + x2 + x4
Note that the last equation follows from the prior equation because tan is
odd on [ 1, 1].
IX. Z Z
1
csc(⇡t) cos(⇡t) dt = cos(⇡t) dt
u = sin(⇡t) sin(⇡t)
Z
du = ⇡ cos(⇡t) dt = u 1
du
1
du = cos(⇡t) dt 1
⇡ = ln sin(⇡t) + C
⇡
X. Average value of sin 4x on [ ⇡, ⇡]
Z ⇡ Z ⇡
1 1
u = 4x sin(4x) dx = sin(4x) dx
⇡ ( ⇡) ⇡ 2⇡ ⇡
du = 4 dx Z 4⇡
1
1 = sin(u) du
du = dx 8⇡ 4⇡
4
1
= cos(4⇡) cos( 4⇡)
8⇡
x=⇡ u = 4⇡ cos
is
x= 1 u = 4⇡ even
= 0
Substitution Rule, Day 2—Solutions
I.
⇡
u= = ⇡y 1
y Z ✓ ◆ Z ⇣ ⌘
⇡ 1 1
du = ⇡y 2 dy cos dy = cos(u) du = sin ⇡y + C
y ⇡ ⇡
1
du = dy
⇡
II. Z Z
2 11 11
2 2 cos cos ( ) 1 d = cos sin2 ( ) d
sin ( ) + cos ( ) = 1 Z
22
sin2 ( ) = 1 cos2 ( ) = cos sin( ) d
Z
sin2 ( ) = cos2 ( ) 1
= u22 du
1 23
u = sin( ) = u +C
23
du = cos( ) d sin23
= +C
23
III. Z Z
1 1
dt = dt
(1 + 10t + 25t2 )(1 + 5t) (1 + 5t)3
Z
u = 1 + 5t 1
= u 3 du
du = 5 dt 5
1 1
1 =
10 (1 + 5t)2
+C
du = dt
5 1
= +C
10 + 100t + 250t2
IV. Z Z
5
(v + 3)(v 1) dv = (u + 4)u5 du
Z
= u6 + 4u5 du
u=v 1
u7 2u6
u+4=v+3 = + +C
7✓ 3 ◆
du = dv 6 3u + 14
=u +C
21
1
= (v 1)6 (3v + 11) + C
21
V. Z q Z
p p
p 4 ✓ d✓ = 2 u(4 u) du
u=4 ✓ Z
= 2 4u1/2u3/2 ) du
✓ ◆
Now solve for d✓: 8 3/2 2 5/2
p = 2 u u +C
3 5
✓=4 u ✓ ◆
3/2 20 3u
= 4u +C
✓ = (4 u)2 15
d✓ = 2(4 u) du 4 p
= (4 ✓)3/2 (8 + 3 ✓) + C
15
VI. Z Z
p 1
8x 1 + 4x dx = (2u 2)u1/2 du
4Z
1
= (u 1)u1/2 du
2Z
u = 1 + 4x 1
= u3/2 u1/2 du
2u 2 = 2x 2✓ ◆
1 2 5/2 2 3/2
1 = u u +C
du = dx 2 5 3
4 ✓ ◆
3u 5
= u3/2 +C
15
2
= (1 + 4x)3/2 (6x 1) + C
15
VII. Z Z ✓ ◆
p 1 1/2 1
x 2 3x dx = (u 2)u · du
3 3
Z
1
u=2 3x = u3/2 2u1/2 du
9
1 ✓ ◆
1 2 5/2 4 3/2
(u 2) = x = u u +C
3 9 5 3
✓ ◆
1 1 3/2 6u 20
du = dx = u +C
3 9 15
2
= (2 3x)3/2 (9x + 4) + C
135
VIII. Z p Z p
x3 x2 + 5 dx = x · x2 · x2 + 5 dx
Z
1
= (u 5)u1/2 du
2
Z
1
= u3/2 5u1/2 du
u = x2 + 5 2
✓ ◆
1 2 5/2 10 3/2
u 5 = x2 = u u +C
2 5 3
1 ✓ ◆
du = x dx 1 3/2 6u 50
2 = u +C
2 15
✓ ◆
1 2 3/2 6x 20
= (x + 5) +C
2 15
1 2
= (x + 5)3/2 (3x 10) + C
15
IX. Z p Z p
5
x 2x3 + 4 dx = x2 · x3 · 2x3 + 4 dx
Z
1
= (u 4)u1/2 dx
12
Z
1
= u3/2 4u1/2 du
12
✓ ◆
u = 2x3 + 4 1 2 5/2 8 3/2
= u u +C
1 12 5 3
du = x2 dx ✓
1 3/2 3u 20
◆
6 = u +C
1 3 6 15
✓ 3 ◆
(u 4) = x 1 6x 8
2 = 3
(2x + 4) 3/2
+C
6 15
✓ 3 ◆
1 3 3/2 3x 4
= 2(x + 2) +C
45 15
p
2 2 3
= (x + 2)3/2 (3x3 4) + C
45
Back-substitution
Z
cos(⇡/y) 1 ⇡
[S] #29. Show that dy = sin + C.
y2 ⇡ y
u = ⇡/y
Z
sin21 ↵
+ Show that cos ↵(1 2 10
cos ↵) d↵ =
21
+ C.
u = sin x
Z
sin23 ↵
+ Show that cos (cos 2 11
1) d =
23
+ C.
u = sin x
Z
du 1
+ Show that
(1 7u)2
=
7 49u
+ C.
u = 1 + 7u
Z
1 1
+ Show that
(1 + 10t + 25t2 )(1 + 5t)
dt =
10 + 100t + 250t2
+ C.
u = 1 + 5t
Z
1
+ Show that (x 3)(x + 2)7 dx =
72
(x + 2)8 (8x 29) + C.
u = 1 + 5t
Z
1
[D] #13. Show that (v + 3)(v 1)5 dv = (v 1)6 (3v + 11) + C.
21
u=v 1
Z q p p p
4 3/2
[D] #18. Show that 4 ✓ d✓ = (4 ✓) (8 + 3 ✓) + C.
15
p
u=4 ✓
Z
p 2
[M] #1. Show that 8x 1 + 4x dx = (1 + 4x)3/2 (6x 1) + C.
15
p
u= 1 + 4x
Z
p 2
[M] #2. Show that x 2 3x dx = (2 3x)3/2 (9x + 4) + C.
135
p
u= 2 + 3x
Z p 1
[M] #13. Show that x3 x2 + 5 dx = (x2 + 5)3/2 (3x2 10) + C.
15
p
u= x2 + 5
Z p
p 2 2 3
[M] #12. Show that x5 2x3 + 4 dx = (x + 2)3/2 (3x3 4) + C.
45
u = 2x3 + 4
Group work: Substitution Rule, Day 2
Z
cos(⇡/y) 1 ⇡
I. Show that dy = sin + C.
y2 ⇡ y
Z
2 11 sin23
II. Show that cos (cos 1) d = + C.
23
Z
1 1
III. Show that dt = + C.
(1 + 10t + 25t2 )(1 + 5t) 10 + 100t + 250t2
Z
1
IV. Show that (v + 3)(v 1)5 dv =
(v 1)6 (3v + 11) + C.
21
Z q p p 3/2 p
4
V. Show that 4 ✓ d✓ = (4 ✓) (8 + 3 ✓) + C.
15
Z
p 2
VI. Show that 8x 1 + 4x dx = (1 + 4x)3/2 (6x 1) + C.
15
Z
p 2
VII. Show that x 2 3x dx = (2 3x)3/2 (9x + 4) + C.
135
Z p 1
VIII. Show that x x2 + 5 dx = (x2 + 5)3/2 (3x2 10) + C.
3
15
Z p
p 2 2 3
IX. Show that x5 2x3 + 4 dx = (x + 2)3/2 (3x3 4) + C.
45
Additional exercises
Z
Ex. 3 (§5.5—#261). Evaluate the integral (x+1)4 dx by making the substitution u = x + 1.
R 7
Ex. 4 (§5.5—#261). Evaluate the integral (2x 3) dx by making the substitution u = 2x 3.
Z
x
Ex. 5 (§5.5—#265). Evaluate the integral p dx by making the substitution u = x2 + 1.
x2+1
Z
Ex. 6 (§5.5—#267). Evaluate the integral (x 1)(x2 2x)3 dx by making the substitution
u = x2 2x.
Z
Ex. 7 (§5.5—#269). Evaluate the integral cos3 ✓ d✓ by making the substitution u = sin ✓.
(Hint: cos2 ✓ = 1 sin2 ✓.)
Ex. 8 (§5.5—#271, 273, 275, 279, 281, 283). Evaluate the indefinite integral.
Z Z Z
99 3 x2
(a) x(1 x) dx (c) cos (✓) sin(✓) d✓ (e) dx
(x3 3)2
Z Z Z
3 2 2
y5
(b) (11x 7) dx (d) t sin(t ) cos(t ) dt (f) dy
(1 y 3 )3/2
Ex. 8. Verify each equation using the Substitution Rule.
R p 2
(a) x 2 3x dx = (2 3x)3/2 (9x + 4) + C
135
R p 1
(b) x3 x2 + 5 dx = (x2 + 5)3/2 (3x2 10) + C
15
p
R 5p 2 2 3
(c) x 2x3 + 4 dx = (x + 2)3/2 (3x3 4) + C
45
Workbook Lesson 30
§5.6, Integrals Involving Exponential and Logarithmic Functions
Last revised: 2020-09-29 12:42
Objectives
• Integrate functions involving exponential functions.
• Integrate functions involving logarithmic functions.
= x ln(x) 1 +C
Z
x
logb (x) dx = ln(x) 1 +C
ln(b)
p
Ex. 2. Find the most general antiderivative of ex 1 + ex .
Solution:
Take u = 1 + ex . Then du = ex dx, so
Z Z
x
p p
x
e 1 + e dx = u du
2
= u3/2 + C
3
2
= (1 + ex )3/2 + C
3
R 3
Ex. 3. Integrate: 3x2 e2x dx.
Solution:
Take
u = 2x3 .
Then
du = 6x2 dx.
Since we want to match the expression 3x2 dx that actually appears in the integral, we rewrite
the previous equation as
1
du = 3x2 dx
2
Z Z
2 2x3 1
3x e dx = eu du
2
1
= eu + C
2
1 3
= e2x + C.
2
Z 2
Ex. 4. Find e2x dx.
0
Solution:
Take
u = 2x.
Then
du = 2 dx.
Since we want to match the expression dx that actually appears in the integral, we rewrite
the previous equation as
1
du = dx
2
Z 2 Z
2x 1
e dx = eu du
0 2
x=2
1
= eu
2 x=0
x=2
1 2x
= e
2 x=0
1 4
= e e0
2
e4 1
=
2
Z 2
e1/x
Ex. 5. Find dx.
1 x2
Solution:
Let us rewrite the given integral as
Z 2
1
ex x 2
dx
1
Take
u = x 1.
Then
2
du = x dx.
2
Since we want to match the expression x dx that actually appears in the integral, we rewrite
the previous equation as
2
du = x dx
Now
Z 2 Z 2
e1/x 1
dx = ex x 2
dx
1 x2 1Z
= eu du
= eu |x=2
x=1
1 x=2
= ex
x=1
= e1/2 e1
p
=e e.
Ex. 6. Suppose a population of fruit flies increases at a rate of g(t) = 2e0.02t , in flies per day. If the
initial population of fruit flies is 100 flies, how many flies are in the population after 10 days?
Solution:
We apply the Net Change Theorem:
Z 10
G(10) = G(0) + 2e0.02t dt
0
1
Taking u = 0.02t, so that du = 0.02 dx and 0.02
dx = du, we see that the net change is
Z 10 Z 10
0.02t 2 u
2e dt = e du
0 0 0.02
t=10
2 u
= e
0.02 t=0
t=10
2 0.02t
= e
0.02 t=0
0.2
= 100e 100.
The initial population is
G(0) = 100,
so the population after 10 days is
Z 10
G(10) = G(0) + 2e0.02t dt = 100 + 100e0.2 100 ⇡ 122.
0
3
Ex. 7. Find the antiderivative of .
x 10
Solution:
1
First, let’s rewrite the integrand in the form :
⇤
Z Z
3 1
dx = 3 dx
x 10 x 10
Take u = x 10. Then du = dx:
Z Z Z
3 1 1
dx = 3 dx = 3 du = 3 ln |u| + C = 3 ln |x 10| + C
x 10 x 10 u
3
Is there any value of x that must be excluded for the integrand and its antiderivative
x 10
3 ln |x 10| to be defined? Yes—we must require x 6= 10.
Answer:
3 ln |x 10| + C, x 6= 10
2x3 + 3x
Ex. 8. Find the antiderivative of .
x4 + 3x2
Solution:
u = x4 + 3x2
du = (4x3 + 6x) dx = 2(2x3 + 3x) dx
1
du = (2x3 + 3x) dx
2
Z Z
2x3 + 3x 1 du
4 2
dx =
x + 3x 2 u
1
= ln |u| + C
2
1
= ln |x4 + 3x2 | + C
2
Additional exercises
Ex. 9 (§5.6—#321, 329, 336, 337, 341). Evaluate the indefinite integral.
Z Z Z
3x dx 3
(a) e dx (c) 2
(e) x2 e x dx
x(ln x)
Z Z Z ln(1 t)
2 2 e
(b) dx (d) xe x dx (f) dt
x 1 t
Ex. 10 (§5.6—#355). Evaluate the indefinite integral.
Z 2 Z ⇡/3
1 + 2x + x2 sin x cos x
(a) 2 + x3
dx (b) dx
1 3x + 3x 0 sin x + cos x