Single Variable Calculus: A Summary: William Boyles
Single Variable Calculus: A Summary: William Boyles
William Boyles
Contents
2 Derivatives 21
2.1 Rates of Change & Tangent Lines . . . . . . . . . . . . . . . . . . . . . . . . 21
2.2 Definition of the Derivative . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.2.1 Derivative at a Point . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.2.2 Left & Right Hand Derivatives . . . . . . . . . . . . . . . . . . . . . 24
i
2.3 Differentiability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.3.1 Differentiability Implies Local Linearity . . . . . . . . . . . . . . . . . 25
Numerical Approximation: Symmetric Difference Quotient . . . . . . 25
2.3.2 Differentiability Implies Continuity . . . . . . . . . . . . . . . . . . . 26
2.4 Intermediate Value Theorem for Derivatives . . . . . . . . . . . . . . . . . . 26
2.5 Derivative Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.5.1 Basic Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.5.2 Power Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.5.3 Higher Order Derivatives . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.5.4 Product Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.5.5 Quotient Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.5.6 Chain Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
u Substitutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2.5.7 Exponential Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2.5.8 Implicit Differentiation . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Logarithmic Differentiation . . . . . . . . . . . . . . . . . . . . . . . 34
Combining Power and Exponential Rule . . . . . . . . . . . . . . . . 34
2.6 Derivatives of Trig Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.7 Derivatives of Inverse Trig Functions . . . . . . . . . . . . . . . . . . . . . . 36
2.7.1 arcsin, arctan, and arcsec . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.7.2 arccos, arccot, and arccsc . . . . . . . . . . . . . . . . . . . . . . . . . 37
2.8 Physical Interpretations of the Derivative . . . . . . . . . . . . . . . . . . . . 38
2.8.1 Displacement, Velocity, and Acceleration . . . . . . . . . . . . . . . . 38
4 Integrals 52
4.1 Estimating with Sums . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Left Endpoint Approximation . . . . . . . . . . . . . . . . . . . . . . 53
Trapezoidal Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
4.2 Definite Integrals & Antiderivatives . . . . . . . . . . . . . . . . . . . . . . . 55
4.2.1 Definition of a Definite Integral . . . . . . . . . . . . . . . . . . . . . 55
4.2.2 Basic Properties of Definite Integrals . . . . . . . . . . . . . . . . . . 56
ii
Mean Value Theorem for Definite Integrals . . . . . . . . . . . . . . . 56
4.2.3 Fundamental Theorem of Calculus . . . . . . . . . . . . . . . . . . . 57
4.3 Indefinite Integrals & Ways to Solve Them . . . . . . . . . . . . . . . . . . . 59
4.3.1 Definition of an Indefinite Integral . . . . . . . . . . . . . . . . . . . . 59
4.3.2 Indefinite Integrals Properties & Strategies . . . . . . . . . . . . . . . 60
Power Rule & Integral of 1/x . . . . . . . . . . . . . . . . . . . . . . 60
Exponential Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
4.3.3 u Substitution (Reversing the Chain Rule) . . . . . . . . . . . . . . . 60
Trig Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
4.3.4 Integration by Parts (Reversing the Product Rule) . . . . . . . . . . 63
LIPET (How to choose u) . . . . . . . . . . . . . . . . . . . . . . . . 64
Inverse Trig Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Tabular Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
5 Applications of Integrals 69
5.1 Physics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
5.1.1 Position, Velocity, & Acceleration . . . . . . . . . . . . . . . . . . . . 69
5.1.2 Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
5.2 Lengths of Curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
5.3 Areas in the Plane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
5.3.1 Subregions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
5.3.2 Integrating with Respect to y . . . . . . . . . . . . . . . . . . . . . . 75
5.4 Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
5.4.1 Volumes from Cross Sections . . . . . . . . . . . . . . . . . . . . . . . 76
5.4.2 Solids of Revolution . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Washer Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Cylindrical Shells Method . . . . . . . . . . . . . . . . . . . . . . . . 79
Other Axes of Rotation . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Surface Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
5.5 Differential Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
5.5.1 Separable Differential Equations . . . . . . . . . . . . . . . . . . . . . 82
Exponential Growth & Decay . . . . . . . . . . . . . . . . . . . . . . 84
Logistic Growth & Decay . . . . . . . . . . . . . . . . . . . . . . . . 85
5.5.2 Slope Fields & Euler’s Method . . . . . . . . . . . . . . . . . . . . . . 87
Slope Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Euler’s Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
iii
6.2.1 Polar Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
6.2.2 Polar Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Area Enclosed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Area Between Curves . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Arc Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
iv
8.2.2 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
8.2.3 Common Maclaurin Series . . . . . . . . . . . . . . . . . . . . . . . . 123
Euler’s Identity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
8.3 Approximation Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
8.3.1 Alternating Series Estimation Theorem . . . . . . . . . . . . . . . . . 124
8.3.2 Taylor’s Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Remainder Estimation Theorem . . . . . . . . . . . . . . . . . . . . . 126
8.4 Convergence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
8.4.1 nth Term Test for Divergence
. . . . . . . . . . . . . . . . . . . . . . 127
8.4.2 Geometric Series with r < 1 . . . . .
. . . . . . . . . . . . . . . . . 128
8.4.3 P-Series Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
8.4.4 Direct Comparison Test . . . . . . . . . . . . . . . . . . . . . . . . . 129
8.4.5 Limit Comparison Test . . . . . . . . . . . . . . . . . . . . . . . . . . 129
8.4.6 Integral Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
8.4.7 Ratio Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
8.4.8 nth Root Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
8.4.9 Alternating Series Test . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Riemann Rearrangement Theorem . . . . . . . . . . . . . . . . . . . 133
8.5 Radius of Convergence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
8.5.1 Convergence Theorem for Power Series . . . . . . . . . . . . . . . . . 133
8.5.2 Convergence at Endpoints . . . . . . . . . . . . . . . . . . . . . . . . 135
v
Chapter 0
Everything mentioned in this chapter should already be familiar to you from other math
classes. These topics span two major areas: algebra/pre-calculus and limits. Ideas from
these topics will often be used implicitly or without a passing reference.
If you are unfamiliar with anything mentioned, you can use man of the great online resources
like Khan Academy, to familiarize yourself before moving forward.
Often, complex numbers are visualized as points or vectors in a 2D plane, called the com-
plex plane, where α is the x-component, and β is the y-component. Thinking of complex
numbers like points helps us definepthe magnitude of complex numbers and compare them.
a point (x, y) has a distance x2 + y 2 from the origin, we can say the magnitude of z,
Since p
|z| is α2 + β 2 . Thinking of complex numbers like vectors helps us understand adding two
complex numbers, since you just add the components like vectors.
A common operation on complex numbers is the complex conjugate. The complex conjugate
of z = α + βi is z = α − βi. z and z are called a conjugate pair.
1
zw = z w
z=z⇔z∈R
zz = |z|2 = |z|2
z=z
zn = zn
z −1 = z
|z|2
For quadratics, f (x) = ax2 + bx + c, there exists a simple formula that will give us both
roots, the quadratic formula √
−b ± b2 − 4ac
x= .
2a
We can see that when b2 − 4ac < 0, like for f (x) = x2 + 5x + 10, we will get complex roots
α ± βi. For any polynomial, these roots come in pairs, so if α + βi is a root, then so is
α − βi. This means that every conjugate pair α ± βi has a quadratic equation with those
roots. Sometimes we will not factor quadratics with complex roots into linear terms.
Although there do exist explicit formulas for finding roots for cubic (degree 3) and quartic
(degree 4) equations, they are too long and not useful enough to memorize. When working
by hand, we instead use other tricks to find roots.
There are a few useful tricks that can help. If the polynomial doesn’t have a constant term,
then 0 is a root. If all the coefficients sum to 0, then 1 is a root. For certain polynomials with
an even number of terms, like all cubics of the form ax3 + bx2 + cax + cb we can factor out a
term from the first two and last two terms to get x2 (ax + b) + c(ax + b) = (ax + b)(x2 + c).
For other polynomials, we might just try guessing and checking values. However, we need a
more efficient way that works in general.
Since we are looking to find linear factors f (x) = c(x − b1 ) · . . . · (x − bn ), we can see that the
constant term in the polynomial is the product of the roots b1 . . . bn . In fact, since the co-
efficients of polynomials are completely determined by the roots and the leading coefficient,
all the coefficients are sums and products of roots. You might remember when factoring
quadratics that the coefficient of x term is the sum of the two roots. These rules are called
2
Vieta’s formulas.
So, if we have the constant term, we can check all of its integer factors to see if any are roots.
For each root, we can divide, using a technique like synthetic division, to continue finding
the rest of the roots. This method is especially useful on tests because the roots tend to be
integers.
We can immediately see that there is no constant term, so x = 0 is a root. Now we need
to work on factoring x4 + x3 − 2x2 + 4x − 24.
The factors of -24 are: -24, -12, -8, -6, -4, -3, -2, -1, 1, 2, 3, 4, 6, 8, 12, and 24. Starting
from roots close to 0 and working outwards, we find that x = 2 is a root. So, we synthetic
divide like so
x = 2 | 1 1 -2 4 -24
↓ 2 6 8 24
1 3 4 12 | 0
The function cos θ tells us x-coordinate of the point, while sin θ tells us the y-coordinate of
sin θ
the point. The function tan θ = cos θ
tells us the slope of the line from the origin to the
point. Most of the trig functions have geometric interpretations as shown below. The most
sin
used ones are sin, cos, tan = cos , cot = cos
sin
1
, csc = sin 1
, and sec = cos .
3
Figure 1: Wikipedia - Unit circle
We can also think about the inverses of these trig functions. These are either notated with
a -1 exponent on the function, or the prefix arc in front of the function name. Many of these
functions are only defined on a part of the domain [0, 2π]. Below is a table of the inverse
trig functions and their domains.
Function Domain
arcsin [−1, 1]
arccos [−1, 1]
arctan (−∞, ∞)
arccot (−∞, ∞)
arccsc (−∞, −1] ∪ [1, ∞)
arcsec (−∞, −1] ∪ [1, ∞)
4
We can also relate functions and co-functions.
π
xxx(θ) = cxx −θ
2
Some of the most useful and used identities are the sum and difference.
sin (α ± β) = sin α cos β ± cos α sin β
cos (α ± β) = cos α cos β ∓ sin α sin β
tan α ± tan β
tan (α ± β) =
1 ∓ tan α tan β
α±β α∓β
sin α ± sin β = 2 sin cos
2 2
α+β α−β
cos α + cos β = 2 cos cos
2 2
α+β α−β
cos α − cos β = −2 sin sin
2 2
5
0.1.6 Partial Fractions
P (x)
If we have a function that is the quotient of two polynomials f (x) = Q(x) , it’s often easier to
break this quotient into a sum of parts where the denominator is a linear or quadratic factor
and the numerator is always a smaller polynomial degree than the denominator.
Example.
2x − 1 1/2 −3 5/2
= + + .
x3 2
− 6x + 11x − 6 x−1 x−2 x−3
One natural way to find these small denominators comes from the linear factors of the
denominator where we keep complex roots in quadratic form. This way, when making a
common denominator, we get back the original big denominator. However, there are a few
special cases we have to take care of.
Linear Factors
This is the the most basic case where the degree of the numerator is less than the degree
of the denominator and the denominator factors into all linear factors (ie no complex roots)
with no repeated roots. In this case we can write
P (x) A1 An
= + ... +
Q(x) (x − a1 ) (x − an )
Multiplying each side by Q(x),
P (x) = A1 (x − a2 ) . . . (x − an ) + . . . + An (x − a1 ) . . . (x − an−1 )
We can then find each Ai by evaluating both sides at x = ai , since every term except the ith
one has an (x − ai ) factor, all terms except the ith one will go to 0. So,
P (ai )
Ai =
(x − ai ) . . . (x − ai−1 )(x − ai+1 ) . . . (x − an )
2x−1
Example. Find the partial fraction decomposition of x3 −6x2 +11x−6
At x = 1,
1
1 = A1 (1 − 2)(1 − 3) =⇒ A1 = .
2
6
At x = 2,
3 = A2 (2 − 1)(2 − 3) =⇒ A2 = −3.
At x = 3,
5
5 = A3 (3 − 1)(3 − 2) =⇒ A3 = .
2
So,
2x − 1 1/2 −3 5/2
= + + ,
x3 2
− 6x + 11x − 6 x−1 x−2 x−3
just as was shown in the previous example.
When making the common denominator for each repeated root of multiplicity k (i.e the root
appears k times), we do
P (x) A1 Ak
k
= (Decomposition of R(x)) + + ... +
R(x)(x − a) x−a (x − a)k
You would then multiply each side by the denominator like in the linear factors case and
solve for the coefficients. The only additional difficulty is that you might have to use previous
results or solve a system of linear equations to get some of the constants.
x2 +5x−6
Example. Find the partial fraction of x3 −7x2 +16x−12
.
At x = 2,
8 = A3 (2 − 3) =⇒ A3 = −8.
At x = 3,
18 = A1 (3 − 2)2 =⇒ A1 = 18.
7
Now we’ll use our results for A1 and A3 to find A2 using a value for x that isn’t 2 or 3 so
the A2 term doesn’t become 0. A good choice is x = 0.
At x = 0,
−6 = 18(0 − 2)2 + A2 (0 − 2)(0 − 3) + −8(0 − 3) =⇒ A2 = −17.
So,
x2 + 5x − 6 18 17 8
3 2
= − − .
x − 7x + 16x − 12 x − 3 x − 2 (x − 2)2
Quadratic Factors
If a polynomial has complex roots, then it has a quadratic factors. Here, we’ll assume that
the quadratic factor isn’t repeated. So,
Q(x) = R(x)(ax2 + bx + c), b2 − 4ac < 0, and R(x) is not divisible by ax2 + bx + c
In this case, we say
P (x) A1 x + B1
2
= (Decomposition of R(x)) + 2
R(x)(ax + bx + c) ax + bx + c
and then solve for the constants in the numerator, possibly having to solve a system of
equations or using previous results and less convenient values for x.
6x2 +21x+11
Example. Find the partial fraction decomposition of x3 +5x2 +3x+15
.
8
Repeated Quadratic Factors
If a polynomial has repeated complex roots, then we can write
Q(x) = R(x)(ax2 + bx + c)k , b2 − 4ac < 0, k ≥ 0, and R(x) is not divisible by (ax2 + bx + c)k .
Now we have to do a combination of what we did for repeated linear factors and quadratic
factors. We say
P (x) A1 x + B1 Ak x + Bk
2 k
= (Decomposition of R(x)) + 2 + ... +
R(x)(ax + bx + c) ax + bx + c (ax2 + bx + c)k
3x4 − 2x3 + 6x2 − 3x + 3 = A1 (x2 + 2)2 + (A2 x + B2 )(x2 + 2)(x + 3) + (A3 x + B3 )(x + 3).
At x = −3,
363 = 121A1 =⇒ A1 = 3.
Now, we’ll use our result for A1 and pick a value for x that minimizes the number of
things we need to solve for. We have 4 unknowns, so we’ll likely need 4 different values
for x.
At x = 0,
3 = 3(2)2 + B2 (2)(3) + B3 (3) =⇒ 2B2 + B3 = −3.
At x = 1,
At x = −1,
At x = 2,
9
Now we have a system of equations
0A2 + 0A3 + 2B2 + B3 = −3
3A + A + 3B + B = −5
2 3 2 3
=⇒ A2 = 0, A3 = 0, B2 = −2, and B3 = 1.
−3A2 − A3 + 3B2 + B3 = −5
12A2 + 2A3 + 6B2 + B3 = −11
So,
3x4 − 2x3 + 6x2 − 3x + 3 3 2 1
5 4 3 2
= − 2 + 2
x + 3x + 4x + 12x + 4x + 12 x + 3 x + 2 (x + 2)2
Improper Fractions
If the degree of the numerator is greater than or equal to the degree of the denominator, we
have a case of improper fractions. In this case, we have to do polynomial long division to
get a quotient and remainder and then decompose the remainder if necessary. So,
P (x) S(x)
= R(x) +
Q(x) Q(x)
x3 +3
Example. Find the partial fraction decomposition of x2 −2x−3
.
First we do polynomial long division to find that
x3 + 3 7x + 9
2
=x+2+ 2 .
x − 2x − 3 x − 2x − 3
Now that the numerator is of a lesser degree than the denominator, we can decompose it
normally.
x2 − 2x − 3 = (x − 3)(x + 1).
So,
7x + 9 A1 A2
= + .
x2− 2x − 3 x−3 x+1
Multiplying each side by the denominator,
7x + 9 = A1 (x + 1) + A2 (x − 3).
At x = −1,
−1
2 = −4A2 =⇒ A2 = .
2
At x = 3,
15
30 = 4A1 =⇒ A1 = .
2
So,
x3 + 3 15/2 −1/2
2
=x+2+ +
x − 2x − 3 x−3 x+1
10
Chapter 1
Limits are a way of describing what happens to a function f (x) as x gets arbitrarily close
to a value from some direction (positive or negative). This allows us not only to deal with
”holes” in some functions but describe some of the building blocks of calculus, namely the
derivative.
We write this as
lim f (x) = L.
x→c
11
Figure 1.1: Wikipedia - (, δ)-definition of limit
Visually, what this means is that for any ”error bound” of y values , I can give you a
corresponding error bound of x values δ such that all values of f (z) for z ∈ (c − δ, c + δ)
bound are between L − and L + .
We don’t use this definition of the limit very often because it’s a bit cumbersome. However,
it’s important to know that when we use the limit, this is the formal definition making things
work.
Example. Use the (, δ) definition of the limit to show that
1
lim x sin = 0.
x→0 x
Letting > 0, we need to find corresponding δ > 0 that satisfies the definition for L = 0.
Knowing that sin is bounded between -1 and 1,
12
Sum and Difference Rule: lim (f (x) ± g(x)) = L ± M
x→c
Product Rule: lim (f (x)g(x)) = LM
x→c
Constant Multiple Rule: lim k · f (x) = k lim f (x) = kL
x→c x→c
f (x) limx→x f (x) L
Quotient Rule: lim = = , ifM 6= 0
x→c g(x) limx→c g(x) M
n
Power Rule: If n 6=∈ R, lim (f (x))n = lim f (x) = Ln
x→c x→c
Example. Find the limit of f (x) as x approaches 2 for the following function.
(
x2 x 6= 2
f (x) = .
0 x=2
We can clearly see that f (2) = 0, but for = 0.1, for example, there is no δ that can
satisfy our definition, as points like (2 − δ, 4 − 2δ + δ 2 ) would outside the neighborhood
around (2, 0). In fact, the correct limit value is 4, the same as if f (x) = x2 for all x.
There are some more nuances we’ll need to describe before we can say when it’s OK to
substitute to evaluate a limit.
lim f (x)
x→0+
would mean “the limit of f (x) as x approaches 0 from the right”, while
lim f (x)
x→0−
13
Our definition of the limit from both sides requires the left and right sides to be the same.
If they are different, the the limit does not exist.
lim f (x) = lim− f (x) =⇒ lim+ f (x) = lim− f (x) = lim f (x)
x→c+ x→c x→c x→c x→c
lim f (x) 6= lim− f (x) =⇒ lim f (x) does not exist (DNE).
x→c+ x→c x→c
We’ll need to use some geometric ideas to solve this limit. Consider the following on a
unit circle.
We can see that the area of the swept arc is between the two triangle with base of length
1 and heights of sin θ and tan θ. So, we can write the following inequality.
1 1 1 sin θ
sin θ ≤ θ ≤
2 2 2 cos θ
sin θ
sin θ ≤ θ ≤
cos θ
14
Taking the reciprocal of each part and multiplying by sin θ,
sin θ
1≥ ≥ cos θ.
θ
Taking the limit of as θ approaches 0 of each term,
sin θ
1 ≥ lim ≥ lim cos θ
θ→0 θ θ→0
sin θ
1 ≥ lim ≥ 1.
θ→0 θ
if for every real > 0, there is a real number N > 0 such that for all x ∈ D,
x > N =⇒ f (x) − L < . (1.2)
All the same properties that we described for finite limits, like the Sum and Difference Rule,
still hold for infinite limits.
2. For a rational function, like a ratio of polynomials, the end behavior is the ratio of the
highest degree terms.
3. For more complicated functions, we may need to use some reasoning about the graph
of the function and limit properties to determine end-behavior.
15
1.5.2 Horizontal Asymptotes
Horizontal Asymptotes are a special type of end-behavior model.
Definition. The line y = b is a horizontal asymptote of y = f (x) if limx→∞ f (x) = b or
limx→−∞ f (x) = b.
We can determine horizontal asymptotes for rational functions (usually quotient of polyno-
mials). There are a few cases to consider
1. If the numerator is a higher degree than the denominator, there is no horizontal asymp-
tote, so we’ll need a different method to calculate what happens at ±∞.
2. If the denominator is a higher degree than the numerator, then there is a horizontal
asymptote at y = 0.
3. If the numerator and denominator have the same degree, there is a horizontal asymp-
tote at y = k where k is the ratio of the highest degree terms.
Example. Find the following limits, if they exist.
1. Since the numerator degree is bigger than the denominator degree, we’ll need to use
the end behavior model. The end behavior model tells us that the numerator term
dominates and has positive values, so the limit evaluates to ∞.
2. Since the denominator has higher degree than the numerator, there is a HA at y = 0,
so the limit evaluates to 0.
3. Since the numerator and denominator have the same degree, the limit is the ratio of
the highest-degree coefficients, −1
3
.
4. The numerator and denominator have the same degree. For x > 0, x + 2 = x + 2,
so the limit is the ratio of highest-degree coefficients, 3.
5. Looking at the two terms, we can see that as x gets large, e−x gets very small,
contributing less and less to the overall value. So, we can say that this function as
a right end behavior model of x, so the limit is ∞.
6. Looking at the two terms, we that that as x gets very large and negative, e−x changes
much faster than x. That is, e−x contributes more and more to the overall value of
the function compared to x. So, we can say that this function has a left end behavior
model of e−x , so the limit is ∞.
16
1.6 Continuity Definition
When we were looking at limits, we noticed that we can’t always substitute to find the limit,
even if the function is defined there. In the example given to show that substitution and
the limit can give different results, we saw a special type of function that seemed to have
a ”hole” at the point we were interested in finding the limit of. This function is said to
be discontinuous at this point, and in this section we’ll define when a function is or isn’t
continuous at a point based on this idea of the limit and substitution giving different values.
2. f (c) is defined
We say that a function is continuous on an interval if it’s continuous on every point in that
interval.2
Example. Find the points of continuity and discontinuity of the following functions
1
1. f (x) = 2. g(x) = e1/x
x2 +1
1. There are no points where f (x) or its limit are undefined. Further, there are no
points where f and its limit at that point are different. So, f is continuous on
(−∞, ∞) and discontinuous on ∅.
2. Since 1/x is undefined at x = 0, g(x) is also undefined at x = 0. At every other
point, g and its limit are defined and are equal. So, g is continuous on (∞, 0)∪(0, ∞)
and discontinuous on [0].
17
Jump: If f is discontinuous at c, and both of the one-sided limits exist but are
different, then f has a jump discontinuity at c.
It might seem strange that sin x1 has an oscillating discontinuity at x = 0 because we were
able to find the limit as x approaches of 0 of x sin x1 , a very similar function. However,
remembering how we applied the Ham Sandwich Theorem to find this limit, we see that the
x term bounds the amplitude of the oscillations, allowing the limit to be 0.
Example. For the following function state the following: its domain, any discontinuities and
their types, what values should redefine the function to remove any removable discontinuities
(give the extended function).
x3 − 7x − 6
f (x) =
x2 − 9
Polynomials are continuous on their entire domain of all real numbers. So, rational
functions like f can only be discontinuous when the denominator is equal to 0. This
happens in two places: x = 3 and x = −3. We’ll check the limits from each side at each
of these points to determine the type of discontinuity. For x = 3,
So, f has a removable discontinuity at x = 3 because the left and right limits are the
same. For x = 3,
lim + f (x) = −∞ and lim + f (x) = ∞.
x→−3 x→−3
So, f has an infinite discontinuity at x = −3 because both of the left and right limits go
to ±∞. The value we got from the limits at x = 3 gives us the value we need to redefine
f as to remove the discontinuity. The extended function is therefore
(
f (x) x 6= 3
fe (x) = 10
3
x=3
18
1.8 Continuity Properties
These properties should look very similar to the properties of limits. Let f and g be contin-
uous functions at c.
• Polynomials
x2
f (x) = tan .
x2 + 4
2
We can write f as the composition of tan x and x2x+4 . tan x is continuous on its domain
because it is a trigonometric function. The only points not in its domain are (2n + 1) π2 ,
2
where n is an integer. x2x+4 is a rational function, but it’s denominator is never 0, so it
is continuous over all real numbers. Now, we just need to check that all points in the
2 2
range of x2x+4 are in the domain of tan x. The range of x2x+4 is [0, 1). None of the points
in this interval are not in the domain of tan x, so the composition is continuous over all
real numbers.
That is, if f is continuous on [a, b], then f must take on every value between f (a) and
f (b). This encapsulates the idea that if a function is continuous on some interval, then it is
”connected” on that interval.
19
Example. Use the IVT to show that e−x = x has at least one solution.
Let f (x) = e−x − x. We are looking for x where f (x) = 0. f (0) = 1 and f (1) = 1e − 1.
Since f is continuous on the closed interval [0, 1], it must take on every value between 1
and 1e − 1. Since 1 is positive and 1e − 1 is negative, 0 is between these two values. Thus,
by the IVT, there must exist a solution between x = 0 and x = 1.
20
Chapter 2
Derivatives
Derivatives describe how a function is changing. They are one of the two fundamental
operations in calculus.
f (b) − f (a)
∆fa,b = .
b−a
This is also known as the “secant slope”, which gets its name from secant lines on circles.
Example. Find the average rate of change of x2 − 1 over the interval [1, 4].
f (a + h) − f (a) 1
∆fa = lim .
h→0 h
1
You may recognize this from pre-calculus as the “difference quotient”.
21
Figure 2.1: Secant and Tangent Line
22
instantaneous rate of change of f at this point.
f (x + h) − f (x)
f 0 (x) = lim (assuming the limit exists). (2.1)
h→0 h
Example. Find the derivative of f (x) = x2 + 4.
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
(x + h)2 + 4 − x2 − 4
= lim
h→0 h
x + 2xh + h2 + 4 − x2 − 4
2
= lim
h→0 h
2xh + h2
= lim
h→0 h
= lim 2x + h
h→0
2
= 2x.
There are a couple different notations that all mean the derivative of y = f (x). You should
be familiar with all of them.
dy
y0
dx
df d
f (x)
dx dx
f (x) − f (a)
f 0 (a) = lim . (2.2)
x→a x−a
1
Example. Find the derivative of f (x) = x
at x = 2.
2
Note that the constant term 4 didn’t contribute anything to the outcome. It was canceled immediately when
subtracting f (x).
23
Applying the formula for the derivative at a point,
f (x) − f (2)
f 0 (2) = lim
x→2 x−2
1/x − 1/2
= lim
x→2 x−2
−(x − 2)
= lim
x→2 2x(x − 2)
−1
= lim
x→2 2x
−1
= .
4
24
Since f 0 (1− ) 6= f 0 (1+ ), the derivative does not exist at x = 1.
2.3 Differentiability
As we saw when looking at left and right hand derivatives, a derivative will fail to exist
when the left and right hand derivatives differ. However, there are several other cases where
a function might not be differentiable at a point.
1. Corner: This is the simplest case where both the one sided derivatives exist, are
finite, but are different. An example would be f (x) = x at x = 0.
2. Cusp: This is sort of an extreme example of a corner where the one of the one
sides derivatives
√ approaches −∞ and the other approaches ∞. An example would be
3 2
f (x) = x at x = 0.
3. Vertical Tangent: This is where the one sided√derivatives exist and agree, but
approach −∞ or ∞. An example would be f (x) = 3 x at x = 0.
4. Discontinuity: This is where one of the one sided derivatives doesn’t exist. An
example would be the unit step function at x = 0, which is 1 for x ≥ 0 and -1 for
x < 0.
f does not take all values between f (−1) = 0 and f (1) = 1. So, by the contrapositive of
the IVT for Derivatives, any function that has f as its derivative will not be differentiable
on [−1, 1].
2
This follows from using the sum and difference rule with the power rule.
26
2.5.2 Power Rule
Lemma. Let f (x) = xn where n is a positive integer. Then
xn + nhxn−1 + . . . + nk hk xn−k + . . . + hn − xn
0
f (x) = lim
h→0
h
n k−1 n−k
= lim nxn−1 + . . . + h x + . . . + hn−1
h→0 k
= nxn−1 .
We’ll revisit the power rule after we discover some more detailed rules to show that n can
be any real number, not just a positive integer.
Taking the derivative a second time using the power, constant multiple rules, and sum
and difference rules,
f 00 (x) = 6x + 2.
Taking the derivative a final time using the power, constant multiple, constant, and sum
and difference rules,
f 000 (x) = 6.
27
2.5.4 Product Rule
Lemma. Let f and g be differentiable functions. Then
(f g)0 = f g 0 + gf 0 . (2.4)
f (x + h)g(x + h) − f (x)g(x)
(f g)0 = lim
h→0 h
f (x + h)g(x + h) − f (x + h)g(x) + f (x + h)g(x) − f (x)g(x)
= lim
h→0 h
f (x + h) (g(x + h) − g(x)) g(x) (f (x + h) − f (x))
= lim + lim
h→0 h h→0 h
g(x + h) − g(x) f (x + h) − f (x)
= lim f (x + h) lim + g(x) lim
h→0 h→0 h h→0 h
= f g 0 + gf 0
.
Example. Given the the derivative of sin (x) is cos (x), find the derivative of x2 sin (x).
28
Proof. Using the definition of the derivative and limit properties,
0 f (x+h) f (x)
f g(x+h)
− g(x)
= lim
g h→0 h
1 f (x + h)g(x) − f (x)g(x + h)
= lim
h→0 h g(x + h)g(x)
1 f (x + h)g(x) − f (x)g(x) + f (x)g(x) − f (x)g(x + h)
= lim
h→0 h g(x + h)g(x)
1 f (x + h)g(x) − f (x)g(x) + f (x)g(x) − f (x)g(x + h)
= lim
h→0 g(x + h)g(x) h
1 f (x + h)g(x) − f (x)g(x) f (x)g(x) − f (x)g(x + h)
= lim +
h→0 g(x + h)g(x) h h
1 f (x + h) − f (x) g(x + h) − g(x)
= lim g(x) lim − f (x) lim
h→0 g(x + h)g(x) h→0 h h→0 h
1
= 2 (g(x)f 0 (x) − f (x)g 0 (x))
g (x)
gf 0 − f g 0
= .
g2
sin (x)
Example. Given that the derivative of sin (x) is cos (x), find the derivative of x2
.
29
Proof. Applying the limit definitions of the derivative,
df f (g(x + h)) − f (g(x))
= lim
dx h→0 h
f (g(x + h)) − f (g(x)) g(x + h) − g(x)
= lim
h→0 g(x + h) − g(x) h
f (g(x + h)) − f (g(x)) g(x + h) − g(x)
= lim lim
h→0 g(x + h) − g(x) h→0 h
f (g(x + h)) − f (g(x)) dg
= lim
h→0 g(x + h) − g(x) dx
df dg
= .
dg dx
Example. Find the derivative of y = (x2 + 1)5 using the chain rule.
y is a composition of the two functions x5 and x2 + 1. Applying the chain rule,
d d 2
y0 = (x2 + 1)5 (x + 1)
d(x2+ 1) dx
Making the substitution u = x2 + 1,
d 5 d 2
y0 = u (x + 1)
du dx
= 5u4 2x
Substituting back,
y 0 = 5(x2 + 1)4 2x
= 10x(x2 + 1)4 .
u Substitutions
As we did in the example, we can substitute a variable, usually called u when applying the
chain rule.
Example. Given that the derivative of sin x is cos x, find the derivative of f (x) = sin5 x.
f is a composition of x5 and sin. Substituting u = sin x, we can rewrite f as u5 . Applying
the chain rule,
df df du
=
dx du dx
= 5u4 cos x
= 5 sin4 x cos x.
30
2.5.7 Exponential Rule
Let’s find the derivative of the most natural exponential function: f (x) = ex . Using the
limit definition of the derivative,
ex+h − ex
f 0 (x) = lim
h→0 h
e eh − 1
x
= lim
h→0 h
h
e −1
= ex lim
h→0 h
Remembering the following definition of e,
n
1
e = lim 1+ .
n→∞ n
Substituting h = 1/n,
e = lim (1 + h)1/h .
h→0
Putting substituting this definition for e into our work,
h
1/h
(1 + h) −1
f 0 (x) = ex lim
h→0 h
(1 + h) − 1
= ex lim
h→0 h
h
= ex lim
h→0 h
x
=e .
Amazingly, this function is equal to it’s own derivative. In fact, aside from the trivial exam-
ple of 0, ex is the only function with this property.
We can apply the chain rule to find the derivative of bx for real, positive values of b.
f (x) = bx = ex ln b .
Let u(x) = x ln b.
f (x) = bx = eu(x) .
Applying the chain rule,
d u d
f 0 (x) = e x ln b.
du dx
= eu ln b
= ex ln b ln b
= bx ln b.
31
2
Example. Find the derivative of f (x) = 2x .
Let u(x) = x2 .
f (x) = eu (x).
Using the exponential and chain rules,
df du
f 0 (x) =
du dx
d u d 2
= e x
du dx
= 2u ln (2)2x
2
= 2x ln (2)2x
2
= 2x ln (2)2x .
1. Get all terms involving y to one side of the equation. This step is technically optional
but usually makes the step 3 more convenient.
2. Take the derivatives of both sides of the equation, using the chain rule.
3. Rearrange to solve for y 0 , making substitutions for y to get the answer in terms of
input parameters (e.g x).
It’s possible that you can get multiple solutions for y 0 . You’ll need to check if
Step 1 is already complete by what’s given. Taking the derivative of both sides, remem-
bering to use the chain rule,
2yy 0 = 1.
Solving for y 0 ,
1
y0 = .
2y
√
Looking back at our original equation, we see y = ± x. Substituting back into our work,
1
y0 = ± √ .
2 x
32
Sometimes, it’s not possible or is not necessary for what you’re working on to complete step
3, meaning you leave your answer for y 0 in terms of y and input parameters.
y 4 − y = x3 + x.
3x2 + 1
y0 = .
4y 3 − 1
Since we have both the x and y coordinates of where we’re looking for the slope, we don’t
need to complete step 3. We can simply substitute to find our numerical answer for y 0 .
0 0+1 1
y(0,1) = = .
4−1 3
Sometimes, we might already be given a formula for y, but rearranging and then doing
implicit differentiation is easier.
We don’t have any way to find the derivative of ln directly, but we do know how ln relates
to exponential functions, a form we do know how to differentiate. Exponentiating both
sides with base e,
ey = eln x = x.
Implicitly differentiating,
ey y 0 = 1.
Solving for y 0 ,
1
y0 = .
ey
Substituting what we were given for y,
1 1
y0 = = .
eln x x
33
Logarithmic Differentiation
Logarithmic differentiation is a certain type of differentiation where you take to natural log
of both sides and then implicitly differentiate. It’s especially useful when input parameters
appear in both the base and exponent.
Example. Find the derivative with respect to x of y = xln x .
Taking the natural log of both sides,
ln y = ln2 x.
Implicitly differentiating,
1 0 2 ln x
y =
y x
2 ln x
y0 = y
x
2 ln x
= xln x .
x
We now have the tools to prove the power rule for all real exponents.
Proof. Let n be an real number.
y = xn
ln y = n ln x
1 0 1
y =n
y x
ny
y0 =
x
nxn
=
x
= nxn−1 .
34
2.6 Derivatives of Trig Functions
Let’s find the derivative of f (x) = sin x. Using the limit definition of the derivative,
sin (x + h) − sin x
f 0 (x) = lim
h→0 h
sin x cos h + cos x sin h − sin x
= lim
h→0 h
sin x (cos h − 1) + cos x sin h
= lim
h→0 h
cos h − 1 sin h
= sin x lim + cos x lim
h→0 h h→0 h
= sin x · 0 + cos x · 1
= cos x.
We can now use the chain rule to get the derivative of cos x.
f (x) = cos x
π
= sin −x
2π
f 0 (x) = cos − x · −1
2
= − sin x.
The rest of the derivatives of the common trig functions follow from these results and the
quotient rule.
d d d
sin x = cos x sec x = sec x tan x tan x = sec2 x
dx dx dx
d d d
cos x = − sin x csc x = − csc x cot x cot x = − csc2 x.
dx dx dx
Example. Use the identity cos 2x = cos2 x − sin2 x to find the derivative of cos 2x. Express
your answer in terms of sin 2x. Does this answer the same as what you’d expect by finding
the derivative using the chain rule?
Taking the derivative of cos2 x,
d
cos2 x = cos x · − sin x + cos x · − sin x = −2 sin x cos x = − sin 2x.
dx
Taking the derivative of sin2 x,
d
sin2 x = sin x cos x + sin x cos x = 2 sin x cos x = sin 2x.
dx
35
Combining these results to get the derivative of cos 2x,
d d d
cos 2x = cos2 x − sin2 x = − sin 2x − sin 2x = −2 sin 2x.
dx dx dx
This answer is indeed the same one we’d expect using the chain rule.
df −1
1
= df
dx f (a)
da a
This leads us to a theorem that will help us derive the derivatives of the inverse trig functions.
Theorem. If f is differentiable at every point along an interval I and its derivative is never
0 along I, then f −1 exists and is differentiable on every point in f (I).
y = arcsin x
sin y = x
cos (y)y 0 = 1
1
y0 =
cos y
1
=p
1 − sin2 y
1
=√ , −1 < x < 1.
1 − x2
36
We can use the same method to find the derivative of arctan x, which is differentiable for all
real numbers.
y = arctan x
tan y = x
sec2 (y)y 0 = 1
1
y0 =
sec2 y
1
=
1 + tan2 y
1
= .
1 + x2
Although we generally use the same method for arcsec, which is differentiable for x > 1,
we have to be careful with out trig identities.
y = arcsec x
sec y = x
sec (y) tan (y)y 0 = 1
1
y0 =
sec (y) tan (y)
1
=
x tan (y)
1
= p
±x sec2 y − 1
1
= √
±x x2 − 1
(
√1 x>1
= x 1−x2
√−1 x < −1
x 1−x2
1
= √ , x > 1.
x 1 − x2
37
d −1 d −1 d −1
arccos x = √ , −1 < x < 1 arccot x = arccsc x = √ , x > 1.
dx 1 − x2 dx 1 + x2 dx x 1 − x2
When r = 5m,
dA
= 2π (5m) = 10πm.
dr r=5m
dV
= 4π (5m)2 = 100πm2 .
dr r=5m
s = f (t).
∆s = f (t + ∆t) − f (t).
38
The average velocity over this interval would be
f (t + ∆t) − f (t)
v̄ = .
∆t
As ∆t approaches 0, we see that v̄ is exactly the definition of the derivative of f with respect
to t: the instantaneous velocity.
ds f (t + ∆t) − f (t)
v(t) = = lim .
dt ∆t→0 ∆t
We can go through the same steps to derive that instantaneous acceleration is the derivative
of instantaneous velocity with respect to t.
dv d2 s v(t + ∆t) − v(t)
a(t) = = 2 = lim .
dt dt ∆t→0 ∆t
Although in everyday language we might use the terms speed and velocity interchangeably,
speed is defined as the absolute value of velocity, meaning it is a scalar quantity while velocity
is a vector quantity.
ds
Speed = v(t) = .
dt
Modeling the motion of free-falling bodies was one of the earliest motivations for discovering
calculus. Through experiments and applications of physics theory, we know that the height
of a falling body when dropped from initial height h0 meters is modeled by
1
s(t) = h0 − gt2 ,
2
where t is the time in seconds since the object was released and g = 9.81m/s2 is the accel-
eration due to gravity near Earth.
Example. A ball is dropped from an initial height of 100 meters. How long does it take for
the ball to hit the ground? What speed is the ball traveling when it hits the ground?
In this case, h0 = 100m. So,
1
s(t) = 100m − gt2 .
2
We want to solve for t where s(t) = 0.
r
200m
t= ≈ 4.515s.
g
We take take the derivative of s with respect to t and then take the absolute value to get
the speed.
d
v(t) = s(t) = −gt.
dt
Speed(t) = v(t) = gt.
Plugging in the time we got when the ball hits the ground,
SpeedGround ≈ g(4.515s) ≈ 44.294m/s.
39
Chapter 3
2. [0, 2]
3. (0, 2]
4. (0, 2)
1. For the max, there is no maximum value because we can keep increasing x to get a
larger output. The min is 0 when x = 0.
2. The max is 4 when x = 2. The min is 0 when x = 0.
3. The max is 4 when x = 2. Although the function approaches 0 in the limit as x
approaches 0, there is no min because 0 itself is not a value x2 can take on the
interval.
4. Although the function approaches 4 as x approaches 2, there is no max because 4
itself is not a value x2 can take on the interval. Like in the previous question, there
is no min.
We see that a function can fail to have a max or min value, but this cannot happen on a
finite, closed interval.
Theorem (Extreme Value Theorem). If f is continuous on some finite, closed interval [a, b],
then f must have both a minimum and maximum value on the interval.
We can find these extreme values by following these steps.
40
1. Find any relative/local minima and maxima.
2. Find the function values for these local minima and maxima.
4. The smallest such function value will be the absolute minima, while the largest such
function value will be the absolute maxima.
Theorem. If a function f has a local extrema at a point c interior to its domain and f 0
exists at c, then
f 0 (c) = 0.
So, the only candidate values we need to check are the endpoints and where the derivative
is 0. Such points are called critical points.
1. We’ll take the derivative to find all the critical points. y 0 = 3x2 + 2x − 8, which is 0
when x = −2 and x = 4/3.
2. (−2)3 + (−2)2 − 8(−2) + 5 = 17 and (4/3)3 + (4/3)2 − 8(4/3) + 5 = −41/27.
3. (−3)3 + (−3)2 − 8(−3) + 5 = 11 and (2)3 + (2)2 − 8(2) + 5 = 1.
4. Of these values, (−2, 17) is the absolute maxima and (4/3, −41/27) is the absolute
minima.
f (b) − f (a)
f 0 (c) = .
b−a
That is, there’s at least one point where the instantaneous rate of change and average rate
of change are equal. Another way of visualizing this is that there’s al least one point where
the tangent and secant lines are parallel.
41
Figure 3.1: Wikipedia - Mean Value Theorem
Example. A trucker drives 150 miles of a route in 2 hours. The speed limit along the route
is 65 miles per hour. Show that at at least one point, the trucker must have been speeding.
We can model the trucker’s position along the route s as a function of time t where s(0) = 0
and s(2) = 150. We know that velocity is the derivative of position, so v(t) = s0 (t). It’s
reasonable to assume that s is differentiable on the interval [0, 2]. So, by the Mean Value
Theorem, there must exist a point c where
s(2) − s(0) 150 − 0
v(t) = = = 75mph.
2−0 2
At this point, the trucker was exceeding the speed limit of 65 miles per hour.
Definition. Let f be defined on an interval I. Let a and b be any two different points in I.
This should make sense given our theorem about local extrema. If f could still increase/decrease
while its derivative was negative/positive, then we couldn’t be sure that f is at a local max-
ima/minima when f 0 = 0.
Corollary. If f 0 (x) = 0 at all points in an interval I, then there is some constant C such
that f (x) = C for all points in I.
42
This follows from the Mean Value Theorem. Since f 0 = 0, the numerator in the Mean Value
Theorem, f (b) − f (a), must also be 0, meaning f (b) = f (a) = C.
Corollary. If f 0 (x) = g 0 (x) at ever point in some interval I, then there is come constant C
such that f (x) = g(x) + C.
That is, functions with the same derivative differ by a constant. This should make sense
given our constant and sum and difference derivative rules. If we let h0 (x) = f 0 (x)−g 0 (x) = 0
and apply the previous corollary, we get C.
Definition. A function F (x) is the antiderivative of f (x) if F 0 (x) = f (x) for all points in
the domain of f .
As we saw in the previous corollary, a function will have infinitely many antiderivatives that
differ by a constant.
43
As x approaches ∞ (the right endpoint), f also approaches ∞, so there is no absolute
maximum. Similarly, as x approaches −∞ (the left endpoint), f also approaches −∞, so
there is no absolute minimum.
Definition. On some open interval I, the graph of a twice differentiable function f (x) is
1. Concave up if f 00 > 0 on I.
Concave up portions of a graph tend to look like valleys, while concave down portions tend to
look like hills. Unlike the first derivative, we can tell if a function is increasing or decreasing
using concavity. We can however say if the function is increasing or decreasing more or less
rapidly.
The points where a function changes concavity are called ”inflection points”. At these
points, the function is increasing or decreasing most rapidly, depending on the sign of the
first derivative.
Rather than looking at the sign of f 0 around critical values, we can look at the concavity at
the critical point.
44
3. If f 00 (c) = 0, then the test is inclusive.
In other words, if we’re at a critical point that’s turning into a valley, then the critical point
must be the top of a hill. If we’re at a critical point that’s turning into a hill, then the
critical point must be the bottom of a valley. This test is particularly useful because you
only need to know f 00 at c rather than an entire interval1 .
Example. Use the second derivative test to find the local extreme values of f (x) = x3 −
12x − 5.
4. Select the extreme values that fit the problem’s constraints. Make sure your answer is
what the problem is asking for.
Example. A farmer has 1000 linear feet of fence and wants to create a rectangular pasture.
The pasture borders a river, which doesn’t need a fence. What is the maximum area he can
enclose?
1
It also extends to higher dimensions much better than the first derivative test.
45
1. Since the pasture is rectangular, we know the two lengths of fence perpendicular to
the river will be the same length, which we’ll call x. We’ll say the remaining side
parallel to the river has length y. So, the area enclosed is
A(x, y) = xy.
2. There is no reason for the farmer not to use all 1000 linear feet of fence, so we’d expect
the sum of the lengths of the 3 fenced sides to be equal to 1000 feet: 2x + y = 1000,
or y = 1000 − 2x. We can then substitute back into our primary equation to get it
in terms of just x.
A(y) = x(1000 − 2x) = 1000x − 2x2 .
3. We’ll do a first derivative test to find extreme values.
A0 (y) = 1000 − 4x
A0 (y) = 0 at x = 250
A0 (200) = 200 > 0
A0 (300) = −200 < 0.
f (x1 ) = f (x2 )
8 − x21 = 8 − x22
x21 = x22
±x1 ± x2
−x1 = x2 because x1 6= x2 .
A0 (x2 ) = 16 − 6x22
4
A0 (x2 ) = 0 at x = ± √
6
00
A (x2 ) = −12x2
√
00 4
A −√ =8 6>0
6
√
00 4
A √ = −8 6 < 0.
6
√ √
4. So, x2 = 4/ 6 is a local maximum, and x2 = −4/ √6 is a local minimum. The
problem asks for a maximum, so we select x2 = 4/ 6. The problem asks for a
maximum area, so
3
4 4 128
Amax = 16 √ −2 √ = √ ≈ 17.419.
6 6 3 6
A = x2
dA dx
= 2x .
dt dt
dx
When x = 3ft and dt
= 3ft/min,
dA
= 2(3ft)(3ft/min) = 12ft2 /min.
dt
Example. The top of a 13 foot ladder propped against a vertical wall begins falling towards
the ground at 12ft/s. When the top of the ladder is 5 feet off the ground, how quickly is the
bottom of the ladder moving away from the wall? How how is the angle between the ladder
and the ground changing?
47
Let h be the height of the top of the ladder of the ground. Then dh dt
= −12ft/s. Let b
the the distance from the base of the ladder to the wall. We can relate b and h using the
Pythagorean Theorem, where the 13-foot long ladder is the hypotenuse.
b2 + h2 = 132 .
We can also use this relationship to see that when h = 5ft, b = 12ft. Implicitly differen-
tiating,
db dh
2b + 2h = 0.
dt dt
Plugging in what we know and solving for db dt
,
db
2(12ft) + 2(5ft)(−12ft/s) = 0
dt
db
24ft = 120ft2 /s
dt
db
= 5ft/s.
dt
So, the base of the ladder is moving away from the wall at a rate of 5ft/s. Let θ be the
angle between the ladder and the ground. We can use sin to relate θ to b.
13 sin θ = b.
Implicitly differentiating,
dθ db
13ft cos (θ)
= .
dt dt
When cos is adjacent divided by hypotenuse, so cos θ = 12/13. Plugging in what we know
and solving for dθ
dt
,
dθ
13ft(12/13) = −12ft/s
dt
dθ
= −1/s.
dt
So, the angle between the ladder and ground is decreasing at at rate of 1 rad/s.
Example. Grain is is poured at a rate of 10ft3 /min and falls into a cone-shaped pile whose
bottom radius is half its altitude. How fast will the circumference of the base be increasing
when the pile is 8 ft tall?
Let h the the altitude of the cone. At the instant we care about h = 8ft. Let r be the
bottom radius of the cone. At the instant we care about, r = h/2 = 4ft. Let V be the
volume of the cone. We know that dV dt
= 10ft3 /s. We can relate these three quantites
using the formula for the volume of a cone.
1
V = πr2 h.
3
48
Since we know that 2r = h, we can simplify to get rid of h.
2
V = πr3
3
Implicitly differentiating,
dV dr
= 2πr2 .
dt dt
We know the formula for the circumference C of the circular base.
C = 2πr.
Implicitly differentiating,
dC dr
= 2π .
dt dt
dV
We can substitute into our equation involving dt .
dV dC
= r2 .
dt dt
Plugging in what we know,
dC
10ft3 /s = (4ft)2
dt
dC 5
= ft/s.
dt 8
is the linearization of f at a.
49
Following the definition,
f (0) = ln (0 + 1) = 0
1
f 0 (x) =
x+1
1
f 0 (0) = =1
0+1
L(x) = 1(x − 0) + 0 = x.
L(0.1) = 0.1
f (0.1) ≈ .0953
L(0.1) − f (0.1)
% error = 100% ≈ 4.7%.
L(0.1)
dy is the approximated change in y expected by the linearization for some given change in
x, dx.
2x
Example. Find dy for y = 1+x2
, x = −2, and dx = 0.1.
−4x2 2
y0 = 2 +
2
(1 + x ) 1 + x2
y 0 (−2) = −6/25
dy = (−6/25)(0.1) = −0.024.
50
tangent line at x0 and find where it intersects the x − axis.
This x value serves as our next guess for the zero. We repeat this process, until we find the
zero or are satisfied with our error2 . This yields a recursive formula
f (xn )
xn+1 = xn − .
f 0 (xn )
2
For most well-behaved functions, Newton’s Method can get within a small margin of error or a zero relatively
quickly. There is also a generalized, sometimes faster version of Newton’s Method that approximates the
function with higher-order polynomials than just lines.
51
Chapter 4
Integrals
Example. A train moves at 80 miles per hour for 3 hours. How far does it travel?
This is the kind of simple problem you might see in a physics class.
80mi
3hr = 80 · 3mi = 240mi.
hr
However, if we take a look at a graph of this situation, with speed in miles per hour on
the y axis and time in hours on the x axis, we see that the area underneath the curve
from x = 0hr to x = 3hr is exactly our answer of 240 miles. This is not a coincidence, as
what we effectively did mathematically is find the area of this rectangle.
52
The same idea of finding the area under the curve works not just for constant speeds.
Example. A particle moves at velocity v(t) = 3t + 3 meters per second for time t ≥ 0. What
is the position of the particle at t = 2 seconds?
Figure 4.2: Our answer is still the area under the curve.
1
A = h(b1 + b2 )
2
1
= (2s − 0s)(v(0) + v(2))
2
1
= (2s)(3m/s + 9m/s)
2
= 12m.
Figure 4.3: Left Endpoint: Block widths of 1/3, 1/10, and 1/100.
Although above we’ve used a left endpoint approximation, we could have also used the right
endpoint or midpoint, which might give better approximations for certain types of curves.
No matter the approximation type, the estimate tends to get closer to the true area as the
53
rectangle width is decreased. The formulas for estimating the area of f from a to b with n
rectangles are
n−1
X
Aleft = f (a + k∆x) ∆x
k=0
n−1
X
Aright = f (a + (k + 1)∆x) ∆x
k=0
n−1
X 2k + 1
Amid = f a+ ∆x ∆x
k=0
2
b−a
where ∆x = .
n
Trapezoidal Rule
Another common shape to use rather than rectangles is trapezoids. Trapezoids allow us to
find the exact area of functions made of straight lines1 and like the left endpoint approxi-
mation, get better the narrower the width of each trapezoid. Starting from the formula, we
can make some simplifications.
1
A = (b1 + b2 )h
2
Now summing each of these trapezoids’ areas to approximate our function f from a to b,
n−1
X 1
Atrap = (f (a + i∆a) + f (a + (i + 1)∆x)) ∆x
k=0
2
n−1
∆x X
= f (a + i∆x) + f (a + (i + 1)∆x)
2 k=0
∆x
= ((f (a) + f (a + ∆x)) + (f (a + ∆x) + f (a + 2∆x)) + . . . + (f (a + (n − 1)∆x) + f (a + n∆x)))
2
∆x
= (f (a) + 2f (a + ∆x) + 2f (a + 2∆x) + . . . + 2f (a + (n − 1)∆x) + f (a + n∆x))
2
Aleft + Aright
= .
2
The trapezoidal rule overestimates areas when the curve is concave up and underestimates
when the curve is concave down.
1
There are higher-order, more accurate estimations than the trapezoidal rule. The most common is Simpson’s
Rule. A = 2M3+T where M is the midpoint formula area and T is the trapezoidal rule area. It can exactly
give the area of quadratics because it corresponds to estimating areas using parabolas that intersect the
curve at the left, middle, and right of each ”strip”.
54
4.2 Definite Integrals & Antiderivatives
4.2.1 Definition of a Definite Integral
We saw several approximations for the areas under any type of curve. We also saw how these
approximations get better the narrower our “strips”. In the limit, we get exactly the area
under the curve, which defines the definite integral.
Definition. Let f be continuous on the closed interval [a, b]. Let this interval be partitioned
into n equal2 sub-intervals, each of length ∆x = b−a
n
. The definite integral of f over [a, b] is
given by
Z b n−1
X
f (x)dx = lim f (ck )∆x
a n→∞
k=0
where ck is any arbitrary value in the kth sub-interval. This particular type of limit of a sum
is called a Riemann Sum.
Note that the left, right, and midpoint approximations are all different ways of choosing ci ,
all of which in the limit give the area under the curve and definite integral from a to b.
Example. Find the value of the following definite integral using Riemann sums.
Z 1
x2 dx.
0
We’ll use a Riemann sum with a left-endpoint approximation.
Z 1 n−1
2
X k 1−0
x dx = lim f 0+
0 n→∞
k=0
n n
n−1 2
X k 1
= lim
n→∞
k=0
n n
n−1 2
X k
= lim
n3
n→∞
k=0
1 n(n − 1)(2n − 1)
= lim 3
n→∞ n 6
1 3 1
= lim 2− + 2
n→∞ 6 n n
1
= .
3
Note that area below the x-axis is counted as negative area. In general
Z b
f (x)dx = area above x-axis − area below y-axis.
a
2
Technically, the intervals don’t need to be of equal size, as long as the width of all intervals goes to 0 in the
limit.
55
4.2.2 Basic Properties of Definite Integrals
The following are properties of definite integrals. Many should look familiar from properties
of limits and derivatives. Let f and g be continuous functions of x. Let a, b, and c be real
constants where a 6= b. Let f[a,b] be the values of f on the interval [a, b].
Z b Z a
Order of Integration Rule: f (x)dx = − f (x)dx
a b
Z b Z b Z b
Sum and Difference Rule: (f (x) ± g(x))dx = f (x)dx ± g(x)dx
a a a
Z a
Zero Rule: f (x)dx = 0
a
Z b Z b
Constant Multiple Rule: cf (x)dx = c f (x)dx
a a
Z b Z c Z c
Additivity Rule: f (x)dx + f (x)dx = f (x)dx
a b a
Z b
Max-Min Rule: (b − a) min f[a,b] ≤ f (x)dx ≤ (b − a) max f[a,b]
a
Z b Z b
Domination Rule: min f[a,b] ≥ max g[a,b] =⇒ f (x)dx ≥ g(x)dx.
a a
You can effectively think of this as the definition of the average: adding up all the values
and dividing by the number of values. This is exactly what happens if you work through
the Riemann sums. Much like the Mean Value Theorem for Derivatives, since the function
is continuous, it will take on its average value somewhere in the interval.
Theorem (Mean Value Theorem for Definite Integrals). If f is continuous on the interval
[a, b], then there is some point c in the interval such that
Z b
1
f (c) = f (x)dx.
b−a a
56
Figure 4.4: A continuous function always takes on its mean value
Example. A plane’s airspeed is given by v(t) = t/8, t ≥ 0. What what time t does the Mean
Value Theorem guarantee that the plane’s speed was 1? When is this time?
Rather than go through the trouble of evaluating a limit to find the definite integral, we
can notice that the graph of the plane’s airspeed is a triangle, which we know how to find
the area of geometrically.
1
Area(t) = tv(t).
2
Dividing by the length of the interval to get the average airspeed,
1 1 1
Avg(t) = tv(t) = v(t).
t−0 2 2
Solving for t when Avg(t) = 1,
1 t
= 1 =⇒ t = 16.
2 8
So, at time t = 16, the Mean Value Theorem tells us that the plane’s speed was 1. Looking
at the graph, we can see that at time t = 8 the plane’s speed was indeed 1.
57
Let’s try taking the derivative of F using the limit definition.
F (x + ∆x) − F (x)
F 0 (x) = lim
∆x→0 ∆x
R x+∆x Rx
a
f (t)dt − a f (t)dt
= lim
∆x→0 ∆x
R x+∆x
f (t)dt
= lim x (by Integral Rules)
∆x→0 ∆x
f (k)∆x
= lim , x ≤ k ≤ x + ∆x (by Mean Value Theorem)
∆x→0 ∆x
= lim f (k)
∆x→0
= f (x) (by Sandwich Theorem).
Taking the derivative seems to undo the integration. The same fact applies if we take the
integral of a derivative. Starting with what we’ve just shown,
Z x
d
f (t)dt = f (x).
dx 0
d
Let g(x) = dx
f (x). Z x
d d
g(t)dt = g = f (x).
dx 0 dx
Since the derivatives are equal, we know the functions must differ by at most a constant C.
Z x
g(t)dt = f (x) + C
0
Z x
d
f (t) dt = f (x) + C.
0 dx
So, the integral of the derivative gets us a function that differs from the original by at most
a constant.
This idea that the integral and derivative undo each other is captured by the Fundamental
Theorem of Calculus.
Theorem (Fundamental Theorem of Calculus). Let f be a continuous function on the in-
terval [a, b]. Then Z x
F (x) = f (t)dt
a
has a derivative at every point in [a, b], and
Z x
dF d
= f (t)dt = f (x).
dx dx a
Further, if F is the antiderivative of f on [a, b], then
Z b
f (x)dx = F (b) − F (a).
a
58
This last equation is especially useful for calculating definite integrals. Rather than evalu-
ating a limit of a Riemann sum, if we know the antiderivative, we can just evaluate at two
points.
Example. Evaluate the following definite integral using antiderivatives.
Z 1
dx
2
.
0 1+x
1
We previously derived that the derivative of arctan x is 1+x 2. So, arctan x is the an-
1
tiderivative of 1+x2 . Applying the Fundamental Theorem of Calculus (FTC)
Z 1
dx
2
= arctan 1 − arctan 0
0 1+x
π
= −0
4
π
= .
4
We derived previously that the derivative of sin x is cos x. So, for any real constant C,
sin x + C is the antiderivative of cos x.
Z
cos xdx = sin x + C.
59
4.3.2 Indefinite Integrals Properties & Strategies
Knowing that the indefinite integral give us the antiderivative, we can simply apply the rules
we derived for derivatives in reverse.
xn+1
Z
xn dx = + C.
n+1
n = −1 has to be a special case, otherwise the denominator would be 0.
We derived earlier that that the derivative of ln x was 1/x. However, we have to be a little
more careful before we write the integral of 1/x. 1/x is defined for all real values except 0, but
ln x is only defined for positive values. So, we need a different antiderivative, which would
have to be equal to ln x for positive x, that’s defined everywhere that 1/x is defined. ln x
works nicely because it’s defined everywhere that 1/x is defined, it’s the antiderivative for
positive x, and its slope for negative values of x corresponds exactly to how 1/x is negative
for negative values of x.
Lemma. Z
1
dx = ln x + C.
x
Exponential Rule
Since ex is its own derivative, it’s also its own antiderivative. A similar idea applies for any
base.
Lemma.
bx
Z
bx dx = + C.
ln b
60
2
Since we know that dxdx
= 2x, or in differential form dx2 = 2xdx, we can make a substi-
tution. Letting u = x2 ,
Z Z
2
x · 2xdx = udu
u2
= +C
2
x4
= + C.
2
Sometimes the derivative itself won’t be there, but a constant multiple of the derivative.
Example. Solve the following indefinite integral:
x2
Z
dx.
1 − x3
A good way to spot that there might be the possibility of a u-substitution here is the fact
that the denominator is a polynomial of one higher degree than the numerator. So, if we
took the derivative of the denominator, we’d get a polynomial of the same degree as the
numerator. Let u = 1 − x3 . Then du = −3x2 dx; x2 dx = −du/3.
x2 −du
Z Z
3
dx =
1−x u
= − ln u + C
= − ln 1 − x3 + C.
We can also apply u-substitutions to definite integrals. We’ll need to change the bounds of
integration to be in terms of u before we evaluate.
Example. Solve the following definite integral:
Z 1 √
15x2 5x3 + 4dx.
0
u = 5(1)3 + 4 = 9.
Z 1
2
√ Z 9
√
3
15x 5x + 4dx = udu
0 4
√ 9
2u u
=
3 4
√ √
2(9) 9 2(4) 4
= −
3 3
54 16
= −
3 3
38
= .
3
61
Trig Functions
We can get the integrals of some of the trig functions by simply applying the derivatives for
trig functions in reverse.
Z Z
sin xdx = − cos x + C cos xdx = sin x + C
We can get the integrals of tan x and cot x using basic u-substitutions.
Z Z
sin x
tan xdx = dx
cos x
u = cos x and du = − sin xdx
−du
Z
=
u
= − ln u + C
= − ln cos x + C.
Z Z
cos x
cot xdx = dx
sin x
u = sin x and du = cos xdx
Z
du
=
u
= ln u + C
= ln sin x + C.
We can also get the integrals of sec x and csc x using u-substitutions, but we have to be a
bit more clever and multiply the integrand by a strange-looking fraction that equals 1.
Z Z
sec x + tan x
sec xdx = sec x dx
tan x + sec x
sec2 x + sec x tan x
Z
=
tan x + sec x
u = tan x + sec x and du = (sec2 x + sec x tan x)dx
Z
du
=
u
= ln u + C
= ln tan x + sec x + C.
62
Z Z
csc x + cot x
csc xdx = csc x dx
cot x + csc x
csc2 x + csc x cot x
Z
= dx
cot x + csc x
u = cot x + csc x and du = −(csc2 x + csc x cot x)dx
−du
Z
=
u
= − ln u + C
= − ln cot x + csc x + C.
Since x and sin x don’t have any parts that are related by a derivative, a u-substitution
wouldn’t be helpful. However, we know how to differentiate x and integrate sin x, so
3
This justification isn’t completely rigorous because you can’t always treat differentials like fractions, but the
overall result is correct.
63
integration by parts is a good strategy to try.
u = x and du = dx
dv = sin xdx and v = 4 − cos x
Z Z
x sin xdx = −x cos x − − cos xdx
= −x cos x + sin x + C.
64
Example. Solve the following indefinite integral:
Z
e−x cos xdx.
It might seem like we’ve hit a dead end, since we’re back trying to integrate the exact
same function we started with. However, if we rearrange our equations a little bit, we’ll
see that we’re actually really close to a solution.
Z Z
e cos xdx = e sin x − e cos x − e−x cos xdx
−x −x −x
Z
2 e−x cos xdx = 5 e−x sin x − e−x cos x + C
e−x sin x − e−x cos x
Z
e−x cos xdx = + C.
2
5
We need to remember to include a +C. Usually it would come from completely solving an integral, but here
we just did some rearranging.
65
Inverse Trig Functions
We can use tabular integration to integrate the inverse trig functions. We’ll also end up ap-
plying two different strategies: Integration by parts and u-substitution to solve one integral.
1
u = arcsin x and du = √
1 − x2
dv = dx and v = x
Z Z
x
arcsin xdx = x arcsin x − √ dx
1 − x2
−1
u = 1 − x2 and xdx = du (this is a different u than before)
2 Z
1 du
= x arcsin x + √
2 u
√
1 u
= x arcsin x + +C
2 1/2
√
= x arcsin x + u + C
√
= x arcsin x + 1 − x2 + C.
The integration by parts into u-substitution idea even works for arctan x.
1
u = arctan x and du =
1 + x2
dv = dx and v = x
Z Z
x
arctan xdx = x arctan x − dx
1 + x2
1
u = 1 + x2 and xdx = du (this is a different u than before)
2 Z
1 du
= x arctan x −
2 u
1
= x arctan x − ln u + C
2
1
= x arctan x − ln 1 + x2 + C.
2
We can do the same thing to find the integral of arccot x.
Z
1
arccot xdx = x arccot x + ln 1 + x2 + C.
2
66
The integrals of arcsec x and arccsc x involve a special type of function you probably haven’t
seen before, arccoshx. However, if you’re familiar with this function and it’s derivative, you
can still apply integration by parts to find their antiderivatives.
Z
arcsec xdx = x arcsec x − arccoshx + C
Z
arccsc xdx = x arccsc x + arccoshx + C.
Tabular Integration
If we’re trying to integrate a function like x4 e−x using integration by parts, we quickly realize
that we’ll need to perform integration by parts 4 times, choosing the same value for dv every
time. Since this would be rather tedious and repetitive, we can extract the essential elements
of integration by parts into a table and perform integration by parts many times without
needing to repeat ourselves.
In integration by parts, we essentially choose one function (u) to continually differentiate
and another (dv) to continually integrate. We then alternate signs with each iteration of
integration by parts, due to negative signs canceling each other out. So, in our table, we’ll
have three columns, one where we’ll continually differentiate a function, usually until its
a constant, a column to keep track of the sign, and a final column that we’ll continually
integrate. Then, all we’ll have to do is multiply across columns and sum across rows to get
our result from repeated integration by parts.
Following LIPET, x4 is our function to differentiate and e−x is our function to integrate.
Setting up our table,
67
Multiplying across each arrow and summing,
Z
x4 e−x dx = x4 −e−x + 4x3 (−1)e−x + 12x2 −e−x + 24x(−1)e−x + 24 −e−x + C
68
Chapter 5
Applications of Integrals
5.1 Physics
5.1.1 Position, Velocity, & Acceleration
Since we know by the FTC that integration is the opposite of differentiation, we can also
interpret integrals in a similar physical sense as derivatives.
Z Z
v(t)dt = x(t) + C a(t)dt = v(t)
Example. A particle starts at t = 0 with an initial velocity of 5m/s and accelerates for 8
seconds. It’s acceleration is given by a(t) = 2.4t m/s2 . What is the particle’s velocity after
the 8 seconds pass? What is the particle’s displacement after the 8 seconds pass?
We can integrate acceleration to get velocity.
Z
v(t) = 2.4tdt = 1.2t2 + C.
1
When we solve for C like this, we’re solving what’s called an ”inital value problem,” which we’ll do more of
when talking about differential equations.
69
We know that x(0) = 0m, so C = 0.
So, at t = 8, x(t) = 0.4(8)3 + 5(8) = 244.8m. We could have also tackled this problem
with definite integrals.
Z 8
∆x = v(t)dt = 244.8m =⇒ Net Displacement = x0 + ∆x = 244.8m
0
Z 8
∆v = a(t)dt = 76.8m/s =⇒ Net Velocity = v0 + ∆v = 81.8m/s
0
5.1.2 Work
Work is defined as
W = Fd
where F is force and d is displacement. The force applied by stretching or compressing a
spring beyond its natural length is given by Hooke’s Law
F = kx
where k is some spring constant and x is the displacement beyond the spring’s natural length.
We can apply ideas as integrals representing net change to find the work needed to compress
or stretch a spring.
Example. It takes 10N of force to stretch a spring 2m beyond its natural length. How much
work is done stretching the spring 4m beyond its natural length?
We can use the first bit of information to get the spring constant.
F = kx
10N = k(2m)
k = 5N/m.
So, F (x) = 5xN. If we stretch the spring by ∆x, the work done over this interval is
approximately ∆W = F (x)∆x = 5x∆x. In the limit, dW = 5xdx. Integrating both sides
from x = 0 to x = 4, Z 4 Z 4
W = dW = 5xdx = 40Nm.
0 0
We can even bring in other concepts to these problems, like related rates.
Example. An inverted conical tank with a height of 10ft and a base radius of 5ft is filled to
within 2ft of the top with a liquid with a density of 57lbs/ft3 . How much work does it take
to fill the remaining 2ft of the tank with liquid, assuming you only have to pump the liquid
to the current liquid level in the tank?
70
Let V be the volume of the tank and x the height of the liquid. Imagine we pump in
some liquid that changes the height of the liquid in the tank by ∆x. Then
∆V = πr2 ∆x
dV = πr2 dx.
Since the height of the tank is 10ft and the base radius 5ft, the radius of the liquid level
will always be half the liquid depth.
r = x/2
dV = π(x/2)2 dx.
Since weight in pounds is already a unit of force, we can multiply dV by the density of
the liquid to get F .
F = 57π(x/2)2 dx.
The displacement of the liquid is the current height of the liquid x, getting us dW .
dW = 57πx(x/2)2 dx
Z 10
W = 57πx(x/2)2 dx
8
= 21033πft lbs.
71
As dx approaches 0, ds, the length of the secant line, approaches the length of the curve.
If we summed all of these ds’s in some interval we’d have the length of the curve on that
interval.
Z b
s= ds
a
Z bp
= (dx)2 + (dy)2
a
v
Z bu 2 !
t(dx)2 1 + dy
u
=
a dx
s 2
Z b
dy
= 1+ dx.
a dx
x2 + y 2 = r2
dy
2x + 2y =0
dx
dy −x
=
dx y
2
dy x2 x2
= 2 = 2
dx y r − x2
Z r r
x2
C=2 1+ 2 dx
−r r − x2
(2 b/c we need to count upper and lower half)
Z rr
r2
=2 dx
−r r 2 − x2
Z r r
1
=2 r dx
−r r − x2
2
x r
= 2r arcsin
r −r
= 2πr.
Note that when deriving the arc length formula, we could have just as easily have divided
by (dy)2 . This would give us an equivalent arc length formula that’s applicable when x is a
function of y.
Example. Find the length of the curve y = x1/3 from (−8, 2) to (8, 2).
72
Rather than tediously integrate the square root of a cube root if we set our bounds in
terms of x, we can rewrite our equation and set out bounds in terms of y.
x = y3
dx
= 3y 2
dy
2
dx
= 9y 4
dy
Z 2p
s= 1 + 9y 4 dy
−2
2
≈ 17.261.
You can easily visualize why this is true. We can break the integral into two parts: adding
the area under f and the other subtracting the area under g. The first integral will over
count the area between f and g, counting all area between f and the x-axis. The second
integral will subtract exactly the amount of area that is over counted: the area that is also
between g and the x-axis.
2
You shouldn’t be expected to evaluate this integral analytically. Using a calculator to get a numerical answer
is fine.
73
Figure 5.2: Subtracting two areas to get the area between them
Even if both of the curves has more area below the x-axis, the same idea applies. f will
give a smaller-magnitude negative area, while g will give a larger magnitude negative area.
Subtracting a larger-magnitude negative number from a smaller magnitude negative number
will give a positive area.
Example. Find the area enclosed between the two curves y = 2 − x2 and y = −x.
5.3.1 Subregions
Sometimes it might be useful to break the enclosed regions into subregions and find the area
of each separately.
√
Example. Find the area above the x-axis, below y = x, and above y = x − 2.
74
If we simply took the area between the two curves, we’d count some area we don’t want
3
beneath the x-axis
√ . Instead, we can break the area√into two subregions: one between
the x-axis and x and the other between x − 2 and x.
3
Although this extra region is just a triangle and not too hard to find the area of, you’d effectively be applying
the same strategy of two subregions, they’d just overlap. However, using geometry to your advantage is
certainly a valid approach.
75
Since x = y + 2 is further from the x-axis, it becomes our top curve.
Z 2
A= ((y + 2) − y 2 )dy
0
2
y2 y 3
= + 2y −
2 3 0
10
= .
3
5.4 Volumes
5.4.1 Volumes from Cross Sections
Imagine we want to find the volume of some complex object. One way we could approximate
it is by slicing it into narrow cross sections. The volume of each cross section would roughly
be the area of the cross sectional face, times the width of the cross section.
Adding the volumes of these cross sections up, we’d get our approximation, which would get
better and better the narrower the width of each cross section. In the limit, this is exactly
the definition of an integral.
Definition. The volume of a solid with integrable corss sectional area A(x) from x = a to
x = b is given by Z b
V = A(x)dx.
a
76
For any slice of a cube, the cross section is a square with sidelength a.
A(x) = a2
Z a
V = a2 dx
0
a
2
= a x
0
3
=a .
Example. Find the volume of a square pyramid with base sidelength a and height h.
Like the cube, any slice of the square pyramid is a square. However, the sidelength of the
square depends on the height of your slice. A slice at the very tip of the pyramid would
have sidelength 0, while a slice at the very bottom of the pyramid would have sidelength
a. The sidelength grows linearly from x = 0 to x = h, so it must be ha x.
a 2
A(x) = x
h
Z h 2
a 2
V = 2
x dx
0 h
h
a2 3
= 2x
3h 0
a2 h
=
3
1 2
= a h.
3
Example. Find the volume of the cone formed by rotating the line y = x/3 about the x-axis
for 0 ≤ x ≤ 6.
The radius is simply the distance from the x-axis, which is just another name for y. So,
x 2
A(x) = π .
3
77
Integrating,
Z 6 x 2
V = π dx
0 3
Z 6
π
= x2 dx
9 0
6 !
π x3
=
9 3 0
= 8π.
This is the volume of a cone with radius 2 and height 6: 31 π(2)2 (6) = 8π.
Let’s try a more complicated solid.
Example. Find the volume of the solid of revolution bounded by y = 2 + x cos x from
− π2 ≤ x ≤ π2 .
Again, the radius is simply the distance from the x-axis, which is y.
Washer Method
Imagine now we want to find the volume of a solid of revolution with a “hole.” If we were
to take a cross section of such a solid, it’d look like a washer with an outer radius R(x) and
inner radius r(x).
78
Figure 5.5: She Loves Math - Applications of Integration: Area and Volume
We can think of this in a similar way as the area between curves in 2D. We’ll find the
volume swept by the outer radius and the subtract the volume swept and removed by the
inner radius. Z b
V =π (R2 (x) − r2 (x))dx.
a
Example. Find the volume of shape formed by revolving the area enclosed by the y-axis,
y = cos x, and y = sin x around the x-axis.
In the first quadrant, cos x ≥ sin x for x ≤ π4 , so our bounds are 0 ≤ x ≤ π4 , R(x) = cos x,
and r(x) = sin x.
Z π/4
V =π (cos2 x − sin2 x)dx
0
Z π/4
=π cos (2x)dx
0
π/4
sin 2x
=π
2
0
π
= .
2
79
Figure 5.6: Wikipedia - Shell Integration
Each cylindrical shell will have a radius r(x), a height h(x), and a thickness dx, meaning a
volume of 2πr(x)h(x)dx.
Z b
V = 2π r(x)h(x)dx.
a
Example. Find the volume of the area bounded by the y-axis, y = 4 − x2 , and y = x revolved
around the y-axis.
Each shell’s height is parallel to the axis of rotation. In this case that’s the distance
between the two curves.
h(x) = 4 − x2 − x and r(x) = x.
√
−1+ 17
The two curves intersect at x = 2
. Finding the volume,
√
Z −1+ 17
2
V = 2π x(4 − x2 − x)dx
0
−1+2√17
x4 x3
= 2π − − + 2x2
4 3 0
π √
= 121 − 17 17 .
12
Example. Find the volume of the area bounded by the x-axis and the curve y = (x − 1)2 (x −
2)2 rotated about the y-axis.
The height of the shell is parallel to the y-axis. In this case it’s exactly equal to the value
of the bounding curve.
h(x) = (x − 1)2 (x − 2)2 and r(x) = x.
Finding the volume,
Z 2
V = 2π x(x − 1)2 (x − 2)2 dx
1
2
x6 6x5 13x4
3
2
= 2π − + − 4x + 2x
6 5 4 1
π
= .
10
80
Other Axes of Rotation
Although rotating about the x and y axes are the most common, the methods we have here
apply to rotating about any axis parallel to the x or y axis. The includes any lines of the
form y = k or x = k where k is some constant.
One valid approach is simply to rewrite the equations for your bounding curves by shifting
them such that your axis of rotation is the x or y axis. However, it’s often more convenient
to not rewrite the equations and simply apply the methods.
Example. Find the volume of the solid generated by rotating the region in the first quadrant
bounded by y = x2 and y = 2x about the line x = −2.
We can use the washer method (although shells also works). Since we’re rotating about
a line parallel to the y-axis, we’ll have to rewrite our equations in the form x = . . ..
√ y
x= y and x = .
2
The inner radius is given by the distance from x = −2 to x = y/2, and the outer radius is
√
given by the distance from x = −2 to x = y. The curves intersect at y = 0 and y = 4.
y √
r(x) = 2 + and R(x) = 2 + y
2 Z 4
√ 2 y 2
V =π (2 + y) − 2 + dy
0 2
Z 4
y2
√
=π 4 y−y− dy
0 4
= 8π.
Example. Find the volume of the solid generated by rotating the region bounded by y = x2
and y = x + 2 about the line x = 3.
We can use the shells method. Our height is simply the difference in y values between
the two curves. The radius is the distance between the lines x = 3 and x + 2.
Solving for C,
−1 13
= +C
1 3
−4
C= .
3
Solving for y,
−1 x3 4
= −
y 3 3
−3
y= 3 .
x −4
83
Exponential Growth & Decay
We can use differential equations to model growth and decay.
Example. Imagine we have some money in a bank account earning interest. The more
money in the bank, the more the more the account will receive in interest. So, the rate of
growth of the account value is proportional to the current account value. In the language of
differential equations,
dy
= ky.
dt
where k is some constant of proportionality.
This is exactly the equation for continually compounding interest: y0 is the principle and k
is an interest rate.
Note that k could theoretically be negative, meaning the amount would decrease propor-
tionally to the remaining amount.
Example. The half-life of Pu-239 is 24360 years. Suppose that 10g of Pu-239 were released
in a nuclear accident, how long would it take to decay to 1g?
Our ”principle” is 10g. We know that half-life follows the exponential decay differential
equation, so it’s modeled by y = 10ekt . We also know that y(24360) = 5, which should
give us enough information to solve for k.
5 = 10ek·24360
1
= ek·24360 (see the “half” in half-life?)
2
1
ln = 24360k
2
− ln 2 = 24360k
− ln 2
k= .
24360
84
We now can plug k back into our equation to get the full model.
− ln 2
y = 10e 24360 t
−t
= 10 eln 2 24360
−t
= 10 · 2− 24360 .
Example. Imagine that we have a population of animals in a forest. If the forest has
lots of resources to support to animal population, then they can grow basically like normal.
However, as the population grows, resources become more scarce, so population growth would
slow down, or some of the population would starve. We can model this with the following
differential equation.
dP
= kP (M − P )
dt
where k is some constant of proportionality and M is some maximum population before
growth starts to decline.
85
This differential equation is also separable, so let’s try to solve it.
dP
= kP (M − P )
dt
dP
= kdt
P (M − P )
1/M 1/M
dP + = kdt (using partial fractions)
P M −P
1
ln P − ln M − P = kt + C
M
P
ln = M kt + C
M −P
P
= CeM kt (b/c P ≥ 0)
M −P
P = CM eM kt − CP eM kt
P 1 + CeM kt = CM eM kt
CM eM kt
P =
1 + CeM kt
M
= .
1 + Ce−M kt
Looking at a graph of this function, we can see that it starts growing like an exponential
curve but begins to flatten, obtaining a maximum value of M , which is called the carrying
capacity. The population is growing the fastest when P = M/2, which you can verify by
finding the global maxima of dPdt
using a first derivative test.
86
5.5.2 Slope Fields & Euler’s Method
Unfortunately, not all differential equations are as easy to solve as separable differential
equations. In fact, some are impossible to get nice, closed-form solutions.
Slope Fields
We may still be able to visualize what the graph of a solution might look like by drawing
lines that have the same slope as a solution. Any solution that passes through the points
where we draw the sloped lines must be tangent to these lines, meaning a solution will follow
the “flow” of these lines.
dy
Figure 5.8: Slope field of dx
= −x/y with a possible solution
Euler’s Method
If your differential equation also has an initial condition, you can start at the initial point
and follow the slope field to find an approximate solution. This is what Euler’s Method tries
to accomplish. It can approximate the value of a solution at some x value by starting at
some point, usually given by the initial condition, and iteratively taking small steps of size
∆x in the direction determined by the slope field.
xn+1 = xn + ∆x
dy
yn+1 = yn + ∆x .
dx (xn ,yn )
87
The smaller the steps, the more accurate the approximation.
dy
Example. Given that dx = 3 − x and y(4) = 2, approximate the value of y(5) using Euler’s
method with increments of ∆x = 0.25.
dy dy
(x, y) dx
∆x ∆y = ∆x dx (x + ∆x, y + ∆y)
(4, 2) −1 0.25 −0.25 (4.25, 1.75)
(4.25, 1.75) −1.25 0.25 −0.3125 (4.5, 1.4375)
(4.5, 1.4375) −1.5 0.25 −0.375 (4.75, 1.0625)
(4.75, 1.0625) −1.75 0.25 −0.4375 (5, 0.625)
4
The actual value of the solution is (5, 0.5), so not too far off.
88
Chapter 6
We are always able to translate a function of the form y = f (x) into a parametric function
as (t, f (t)). Sometimes, but not always, we are also able to translate parametric functions
into y as a function of x.
x2 = t.
y = x2 − 2.
89
about vector-valued functions. Both can graph the exact same functions. Visually, you might
imagine an arrow rooted at the origin tracing out the graph of a vector function. You’re
more likely to see vector functions written in the following form
All the normal vector operations, like addition and subtraction, scalar multiplication, and
dot products work exactly the same. If we think of ~r(t) as a position function,
x0 (t) = 2t
y 0 (t) = 2 cos t
dy 2 cos t cos t
= = .
dx 2t t
90
Finding the derivative of y 0 with respect to t,
d 0 d cos t
y =
dt dt t
−t sin t − cos t
=
t2
2 0
dy dy /dt
2
=
dx dx/dt
−t sin t−cos t
t2
=
2t
t sin t + cos t
=− .
2t3
Since we now have x and y as functions of t, we can rewrite this formula to get a formula
for arc length of a parametric function.
s
2 2
dx dy
ds = + dt
dt dt
s
Z b 2 2
dx dy
s= + dt.
a dt dt
When talking about vector-valued functions or working in a more physics-based context, you
might hear the term “distance traveled” instead of arc length and see the following formula.
They are equivalent ideas. Z b
s= ~v (t)dt.
a
91
dx
= −r sin t
dt
2
dx
= r2 sin2 t
dt
dy
= r cos t
dt
2
dy
= r2 cos2 t
dt
Z 2π p
C= r2 sin2 t + r2 cos2 tdt
Z0 2π p
= r sin2 t + cos2 tdt
Z0
= 02π rdt
= 2πr.
However, we could instead describe points in the plane with two numbers (r, θ), where r is
the point’s distance from the origin and θ is the point’s angle of inclination. This system is
more suited to describing
√ √ points related to trig functions. For example the point at x = cos π4
and y = sin π4 is 22 , 22 in rectangular coordinates but 1, π4 in polar coordinates.
Note that unlike rectangular coordinates, multiple pairs of numbers can describe the same
point. For example (1, 0) is the same point as (1, 2π) is the same point as (1, −2π) is the
same point as (1, 4π).
92
6.2.2 Polar Functions
Polar functions are written in the form r = f (θ). Using our polar coordinate conversion
formulas, we can convert any polar function to a parametric function.
dy dy/dθ
= .
dx dx/dθ
dy
Example. A cardioid is defined by r = 1 − cos θ, 0 ≤ θ ≤ 2π. Find dx
.
Area Enclosed
When a polar function is changed by dθ, it sweeps out an circular sector.
93
Figure 6.1: Polar Area
dθ 2
This circular sector has area dA = 2
r . Integrating dA for α ≤ θ ≤ β,
Z β Z β
1 2 1 2
A= r dθ = f (θ)dθ.
α 2 α 2
Example. Find the area inside the smaller loop of the limaçon r = 2 cos θ + 1.
First, we need to find our bounds on θ. We know that the small loop begins and ends
when r = 0.
0 = 2 cos θ + 1
1
− = cos θ
2
π 4π
θ= , .
3 3
94
Now that we have our bounds, we can integrate.
Z 4π/3
1
A= (2 cos θ + 1)2 dθ
2π/3 2
Z 4π Z 4π Z 4π
!
1 3 3 3
= 4 cos2 (θ) dθ + 4 cos (θ) dθ + dθ
2 2π
3
2π
3
2π
3
Z 4π Z 4π Z 4π
3 3 1 3
= (1 + cos (2θ)) dθ + 2 cos (θ) dθ + dθ
2π
3
2π
3
2 2π
3
Z 4π Z 4π Z 4π
3 3 3 3
= cos (2θ) dθ + 2 cos (θ) dθ + dθ
2π
3
2π
3
2 2π3
4π/3
1 3
= sin (2θ) + 2 sin (θ) + θ
2 2 2π/3
1 8π 4π 3 4π 1 4π 2π 3 2π
= sin + 2 sin + − sin + 2 sin +
2 3 3 2 3 2 3 3 2 3
√ ! √ !
3 √ 3 √
= − 3 + 2π − − + 3+π
4 4
√
3 √
= −2 3+π
2 √
3 3
=π− .
2
Example. Find the area that lies inside the circle r = 1 and outside the cardioid r = 1−cos θ.
1 = 1 − cos θ
cos θ = 0
π −π
θ= , .
2 2
Since we want the area inside of the circle and outside of the cardioid, our bounds are
−π
2
≤ θ ≤ π2 . We’ll also have r1 (θ) be the circle and r2 (θ) be the cardioid, since we are
95
effectively finding the area inside the circle and subtracting away the area that is also in
the cardioid.
1 π/2 2
Z
1 − (1 − cos θ)2 dθ
A=
2 −π/2
Z π
1 2
2 cos (θ) − cos2 θ dθ
=
2 −π2
Z π
1 2 1 + cos (2θ)
= 2 cos (θ) − dθ
2 −π2
2
π
1 θ sin (2θ) 2
= 2 sin (θ) − −
2 2 4 −π
2
π π sin (π)
1 −π π sin (−π)
= 2 sin − − − 2 sin + −
2 2 4 4 2 4 4
π π sin (π)
= 2 sin − −
2 4 4
π
=2− .
4
Example. Find the area that lies outside the circle r = 1 and inside the cardioid r = 1−cos θ.
We need to make sure our bounds are sweeping out the correct area. If we did −π 2
≤ θ ≤ π2 ,
we’d get the area inside the circle and outside the cardioid, which isn’t what we want
here. We know that for polar coordinates, −π 2
≡ 3π
2
. So, out bounds are π2 ≤ θ ≤ 3π2
.
Since we want the area inside the cardioid and outside the circle, effectively taking the
cardioid and subtracting away the intersection, so r1 (θ) is the cardioid, and r2 (θ) is the
circle.
1 3π/2
Z
(1 − cos θ)2 − 12 dθ
A=
2 π/2
Z 3π
1 2
cos2 (θ) − 2 cos (θ) dθ
=
2 π2
Z 3π
1 2 1 + cos (2θ)
= − 2 cos (θ) dθ
2 π2 2
3π/2
1 θ sin (2θ)
= + − 2 sin (θ)
2 2 4 π/2
π
1 3π sin (3π) 3π π sin (π)
= + − 2 sin − + − 2 sin
2 4 4 2 4 4 2
π
= + 2.
4
Example. Find the area inside both the circle r = 1 and the cardioid r = 1 − cos θ.
96
This area isn’t between two polar curves like the previous examples in the sense that we
can’t define it as one region minus another. We’ll prove it it two ways: logically and by
using two regions. Logically, we know that the total area of the circle is π. We also know
the area inside the circle but outside the cardioid is 2 − π4 . So,
π 5π
Aboth = π − 2 − = − 2.
4 4
We can break the region inside both curves into two parts: a half circle for x ≤ 0 and the
two cardioid bulges for x ≥ 0. The area of the half-circle is π/2. We can find the area of
the two cardioid bulges.
Abulges = 2Abulge
Z π/2
= (1 − cos θ)2 dθ
0
Z π
2
cos2 θ − 2 cos (θ) + 1 dθ
=
0
Z π
2 1 + cos (2θ)
= − 2 cos (θ) + 1 dθ
0 2
π
3θ sin (2θ) 2
= + − 2 sin (θ)
2 4 0
3π sin (π) π
= + − 2 sin
4 4 2
3π
= −2
4
Arc Length
Since we know how to convert polar functions to parametric, we can simply adapt the
parametric arc length formula.
s
Z β 2 2
dx dy
s= + dθ.
α dθ dθ
97
However, there is an alternate form that works just for polar functions. For some small
change dθ, we see a corresponding small changes dr and rdθ.
We see that these changes for a right triangle with hypotenuse ds.
98
The bounds are 0 ≤ θ ≤ 2π. Using the polar arc length formula,
dr
= sin θ
dθ
2
dr
= sin2 θ
dθ
Z 2π q
s= (1 − cos θ)2 + sin2 θdθ
Z0 2π √
= 2 + 2 cos θdθ
0
Z 2π
θ
= 2 sin dθ
0 2
2π
θ
= −4 cos
2 0
= 8.
99
Chapter 7
7.1 Sequences
Definition. A sequence {an } = {a1 , a2 , . . . , an } is an ordered list of numbers. Each element
of a sequences is called a term and is identified by its index in the sequence. Sequences can
be finite or infinite.
Example. The nth term of a sequence is defined by the following formula:
(−1)n
an = .
n2 + 1
Find the 1st, 2nd, and 100th terms of the sequence.
(−1)1 −1
a1 = =
12 + 1 2
2
(−1) 1
a2 = 2 =
2 +1 5
100
(−1) 1
a100 = 2
= .
100 + 1 10001
The above sequence was defined explicitly, meaning that we have a formula for the nth term
of the sequence only in terms of n. However, sequences can also be defined recursively,
meaning the formula for subsequent terms of the sequence contains previous terms. For a
recursive sequence to be properly defined, there need to be one or more base terms that
aren’t defined recursively. For example, the Fibonacci sequence, one of the most famous
recursive sequences, as a1 and a2 as base terms.
(
1 n = 1, 2
an = .
an−1 + an−2 n ≥ 3
100
7.1.1 Common Types of Sequences
There are some common types of sequences that you should be familiar with. You might
recognize these types of sequences and some of the formulas surrounding them from previous
math classes.
Arithmetic Sequences
Definition. An arithmetic sequence is one where an+1 − an = d, a common difference, for
all terms.
That is, to get the next term, we simply add some number d (which could be negative) to
the previous term. Arithmetic sequences can be defined either explicitly or recursively. Let
a0 be the starting term of the sequence.
an = dn + a0
(
a0 n=0
= .
d + an−1 n≥1
As we can see from the explicit formula, if we graphed values of an arithmetic sequence on
in the plane with x coordinate n and y coordinate an , all points would lie on a line with
slope d and y intercept a0 .
{ln 2, ln 6, ln 18, . . .} .
Since we are given that this sequence is arithmetic, we’ll find the common difference.
6
d = ln 6 − ln 2 = ln = ln 3.
2
So, applying the explicit formula for an arithmetic sequence with starting term ln 2 and
common difference ln 3,
an = ln (3)n + ln 2, n ≥ 0.
We might have also noticed that each term inside the ln is triple the previous one, meaning
we can write an explicit formula and then simplify to the same answer as before.
an = ln (3n · 2), n ≥ 0
= ln 3n + ln 2, n ≥ 0
= ln (3)n + ln 2, n ≥ 0.
101
Geometric Sequences
an+1
Definition. A geometric sequence is one where an
= r, a common ratio, for all terms.
That is, to get the next term, we simply multiply some number r (which could be negative)
by the previous term. Geometric sequences can also be defined explicitly or recursively. Let
a0 be the starting term of the sequence.
an = a0 (r)n
(
a0 n=0
= .
ran−1 n≥1
As we can see with the explicit formula, if we graphed terms of a geometric sequence for
positive r, the points would lie on an exponential curve with y intercept a0 and exponential
base r.
Since we are given that this sequence is geometric, we’ll find the common ratio.
−6
r= = 3.
2
So, applying the explicit formula for a geometric sequence with starting term 2 and
common ratio -3,
an = 2(−3)n .
Definition. Let L be a real number, the sequence {an } as limit L as n approaches infinity
if given any real > 0, there is some index m such that for all n > m
an − L < .
We notate this as
lim an = L
n→∞
and say the sequence converges to L. If the sequence does not have a limit, then we say the
sequences diverges.
102
The following rules we gave for limits of a function: Sum and Difference Rule, Product Rule,
Constant Multiple Rule, and Quotient Rule, all still apply to limits of sequences. The only
rule that doesn’t still hold is the Power Rule because of the following sort of problem:
an = (−1)n
lim a2n = 1
n→∞
2
lim an = DNE
n→∞
1 6= DNE.
This is essentially the same as the Sandwich Theorem for limits of a function. The only
added caveat is that we have to find some index m for which the sandwiching inequality
always holds for terms after the mth.
103
Absolute Value Theorem
We can apply the Sandwich Theorem to show that sequences whose absolute value converges
to 0 must also converge to 0.
Theorem (Absolute Value Theorem). If limn→∞ an = 0, then limn→∞ an = 0.
f (x)
lim .
x→a g(x)
Theorem (L’Hôpital’s Rule, Weaker Form). If f (a) = g(a) = 0; f 0 (a) and g 0 (a) 6= 0 exist,
then
f (x) f 0 (a)
lim = 0 .
x→a g(x) g (a)
104
Proof.
f (x) f (x) − 0
lim = lim
x→a g(x) x→a g(x) − 0
f (x) − f (a)
= lim
x→a g(x) − g(a)
f (x)−f (a)
x−a
= lim
x→a g(x)−g(a)
x−a
limx→a f (x)−f
x−a
(a)
=
limx→a g(x)−g(a)
x−a
0
f (a)
= .
g 0 (a)
x2 −4
Example. Find limx→2 x−2
using L’Hôpital’s Rule.
x2 − 4 2(2)
lim = = 4.
x→2 x − 2 1
Note that we get the same answer if we didn’t use L’Hôpital’s Rule and instead factored.
x2 − 4 (x + 2)(x − 2)
lim = lim lim x + 2 = 4.
x→2 x − 2 x→2 x−2 x→2
It’s possible that f 0 (a) = g 0 (a) = 0, meaning we’re still left with the indeterminate form
0/0. However, we can use a stringer form of L’Hôpital’s Rule that allows us to not have to
immediate substitute x = a and allows us to apply the rule multiple times if needed.
Theorem (L’Hôpital’s Rule, Stronger Form). If f (a) = g(a) = 0; f and g are differentiable
on an open interval I that contains a; g 0 (x) 6= 0 if x 6= a, then
f (x) f 0 (x)
lim = lim 0
x→a g(x) x→a g (x)
105
7.2.2 Indeterminate Forms ∞/∞, ∞ · 0, & ∞ − ∞
∞/∞
L’Hôpital’s still applies as written for the indeterminate form ∞/∞.
Example. Find the following limit or show that it doesn’t exist.
tan x
lim .
x→π/2 1 + tan x
∞·0
We need to rearrange the limit into a 0/0 or ∞/∞ indeterminate form.
Example. Find the following limit or show that it doesn’t exist.
1
lim x sin .
x→∞ x
Rearranging,
1 sin 1
lim x sin = lim 1 x .
x→∞ x x→∞ x
Since the limit now has indeterminate form 0/0, we can apply L’Hôpital’s Rule.
−1
sin x1 x2
cos x1
lim 1 = lim −1 = cos(0) = 1.
x→∞ x→∞
x x2
∞−∞
We need to rearrange the limit into a 0/0 or ∞/∞ indeterminate form.
Example. Find the following limit or show that it doesn’t exist.
1 1
lim − .
x→1 ln x x−1
Rearranging,
1 1 x − 1 − ln x
lim − = lim .
x→1 ln x x − 1 x→1 (x − 1) ln x
Since the limit now has indeterminate form 0/0, we can apply L’Hôpital’s Rule.
x − 1 − ln x 1 − x1 1
x2 1 1
lim = lim = lim = = .
x→1 (x − 1) ln x x→1 (x − 1) 1 + ln x x→1 1
− (x − 1) x12 + 1
1−0+1 2
x x x
106
7.2.3 Indeterminate Forms 1∞ , 00 , & ∞0
For indeterminate forms with exponents, we should take the natural log of the limit, solve
that limit, and then exponentiate.
1∞
Example. Find the following limit or show that it doesn’t exist.
x
1
lim 1 + .
x→∞ x
00
Example. Find the following limit or show that it doesn’t exist.
lim+ xx .
x→0
107
Let L be the value of the limit.
L = lim+ xx
x→0
ln L = lim+ x ln x (indeterminate form 0 · −∞)
x→0
ln x
= lim+ 1 (indeterminate form −∞/∞)
x→0
x
1
x
= lim+ −1
x→0
x2
1
= lim+ −1
x→0
x
= lim+ −x
x→0
=0
ln L
e = e0
L = 1.
∞0
Example. Find the following limit or show that it doesn’t exist.
1
lim x x .
x→∞
108
Definition. If
f (x) g(x)
lim = ∞ ⇔ lim = 0,
x→∞ g(x) x→∞ f (x)
then f grows faster than g. If
f (x) g(x) 1
lim = c ⇔ lim =
x→∞ g(x) x→∞ f (x) c
for some non-zero constant c, then f and g grow at the same rate.
Example. Compare ex and x100 . Does one grow faster than the other, or do they grow at
the same rate?
ex ex
lim = lim
x→∞ x100 x→∞ 100x99
.
= .. (after many applications of L’Hôpital’s Rule)
ex
= lim = ∞.
x→∞ 100!
So, ex grows faster than x100 . In fact, any exponential bx grows faster than any polynomial,
as long as b > 1.
We’ll show that both f and g grow at the same rate as h(x) = x. Starting with f and h,
√
f (x) x2 + 5
lim = lim
x→∞ h(x) x→∞ x
r
x2 + 5
= lim
x→∞
r x2
x2 + 5
= lim 2
(by the Power Rule)
√
x→∞ x
= 1
= 1.
109
So, f and h grow at the same rate. Moving on to g and h,
√ 2
g(x) (2 x − 1)
lim = lim
x→∞ h(x) x→∞ x
√ 2
2 x−1
= lim √
x→∞ x
√ 2
2 x−1
= lim √ (by the Power Rule)
x→∞ x
= (2)2
= 4.
So, g and h grow at the same rate. Since f and g both grow at the same rate as h, f and
g must grow at the same rate as each other.
A function belongs to the family of its fastest-growing positive term. Negative terms can
either be ignored or used to simplify other terms. For example, although x3 + ex contains
1
You might recognize these families as a sort of Big-O family from computer science.
110
a polynomial x3 term, for very large x, the ex term dominates the growth, meaning this
function is part of the exponentials family.
for any real constant c. If these limits exist, then the integral converges and has a value.
Otherwise, the integral diverges and does not have a value.
111
Applying the definition,
Z ∞ Z b
3 3
2
dx = lim dx
2 x −x b→∞ 2 x2−x
Z b
1 1
= lim 3 − dx
b→∞ 2 x−1 x
b
x − 1
= lim 3 ln
b→∞ x
2
b − 1 1
= lim 3 ln − 3 ln
b→∞ b 2
= 0 + 3 ln 2
= 3 ln 2.
Example. Evaluate the following integral or state that it diverges.
Z ∞
dx
√ .
1
4
x
Applying the definition,
Z ∞ Z b
dx dx
√ = lim √
1
4
x b→∞ 1
4
x
4√
b
4
= lim x3
b→∞ 3
1
4√ 4 4√4
= lim b3 − 13
b→∞ 3 3
4
=∞−
3
= diverges.
112
If f is continuous on [a, c) ∪ (c, b], then
Z b Z c Z b
f (x)dx = f (x)dx + f (x)dx.
a a c
If these limits exist, then the integral converges and has a value. Otherwise, the integral
diverges and does not have a value.
Example. Evaluate the following integral or state that it diverges.
Z 1
dx
2
.
0 x
113
Example. Evaluate the following integral or state that it diverges.
Z ∞
dx
.
1 x
We have an integral where p = 1. So, by the P-Test, the integral diverges.
Example. Evaluate the following integral or state that it diverges.
Z ∞
dx
.
1 x1.001
We have an integral where p = 1.001. So, by the P-Test, the integral converges.
Z ∞ Z b
dx dx
= lim
1 x1.001 b→∞ 1 x1.001
b
−0.001
= lim −1000x
b→∞
1
−0.001
= lim −1000b + 1000(1)−0.001
b→∞
= 0 + 1000
= 1000.
That is, if a larger function converges, then so will a smaller funtion; if a smaller function
diverges, then so will a larger function.
The hardest part of the Direct Comparison Test is deciding what function you should com-
pare to. A general rule is to pick a function that is similar to, but simpler than then given
function.
Example. Evaluate the following integral or state that it diverges.
Z ∞
dx
2
.
1 x − 0.1
If the 0.1 wasn’t inside the square root, the function would simplify to 1/x. Since the 0.1
is subtracted, the denominator is smaller than 1/x. So, 1/x is a function that is smaller
on [1, ∞), meaning if it diverges, then so will the original function. We know by the
P-Test that the integral of 1/x from 1 to ∞ will diverge, so the original function also
diverges.
114
Example. Evaluate the following integral or state that it diverges.
Z ∞
2
e−x dx.
1
Since the exponent is negative, a smaller exponent would mean a larger value. So, e−x is
a larger function on [1, ∞). Z ∞
1
e−x dx = ,
1 e
meaning it converges, so the original function also converges.
f (x)
lim
x→∞ g(x)
Many functions to which you can apply the Limit Comparison Test you can also apply
the Direct Comparison Test. The practical use of the limit comparison test is to take an
uglier function, that may be tedious to integrate and compare it to a function that is easy
to determine whether it diverges using something like the P-Test. A common strategy,
especially for rational functions, is to look at their end behavior model.
Since 1 is a positive real constant and the integral of 1/x2 converges, then the original
integral also converges by the Limit Comparison Test.
115
Example. Evaluate the following integral or state that it diverges.
Z ∞
3x + 6
dx.
1 1 − 5x + 7x2
Looking at this rational function, we see a degree 1 polynomial in the numerator and a
degree 2 polynomial in the denominator. So, we’d expect this rational function to have
the same end behavior model as 1/x, which we know by the P-Test diverges.
3x+6
1−5x+7x2 3x2 + 6x 3
lim 1 = lim = .
x→∞ x→∞ 7x2 − 5x + 1 7
x
Since 3/7 is a positive real constant and the integral of 1/x diverges, the the original
integral also diverges by the Limit Comparison Test.
116
Chapter 8
Infinite Series
We previously discussed some special types of series and formulas for their nth term. Now,
we’ll look at sums of infinitely many terms and eventually see how summing variables rather
than just numbers allows us to approximate functions.
Just like with finite series, each ai is a term, and an is the nth term.
We can describe the behavior of an infinite series by looking at how its value behaves after
summing a finite number of terms. We can define what it means for an infinite sum to have
a value by looking at the limit of the partial sums as n grows large.
lim sn = L.
n→∞
117
Example. State if the following infinite series converges or diverges.
3 3 3
+ + ... + n + ....
10 100 10
Looking at the partial sums,
s1 = 0.3
s2 = 0.33
..
.
sn = 0. 33333
| {z . .}.
n total 3’s
So, it seems the limit of the partial sums tends towards a decimal with an infinite number
of 3’s. This value corresponds to the decimal expansion of 1/3, which clearly is real and
finite, so the series converges.
The above series is a geometric series since each subsequent term is 10 times smaller than
the previous one (i.e r = 1/10).
Proof. We’ll first find a formula for the partial sums and then find the limit of the partial
sums for 1 < r < 1.
n
X
sn = a0 (r)k
k=0
= a0 + a0 r + a0 r 2 + . . . + a0 r n
rsn = a0 r + a0 r2 + a0 r3 + . . . + a0 rn + a0 rn+1
= −a0 + sn + a0 rn+1
sn (r − 1) = a0 rn+1 − 1
rn+1 − 1
s n = a0 .
r−1
This formula for partial sums holds for all values of r. Now we’ll take the limit of sn and see
118
for what values of r the limit exists.
∞
X
a0 (r)n = lim sn
n→∞
k=0
rn+1 − 1
= lim a0
n→∞ r−1
−a0
= , r <1
r−1
a0
= , r < 1.
1−r
Term-By-Term Differentiation
Theorem. If the power series
∞
X
f (x) = ck (x − a)k = c0 + c1 (x − a) + c2 (x − a)2 + . . .
k=0
119
converges for x − a < R, including R = ∞, then the power series
∞
X
kck (x − a)k−1 = c1 + 2c2 (x − a) + 3c3 (x − a)2 + . . .
k=1
also converges for x − a < R and is equal to f 0 (x) on that interval.
Applying the theorem,
−1 2
= −1 − 2(1 − x) − 3(1 − x) − . . . , 1 − x < 1
x2
1 2
= 1 + 2x + 3x + . . . , x < 1
(1 − x)2
−1 2
= −1 + 2x − 3x + . . . , x < 1.
(1 + x)2
Term-By-Term Integration
Theorem. If the power series
∞
X
f (x) = ck (x − a)k = c0 + c1 (x − a) + c2 (x − a)2 + . . .
k=0
converges for x − a < R, including R = ∞, then the power series
∞
X (x − a)k+1 (x − a)2 (x − a)3
ck = c0 (x − a) + c1 + c2 + ...
k=0
k+1 2 3
also converges for x − a < R and represents the antiderivative of f on that interval.
Applying the theorem,
(1 − x)2 (1 − x)3
ln x = 1 + + + . . . , 1 − x < 1
2 3
2 3
x x
− ln 1 − x = x + + + . . . , x < 1
2 3
2 3
x x x4
ln 1 + x = x − + − + . . . , x < 1.
2 3 4
This is pretty impressive: we now have an formula for ln x in terms of polynomials. This
also includes some pretty surprising identities. For example1 ,
1 1 (−1)n+1
ln 2 = 1 − + − ... + + ....
2 3 n
1
Technically, we’re substituting x = 1 which isn’t in the interval of convergence. However, since we are dealing
with an alternating sum, the series will also converge for x = −1 and x = 1.
120
Example. Find a power series for arctan x and state the interval of convergence.
We know that
d 1
arctan x = .
dx 1 + x2
So, if we can find a power series that represents 1/(1 + x2 ), we can integrate term-by-term
to get a power series for arctan x. We also already know the following power series.
1
= 1 − u + u2 − u3 + . . . , u < 1.
1+u
Letting u = x2 ,
1
2
= 1 − x2 + x4 − x6 + . . . , x2 < 1
1+x
= 1 − x2 + x4 − x6 + . . . , x < 1.
Integrating term-by-term,
x3 x5 x2n+1
arctan x = x − + + . . . + (−1)n + . . . , x < 1.
3 5 2n + 1
This power series also gives rise to a pretty interesting identity2 .
π 1 1 1 x2n+1
arctan 1 = = 1 − + − + . . . + (−1)n ....
4 3 5 7 2n + 1
P (0) = 1
P 0 (0) = 2
P 00 (0) = 3
P 000 (0) = 4
P (4) (0) = 5.
2
See footnote 1.
121
Plugging in x = 0 and solving for a0 ,
a0 + a1 (0) + a2 (0)2 + a3 (0)4 + a4 (0)4 = 1
a0 = 1.
Differentiating once, plugging in x = 0, and solvinf for a1 ,
P 0 (x) = a1 + 2a2 x + 3a3 x2 + 4a4 x3
2 = a1 + 2a2 (0) + 3a3 (0)2 + 4a4 (0)3
a1 = 2.
Continuing with differentiating and plugging in x = 0, we get a2 = 23 , a3 = 23 , and a4 = 5
25
.
So,
3 2 5
P (x) = 1 + 2x + x2 + x3 + x4 .
2 3 24
Example. Construct a degree 4 polynomial that approximates ln (1 + x) at x = 0.
f (x) P (x) an
f (x) = ln (1 + x) P (x) = a0 + a1 x + a2 x2 + a3 x3 + a4 x4
f (0) = ln (1 + 0) = 0 P (0) = a0 a0 = 0
0 1 0
f (x) = 1+x P (x) = a1 + 2a2 x + 3a3 x2 + 4a4 x3
f 0 (0) = 1+01
=1 P 0 (0) = a1 a1 = 1
−1
f 00 (x) = (1+x)2 P 00 (x) = 2a2 + 6a3 x + 12a4 x2
−1 −1
f 00 (0) = (1+0)2 = −1 P 00 (x) = 2a2 a2 = 2
2
f (3) (x) = (1+x) 3 P (3) (x) = 6a3 + 24a4 x
2 1
f (3) (0) = (1+0) 3 = 2 P (3) (0) = 6a3 a3 = 3
−6
f (4) (x) = (1+x) 4 P (4) (x) = 24a4
−6 −1
f (4) (x) = (1+0) 4 = −6 P (4) (0) = 24a4 a4 = 4
8.2.2 Definition
Definition. Let f be a n times differentiable function where all derivatives exist at x = a.
The Taylor series for f at x = a is
∞
X f (k) (x) f 00 (a) f (n) (a)
(x − a)k = f (a) + f 0 (a)(x − a) + (x − a)2 + . . . + (x − a)n + . . . .
k=0
k! 2! n!
122
The nth partial sum of the Taylor Series,
n
X f (k) (x)
Pn (x) = (x − a)k
k=0
k!
123
Euler’s Identity
You might have seen the identity eiπ + 1 = 0 or even eix = cos x + i sin x. Using our common
Taylor Series, we can derive this famous identity.
Plugging in x = π,
Example. Give a bound for the truncation error of using the first 10 terms of the Maclaurin
series of ln (1 + x) to approximate ln 2.
124
The Maclaurin series for ln (1 + x) is
∞
x2 x3 X xk+1
ln (1 + x) = x − + − ... = (−1)k , x ≤ 1,
2 3 k=0
k + 1
125
The numerator is an exponential function, while the denominator is a factorial function,
so using nn FEPL,
n+1
x
0 ≤ lim Rn (x) ≤ lim = 0.
n→∞ n→∞ (n + 1)!
lim Rn (x) = 0.
n→∞
On −0.1 ≤ x ≤ 0.1, f (3) (x) is maximal at (−0.1, 2000
729
).
2000 3
R2 (x) ≤ 729
x .
6
3 1
On −0.1 ≤ x ≤ 0.1, x is maximal at (−0.1, 1000 ).
2000
1 1
≈ 4.572 × 10−4 .
729
R2 (x) ≤ =
6 1000 2187
So, the error of approximating ln (1 + x) with x − x2 /2 when −0.1 ≤ x ≤ 0.1 is at most
4.572 × 10−4 .
126
8.4 Convergence
We have described what it means for a Taylor series to converge to a function over some
interval. What if we’re given an infinite series that’s not a function, just an infinite sum of
numbers? Can we still check if the series converges or diverges? We’ll develop several tests
that we can apply to check for convergence or divergence.
lim an 6= 0,
n→∞
The difference between the two partial sums is just an+1 . So,
an+1 < 2.
Since the terms of s don’t tend to 0, there exists some positive integer h and real value δ > 0
such that for all n > h,
an > δ.
We can also say the same for an+1 .
an+1 > δ.
Combining the two inequalities involving an+1 , for all n > max (m, h),
δ < an+1 < 2.
127
Example. Show that the following series diverges:
∞
X
(−1)k = 1 − 1 + 1 − 1 + . . . .
k=0
We see that
lim an = DNE 6= 0.
n→∞
So, by the nth Term Test for Divergence, the series diverges.
8.4.2 Geometric Series with r < 1
Lemma.
If s is a geometric series with common ratio r, then s converges if and only if
r < 1.
We already proved this when talking about power series and gave a formula to find its value.
This is a p-series with p = 1. So, by the P-Series Test, the sum diverges.
128
8.4.4 Direct Comparison Test
Lemma. Let s = ∞
P
P∞ak be a series where all ak ≥ 0. s converges if there exists some
k=0
convergent series c = k=0 ck and positive integer m such that for all n > m,
c n ≥ an .
P∞
s diverges if there exists some divergent series d = k=0 dk and positive integer m such that
for all n > m,
an ≥ d n .
Example. Show that the following series converges:
∞
X 1
.
k=0
2 + 3k
We see that this series looks really similar to a geometric series with common ratio 1/3,
just with an extra 2 in the denominator. For all n > 0,
1 1
n
≤ n.
2+3 3
So, by the Direct Comparison Test, the series converges.
Example. Show that the following series diverges:
∞
X 1
√ .
k=0
2+ k
Although the sum looks like a p-series with p = 1/2, we can use that series because our
series has smaller terms. Instead, we can compare to a p-series where p = 1/2.
1 1
0≤ ≥ √
n 2+ n
√
0≤2+ n≤n
n ≥ 4.
So, for all n ≥ 4, our series has larger values than the p-series with p = 1. We know the
p-series diverges by the P-Test, so by the Direct Comparison Test, our series also diverges.
converges to a finite value greater than 0, then a and b either both converge or both diverge.
If the limit converges to 0 and b converges, then a also converges. If the limit goes to ∞ and
b diverges, then a also diverges.
129
A common tactic is to select one of a or b to be a geometric or p-series.
Example. Show that the following series diverges:
∞
X 2k
.
k=2
k2 −k+a
Looking at this rational function, we see a degree 1 term in the numerator and a degree
2 term in the denominator. So, we might expect that the series behaves similarly to 1/n.
2n
n2 −n+a 2n2
lim 1 = lim = 2.
n→∞ n→∞ n2 − n + a
n
Since the limit converges to a finite value greater than 0, and we know that 1/n diverges
by the P-Test, then the series must also diverge by the Limit Comparison Test.
Example. Show that the following series converges:
∞
X 1
.
i=1
2i − 1
Since the limit converges to a finite value greater than 0, and we know that 1/2n converges
because it’s a geometric series with r = 1/2, then the series must also converge the the
Limit Comparison Test.
130
The function f (x) = 2x/(x2 + 1) is continuous, positive for all x ≥ 1, and decreasing.
Z ∞ Z ∞ ∞
2x 2 du
2+1
dx = (u = x + 1) = ln u = diverges.
1 x 2 u
2
The function f (x) = 1/(x2 + 1) is continuous, positive for all x ≥ 1, and decreasing.
Z ∞ ∞
dx = π − π = π.
2
= arctan x
1 x +1
1 2 4 4
Since the limit is less than 1, the series converges by the Ratio Test.
3
We omitted evaluating the improper integral with limits, but the value is what you would get from doing
that.
131
8.4.8 nth Root Test
Lemma. Let a be a series with all positive terms after some index. If the limit
√
lim n
an
n→∞
is less than 1, then the series converges. If the limit is greater than 1, the series diverges. If
the limit is equal to 1, the test is inconclusive.
This test is most useful for series that looks like geometric series, but the common ratio is
not a constant.
Since the limit is less than 1, the series converges by the nth Root Test.
132
Example. State whether the following series converges or diverges:
∞
X 1
(−1)k .
k=1
k
133
2. The power series converges for all real numbers.
3. The power series converge only at x = a and diverges elsewhere (i.e r = 0).
Generally, we start by applying the ratio test to determine where the series converges ab-
solutely. If we find the series converges for all real numbers of just at x = a, we are done.
Otherwise the series converges for some finite interval and we need to apply a different test
to determine convergence at endpoints.
Since this series isn’t quite geometric enough for an nth root test but does have all poitive
terms, it seems most suited for a ratio test.
(n+1)xn+1
n+1 (n + 1)xn+1 (n + 1)x x
lim 10nxn = lim n
= lim = .
n→∞
10n
n→∞ 10nx n→∞ 10n 10
x can be positive or negative. Recall that with a ratio test, the series converges if the
limit is less than 1.
x
<1
10
x < 10.
So, the radius of convergence is 10. Note that this analysis doesn’t tell us for sure of the
series converges for x = ±10 (it happens to not converge in this case).
We see that the only time the limit is less than 1 is when x = 0. So, the radius of
convergence is 0.
134
Example. Determine the radius of convergence for the following series5 :
∞
X xk
.
k=0
k!
by the nth term test for both x = 10 and x = −10. So the radius of
This series diverges
convergence is x < 10.
Example. For what values of x does the following series converge:
∞
X x2k
(−1)k+1 .
k=1
2k
135
Since the series, disregarding the (−1)k+1 has all terms positive and decreasing and passes
the nth term test, it converges by the alternating series test. Therefore the interval of
convergence is [−1, 1].
It’s important to remember that although a series might converge over some interval it might
do so very slowly, especially at endpoints. That is why when estimating a function value
using a Taylor series we still need to estimate the error.
136
Chapter 9
Additional Materials
9.1 Tests
The following are worked free-response questions from three years of AP Calculus BC tests1 .
1. People enter a line for an escalator at rate modeled by the function r given by
(
t 3 t 7
44 100 1 − 300 for 0 ≤ t ≤ 300
r(t) =
0 for t > 300,
where r(t) is measured in people per scond and t is measured in seconds. As people
get on to the escalator, they exit the line at a rate of 0.7 person per second, There are
20 people in line at time t = 0.
(a) How many people entered the line for the escalator during the time interval 0 ≤
t ≤ 300?
(b) During the time interval 0 ≤ t ≤ 300, there are always people in line for the
escalator. How many people are in line at time t = 300?
(c) For time t > 300, what is the first time t that there are no people in line for the
escalator?
(d) For time 0 ≤ t ≤ 300, at what time t is the number of people in line at a
minimum? To the nearest whole number, find the number of people in line at this
time. Justify your answer.
1
These tests questions are owned by the College Board. The questions and College Board’s sample responses
are available on their website.
137
2. Researchers on a boat are investigating plankton cells in a sea. At a depth of h
meters, the density of plankton cells, in millions of cells per cubic meter, is modeled
2
by p(h) = 0.2h2 e−0.0025h for 0 ≤ h ≤ 30 and is modeled by f (h) for h ≥ 30. The
continuous function f is not explicitly given.
(a) Find p0 (25). Using correct units, interpret the meaning of p0 (25) in the context of
the problem.
(b) Consider a vertical column of water in this sea with horizontal cross sections of
constant area 3 square meters. To the nearest million, how many plankton cells
are in this column of water between h = 0 and h = 30 meters?
R∞
(c) There is a function u such that 0 ≤ f (h) ≤ u(h) for all h ≥ 30 and 30 u(h)dh =
105. The column of water in part (b) is K meters deep, where K > 30. Write
an expression involving one or more integrals that gives the number of plankton
cells in the entire column. Explain why this number of plankton cells is less than
or equal to 2000 million.
(d) The boat is moving on the surface of the sea. At time t ≥ 0, the position of
the boat is (x(t), y(t)), where x0 (t) = 662 sin (5t) and y 0 (t) = 880 cos (6t). Time t
is measured in hours, and x(t) and y(t) are measured in meters. Find the total
distance traveled by the boat over the time interval 0 ≤ t ≤ 1.
3. The graph of the continuous function g, the derivative of a function f , is shown above.
The function g is piecewise linear for −5 ≤ x < 3 and g(x) = 2(x − 4)2 for 3 ≤ x ≤ 6.
138
(a) If f (1) = 3, what is the value of f (−5)?
R6
(b) Evaluate 1 g(x)dx.
(c) For −5 < x < 6, on what open intervals, if any, is the graph of f both increasing
and concave up? Give a reason for your answer.
(d) Find the x-coordinate of each point of inflection of the graph of f . Give a reason
for your answer.
t (years) 2 3 5 7 10
H(t) (meters) 1.5 2 6 11 15
(a) Use the data in the table to estimate H 0 (6). Using correct units, interpret the
meaning of H 0 (6) in the context of the problem.
(b) Explain why there must be at least one time t, for 2 ≤ t ≤ 10 such that H 0 (t) = 2.
(c) Use a trapezoidal sum with 4 subintervals indicated by the data in the table to
approximate the average height of the tree over the time interval 2 ≤ 2 ≤ 10.
(d) The height of the tree, in meters, can also be modeled by the function G, given
by G(x) = 100x
1+x
, where x is the diameter of the base of the tree, in meters. When
the tree is 50 meters tall, the diameter of the base of the tree is increasing at a
rate of 0.03 meters per year. According to this model, what is the rate of the
change of the height of the tree with respect to time, in meters per year, at the
time when the tree is 50 meters tall?
139
Figure 9.2: AP Calculus BC 2018 Exam Free-Response Question 5
5. The graph of the polar curves r = 4 and r = 3 + 2 cos θ are shown in the figure above.
The curves intersect at θ = π3 and θ = 5π
3
.
(a) Let R be the shaded region inside the graph of r = 4 and outside the graph of
r = 3 + 2 cos θ, as shown in the figure above. Write an expression involving an
integral for the area of R.
(b) Find the slope of the line tangent to the graph r = 3 + 2 cos θ at θ = π2 .
(c) A particle moves along the portion of the curve r = 3 + 2 cos θ for 0 < θ < π2 .
The particle moves in such a way that the distance between the particle and the
origin increases at a constant rate of 3 units per second. Find the rate at which
the angle θ changes with respect to time at the instant when the position of the
particle corresponds to θ = π3 . Indicate units of measure.
(a) Write the first four nonzero erms and the general term of the Maclaurin series for
f.
(b) Determine the interval of convergence for f . Show the work that leads to your
answer.
140
(c) Let P4 (x) be the fourth-degree Taylor polynomial for f about x = 0. Use the
alternating series estimation bound to find an upper bound for P4 (2) − f (2).
141
2. (a) Using a calculator, we see that p0 (25) = −1.17906. In the context of the problem,
this value means that at a depth of 25 meters, the density of plankton is decreasing
at a rate of 1.17906 million plankton per cubic meter per meter.
(b) The vertical density of the plankton in the column is given by p(h) ∗ 3m2 . In-
tegrating this density function for 0 ≤ h ≤ 30m, we’ll get the total number of
plankton on the column.
Z 30
3p(h)dh ≈ 1675.414.
0
So, there are 1675.414 million plankton in the column from 0 to 30 meters depth.
(c) The total number of plankton in the entire vertical column with cross section area
Am2 is given by Z ∞
P = Adensity(h)dh.
0
We can break this integral up, and we can use A = 3m2 for our particular column.
Z 30 Z ∞
P =3 p(h)dh + 3 f (h)dh.
0 30
Since u(h) ≥ f (h) for h ≥ 30, we can write the following inequality, the right side
of which we can numerically evaluate:
Z 30 Z ∞
P ≤3 p(h)dh + 3 u(h)dh
0 0
≤ 1675.414 + 3(105)
≤ 1990.414.
So, we see that the number of plankton in the entire vertical column is at most
1990.414 million, which is strictly less than 2000 million.
(d) Since the position of the boat is parametric, we can use the parametric arc length
formula to find the total distance traveled for 0 ≤ t ≤ 1hr.
Z 1p
D= (x0 (t))2 + (y 0 (t))2 dt
0
Z 1q
= (662 sin (5t))2 + (880 cos (6t))2 dt
0
≈ 757.456.
3. (a) Trying to treat this like an initial value problem would be too tedious with all
the piecewise parts of g. Plus, it would be doing more than the question asked
142
because it only wants the value of f at a particular point, not an expression
for f . Instead, we can use the fact that g is the derivative of f and apply the
Fundamental Theorem of Calculus.
Z 1
g(x)dx = f (1) − f (−5) = 3 − f (−5).
−5
(c) f is increasing when its first derivative is positive and concave up when its second
derivative is positive. Since g is the derivative of f , we can also say that f is
increasing when g is positive and concave up when g is increasing. g is positive on
(0, 4) ∪ (4, 6]. g is increasing on (−2, −1) ∪ (0, 1) ∪ (4, 6). Taking the intersection
of these intervals, we see that f is increasing and concave up on (0, 1) ∪ (4, 6).
(d) f has an inflection point when its second derivative is equal to 0, changing sign.
Since g is the derivative of f , we can also say that f has an inflection point when
the derivative of g is equal to 0, changing sign. Although we see by looking at the
graph that the derivative of g is 0 over several intervals, it does not change sign.
The only place the derivative is 0 and changes sign is at x = 4.
4. (a) We can approximate H 0 (6) as the average rate of change between t = 5 and t = 7.
H(7) − H(5) 11 − 6 5
H 0 (6) ≈ = = .
7−5 7−5 2
In the context of this problem H 0 (6) ≈= 5
2
means that at 6 years, the tree is
growing at a rate of 5/2 meters per year.
143
(b) Looking at the average rate of change between t = 3 and t = 5,
H(5) − H(3) 6−2
H̄ 0 3,5 = = = 2.
5−3 5−3
Since H is differentiable, it is also continuous. So, by the mean value theorem,
there is at least one point 3 ≤ c ≤ 5 (which is a sub-interval of 2 ≤ t ≤ 10) such
that H 0 (c) = 2.
(c) We know that the average value of a continous function f over some interval [a, b]
is Z b
1
f¯a,b = f (x)dx.
b−a a
So, over our interval of [2, 10], we need to approximate this integral using trape-
zoids. Because the sub-interval widths given by the table are not equally-sized,
we can’t apply the shortcut trapezoidal rule. However, we can still approximate
the area using trapezoids.
Z 10
1 1 1.5 + 2 2+6 6 + 11 11 + 15 1
H(x)dx ≈ 1+ 2+ 2+ 3 = (65.75) = 8.21875.
10 − 2 2 8 2 2 2 2 8
So, the average height of the tree between 2 and 10 years is approximately 8.21875
meters.
(d) Finding the diameter of the base of the tree when it is 50 meters tall according
to G.
100x
50 = =⇒ x = 1.
1+x
Differentiating G, remembering the chain rule,
100(1 + x) dx − 100x dx
G0 (x) = dt dt
.
(1 + x)2
dx
Plugging in x = 1 and dt
= 0.03,
100(1 + 1)(0.03) − 100(1)(0.03) 6−3 3
G0 (1) = 2
= = .
(1 + 1) 4 4
So, according to G, the tree is growing at 3/4 meters per year when it is 50 meters
tall.
5. (a) We know the formula for the area between two polar curves is
1 β 2
Z
f (θ) − g 2 (θ) dθ.
A=
2 α
Since we want the area inside the circle and outside the limaçon for π/3 ≤ θ ≤
5π/3,
1 5π/3
Z
(4)2 − (3 + 2 cos θ)2 dθ.
A=
2 π/3
144
(b) Remembering that x = r cos θ and y = r sin θ,
x = (3 + 2 cos θ) cos θ, y = (3 + 2 cos θ) sin θ.
Differentiating x and y with respect to θ,
dx dy
= −(3 + 2 cos θ) sin θ + cos θ(−2 sin θ), = (3 + 2 cos θ) cos θ + sin θ(−2 sin θ).
dθ dθ
Dividing one by the other,
dy
dy dθ (3 + 2 cos θ) cos θ + sin θ(−2 sin θ)
= dx
= .
dx dθ
−(3 + 2 cos θ) sin θ + cos θ(−2 sin θ)
At θ = π/2,
dy (3 + 2 · 0) · 0 + 1(−2 · 1) −2 2
= = = .
dx θ=π/2 −(3 + 2 · 0)1 + 0(−2 · 1) −3 3
(c) r is a function of θ, and we’re being told that θ behaves as a function of t, due to
how the particle moves. So, we can apply the chain rule:
dr dr dθ
= ·
dt dθ dt
dθ
= −2 sin θ .
dt
dθ
Solving for dt
,
dθ dr 1
= .
dt dt −2 sin θ
Moving away from the origin at some rate tell us how r changes. Plugging in
dr
dt
= 3 and θ = π/3,
dθ 1 3 √
=3 = √ = − 3.
dt −2 sin (π/3) − 3
√
So, θ is changing at a rate of − 3 radians per second.
6. (a) Starting with the given Maclaurin series,
u2 u3 u4 un
ln (1 + u) = u − + − + . . . + (−1)n+1 + . . . .
2 3 4 n
Substituting u = x/3,
x x ( x3 )4 ( x3 )4 ( x3 )4 ( x )n
ln 1 + = − + − + . . . + (−1)n+1 3 + . . . .
3 3 2 3 4 n
Multiplying by x,
x x ( x )4 ( x )4 ( x )4 ( x )n
x ln 1 + = x − x 3 + x 3 − x 3 + . . . + (−1)n+1 x 3 + . . . .
3 3 2 3 4 n
145
(b) Applying the ratio test on the absolute terms,
( x3 )n+1
x n+1 n x3 x
lim ( x3 )n
= lim = .
n→∞ n→∞ n + 1 3
x n
which converges by the Alternating Series Test. So, the interval of convergence is
−3 < x ≤ 3.
(c) The Alternating Series Estimation Theorem tells us that the error from an alter-
nating series is at most the value of the first term not included, and the error is
the same sign as the first not included term. For P4 (x),
2 4
P4 (2) − f (2) ≤ (−1)5 2 3 = 8 .
4 81
So, our upper bound on the error is 8/81.
h (feet) 0 2 5 10
A(h) (square feet) 50.3 14.4 6.5 2.9
1. A tank has a height of 10 feet. The are of the horizontal cross section of the tank at h
feet is given by the function A, where A(h) is measured in square feet. The function A
is continuous and decreases as h increases. Selected values for h are given in the table
above.
(a) Use a left Riemann sum with three subintervals indicated by the data to approx-
imate the volume of the tank. Indicate units of measure.
146
(b) Does the approximate in part (a) overestimate or underestimate the volume of
the tank? Explain your reasoning.
(c) The area, in square feet, of the horizontal cross section at height h feet is modeled
50.3
by the function f given by f (h) = e0.2h +h
. Based on this model, find the volume
of the tank. Indicate units of measure.
(d) Water is pumped into the tank. When the height of the water is 5 feet, the height
is increasing at a rate of 0.26 foot per minute. Using the model from part (c),
find the rate at which the volume of water is changing with respect to time when
the height of the water is 5 feet. Indicate units of measure.
2. The figure above show the polar curves r = f (θ) = 1 + sin θ cos (2θ) and r = g(θ) =
2 cos θ for 0 ≤ θ ≤ π2 . Let R be the region in the first quadrant bounded by the curve
r = f (θ) and the x-axis. Let S be the region in the first quadrant bounded by the
curve r = f (θ) the curve r = g(θ), and the x-axis.
147
Figure 9.4: AP Calculus BC 2017 Exam Free-Response Question 3, Graph of f 0
3. The function f is differentiable on the closed interval [−6, 5] and satisfies f (−2) = 7.
The graph of f 0 , the derivative of f , consists of a semicircle and three line segments,
as shown in the figure above.
4. At time t = 0, a boiled potato is taken from a pot on a stove and left to cool in a
kitchen. The internal temperature of the potato is 91 degrees Celsius (◦ C) at time
t = 0, and the internal temperature of the potato is greater than 27◦ C for all time
t > 0. The internal temperature of the potato at time t minutes can be modeled by
a function H that satisfies the differential equation dH
dt
= − 14 (H − 27), where H(t) is
measured in degrees Celsius and H(0) = 91.
(a) Write an equation for the line tangent to the graph of H at t = 0. Use this
equation to approximate the internal temperature of the potato at time t = 3.
2
(b) Use ddtH2 to determine whether your answer in part (a) is an underestimate or
overestimate of the internal temperature of the potato at time t = 3.
(c) For t < 10, an alternate model for the internal temperature of the potato at time t
minutes is the function G that satisfies the differential equation dG
dt
= −(G−27)2/3 ,
where G(t) is measured in degrees Celsius and G(0) = 91. Based on this model,
what is the internal temperature of the potato at time t = 3?
3
5. Let f be the function defined by f (x) = 2x2 −7x+5
.
148
(a) Find the slope of the tangent line of the graph of f at x = 3.
(b) Find the x-coordinate of each critical point of f in the interval 1 < x < 2.5. Clas-
sify each critical point as the location of a relative minimum, a relative maximum,
or neither. Justify your answer.
3 2 1
R∞
(c) Using the identity that 2x2 −7x+5 = 2x−5 − x−1 , evaluate 5 f (x)dx or show that
the integral diverges.
P∞ 3
(d) Determine whether the series n=5 2n2 −7n+5 converges or diverges. State the
conditions of the test used for determining convergence or divergence.
f (0) = 0
f 0 (0) = 1
f (n+1) (0) = −n · f (n) (0) for all n ≥ 1
6. A function f has derivatives of all order for −1 < x < 1. The derivatives
of f satisfy
the conditions above. The Maclaurin Series for f converges to f (x) for x < 1.
2
(a) Show that the first four non-zero terms of the Maclaurin series for f are x − x2 +
x3 4
3
− x4 , and write the general term for the Maclaurin series for f .
(b) Determine whether the Maclaurin series described in part (a) converges absolutely,
converges conditionally, or diverges at x = 1. Explain your reasoning.
(c) Write the first
R x four nonzero terms and the general term for the Maclaurin series
for g(x) = 0 f (t)dt.
(d) Let Pn 21 represent the nth degree Taylor polynomial for g about x = 0 and
evaluated at x = 21 , where g is the function defined in part (c). Use the alternating
series error bound to show that
P4 1 − g 1 < 1 .
2 2 500
So, we approximate that the volume of the tank is 176.3 cubic feet.
(b) Since we are given that the function is decreasing over the interval, a left Riemann
sum will overestimate the volume.
149
(c) Integrating f from h = 0 to h = 10,
Z 10
50.3
0.2h
dh ≈ 101.325.
0 e +h
So, the volume of the tank given by f is 101.325 cubic feet.
(d) We know from (c) that
Z h
V (h) = f (x)dx.
0
Differentiating with respect to t, and applying the chain rule,
dV dh
= f (h) · .
dt dt
dh
Plugging in h = 5 and dt
= 0.26,
dV 50.3
= · 0.26 ≈ 1.694.
dt h=5 e1 + 5
So, when h = 5 feet, the volume is changing at a rate of 1.694 cubic feet per
minute.
2. (a) Finding the area enclosed by f from θ = 0 to θ = π/2,
1 π/2
Z
A= (1 + sin θ cos (2θ))2 dθ ≈ 0.648.
2 0
(b) Our ray θ = k will represent a lower bound in one integral and an upper bound
in the other. Finding equal areas between g and f ,
1 k 1 π/2
Z Z
2 2
(2 cos θ)2 − (1 + sin θ cos (2θ))2 dθ.
(2 cos θ) − (1 + sin θ cos (2θ)) dθ =
2 0 2 k
(c) Since both f and g are polar functions evaluated at θ, the distance between then
will simply be the difference in their radii.
w(θ) = g(θ) − f (θ).
Finding the average of w,
Z π/2
1
wA = (2 cos θ − (1 + sin θ cos (2θ)))dθ ≈ 0.485.
π/2 − 0 0
(d) Solving w(θ) = wA ,
2 cos θ − (1 + sin θ cos (2θ)) = 0.485 =⇒ θ ≈ 0.518.
Evaluating w0 (0.518),
w0 (0.518) ≈ −0.581.
So, w is decreasing at this value.
150
3. (a) Applying the Fundamental Theorem of Calculus,
Z −2
f 0 (x)dx = f (−2) − f (−6) = 7 − f (−6) = 4 =⇒ f (−6) = 3
−6
Z 5
f 0 (x)dx = f (5) − f (−2) = f (5) − 7 = −2π + 3 =⇒ f (5) = 10 − 2π.
−2
(b) f is increasing when its derivative is positive. Looking at the graph of f 0 , we see
it is positive on [−6, 2) ∪ (2, 5). So, f is increasing on [−6, 2] ∪ [2, 5]2 .
(c) We see that the critical points of f 0 are x = −2 and x = 2. A minimum can occur
at a left/right endpoint that will/was decreasing. So, the two points we need to
consider for the absolute minimum are x = −6 and x = 2. We know from (a)
that f (−6) = 3. Applying the Fundamental Theorem of Calculus again,
Z 2
f 0 (x)dx = f (2) − f (−2) = f (2) − 7 = 2π =⇒ f (2) = 7 − 2π.
−2
151
(c) This is a separable differential equation.
dG
= −(G − 27)2/3
dt
dG
= −1dt
(G − 27)2/3
Z Z
dG
= −1dt
(G − 27)2/3
3(G − 27)1/3 = −t + C
(G − 27)1/3 = −t/3 + C
G − 27 = (−t/3 + C)3
G = (−t/3 + C)3 + 27.
91 = (−0/3 + C)2 + 27
64 = C 3
C = 4.
Evaluating at t = 3,
152
(c) Evaluating the limit using the given partial fraction decomposition,
Z ∞ Z ∞
2 1
f (x)dx = − dx
5 5 2x − 5 x − 1
∞
= ln (2x − 5) − ln (x − 1)
5
∞
2x − 5
= ln
x − 1 5
2b − 5 5
= lim ln − ln
b→∞ b−1 4
5
= ln 2 − ln
4
8
= ln .
5
(d) For n ≥ 5, f (n) is positive and decreasing. Using our work from part (c), we
know that the integral of f from 5 to ∞ converges. So, by the Integral test, the
series also converges.
6. (a) Calculating the first four derivatives and the general derivative,
f (0) = 0
f 0 (0) = 1
f 00 (0) = −1 · f 0 (0) = −1
f (3) (0) = −2 · f 00 (0) = 2
f (4) (0) = −3 · f (3) (0) = −6.f (n+1) (0) = −n · f (n) (0) = (−1)n+1 n!.
153
(c) Integrating term-by-term,
Z
g(x) = xf (t)dt
Z0 x
t2 t3 t4 n
n+1 t
= t − + − + . . . + (−1) dt
0 2 3 4 n
x
t2 t3 t4 t5 n+1 tn+1
= − + − + . . . + (−1)
2 6 12 20 n(n + 1) 0
x2 x3 x4 x5 xn+1
= − + − + . . . + (−1)n+1 .
2 6 12 20 n(n + 1)
(d) The Alternating Series Estimation Theorem tells us that the upper bound for the
5
error is the absolute value of the first not included term. For P4 , this term is − x20 .
So,
1 5
1 1 2 = 1 < 1 .
P 4 −g < −
2 2 20 640 500
t (hours) 0 1 3 6 8
R(t) (liters / hour) 1340 1190 950 740 700
2
1. Water is pumped into a tank at a rate modeled by W (t) = 2000e−t /20 liters per hour
for 0 ≤ t ≤ 8, where t is measured in hours. Water is removed from the tank at a rate
modeled by R(t) liters per hour, where R is differentiable and decreasing on 0 ≤ t ≤ 8.
Selected values of R(t) are shown in the table above. At time t = 0, there are 50000
liters of water in the tank.
(a) Estimate R0 (2). Show the work that leads to your answer. Indicate units of
measure.
(b) Use a left Riemann sum with the four subintervals indicated by the table to
estimate the total amount of water removed from the tank during the 8 hours.
Is this an over estimate or underestimate of the total amount of water removed?
Give a reason for your answer.
(c) Use your answer from part (b) to find an estimate for the total amount of water
in the tank, to the nearest liters, at the end of the 8 hours.
154
(d) For 0 ≤ t ≤ 8, is there a time t when the rate at which the water is pumped into
the tank is the same rate as the rate at which water is removed from the tank?
Explain why or why not.
2. At time t, the position of a particle moving in the xy-plane is given by the parametric
functions (x(t), y(t)), where dx
dt
= t2 + sin (3t2 ). The graph of y consisting of three line
segments, is shown in the figure above. At t = 0, the particle is at position (5, 1).
155
Figure 9.6: AP Calculus BC 2016 Exam Free-Response Question 3, Graph of f
3. The figure above shows the graph ofRthe piecewise-linear function f . For −4 ≤ x ≤ 12,
x
the function g is defined by g(x) = 2 f (t)dt.
156
Figure 9.7: AP Calculus BC 2016 Exam Free-Response Question 5
5. The inside of a funnel of height 10 inches has circular cross sections, as shown in the
1
figure above. At height h, the radius of the funnel is given by r = 20 (3 + h2 ), where
0 ≤ h ≤ 10. The units of r and h are inches.
6. The function f has a Taylor series about x = 1 that converges to f (x) for all x in the
interval of convergence. It is known that f (1) = 1, f 0 (1) = − 21 , and the nth derivative
of f at x = 1 is given by f (n) (1) = (−1)n (n−1)!
2n
for n ≥ 2.
(a) Write the first four nonzero terms and the general term of the Taylor series for f
about x = 1.
(b) The Taylor series for f about x = 1 has a radius of convergence of 2. Find the
interval of convergence. Show the work that leads to your answer.
(c) The Taylor series for f about x = 1 can be used to represent f (1.2) as an al-
ternating series. Use the first three non-zero terms of the alternating series to
approximate f (1.2).
157
(d) Show that the approximation found in part (c) is within 0.001 of the exact value
of f (1.2).
So, the left Riemann sum approximates the total water removed to be 8050 liters.
(c) Using our answer from part (b) and integrating, we can find the total amount of
water added or removed.
Z
2
∆Water = −8050 + 82000e−t /20 dt ≈ −214.
0
Since we know there is 50000 liters of water at t = 0, we can add the net change
to find the amount of water at t = 8.
Water8 = Water0 + ∆Water = 50000 − 214 = 49768.
So, to the nearest liter, we approximate the amount of water in the tank at t = 8
to be 49768 liters.
(d) At t = 0, W (0) = 2000 > R(0) = 1340, so W (0) − R(0) > 0. At t = 8,
W (8) = 81.52 < R(8) = 700, so W (8) − R(8) < 0. Since both W and R are
continuous, so is W − R. So, by the Intermediate Value Theorem, there is some
0 < t < 8 such that W (t) − R(t) = 0, or W (t) = R(t).
2. (a) We can apply the Fundamental Theorem of Calculus to find x(3).
Z 3
dx
dt = x(3) − x(0) = x(3) − 5 = 9.377 =⇒ x(3) = 14.377.
0 dt
Looking at the graph, we see that y(3) = − 12 . So, at t = 3, the particle’s position
is (14.377, −0.5).
(b) Looking at the graph, we see that y 0 (3) = 21 . Evaluating dx
dt
at t = 3, we see that
x0 (3) = 9 + sin 27. So,
dy 1
dy dt 2
= dx
= ≈ 0.0502.
dx dt
9 + sin 27
158
(c) Using our formula for parametric speed,
s
2
1
+ (9 + sin 27)2 ≈ 9.969.
p
0 2 0 2
s = (x (t)) + (y (t)) =
2
(d) Starting with the formula for parametric arc length and splitting the integral into
two peices,
Z 2q Z 1p Z 2p
0 2 0 2 2 2 2 2
(y (t)) + (x (t)) dt = (−2) + (t + sin (3t )) dt + (0)2 + (t2 + sin (3t2 ))2 dt
0 0 1
≈ 2.237 + 2.112
= 4.439.
3. (a) Since we know by the Fundamental Theorem of Calculus that f is the derivative
of g, g has critical points where f is 0. x = 10 is one such critical point. Both to
the left and right of x = 10, f is negative. So, although x = 10 is a critical point,
it is neither a relative minimum or relative maximum of g because g is decreasing
both left and right of x = 10.
(b) Inflection points occur when the second derivative changes sign. Since f is the
derivative of g, inflection points of g occur when the derivative of f changes sign.
To the left of x = 4, the derivative of f is positive. To the right of x = 4, the
derivative of f is negative. So, x = 4 is indeed an inflection point for g.
(c) g has critical points where f is 0, which is at x = −2, x = 2, x = 6, and x = 10.
Of these, x = 2 and x = 10 do not change sign, so they cannot be absolute
extrema. Evaluating the remaining critical points and the endpoints using the
geometry of the graph of f ,
g(−4) = −4
g(−2) = −8
g(6) = 8
g(12) = −4.
159
(b) Since we have expression for the first and second derivatives, it makes the most
sense to apply a second derivative test. First, checking that (−2, 8) is indeed a
critical point,
dy 1
= (−2)2 − (8) = 0.
dx (−2,8) 2
Next, evaluating the second derivative,
d2 y
1 2 1
= 2(−2) − (−2) − (8) = −4 − 0 = −4.
dx2 (−2,8) 2 2
Since the second derivative is negative at this critical point, the second derivative
test tells us that this is a relative maximum.
(c) Since we know that g(−1) = 2, both the numerator and denominator of the limit
are in an indeterminate form of 0/0. So, we can apply L’Hôpital’s Rule.
0
g(x) − 2 g (x)
lim = lim .
x→−1 3(x + 1)2 x→−1 6(x + 1)
Using the given differential equation, we can see that at (−1, 2), g 0 (−1) = 0. So
again we have an indeterminate form of 0/0 and can apply L’Hôpital’s Rule.
0
g 00 (x)
g (x)
lim = lim .
x→−1 6(x + 1) x→−1 6
Using our answer from part (b), we know that at (−1, 2), g 00 (−1) = −2. So,
g 00 (x) −2 1
lim = =− .
x→−1 6 6 3
dy dy
(x, y) dx ∆x ∆y = ∆x dx (x + ∆x, y + ∆y)
1
(0, 2) −1 2
− 21 ( 12 , 32 )
( 12 , 32 ) − 12 1
2
− 41 (1, 54 )
160
(b) Applying the volume formula for a solid of revolution,
Z 10
1 2
V =π 3+h dh
0 20
5 10
π h 3
= + 2h + 9h
400 5 0
π
= (20000 + 2000 + 90)
400
2209π
= .
40
dr dr dh
=
dt dh dt
1 dh
= h .
10 dt
Solving with the information given,
1 1 dh dh 2
− = (3) =⇒ =− .
5 10 dt dt 3
So, at this instant, the height of the liquid is decreasing at 2/3 inches per second.
f (1) = 1
1
f 0 (1) = −
2
1
f 00 (1) =
4
1
f (3) (1) = − .
4
Applying the Taylor Series formula centered at x = 1,
1 1 1 1
f (x) = 1 − (x − 1) + (x − 1)2 − (x − 1)3 + . . . + (−1)n n (x − 1)n .
2 8 24 n2
(b) Since we know that the series is centered at x = 1 and the radius of convergence
is 2, we know the series converges on (−1, 3) and need to check the endpoints.
When x = −1,
∞ ∞
n 1 1
X X
n
(−1) n
(−1 − 1) =
n=1
n2 n=1
n
161
diverges by the P-Test. When x = 3,
∞ ∞
X
n1 n
X 1
(−1) n
(3 − 1) = (−1)n
n=1
n2 n=1
n
(d) Since this series is alternating, we can apply the Alternating Series Estimation
Theorem.
f (1.2) − P2 (1.2) ≤ −1 (.2)3 = 1 ≤ 0.001.
23 · 3 3000
So, by the Alternating Series Estimation Theorem, the error is certainly at most
0.001.
• Paul’s Online Notes, Calculus I – Covers first “half” of single variable calculus, includ-
ing derivatives and definite integrals.
• Paul’s Online Notes, Calculus I – Covers second “half” of single variable calculus,
including improper integrals, parametric and polar functions, and series.
• Khan Academy, AP Calculus BC – Video lectures and practice problems that should
cover the same material as in this book. There is also resources for AP Calculus AB
which covers many of the same, but fewer topics than BC.
• MIT OCW 18.01 Complete series of lectures, recitations, assignments, practice prob-
lems, lecture notes, and exams needed for independent study.
162