Course Content (Learner - S Module)
Course Content (Learner - S Module)
M A T H 1 0 0
Learner’s Module
T HIS MODULE IS PREPARED BY J IMBOY R. A LBARACIN
Contents
I Week One
1 Review of Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.1 Functions 10
1.7 Exercises 34
II Week Two
2 Limit of a Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
2.1 Limit of a Function 38
2.4 Exercises 53
3.3 Applications 68
3.4 Exercises 69
IV Week Four
4 Continuity of Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
4.1 Continuity at a point 71
4.5 Application 81
4.6 Exercises 82
V Week Five
5 Derivative of a Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
5.1 Rate of Change 84
5.6 Applications 99
VI Week Six
IX Week Nine
X Week Ten
XV Week Fifteen
1 Review of Functions . . . . . . . . . . . . . . . . . . 10
1.1 Functions
1.2 Operations on Functions
1.3 Constructing a Table of Signs
1.4 Piecewise-defined Functions
1.5 Basic Types of Functions
1.6 Applications: Functions as Mathematical Models
1.7 Exercises
1. Review of Functions
In the first week, you will encounter some notions you have studied before. Functions is a
significant concept in calculus.
At the end of the week you will able to:
• Review different concepts involving function such as domain, range and graph of a
function.
• Classify different types of functions.
• Construct a table of signs for functions.
• Recognize combinations and operations on functions.
• Describe the process of using functions as mathematical models of real-world phenomena.
1.1 Functions
Let us start with the definition of a function and some examples. Central to the concept of
function is correspondence. You are familiar with correspondences in daily life. For example,
To each person, there corresponds an annual income.
To each item in a supermarket, there corresponds a price.
To each student, there corresponds a grade-point average.
1.1 Functions 11
Example 1.1 Suppose that the domain is X = {a, b, c, d, e} and the codomain is Y =
{1, 2, 3, 4, 5}. We can define a function f : X → Y that corresponds each letters in X to
one of the numbers in Y . We can define the function f by
Since f never corresponds any elements of X to the elements 3 and 5 of Y , the set {1, 2, 4} is
the range of the function f .
Example 1.2 Let X and Y be the set of real numbers R. Then f : R → R defined by
f (x) = x3 + 1 is a function since to each domain value, there corresponds exactly one range
value (for example, if x = 2, then f (2) = 23 + 1 = 9 and no other number).
The first table (left) specify functions since to each domain value, there corresponds exactly
one range value (for example, the square of −2 is 4 and no other number). On the other hand,
1.1 Functions 12
the second table(right) does not specify a function since to at least one domain value, there
corresponds more than one range value (for example, to the domain value 9, there corresponds
−3 and 3, both square roots of 9).
Example 1.4 The area A of a circle depends on the radius r of the circle. The rule that
connects r and A is given by the equation A = πr2 . Let x = r and y = A. Then y = πx2 . For
each input x (radius), we obtain an output y (area).
If x = 3, then y = π(3)2 = 9π ≈ 28.274.
√ √
If x = 5, then y = π( 5)2 = 5π ≈ 15.708.
With each positive number x there corresponds one value of y, and we say that y is a function
of x. Because a circle has to have a positive radius, the domain is {x ∈ R | x > 0} = (0, ∞).
Since the area depends on the radius, the range is also (0, ∞).
The input values are domain values, and the output values are range values. The equation
assigns each domain value x a range value y. The variable x is called an independent variable
(since values can be "independently" assigned to x from the domain), and y is called a
dependent variable (since the value of y "depends" on the value assigned to x).
In this course, we will deal with functions whose domain and range are subsets of R. If the
domain is not explicitly specified, then the domain is
Solution:
1. The domain of f (x) = x2 is dom f = R since we can put any x ∈ R such that f (x) is
defined. Because f (x) = x2 is never negative, the range of f is [0, ∞).
√
2. The domain of the function f (x) = x − 1 is the set of all x-values for which x − 1 ≥ 0,
otherwise, f (x) is not a real number. Thus, dom f is the set of all x-values such that
√
x ≥ 1, which is the interval [1, ∞). To find the range, observe that f (x) = x − 1 is never
negative. So, the range is the interval [0, ∞).
1.1 Functions 13
√
3. The domain of the function g(x) = 4 − x2 is the set of all values for which 4 − x2 ≥ 0,
or x2 ≤ 4. So, the domain of g is the interval [−2, 2]. To find the range, observe that
√
g(x) = 4 − x2 is never negative and is at most 2. So, the range is the interval [0, 2].
R For any element x in the domain of the function f , the symbol f (x) represents the
element in the range of f corresponding to x in the domain of f . If x is an input
value, then f (x) is the corresponding output value. If x is an element that is not in
the domain of f , then f is not defined at x and f (x) does not exist.
14 √
Example 1.6 For f (x) = and g(x) = x − 1 evaluate:
x+2
1. f (5)
2. f (0) − g(10)
Solution:
14 14
1. f (5) = = =2
5+2 7
14 √ 14 √
2. f (0) − g(10) = − 10 − 1 = − 9 = 7 − 3 = 4.
0+2 2
2
Example 1.7 For f (x) = x − 2x + 3, find
1. f (a)
2. f (a + h)
f (a + h) − f (a)
3. , h 6= 0
h
Solution:
1. f (a) = a2 − 2a + 3
2. f (a + h) = (a + h)2 − 2(a + h) + 3 = a2 + 2ah + h2 − 2a − 2h + 3
3.
f (a + h) − f (a) (a2 + 2ah + h2 − 2a − 2h + 3) − (a2 − 2a + 3)
=
h h
2ah + h2 − 2h
=
h
h(2a + h − 2)
=
h
= 2a + h − 2
1.2 Operations on Functions 14
Definition 1.1.2 If f is a function with domain X, then its graph is the set of ordered pairs
Example 1.8 The graph of the function f (x) = x2 is shown in Figure 1.1.
5 y
x
−3 −2 −1 1 2 3
−1
This section will give you insights about the operation of functions.
Definition 1.2.1 Let f and g be functions, c ∈ R. Then
( f g)(x) = f (x)g(x)
3. Multiplication:
f f (x)
4. Division: (x) =
g g(x)
5. Composition: ( f ◦ g)(x) = f (g(x))
6. Multiplication: c f (x) = c( f (x)).
Example 1.10 If f (x) = x2 and g(x) = x − 3, find the composite functions f ◦ g and g ◦ f .
Solution: We have
and
Example 1.11 Let f (x) = x2 and g(x) = x + h, where h is a nonzero constant. Find
1
[( f ◦ g)(x) − f (x)].
h
Solution:
1 1
[( f ◦ g)(x) − f (x)] = [ f (g(x)) − f (x)]
h h
f (x + h) − f (x)
=
h
(x + h) − x2
2
=
h
(x2 + 2xh + h2 ) − x2
=
h
2xh + h 2
=
h
= 2x + h.
A table of signs for a function f shows when a value of f is positive, zero or negative. This is
the procedure on how to construct a table of signs for a function f .
Step 1 Find all numbers x such that f (x) = 0 and f (x) is undefined.
1.4 Piecewise-defined Functions 16
Step 2 Plotting the numbers found in step 1 in the real number line, the number line will be
divided into intervals. Use this observation to determine the open intervals.
Step 3 Select a test number in each open interval determined in step 2 and evaluate f (x) at each
test number to determine whether f (x) is positive (+) or negative (−) in each interval.
Step 4 Construct a table of signs using the real number line in step 2. This will show the sign of
f (x) on each open interval.
2x2 − x3
Example 1.12 Construct the table of signs for f (x) = . Determine the intervals
2x2 − 3x + 1
where the graph of f lies above the x-axis.
Solution: We will rewrite the expression as a product of factors whose table of signs are easily
determined.
2x2 − x3 x2 (2 − x)
= .
2x2 − 3x + 1 (2x − 1)(x − 1)
The function is zero when x = 0, 2 and undefined at x = 12 , 1. These numbers will give us
these open intervals: (−∞, 0), (0, 12 ), ( 12 , 1), (1, 2), and (2, +∞). Then we will select a test
number for each open interval. In the interval (−∞, 0), we choose x = −1. Then we get
(−1)2 (3)
f (1) = (−3)(−2) = 21 . Thus, in the interval (−∞, 0), the values of f are positive. We can do
this with the rest of the intervals and get the following table of signs.
Definition 1.4.1 Functions that are defined by different formulas in different parts of their
domains are called piecewise defined functions. Such functions can be written in the form
f1 (x) if x ∈ X1
f2 (x) if x ∈ X2
f (x) =
.. ..
. .
fn (x) if x ∈ Xn
is a piecewise defined function. In Figure 1.2, we see that the graph of f coincides with the
line y = x to the right of the y-axis and coincides with the line y = −x to the left of the y-axis.
x
−3 −2 −1 1 2 3
−1
Then
(2x − 3) + x,
if 2x − 3 ≥ 0
f (x) = |2x − 3| + x =
−(2x − 3) + x if 2x − 3 < 0
3x − 3, if x ≥ 3
2
=
−x + 3 if x < 32 .
In this section, we will classify different types of function. The most common type of function
is a polynomial function.
Definition 1.5.1 A function f is called a polynomial if
where n is a nonnegative integer and the numbers a0 , a1 , a2 , . . . , an are constants called the
coefficients of the polynomial. If the leading coefficient an 6= 0, then the degree of the
polynomial is n.
Example 1.15 (a) Functions of the form f (x) = c where c is a real number, called constant
functions, is a polynomial function. The domain of f is R and its range is {c}. The
graph of f is a horizontal line intersecting the y-axis at y = c.
(b) A polynomial of degree 1 is of the form f (x) = mx + b is called a linear function. The
domain of f is R and its range is R. The graph of f is a line with slope m and y-intercept
b. If m > 0, then the line slants to the right. If m < 0, then line slants to the left.
(c) A polynomial of degree 2 is of the form f (x) = ax 2 + bx + c is called a quadratic
b 4ac − b2
function. The graph of f is a parabola with vertex at − , . If a > 0, then
2a 4a
4ac − b2
the parabola opens upward and the range of f is , +∞ . If a < 0, then the
4a
4ac − b2
parabola opens downward and the range of f is −∞, . The extreme function
4a
1.5 Basic Types of Functions 19
b b 4ac − b2
value of f occurs at x = − and the extreme function value of f is f (− ) = .
2a 2a 4a
If a > 0, then f has a minimum function value. If a < 0, then f has a maximum function
value.
Definition 1.5.2 A rational function f is a ratio of two polynomials:
p(x)
f (x) =
q(x)
where p and q are polynomials.
I The domain of a rational function consists of all values of x such that q(x) 6= 0.
Example 1.16 (a) A simple example of a rational function is the function f (x) = 1/x,
whose domain is {x | x 6= 0}.
(b) The function
x2 − 5x + 6
f (x) =
x−3
is a rational function with domain {x | x 6= 3} = R \ {3}. In Figure 1.3, we can see that
the range is R \ {1}.
y
3
2
1
x
−5 −4 −3 −2 −1 1 2 3 4 5
−1
−2
−3
−4
−5
−6
−7
x2 − 5x + 6
Figure 1.3: The graph of f (x) =
x−3
1
x
−2 −1 1 2 3 4 5 6
−1
√
Figure 1.4: The graph of f (x) = x
√
Example 1.19 Sketch the graph of the function g(x) = − 2 − x.
⇐⇒ x = 2 − y2 , y ≤ 0.
Thus, the graph of g is the lower branch of the parabola x = 2 − y2 as shown in Figure 1.5.
1.5 Basic Types of Functions 21
2 y
x
−4 −3 −2 −1 1 2 3
−1
−2
−3
−4
√
Figure 1.5: The graph of g(x) = − 2 − x
Definition 1.5.4 The six trigonometric or circular functions sine, cosine, tangent, cotan-
gent, secant and cosecant functions.
In this course, the trigonometric functions are viewed as functions on the set of real
numbers.
Definition 1.5.5 An exponential function is a function of the form
f (x) = ax ,
where a > 0 is a fixed real number called the base of the exponent.
Note that this is different from the power function xk , where the base is a variable and the
exponent is constant. Here is an example you are familiar with.
Example 1.20 The graph of the function f (x) = 2x is shown in Figure 1.6.
Recall that the domain of a function is the set of all real numbers for which the function is
defined. In this particular example, the domain is the set real numbers R and the range is the
set of all positive real numbers or (0, +∞).
x
1
Example 1.21 Sketch the graph of the function f (x) = and identify the domain and
2
range.
5 y
x
−3 −2 −1 1 2 3
−1
x −2 −1 0 1 2
f (x) 4 2 1 1/2 1/4
Plotting these points in the plane and connecting them in the sooth curve we obtain the
graph of g.
1.5 Basic Types of Functions 23
5 y
x
−3 −2 −1 1 2 3
−1
x
1
Figure 1.7: The graph of g(x) =
2
The domain of this function is still the set of real numbers R and the range is (0, +∞).
Definition 1.5.6 We say that the function f is increasing on an interval (a, b) if f (x2 ) >
f (x1 ) whenever a < x1 < x2 < b; and f is decreasing on (a, b) if f (x2 ) < f (x1 ) whenever
a < x1 < x2 < b.
y
3
x
−3 −2 −1 1 2 3
−1
x
Example 1.22 The function f (x) =
is a one-to-one fumction since each range value
2
corresponds to exactly one domain value. For example, the range value 2 corresponds to the
domain value 4 and no other value. The function g(x) = x2 is not a one-to-one function since
every range value except 0 corresponds to two domain value. For example, the range value 4
corresponds to the domain values 2 and −2.
Starting with a one-to-one function f , we can obtain a new function called the inverse of f .
Definition 1.5.8 If f is a one-to-one function, then the inverse of f is the function formed
by interchanging the independent and dependent variables for f . Thus, if (a, b) is a point
on the graph of f , then (b, a) is a point on the graph of the inverse of f .
y = 2x
x = 2y .
We call the inverse the logarithmic function with base 2, and write y = log2 x if and only if
1.5 Basic Types of Functions 25
f (x) = logb x,
where b > 0 is a fixed real number referred to as the base of the logarithm.
Recall that log2 8 = 3 since 3 is the exponent used to raise the base 2 to get 8.
Notation:
• log usually refers to “log base 10" or log10 , also known as the common logarithm
• ln usually refers to “log base e" or loge , also known as the natural logarithm, where
e ≈ 2.71828.
To graph a logarithmic function, we simply use the exponential equivalence of y = loga x,
that is,
y = loga x ⇐⇒ ay = x,
and then we assign values on y so that we can compute easily the corresponding value of x.
Example 1.24 Sketch the graph of the logarithmic function f (x) = log2 x
x 1/4 1/2 1 2 4
y −2 −1 0 1 2
I The domain of the logarithmic function f (x) = logb x is the set of positve real numbers
or (0, +∞).
1.5 Basic Types of Functions 26
5 y
4
3
2
1
x
−1 1 2 3 4 5 6 7 8
−1
−2
−3
−4
−5
I The range of the the logarithmic function f (x) = logb x is the set of real numbers R.
I The function f is increasing for b > 1 for b > 1 and decreasing for 0 < b < 1.
The next examples uses the laws of exponents and logarithms in solving for the desired
quantity.
Solution:
5x = 0.23
ln 5x = ln 0.23
x ln 5 = ln 0.23
ln 0.23
x=
ln 5
Using calculator, we find that x ≈ −0.91.
Solution: We will use the properties of logarithms to solve for the required value.
= 3(2.1) + 0.45
= 6.3 + 0.45
= 6.75
Solution: We will write the given equation into its exponential equivalent and solve for x, that
is,
log4 3x = 1.4
3x = 41.4
41.4
x=
3
x ≈ 2.32
In the next example we will see how a function can be used to describe data from the real
world, a process that is often referred to as mathematical modeling. A mathematical model
1.6 Applications: Functions as Mathematical Models 28
= a + bx
Price–Demand Function
p = m − nx (x is the number of items that can be sold at $p per item.)
Revenue Function
Profit Function
P = R −C
Example 1.28 A manufacturer of a popular digital camera wholesales the camera to retail
outlets throughout the United States. Using statistical methods, the financial department in the
1.6 Applications: Functions as Mathematical Models 29
company produced the price–demand data in Table 1.1, where p is the wholesale price per
camera at which x million cameras are sold. Notice that as the price goes down, the number
sold goes up.
x (millions) p($)
2 87
5 68
8 53
12 37
Using special analytical techniques (regression analysis), an analyst obtained the following
price–demand function to model the Table 1.1 data:
1. Plot the data in Table 1.1. Then sketch a graph of the price–demand function in the same
coordinate system.
2. What is the company’s revenue function for this camera, and what is its domain?
Solution:
1. In Figure 1.10, notice that the model approximates the actual data in Table 1.1, and it
is assumed that it gives realistic and useful results for all other values of x between 1
million and 15 million.
2. R(x) = xp(x) = x(94.8 − 5x) million dollars
Domain:1 ≤ x ≤ 5
C(t) = C0 e−kt ,
where k > 0 is known as a decay constant. The larger the value of k, the more quickly the
drug decays in the bloodstream.
(a) If the drug has a half-life of 10 days, what is the value of k?
(b) What percent of the administered amount of drug remains in the bloodstream after 4
hours?
Solution: (a) A half-life of 10 days means that when t = 10, we should have of the initial
amount of drug, C0 . We can write this mathematically as
C(10) = 21 C0
1.6 Applications: Functions as Mathematical Models 31
C(10) = C0 e−10k
C(t) = C0 e−0.069t .
Recall that t is measured in days; thus, if we want to know how much is left after 4 hours,
we need to convert this to units of days:
1 day 1
4 hours × = days.
24 hours 6
Thus, we want to know how much of C0 is left after days:
1 1
C = C0 e−0.069× 6
6
= 0.989C0
f (x) = 100e0.6x ,
1.6 Applications: Functions as Mathematical Models 32
where x is the speed in feet per second. Find each of the following:
(a) The oxygen consumption when the fish are not moving.
(b) The oxygen consumption at a speed of 2 f t/s.
(c) If a salmon is swimming at 2 f t/s, how much faster does it need to swim to double its
oxygen consumption?
Solution: (a) When the fish are not moving, their speed is 0 f t/s. Thus, when x = 0,
Thus, when the fishes are not moving, their oxygen consumption is 100 units.
(b) Here x = 2 and
664 = 100e0.6x
6.64 = e0.6x
ln 6.64 = ln e0.6x
ln 6.64 = 0.6x
ln 6.64
x= ≈ 3.16 f t/s.
0.6
Note that 3.16 f t/s is 3.16 – 2 = 1.16 f t/s faster than 2 f t/s. Thus, to get double the
oxygen consumption than when swimming 2 f t/s, the salmon would have to swim 1.16 f t/s
faster.
is called compound interest and may be calculated using the following compound interest
formula:
If a principal P (present value) is invested at an annual rate r (expressed as a decimal)
compounded m times a year, then the amount A (future value) in the account at the end of t
years is given by
r mt
A = P 1+ Compound interest formula
m
For given r and m, the amount A is equal to the principal P multiplied by the exponential
function bt , where b = (1 + r/m)m .
Example 1.31 If Php10, 000 is invested in an account paying 10% compounded monthly,
how much will be in the account at the end of 10 years? Compute the answer to the nearest
cent.
Solution: We use the compound interest formula as follows:
r mt
A = P 1+
m
0.10 (12)(10)
= 10, 000 1 +
12
= 27, 070.41
A convenient and easily understood way of comparing different investments is to use their
doubling times—the length of time it takes the value of an investment to double.
Example 1.32 How long (to the next whole year) will it take money to double if it is invested
at 20% compounded annually?
Solution: We use the compound interest formula
r mt
A = P 1+
m
1.7 Exercises 34
2P = P(1 + 0.2)t
2 = 1.2t
1.2t = 2
ln 1.2t = ln 2
t ln 1.2 = ln 2
ln 2
t=
ln 1.2
≈ 3.8 years
≈ 4 years to the next whole year
When interest is paid at the end of 3 years, the money will not be doubled; when paid at the
end of 4 years, the money will be slightly more than doubled.
1.7 Exercises
Exercise 1.1 Find the domain of the following functions.
1. H(x) = 7 − 2x2 − x4
√
2. g(x) = 7 − x
x−2
3. f (x) = √
x−5
g(x + h) − g(x) 1
Exercise 1.2 Simplify , if g(x) = 2 .
h x
2x2 − x − 1
Exercise 1.3 Write f (x) = as a piecewise function and sketch its graph.
|x − 1|
1.7 Exercises 35
1−x
Exercise 1.5 Construct the table of signs for f (x) = .
2x2 + 3x
−x
1
Exercise 1.7 Is there a difference between the graph of f (x) = 2x and g(x) = ?
2
Exercise 1.9 A company manufactures memory chips for microcomputers. Its marketing
research department, using statistical techniques, collected the data shown in Table 1.2,
where p is the wholesale price per chip at which x million chips can be sold. Using special
analytical techniques (regression analysis), an analyst produced the following price–demand
function to model the data:
p(x) = 75 − 3x 1 ≤ x ≤ 20
1. Plot the data points in Table 1.2, and sketch a graph of the price-demand function in
the same coordinate system.
2. What would be the estimated price per chip for a demand of 7 million chips? For a
demand of 11 million chips?
1.7 Exercises 36
x (millions) p($)
1 72
4 63
9 48
20 15
Exercise 1.10 A person wishes to have Php 1,500,000 cash for a new car 5 years from now.
How much should be placed in an account now, if the account pays 6.75% compounded
weekly? Compute the answer to the nearest peso.
II
Week Two
2 Limit of a Function . . . . . . . . . . . . . . . . . . . 38
2.1 Limit of a Function
2.2 Evaluating Limits
2.3 One Sided Limits
2.4 Exercises
2. Limit of a Function
To understand the concept of limits, we will examine the behavior of the function
f (x) = x2 − x + 3
for the values of x near 2. The following table gives values of f (x) for values of x close to 2
but not equal to 2.
2.1 Limit of a Function 39
x f (x) x f (x)
1.0 3.0000 3.0 9.0000
1.5 3.7500 2.5 6.7500
1.8 4.4400 2.2 5.6400
1.9 4.7100 2.1 5.3100
1.95 4.8525 2.05 5.1525
1.99 4.9701 2.01 5.0301
1.995 4.985025 2.005 5.015025
1.999 4.997001 2.001 5.003001
From the table, we can see that when x gets closer to 2 (on either side of 2), f (x) gets closer
to 5. As a matter of fact, it seems that we can make the values of f (x) as close as possible
to 5 by taking x sufficiently close to 2. We express this by saying “the limit of the function
f (x) = x2 − x + 3 as x approaches 2 is equal to 5”. The notation for this is
lim x2 − x + 3 = 5.
x→2
8 y
7
6
5
4
3
2
1
x
−2 −1 1 2 3 4
−1
Example 2.1 Consider f (x) = 3x + 2. What can we say about values of f (x) for values of x
near 1 but not equal to 1? We will see with the following table.
2.1 Limit of a Function 40
x f (x) x f (x)
0 2 2 8
0.5 3.5 1.5 6.5
0.9 4.7 1.1 5.3
0.99 4.97 1.001 5.003
0.99999 4.99997 1.00001 5.00003
Based on the table, as x gets closer and closer to 1, f (x) gets closer and closer to 5. The graph
of f is shown in Figure 2.2.
7 y
6
5
4
3
2
1
x
−2 −1 1 2 3 4
−1
−2
3x2 − x − 2
Example 2.2 Consider g(x) = . Then
x−1
(3x + 2)(x − 1)
g(x) =
x−1
= 3x + 2, x 6= 1.
What can we observe about the values of g(x) for values of x near 1 but not equal to 1? Using
the table in the previous example, we can see that as x gets closer and closer to 1, g(x) gets
closer and closer to 5. In this example, g(1) is undefined. The graph of g is shown in Figure
2.3.
2.1 Limit of a Function 41
7 y
6
5
4
3
2
1
x
−2 −1 1 2 3 4
−1
−2
3x2 − x − 2
Figure 2.3: The graph of g(x) =
x−1
Using the table in Example 2.1, we observe that the values of h(x) for values of x near 1 but
not equal to 1 gets closer and closer to 5. The graph of h is shown in Figure 2.4.
7 y
6
5
4
3
2
1
x
−2 −1 1 2 3 4
−1
−2
Definition 2.1.1 Suppose f (x) is defined when x is near the number a. (This means that f is
defined on some open interval that contains a, except possibly at a itself.) Then we write
lim f (x) = L
x→a
and say “the limit of f (x), as x approaches a, equals L" if we can make the values of f (x)
arbitrarily close to L (as close to L as we like) by restricting x to be sufficiently close to a
(on either side of a) but not equal to a.
Example 2.4 Let’s go back to the previous three examples. In Example 2.1, lim (3x + 2) = 5.
x→1
3x2 − x − 2
In this case, lim f (x) = f (1). In Example 2.2, lim = 5. Though g(1) is undefined,
x→1 x→1 x−1
lim g(x) exists. In Example 2.3, lim h(x) = 5. In this case, lim h(x) 6= h(1). We observe that
x→1 x→1 x→1
although they are different functions, they have the same limits.
x−2
Example 2.5 Guess the value of lim .
x→2 x2 − 4
x−2
Solution: Notice that the function f (x) = 2 is not defined when x = 2, but that does’nt
x −4
matter because the definition of lim f (x) says that we consider values of x that are close to a
x→a
but not equal to a. The table gives some values of f (x) for values of x that approach 2 but are
not equal to 2.
On the basis of the values in the tables, we make the guess that
x−2
lim 2 = 0.25.
x→2 x − 4
3 y
x
−3 −2 −1 1 2 3
−1
−2
−3
x−2
Figure 2.5: The graph of f (x) =
x2 − 4
R If f (x) does not approach any particular real number as x approaches a, then we
say lim f (x) does not exist (dne).
x→a
x if x ≥ 0
|x| =
−x
if x < 0.
Thus, you can see that
1 if x > 0
|x|
=
x −1 if x < 0.
2.2 Evaluating Limits 44
So, no matter how close x gets to 0, there will be both positive and negative x-values that yield
|x|
f (x) = 1 or f (x) = −1. Therefore, lim does not exist.
x→0 x
x
−3 −2 −1 1 2 3
−1
−2
|x|
Figure 2.6: The graph of f (x) =
x
In this section, we will learn different properties to calculate the limit of a function.
Theorem 2.2.2 Suppose lim f (x) = L1 and lim g(x) = L2 . Let c ∈ R and n ∈ N.
x→a x→a
• lim [ f (x) ± g(x)] = lim f (x) ± lim g(x) = L1 ± L2
x→a x→a x→a
• lim [ f (x)g(x)] = lim f (x) lim g(x) = L1 L2
x→a x→a x→a
• lim [c f (x)] = c lim f (x)
x→a x→a
f (x) x→alim f (x) L1
• lim = = , provided L2 6= 0
x→a g(x) lim g(x) L2
x→a
n
• lim ( f (x))n = lim f (x) = (L1 )n
x→a x→a
Solution:
= 2(−1)3 + 3(−1) − 4
= −9
In general:
5x3 + 3x2 − x + 1
Example 2.8 Evaluate: lim
x→−2 x2 + 5
Solution:
lim (5x3 + 3x2 − x + 1)
5x3 + 3x2 − x + 1 x→−2
lim =
x→−2 x2 + 5 lim (x2 + 5)
x→−2
5(−2)3 + 3(−2)2 − (−2) + 1
=
(−2)2 + 5
25
=−
9
p q √
Example 2.9 • lim (3x − 2) = lim (3x − 2) = 7
r x→3
r x→3
x+3 −1 + 3
• lim 3 = 3 = −1
x→−1p x − 1 −1 − 1
• lim 4 (3 − 4x) (the limit does not exist since lim (3 − 4x) = −4 which negative)
x→ 47 x→ 74
√ 3
3x2 − 5x + 1
Example 2.10 Evaluate: lim
x→3 x3 − x + 3
Solution:
3
√
q
lim 3x2 − lim (5x + 1)
3
3x2 −
5x + 1 x→3 x→3
lim 3
= 3
x→3 x −x+3 lim (x − x + 3)
x→3
27 − 4 3
=
27
3
23
=
27
3x2 − x − 2
Consider the function g(x) = . From earlier, lim g(x) = 5. Can we arrive at this
x−1 x→1
conclusion computationally?
f (x)
lim
x→a g(x)
0
is called an indeterminate form of type .
0
f (a)
R 1. If f (a) = 0 and g(a) = 0, then is undefined!
g(a)
2. The limit above MAY or MAY NOT exist.
3. Some techniques used in evaluating such limits are:
• Factoring
• Rationalization
x3 + 27
0
Example 2.11 Evaluate: lim 2
x→−3 x − 9 0
Solution:
x3 + 27 (x + 3)(x2 − 3x + 9)
lim = lim
x→−3 x2 − 9 x→−3 (x + 3)(x − 3))
2
x − 3x + 9
= lim
x→−3 x−3
9+9+9
=
−3 − 3
9
=−
2
x2 − 81
0
Example 2.12 Evaluate: lim √
x→9 3 − x 0
2.3 One Sided Limits 48
Solution:
√
x2 − 81 x2 − 81 3 + x
lim √ = lim √ · √
x→9 3 − x x→9 3 − x 3 + x
√
(x2 − 81)(3 + x)
= lim
x→9 (9 − x)
√
(x − 9)(x + 9)(3 + x)
= lim
x→9 (9 − x)
√
= lim [−(x + 9)(3 + x)]
x→9
= (−18)(6)
= −108
√
3
x+1 0
Example 2.13 Evaluate: lim
x→−1 7x + 7 0
Solution:
√ √ √3 2 √
3
x+1 3
x+1 x − 3 x+1
lim = lim ·√ 3 2 √
x→−1 7x + 7 x→−1 7x + 7 x − 3 x+1
(x + 1)
= lim √ √
x→−1 7(x + 1) 3 x2 − 3 x + 1
1
= lim √ 3 2 √
x→−1 7( x − 3 x + 1)
1
=
21
4 y
1
x
−3 −2 −1 1 2 3
−1
−2
−3
1
x
−2 −1 1 2 3 4 5 6
−1
√
Figure 2.8: The graph of g(x) = 2x
g(x) is defined on I, we cannot let x approach 0 from both sides. But we can say something
about the values of g(x) as x gets closer to 0 from the right of 0.
written as
lim f (x) = L
x→a−
if the values of f (x) get closer and closer to L as the values of x get closer and closer to a,
but are less than a.
Definition 2.3.2 The
written as
lim f (x) = L
x→a+
if the values of f (x) get closer and closer to L as the values of x get closer and closer to a,
but are greater than a.
Theorem 2.3.1 lim f (x) = L if and only if lim f (x) = lim f (x) = L.
x→a x→a− x→a+
3 − 4x2 , x < 1
Example 2.14 Consider the function f (x) = .
2x − 1,
x≥1
Then
• lim f (x) = lim (3 − 4x2 ) = −1
x→1− x→1−
• lim f (x) = lim (2x − 1) = 1
x→1+ x→1+
• lim f (x) dne.
x→1
√
Example 2.15 Consider the function g(x) = 2x.
Then
√
• lim 2x = 0
x→0+ √
• lim 2x dne
x→0−√
• lim 2x dne
x→0
√
7 − 3x, x ≤ 2
Example 2.16 Let p(x) = 2 .
x − 2x , x > 2
2x − 4
Then
2.3 One Sided Limits 51
√ √
• lim p(x) = lim 7 − 3x = 1 = 1
x→2− x→2−
x2 − 2x x(x − 2) x
• lim p(x) = lim = lim = lim = 1
x→2+ x→2 2x − 4
+ x→2 2(x − 2)
+ x→2 2
+
• lim p(x) = 1
x→2
x2 − 2x 16 − 8 8
• lim p(x) = lim = = =2
x→4 x→3 2x − 4 8−4 4
Recall that in Theorem 2.2.3,
p
n
√
n
lim f (x) = L > 0 ⇒ lim f (x) = L
x→a x→a
• As x → 5− , f (x) → 0+ .
• As x → 5+ , f (x) → 0− .
=0
and
p p p √
lim 3x2 + 2x − 1 = lim (3x − 1)(x + 1) ( (−4)(0+ )) ( 0− )
x→−1+ x→−1+
√
Thus, lim f (x) = 0 and lim f (x) dne. Therefore, lim 3x2 + 2x − 1 dne.
x→−1− x→−1+ x→−1
t +4
Example 2.20 Evaluate lim
t→−4 |t + 4|
Solution: By the definition of absolute value,
t + 4, t + 4 ≥ 0 or t ≥ −4
|t + 4| =
−(t + 4), t + 4 < 0 or t < −4.
Then
t +4 t +4
• lim = lim = lim (−1) = −1
t→−4− |t + 4| t→−4− −(t + 4) t→−4−
t +4 t +4
• lim = lim = lim (1) = 1
t→−4+ |t + 4| t→−4+ t + 4 t→−4+
t +4
Therefore, lim dne.
t→−4 |t + 4|
2.4 Exercises 53
2.4 Exercises
3x − 12
Exercise 2.1 Evaluate: lim √
x→4 3 − 2x + 1
x2 + 1
, if x < −1
Exercise 2.2 Find lim f (x) given f (x) = x−1
x→−1 1 − √x + 5,
if x ≥ −1
6x − 4 1
Exercise 2.3 Evaluate: lim 2
+
x→ 32 3x + 4x − 4 3x + 2
III
Week Three
This chapter deals with some different types of limit called infinite limits and limits at infinity.
At the end of the week you will:
• Determine infinite limits from the left and from the right.
• Find the vertical asymptotes of the graph of a function.
• Investigate limits at infinity and horizontal asymptotes.
x f (x) x f (x)
1 1 −1 1
0.5 4 −0.5 4
0.1 100 −0.1 100
0.001 1000000 −0.0001 1000000
0.00001 10000000000 −0.00001 10000000000
3.1 Infinite Limits 56
6 y
x
−4 −2 2 4
1
Figure 3.1: The graph of f (x) =
x2
if the value of f (x) increases [decreases] without bound whenever the values of x get closer
and closer to a.
lim x12 = +∞
x→0
x f (x) x f (x)
1 1 −1 1
0.5 4 −0.5 4
0.1 10 −0.1 100
0.001 1000000 −0.0001 1000000
0.00001 10000000000 −0.00001 10000000000
↓ ↓ ↓ ↓
0+ +∞ 0− +∞
R Note that ∞ is NOT a number. So, lim f (x) = +∞ or −∞ does not mean that the
x→a
limit exists.
Definition 3.1.2 The line with equation x = a is a vertical asymptote of the graph of f if at
least one of the following is true: lim f (x) = +∞, lim f (x) = −∞, lim f (x) = +∞, and
x→a− x→a− x→a+
lim f (x) = −∞.
x→a+
4x
Example 3.2 Consider the function f (x) = . Then
x−1
4x 4
lim = −∞
x→1 x − 1
− 0−
and
4x 4
lim = +∞ .
x→1 x − 1
− 0+
Therefore, x = 1 is a vertical asymptote of the graph of f . We can see its graph in Figure 3.2.
10 y
2
x
−6 −4 −2 2 4 6 8
−2
4x
Figure 3.2: The graph of with vertical symptote x = 1
x−1
f (x)
(b) and g(x) → 0− as x → a, then lim = +∞
x→a g(x)
7x
Example 3.3 Consider the function f (x) = . Then
9 − x2
7x 7x
lim 2
= lim
x→−3− 9 − x x→−3− (3 + x)(3 − x)
−21
= +∞
(0− )(6)
and
7x 7x
lim 2
= lim
x→−3+ 9−x x→−3 (3 + x)(3 − x)
+
−21
= −∞ .
(0+ )(6)
Theorem 3.1.2 1. If lim f (x) exists and lim g(x) = ±∞, then lim ( f (x) + g(x)) = ±∞.
x→a x→a x→a
2. If lim f (x) exists and lim g(x) = ±∞, then lim ( f (x) − g(x)) = ∓∞.
x→a x→a x→a
3. If lim f (x) = +∞ and lim g(x) = +∞, then lim ( f (x) + g(x)) = +∞.
x→a x→a x→a
4. If lim f (x) = +∞ and lim g(x) = −∞, then lim ( f (x) − g(x)) = +∞, and lim (g(x) −
x→a x→a x→a x→a
f (x)) = −∞
3.1 Infinite Limits 59
lim f (x) lim g(x) lim [ f (x) + g(x)] lim [ f (x) − g(x)]
x→a x→a x→a x→a
c +∞ +∞ −∞
c −∞ −∞ +∞
+∞ +∞ +∞ ?
+∞ −∞ ? +∞
Theorem 3.1.3 1. Let c ∈ R \ {0}. Suppose lim f (x) = c and lim f (x) = ±∞.
x→a x→a
(a) If c > 0, then lim f (x)g(x) = ±∞.
x→a
(b) If c < 0, then lim f (x)g(x) = ∓∞.
x→a
2. If lim f (x) = +∞ and lim g(x) = +∞, then lim f (x)g(x) = +∞.
x→a x→a x→a
3. If lim f (x) = +∞ and lim g(x) = −∞, then lim f (x)g(x) = −∞.
x→a x→a x→a
We can see that some of the boxes in our tables are filled with a question mark (?). We can
see in the succeeding discussion what are the answers to these questions.
3 3
Example 3.4 Evaluate lim x − .
x→1− x−1
Solution: Note that
lim x3 = 1
x→1−
and
3 3
lim = −∞ .
x→1 x − 1
− 0−
3 3
Therefore, lim x − = +∞.
x→1− x−1
3.1 Infinite Limits 60
1 5x
Example 3.5 Evaluate lim + .
x→−2− x2 − 4 x + 2
Solution:
1 5x 1 5x 1 −10
lim 2
+ = lim + −
+ −
x→−2− x −4 x+2 x→−2− (x + 2)(x − 2) x + 2 (0 )(−4) 0
= +∞
Definition 3.1.3 1. Suppose lim f (x) = +∞ and lim g(x) = +∞. Then
x→a x→a
lim f (x)g(x)
x→a
4 3x
Example 3.7 Evaluate: lim − .
x→2+ x − 2 x2 − 4
3.2 Limits at Infinity 61
Solution:
4 3x
lim − 2
x→2+ x − 2 x −4
4 3x 4 6
= lim − +
− + (∞ − ∞)
x→2+ x − 2 (x − 2)(x + 2) 0 (0 )(4)
4x + 8 − 3x
= lim
x→2 (x − 2)(x + 2)
+
x+8 10
= lim +
x→2 (x − 2)(x + 2)
+ (0 )(4)
= +∞
1 x 8
Example 3.8 Evaluate: lim − .
x→4+ 4 − x x − 1 x+2
Solution:
1 x 8
lim −
x→4+ 4 − x x − 1 x+2
1 x(x + 2) − 8(x − 1) 1 4 8
= lim − (−∞ · 0)
x→4+ 4 − x (x − 1)(x + 2) 0− 3 6
2
x − 6x + 8
0
= lim
x→4+ (4 − x)(x − 1)(x + 2) 0
(x − 2)(x − 4)
= lim
x→4+ (4 − x)(x − 1)(x + 2)
−(x − 2)
= lim
x→4+ (x − 1)(x + 2)
2
=−
(3)(6)
1
=−
9
x f (x) x f (x)
1 1 −1 −1
10 0.1 −10 −0.1
1000 0.001 −1000 −0.001
1000000 0.000001 −1000000 −0.000001
1000000000 0.000000001 −1000000000 −0.000000001
4 y
1
x
−4 −3 −2 −1 1 2 3 4
−1
−2
−3
−4
1
Figure 3.3: The graph of f (x) =
x
Definition 3.2.1 We say that the limit of f (x) as x approaches positive infinity is L if the
values of f (x) get closer and closer to L as the values of x increase without bound.
lim f (x) = L.
x→+∞
Definition 3.2.2 We say that the limit of f (x) as x approaches negative infinity is L if the
values of f (x) get closer and closer to L as the values of x decrease without bound.
lim f (x) = L.
x→−∞
3.2 Limits at Infinity 63
1
Example 3.9 We will consider our example at the start of this section. Consider f (x) = .
x
Then we write
1 1
lim = 0 and lim = 0.
x→+∞ x x→−∞ x
x f (x) x f (x)
1 1 −1 −1
10 0.1 −10 −0.1
1000 0.001 −1000 −0.001
1000000 0.000001 −1000000 −0.000001
1000000000 0.000000001 −1000000000 −0.000000001
↓ ↓ ↓ ↓
∞ 0 −∞ 0
1 1 1
Example 3.10For f (x) = , we have lim = 0 and lim = 0. Thus, y = 0 is a horizontal
x x→+∞ x x→−∞ x
asymptote for the graph of f .
1
7. lim =0
x→+∞ x
1
8. lim = 0
x→−∞ x
f (x)
lim = 0.
x→+∞ g(x)
In item (5), "x → +∞" may be replaced by "x → a", "x → a− ", "x → +a+ ", and "x → −∞".
Solution:
Solution:
R In general, if f (x) is a polynomial function, then lim f (x) depends only on the
x→±∞
leading term.
Evaluate
Example 3.14
1
1. lim 4
x − 3x2
x→+∞
7
2. lim 4x2 − 3x − 3
x→−∞ x
Solution:
1 1
lim 4 2
1. x→+∞ x − 3x +∞
=0
2 7
lim 4x − 3x − 3 (+∞ − 0)
2. x→−∞ x
= +∞
x−1 x−1
Consider the function f (x) = . We will evaluate lim . Note that lim (x −
6x + 1 x→+∞ 6x + 1 x→+∞
1
1) = +∞ and lim (6x + 1) = +∞. But if we observe the table below, it seems that f (x) →
x→+∞ 6
as x → +∞.
x−1
x
6x + 1
1 0
10 ≈ 0.1475409
103 ≈ 0.1664722
105 ≈ 0.1666647
107 ≈ 0.1666666
↓ ↓
+∞ ?
The expression "x → a" may be replaced by "x → a+ ", "x → a− ", “x → a+ ", and "x → −∞".
3.2 Limits at Infinity 66
x−1
Example 3.15 Evaluate: lim .
x→+∞ 6x + 1
Solution:
x−1 +∞
lim
x→+∞ 6x + 1 +∞
1
x−1 x
= lim · 1
x→+∞ 6x + 1
x
1 − 1x
= lim
x→+∞ 6 + 1
x
1−0
=
6+0
1
=
6
1
R The technique is multiply the numerator and denominator by xn , where n is the
"degree" of the denominator.
x3 − 3x2 + 4
Example 3.16 Evaluate: lim .
x→+∞ 5x4 − 7x2 + 9x + 2
Solution:
x3 − 3x2 + 4 ∞
lim
x→+∞ 5x4 − 7x2 + 9x + 2 ∞
1
x3 − 3x2 + 4 x4
= lim · 1
x→+∞ 4x4 − 7x2 + 9x + 2
x4
1
x − x32 + x44
= lim
x→+∞ 5 − 7 + x73 + x24
x2
0
=
5
=0
Note that
√ √
x2 = x as x → +∞ and x2 = −x as x → −∞.
√
x2 − 4 ∞
Example 3.17 Evaluate: lim
x→+∞ x + 3 ∞
Solution:
√ √ 1
x2 − 4 x2 − 4 √x2 √
lim = lim · 1 x2 = x as x → +∞
x→+∞ x + 3 x→+∞ x + 3 √
x2
√ 1
x2 − 4 √x2
= lim · 1
x→+∞ x + 3
x
q
x2 −4
x2
= lim x+3
x→+∞
x
q
1 − x42
= lim
x→+∞ 1 + 3x
√
1−0
=
1+0
=1
3x + 2 −∞
Example 3.18 Evaluate: lim √
x→−∞ 9x2 − 7 +∞
Solution:
√1 √
3x + 2 3x + 2 x2
lim √ = lim √ · x2 = −x as x → −∞
x→−∞ 9x2 − 7 x→−∞ 9x2 − 7 √1
x2
1
3x + 2 −x
= lim √ ·
x→−∞ 9x2 − 7 √1
x2
3x+2
−x
= lim q
x→−∞ 9x2 −7
x2
−3 − 2x
= lim q
x→−∞
9 − x72
−3 − 0
=√
9−0
3
= − = −1
3
3.3 Applications 68
√
Example 3.19 Evaluate: lim 9x2 − x + 3x (∞ − ∞)
x→−∞
Solution:
p p √9x2 − x − 3x
lim 9x2 − x + 3x = lim 2
9x − x + 3x · √
x→−∞ x→−∞ 9x2 − x − 3x
1
−x √
2
√
= lim √ · 1x x2 = −x as x → −∞
x→−∞ 9x2 − x − 3x √
2 x
−x − 1x
= lim √ ·
x→−∞ 9x2 − x − 3x √1
x2
1
= lim q
x→−∞
9 − 1x + 3
1
=
6
3.3 Applications
Example 3.20 — Oxygen Concentration. Suppose a small pond normally contains 12 units
of dissolved oxygen in a fixed volume of water. Suppose also that at time t = 0 a quantity of
organic waste is introduced into the pond, with the oxygen concentration t weeks later given
by
12t 2 − 15t + 12
f (t) =
t2 + 1
As time goes on, what will be the ultimate concentration of oxygen? Will it return to 12 units?
The graph suggests that, as time goes on, the oxygen level gets closer and closer to the
original 12 units. If so, the line y = 12 is a horizontal asymptote. The table suggests that
Thus, the oxygen concentration will approach 12, but it will never be exactly 12.
3.4 Exercises
Exercise 3.1 Evaluate the following limits:
x2 − 1
1. lim
x→ 12 1 − 2x
−
√
2. lim x2 + 2x − 3
x→−3−
x
3. lim √
x→2− x2 − 4
|x − 10|
4. lim
x→10 x − 10
+
4x − 3
Exercise 3.2 Evaluate: lim √
x→−∞ x − x2 + 2x
IV
Week Four
4 Continuity of Functions . . . . . . . . . . . . . . . . 71
4.1 Continuity at a point
4.2 Removable and Essential Discontinuity
4.3 Continuity on an Interval
4.4 The Intermediate Value Theorem (IVT)
4.5 Application
4.6 Exercises
4. Continuity of Functions
Continuous functions are functions that do not have any sudden changes from its values, called
discontinuities. You will learn more on continuity of functions in this chapter.
At the end of this topic you will:
• Determine continuity at a point and continuity on an interval.
• Use properties of continuity.
• Understand and use the Intermediate Value Theorem.
Example 4.1 Consider f (x) = 2x − 1. Then f is continuous at x = 1. We can see it from its
4.1 Continuity at a point 72
3 y
x
−3 −2 −1 1 2 3
−1
−2
−3
2x2 − 3x + 1
Example 4.2 Consider g(x) = . Then g is discontinuous at x = 1 since g(1) is
x−1
undefined. We can see it from its graph in Figure 4.2.
3 y
x
−3 −2 −1 1 2 3
−1
−2
−3
2x2 − 3x + 1
Figure 4.2: The graph of g(x) =
x−1
1
Example 4.3 Consider h(x) = . Then h is discontinuous at x = 0 since h(0) is undefined.
2x
Moreover, lim h(x) does not exist. We can see it from its graph in Figure 4.3.
x→0
Example 4.4 Let f (x) = x3 + x2 + x − 3. Then f (1) = 0. Also, lim f (x) = f (1) = 0. There-
x→1
fore, f is continuous at x = 1. In fact, for any a ∈ R, lim f (x) = f (a), so f is continuous at
x→a
4.1 Continuity at a point 73
4 y
1
x
−4 −3 −2 −1 1 2 3 4
−1
−2
−3
−4
1
Figure 4.3: The graph of h(x) =
2x
Definition 4.2.1 1. If lim f (x) exists but either f (a) is undefined or f (a) 6= lim f (x), then
x→a x→a
we say that f has a removable discontinuity at x = a.
2. If lim f (x) does not exist, then we say that f has an essential discontinuity at x = a.
x→a
Moreover,
(a) if lim f (x) and lim f (x) both exist but are not equal, then f is said to have a
x→a− x→a+
jump essential discontinuity at x = a.
(b) if lim f (x) = +∞ or −∞ or lim f (x) = +∞ or −∞, then f is said to have a
x→a− x→a+
infinite essential discontinuity at x = a.
3x2 − 4x + 1
Example 4.8 1. g(x) = has a removable discontinuity at x = 1 since g(1) is
x−1
undefined but lim g(x) exists.
x→1
1
2. h(x) = has an infinite essential discontinuity at x = 0.
x
3. The Heaviside Function
1, x ≥ 1
H(x) =
0, x < 1
y
3
1
x
−4 −3 −2 −1 1 2 3 4
−1
−2
3x2 − 4x + 1
Example 4.9 The function g(x) = has a removable discontinuity at x = 1.
x−1
Redefining g at 1 such that g(1) = 2, the function is now continuous! We have this new
function,
2
3x − 4x + 1 , x 6= 1
G(x) = x−1 .
2, x=1
2 y
x
−1 1 2 3 4 5
−1
−2
−3
−4
Thus, lim f (x) exists but f (2) is undefined, therefore, f has a removable discontinuity at
x→2
x = 2.
4x − 3, x<1
x−2
F(x) = 2
, x ≥ 1, x 6= 2
2x − 5x + 2
1
,
x=2
3
or
f (x), x 6= 2
F(x) =
1,
x=2
3
4.3 Continuity on an Interval 77
Theorem 4.2.1 Let f and g be continuous at x = a and let c ∈ R. Then the following are
also continuous at x = a:
1. f ± g
2. f g
f
3. , provided g(a) 6= 0
g
4. c f .
√
Example 4.12 Let f (x) = 2 − x. Then
√
• f (2) = 2 − 2 = 0
√ √
• lim 2 − x = 0 ( 0+ )
x→2− √ √
• lim 2 − x = dne ( 0− )
x→2+
Thus, f is continuous from the left at x = 2 but not from the right at x = 2.
4 y
1
x
−5 −4 −3 −2 −1 1 2 3 4
−1
−2
−3
√
Figure 4.6: The graph of f (x) = 2−x
Similar definitions for: (a, b], [a, b], (−∞, b), (−∞, b].
Theorem 4.3.1 If lim g(x) = b and f is continuous at b, then lim f (g(x)) = f (b). That is, if
x→a x→a
f is continuous at lim g(x), then
x→a
lim f (g(x)) = f lim g(x) .
x→a x→a
x−2
Example 4.14 Evaluate: lim .
x→2 x2 − 4
Solution: Observe that
x−2 1 1
lim 2
= lim = .
x→2 x − 4 x→2 x + 2 4
Since the absolute value function is continuous everywhere, by the previous theorem,
x−2 x−2 1 1
lim 2
= lim 2 = = .
x→2 x −4 x→2 x − 4 4 4
p(x) > 0 or x2 − 1 > 0 or x ∈ (−∞, −1) ∪ (1, ∞). Also, h is continuous from the left at x = −1
and continuous from the right at x = 1. Therefore, h is continuous on (−∞, −1] ∪ [1, ∞).
R In general:
1. A function is discontinuous at numbers where it is undefined.
2. A piecewise-defined function may be discontinuous at endpoints of intervals.
Then
3
• f is undefined: x = −3 and x = 2
3
• Endpoints of intervals: x = 1 (and x = 2 )
• Everywhere else, f is a rational function and therefore continuous.
At x = −3, f (−3) is undefined. Also,
x−2 x−2
lim f (x) = lim = +∞ and lim f (x) = lim = −∞
x→−3− x→−3− 2x + 6 x→−3 + x→−3 2x + 6
+
and
2x2 + x − 6 (2x − 3)(x + 2) 7
lim f (x) = lim = lim =
x→ 32
+
x→ 3
+ |2x − 3| x→ 3
+ −(2x − 3) 2
2 2
3
Thus, f has a jump essential discontinuity at x = .
2
1−2 1
At x = 1, we have f (1) = = − . Also,
2(1) + 6 8
4.4 The Intermediate Value Theorem (IVT) 80
x−2 1
lim f (x) = lim =−
x→1− x→1− 2x + 6 8
and
2x2 + x − 6 (2x − 3)(x + 2)
lim f (x) = lim = lim = −3
x→1+ x→1+ |2x − 3| x→ 3
+ −(2x − 3)
2
Thus, f has a jump essential discontinuity at x = 1. (But f is continuous from the left at x = 1).
We can see its graph in Figure 4.7.
6 y
5
4
3
2
1
x
−7−6−5−4−3−2−1
−1 1 2 3 4
−2
−3
−4
−5
−6
x−1
Example 4.17 Consider the function f (x) =
on the interval [1, 3]. Note that dom f =
x
R \ {0}. Then f is continuous on R \ {0} and in particular, on [1, 3]. Also, f (1) = 0 and
f (3) = 23 . Therefore, IVT is applicable!
4.5 Application 81
By IVT, for every k between 0 and 23 , there exists c ∈ (1, 3) such that f (c) = k. Let k = 12 .
Then there exists c ∈ (1, 3) such that f (c) = 12 . Solving for c, we have
1 c−1
= f (c) = =⇒ c = 2c − 2 =⇒ c = 2.
2 c
Note that c = 2 ∈ (1, 3).
Example 4.18 Show that 3x4 − 4x2 + 5x − 1 = 0 has a solution between 0 and 1.
Solution: Let f (x) = 3x4 − 4x2 + 5x − 11 on [0, 1]. Our goal is to show that there is a c ∈ (0, 1)
such that f (c) = 0. Since f is a polynomial, f is continuous on [0, 1]. Also, f (0) = −1 and
f (1) = 3 and hence, f (0) 6= f (1). Note that 0 is between f (0) and f (1). By IVT, there exists
c ∈ (0, 1) such that f (c) = 0.
4.5 Application
Example 4.19 — Cost analysis. A trailer rental firm charges a flat $8 to rent a hitch. The
trailer itself is rented for $22 per day or fraction of a day. Let C(x) represent the cost of renting
a hitch and trailer for x days.
1. Graph C.
2. Find any values of x where C is discontinuous.
Solution:
1. The charge for one day is $8 for the hitch and $22 for the trailer, or $30. In fact, if
0 < x ≤ 1, then C(x) = 30. To rent the trailer for more than one day, but not more than
4.6 Exercises 82
two days, the charge is 8 + 2 · 22 = 52 dollars. For any value of x satisfying 1 < x ≤ 2,
the cost is C(x) = 52. Also, if 2 < x ≤ 3, then C(x) = 74. These results lead to the graph
in Figure 4.8.
2. As the graph suggests, C is discontinuous at x = 1, 2, 3, 4, and all other positive integers.
4.6 Exercises
Exercise 4.1 Given the function
x2 , x≤1
f (x) = 2 − x, 1<x≤2
x2 − 3x + 1, x > 2
Exercise 4.2 Use the Intermediate Value Theorem to show that f (x) = x2 − 3x + 1 has at
least one real zero between 0 and 1.
Exercise 4.3 A company charges Php 125 per kilogram for a certain fertilizer on all orders
100 kg or less, and Php 100 per kg for orders over 100 kg. Let F(x) represent the cost for
buying x kg of the fertilizer. Find the cost of buying the following.
1. 80 kg
2. 150 kg
3. 100 kg
4. Where is F discontinuous?
V
Week Five
5 Derivative of a Function . . . . . . . . . . . . . . . 84
5.1 Rate of Change
5.2 Tangent Line
5.3 Definition of the Derivative of a Function
5.4 Differentiation Rules
5.5 The Chain Rule
5.6 Applications
5.7 Exercises
5. Derivative of a Function
The derivative of a function is a measure of the rate at which the value of a function changes.
You will dig deeper into this concept as you read this chapter.
At the end of this topic you will:
• Find the slope of the tangent line to a curve at a point.
• Find the equations of the line tangent and normal to a curve at a point.
• Use the limit definition to find the derivative of a function.
• Find the derivative of a function using differentiation rules.
• Find the derivative of a composite function using the Chain Rule.
If you pass mile marker 120 on a highway at 9 a.m. and mile marker 250 at 11 a.m., then the
average rate of change of distance with respect to time, also known as average velocity, is
250 − 120 130
= = 65 miles per hour
11 − 9 2
Of course your speedometer reading, that is, the instantaneous rate of change, or instan-
taneous velocity, might well have been 75 mph at some moment between 9 a.m. and 11
5.1 Rate of Change 85
a.m.
We will define the concepts of average rate of change and instantaneous rate of change
more generally, and will apply them in situations that are unrelated to velocity.
Definition 5.1.1 — Average Rate of Change. For y = f (x), the average rate of change
from x = a to x = a + h is
f (a + h) − f (a) f (a + h) − f (a)
= h 6= 0.
(a + h) − a h
Example 5.1 — Revenue Analysis. The revenue (in dollars) from the sale of x plastic planter
boxes is given by
1. What is the change in revenue if production is changed from 100 planters to 400 planters?
2. What is the average rate of change in revenue for this change in production?
Solution:
1. The change in revenue is given by
= 4, 800 − 1, 800
= 3, 000
Increasing production from 100 planters to 400 planters will increase revenue by $3,000.
2. To find the average rate of change in revenue, we divide the change in revenue by the
change in production:
R(400) − R(100) 3, 000
= = 10
400 − 100 300
The average rate of change in revenue is $10 per planter when production is increased
from 100 to 400 planters.
Example 5.2 — Alaskan Moose. Researchers from the Moose Research Center in Soldotna,
Alaska, have developed a mathematical relationship between the age of a captive female
moose and its weight. The function is
5.1 Rate of Change 86
where M is the weight of the moose (in kg) and t is the age (in years) of the moose. Find the
average rate of change in the weight of a female moose between the ages of 2 and 3 years.
Example 5.3 — Velocity. A small steel ball dropped from a tower will fall a distance of y feet
in x seconds, as given approximately by the formula
y = f (x) = 16x2 .
Solution:
1. Recall the formula d = rt, which can be written in the form
d Distance covered
r= = = Average velocity
t Elapsed time
For example, if a person drives from San Francisco to Los Angeles (a distance of about
420 miles) in 7 hours, then the average velocity is
d 420
r= = = 60 miles per hour
t 7
Sometimes the person will be traveling faster and sometimes slower, but the average
velocity is 60 miles per hour. In our present problem, the average velocity of the steel
ball from x = 2 seconds to x = 3 seconds is
5.1 Rate of Change 87
Distance covered
Average velocity =
Elapsed time
f (3) − f (2)
=
3−2
16(3)2 − 16(2)2
=
1
= 80 feet per second
We see that if y = f (x) is the position of the falling ball, then the average velocity is
simply the average rate of change of f (x) with respect to time x.
2. Proceeding as in part 1, we have
Distance covered
Average velocity =
Elapsed time
f (2 + h) − f (2)
=
h
16(2 + h)2 − 16(2)2
=
h
64 + 64h + 16h2 − 64
=
h
h(64 + 16h)
= = 64 + 16h h 6= 0
h
Notice that if h = 1, the average velocity is 80 feet per second, which is the result in part
1.
3. The limit of the average velocity expression from part 2 as h → 0 is
f (2 + h) − f (2)
lim = lim (64 + 16h)
h→0 h h→0
4. The average velocity over smaller and smaller time intervals approaches 64 feet per
second. This limit can be interpreted as the velocity of the ball at the instant that the ball
has been falling for exactly 2 seconds. Therefore, 64 feet per second is referred to as the
instantaneous velocity at x = 2 seconds
5.2 Tangent Line 88
Definition 5.1.2 — Instantaneous Rate of Change . For y = f (x), the instantaneous rate
of change at x = a is
f (a + h) − f (a)
lim
h→0 h
if the limit exists.
The adjective instantaneous is often omitted with the understanding that the phrase rate of
change always refers to the instantaneous rate of change and not the average rate of change.
Similarly, velocity always refers to the instantaneous rate of change of distance with respect
to time.
Tangent line to a circle is a line that touches the circle in one point. Below is an illustation of a
tangent line to a circle.
P
•
f (x1 ) • •Q
P P
f (x0 ) • • •
l
• • x x
x0 x1
Figure 5.2: The secant line through the points Figure 5.3: The tangent line l to the graph of
P(x0 , f (x0 )) and Q(x1 , f (x1 )) f at point P
Definition 5.2.1 If the function f is defined on an open interval containing x = x0 , then the
tangent line to the graph of f at the point P(x0 , f (x0 )) is the line
• passing through P whose slope is given by
f (x0 + ∆x) − f (x0 )
m = lim
∆x→0 ∆x
provided that this limit exists.
• with equation x = x0 if
f (x0 + ∆x) − f (x0 )
lim = +∞ or −∞ and
∆x→0− ∆x
f (x0 + ∆x) − f (x0 )
lim = +∞ or −∞.
∆x→0+ ∆x
Otherwise, there is no tangent line to the graph of f at P.
5.2 Tangent Line 90
R These are some remarks regarding the tangent line to the graph of f at point P.
1. The slope of the tangent line to the graph of f at P gives us an idea on the
"flatness" or "steepness" of the graph of f at P and whether the graph of f
rises or falls at P.
2. The tangent line to the graph of a function may intersect the graph at points
other than the point of tangency.
Definition 5.2.2 The line normal to the graph of f at the point P is the line perpendicular to
the tangent line at P.
1
Example 5.4 Give equations of the tangent and normal lines to the graph of f (x) = at
x
x = 1.
= −1
Example 5.5 Find the slope of the tangent line to the graph of g(x) = x2 + 2 at x = 2.
5.3 Definition of the Derivative of a Function 91
Solution:
g(2 + ∆x) − g(2)
mT L = lim
∆x→0 ∆x
[(2 + ∆x)2 + 2] − (22 + 2)
= lim
∆x→0 ∆x
[4 + 4∆x + (∆x)2 + 2] − 6
= lim
∆x→0 ∆x
4∆x + (∆x) 2
= lim
∆x→0 ∆x
= lim (4 + ∆x)
∆x→0
=4
Note that we can compute the slope of the tangent line to the graph of g(x) = x2 + 2 for any
value of x.
Definition 5.3.1 The derivative of a function f (x), denoted f 0 (x), is the function
f (x + ∆x) − f (x)
f 0 (x) = lim
∆x→0 ∆x
It is defined at all points x in the domain of f where the limit exists.
√
Example 5.6 Find the derivative of f (x) = x.
Theorem 5.4.2 Let f and g be functions and c ∈ R. If f (x) = c · g(x), then f 0 (x) = c · g0 (x)
if g0 (x) exists.
Theorem 5.4.3 — Sum Rule. Let f and g be functions. If h(x) = f (x) ± g(x), then h0 (x) =
f 0 (x) ± g0 (x), provided both f 0 (x) and g0 (x) exist.
2 2
Example
5.10 √1. Dx [x + 3x] = Dx [x ] + Dx [3x] = 2x + 3
d 4 x 4 1 2
2. 2x4 − + 7 = 8x3 − · √ = 8x3 − √
dx 5 5 2 x 5 x
Theorem 5.4.4 — Product Rule. Let f and g be functions. If h(x) = f (x)g(x), then h0 (x) =
f 0 (x)g(x) + f (x)g0 (x), provided f 0 (x) and g0 (x) both exist.
f (x)
Theorem 5.4.5 — Quotient Rule. Let f and g be functions. If h(x) = g(x) , where g(x) 6= 0,
then
g(x) f 0 (x) − f (x)g0 (x)
h0 (x) = ,
[g(x)]2
provided f 0 (x) and g0 (x) both exist.
Solution: At x = 1, f (1) = 2. So, we have the point (1, 2) in the graph of f . Now, f 0 (x) =
6x − 1. Then f 0 (1) = 5. Thus, 5 is the slope of tangent line. Hence, the equation of the tangent
line is y − 2 = 5(x − 1).
d
Example 5.14 1. [3 sin x − 7 cos x] = 3 cos x − 7(− sin x) = 3 cos x + 7 sin x
dx
2. Dx [sec x csc x] = (sec x tan x)(csc x) + (sec x)(− csc x cot x)
cot x − x
3. If f (x) = , then
1 + tan x
(1 + tan x)(− csc2 x − 1) − (cot x − x)(sec2 x)
f 0 (x) =
(1 + tan x)2
4.
= 2(cos2 x − sin2 x)
= 2 cos(2x)
The derivative of the exponential function ex , however, is ex . Note that e3 is a constant, so its
derivative is 0.
1
Example 5.4.3 1. Dx [log2 x] =
x ln 2
1
2. Dx [log5 x] =
x ln 5
7
Example 5.4.4 1. Dx [4ex + 7 ln x] = 4ex +
x
4 4 4 3 4
2. Dx [x − ln x ] = Dx [x − 4 ln x] = 4x −
x
Solution: Note that (2x)5 = ( f ◦ g)(x) where f (x) = x5 and g(x) = 2x. We have f 0 (x) = 5x4
and g0 (x) = 2. Using the chain rule,
= 10(2x)4 .
5.5 The Chain Rule 97
Solution: We have sin(2x) = ( f ◦ g)(x)where f (x) = sin x and g(x) = 2x. So, by the chain
rule,
= 2 cos(2x).
Solution: Note that h(x) = ( f ◦ g)(x) where f (x) = 2 sin x and g(x) = x2 . Now, using the
chain rule,
= (2 cos x2 ) ◦ (2x)
= 4x cos x2 .
dy √
Example 5.18 if y = x3 − tan x.
Find
dx
√
Solution: We let y = u and u = x3 − tan x. Thus,
dy dy du
= ·
dx du dx
1
= √ · (3x2 − sec2 x)
2 u
3x2 − sec2 x
= √ .
2 x3 − tan x
Dx [cos2 (cot 4x)] = 2 cos(cot 4x) · (− sin(cot 4x)) · (− csc2 4x) · (4)
5.6 Applications
Example 5.6.1 — Instantaneous Velocity. An object moves along the y axis (marked in feet)
so that its position at time x (in seconds) is
f (x) = x3 − 6x2 + 9x
3.
3(x − 1)(x − 3) = 0
x = 1, 3
One important application of calculus to business and economics involves marginal analysis.
In economics, the word marginal refers to a rate of change—that is, to a derivative. Thus, if
C(x) is the total cost of producing x items, then C0 (x) is called the marginal cost and represents
the instantaneous rate of change of total cost with respect to the number of items produced.
Similarly, the marginal revenue is the derivative of the total revenue function, and the marginal
profit is the derivative of the total profit function.
5.7 Exercises 100
Definition 5.6.1 — Marginal Cost, Revenue, and Profit. If x is the number of units of a
product produced in some time interval, then
Marginal cost (or revenue or profit) is the instantaneous rate of change of cost (or revenue
or profit) relative to production at a given production level.
Example 5.6.2 — Cost Analysis. The cost in dollars to manufacture x graphing calculators is
given by C(x) = −0.005x2 + 20x + 150 when 0 ≤ x ≤ 2000. Find the rate of change of cost
with respect to the number manufactured when 100 calculators are made and when 1000
calculators are made.
Solution: The rate of change of cost is given by the derivative C0 (x) of the cost function. Now,
When x = 100,
This rate of change of cost per calculator gives the marginal cost at x = 100, which means the
approximate cost of producing the 101st calculator is $19.
When 1000 calculators are made, the marginal cost is
or $10.
5.7 Exercises
5.7 Exercises 101
1
Exercise 5.2 Find f 0 (x) given f (x) = x3 − .
x3
Exercise 5.3 Find the equation of the normal line to the graph of f (x) = x4 + 2x + 3 at the
point where x = 1.
dy
Exercise 5.4 Find if y = 2x cos x.
dx
√
x−8 4 x
Exercise 5.5 Differentiate:
sec x − 3 cot x
dy
Exercise 5.6 Find if y = (x + tan x)4 .
dx
√
Exercise 5.7 Find f 0 (x) if f (x) = sin(2x3 − 3x).
π
Exercise 5.8 Find the slope of the tangent line to the graph of f (x) = cos 2x at x = .
4
Exercise 5.9 Suppose the demand for a certain item is given by D(p) = −2p2 − 4p + 300,
where p represents the price of the item in pesos.
1. Find the rate of change of demand with respect to price.
2. Find and interpret the rate of change of demand when the price is Php 100.
VI
Week Six
This chapter covers the notion of higher order derivatives and implicit differentation.
At the end of this topic you will:
• Find a higher-order derivative of a function.
• Distinguish between functions written in implicit form and explicit form.
• Use implicit differentiation to find the derivative of a function.
• Use derivatives to find rates of change.
√
Example 6.2 Find f (4) (x) if f (x) = 2x − 3.
Solution:
1 1 1
f 0 (x) = (2x − 3)− 2 · (2) = (2x − 3)− 2
2
1 3 3
f 00 (x) = − (2x − 3)− 2 · (2) = −(2x − 3)− 2
2
3 5 5
f 000 (x) = (2x − 3)− 2 · (2) = 3(2x − 3)− 2
2
15 7 7
f (4) (x) = − (2x − 3)− 2 · (2) = −15(2x − 3)− 2 .
2
Equations in two variables are used to define a function explicitly or implicitly. The function
y = x2 − 1 defines f (x) = x2 − 1 explicitly. The function y2 = x + 1 defines two functions of x
√ √
implicitly such as f1 (x) = x + 1 and f2 (x) = − x + 1.
6.2 Implicit Differentiation 105
dy
Example 6.3 Consider: If x3 − 2xy − 3y − 6 = 0, how do we find ?
dx
Solution: From x3 − 2xy − 3y − 6 = 0, we can define y explicitly in terms of x as
x3 − 6
y= .
2x + 3
Thus,
dy (2x + 3)(3x2 ) − (x3 − 6)(2)
=
dx (2x + 3)2
4x3 + 9x2 + 12
= .
(2x + 3)2
dy
Suppose we have x4 y3 − 7xy = 7 or tan(x2 − 2xy) = y. How do we find ?
dx
dy
To find using implicit differentiation, we
dx
1. think of the variable y as a differentiable function of the variable x,
2. differentiate both sides of the equation, using the chain rule where necessary, and
dy
3. solve for .
dx
dy
Example 6.4 Find if x3 − 2xy − 3y − 6 = 0.
dx
Solution:
Now, we have
dy 3x2 − 2y
=
dx 2x + 3
x3 −6
3x2 − 2 · 2x+3
=
2x + 3
3x · (2x + 3) − 2(x3 − 6)
2
=
(2x + 3)2
4x3 + 9x2 + 12
= .
(2x + 3)2
dy
Example 6.5 Find dx if x4 y3 − 7xy = 7.
Solution:
dy
Example 6.6 Find if tan(x2 − 2xy) = y.
dx
Solution:
Solution:
Dx [xy2 ] = Dx [y − 2]
dy dy
y2 + x · 2y =
dx dx
dy y2
= .
dx 1 − 2xy
This implies that
dy dy
d 2 y (1 − 2xy)(2y dx ) − (y2 )[−2(y + x dx )]
=
dx2 (1 − 2xy)2
h i h i
y2 y2
(1 − 2xy) 2y · 1−2xy − (y2 ) −2 y + x · 1−2xy
= .
(1 − 2xy)2
Union workers are concerned that the rate at which wages are increasing is lagging behind the
rate of increase in the company’s profits. An automobile dealer wants to predict how much an
anticipated increase in interest rates will decrease his rate of sales. An investor is studying the
connection between the rate of increase in the Dow Jones average and the rate of increase in
the gross domestic product over the past 50 years.
In each of these situations, there are two quantities—wages and profits, for example—that
are changing with respect to time. We would like to discover the precise relationship between
the rates of increase (or decrease) of the two quantities. We begin our discussion of such
related rates by considering familiar situations in which the two quantities are distances and
the two rates are velocities.
Example 6.8 A 26-foot ladder is placed against a wall. If the top of the ladder is sliding
down the wall at 2 feet per second, at what rate is the bottom of the ladder moving away from
the wall when the bottom of the ladder is 10 feet away from the wall?
Solution:
6.3 Applications: Related Rates 108
26 ft
y
→
x
Let x be the distance of the bottom of the ladder from the wall and let y be the distance of the
top of the ladder from the ground. Both x and y are changing with respect to time and can be
thought of as functions of time; that is, x = x(t) and y = y(t). Furthermore, x and y are related
by the Pythagorean relationship:
x2 + y2 = 262
Differentiating the equation implicitly with respect to time t and using the chain rule where
appropriate, we obtain
dx dy
2x + 2y = 0.
dt dt
dx dy
From this equation, the rates and are related. This is a related-rates problem.
dt dt
dx dy
Our problem is to find when x = 10 feet, given that = −2 (y is decreasing at a
dt dt
constant rate of 2 feet per second). We have all the quantities we need in equation (2) to solve
dx
for , except y. When x = 10, y can be found by:
dt
102 + y2 = 262
p
y = 262 − 102 = 24 feet
dy
Substituting = −2, x = 10 and y = 24, we have
dt
dx
2(10) + 2(24)(−2) = 0
dt
dx −2(24)(−2)
= = 4.8 feet per second
dt 2(10)
The bottom of the ladder is moving away from the wall at a rate of 4.8 feet per second
6.3 Applications: Related Rates 109
dx
In general, if we let x be a quantity that is a function of time t, then dt is rate of change of
dy dx
x with respect to t. Suppose y is dependent on x. Then dt is dependent on dt .
Problems on related rates are problems involving rates of change of several variables where
one variable is dependent on one or more other variables.
dx
R 1. If > 0 ∀ t > 0, then x increases through time.
dt
dx
2. If < 0 ∀ t > 0, then x decreases through time.
dt
dx
3. = 0 ∀ t > 0, then x remains constant through time.
dt
Before we solve some interesting problems, the following are some suggestions in solving
problems involving related rates.
1. Let t denote the elapsed time. If possible, draw a diagram of the problem that is valid for
any time t > 0.
2. Select variables to represent the quantities that change with respect to time. Label those
quantities whose values do not depend on t with their given constant values.
3. Write down any numerical facts known about the variables. Interpret each rate of change
as the derivative of a variable with respect to time.
4. Identify what is being asked.
5. Write an equation relating the variables that is valid at all time t > 0.
6. Differentiate the equation in (5) implicitly with respect to t.
7. Substitute in the equation obtained in (6) all values that are valid at the particular time of
interest. Solve for what is being asked.
8. Write a conclusion that answers the question of the problem. Do not forget to include the
correct units of measurement.
Example 6.9 A ladder 10 meters long is leaning against a wall. If the bottom of the ladder is
being pulled horizontally towards the wall at 2 m/s, how fast is the top of the ladder moving
when the bottom is 6 meters from the wall?
Solution:
• Let t denote the elapsed time. If possible, draw a diagram of the problem that is valid for
6.3 Applications: Related Rates 110
y 10 m
x ← 2 m/s
• Select variables to represent the quantities that change with respect to time. Label those
quantities whose values do not depend on t with their given constant values.
• Write down any numerical facts known about the variables. Interpret each rate of change
as the derivative of a variable with respect to time.
dx
= −2 m/s
dt
• Identify what is being asked.
dy
=?
dt x=6
• Write an equation relating the variables that is valid at all time t > 0.
x2 + y2 = 100
Dt [x2 + y2 ] = Dt [100]
dx dy
2x + 2y = 0
dt dt
dy x dx
=−
dt y dt
• Substitute in the equation obtained all values that are valid at the particular time of
interest. Solve for what is being asked.
dy x dx dx
x2 + y2 = 100 =− = −2
dt y dt dt
When x = 6: 36 + y2 = 100 =⇒ y2 = 64 =⇒ y = 8 (since y > 0)
dy 6 3
∴ = − · (−2) =
dt x=6 8 2
6.3 Applications: Related Rates 111
• Write a conclusion that answers the question of the problem. Do not forget to include the
correct units of measurement.
3
Therefore, the top of the ladder is sliding up the wall at a rate of m/s when the bottom
2
of the ladder is 6 meters from the wall.
Solution:
t =0: t >0:
dx dy
Given: = −20 ft/s, = 40 ft/s
dt dt
dz
Find: =?
dt t=2
Dt [x2 + y2 ] = Dt [z2 ]
dx dy dz
2x + 2y = 2z
dt dt dt
dz 1 dx dy
= x +y
dt z dt dt
At t = 2:
• x = 100 − 40 = 60
• y = 80
√
• z = 602 + 802 = 100
6.3 Applications: Related Rates 112
dz 1
= (60(−20) + 80(40))
dt t=2 100
2000
=
100
= 20
Therefore, the distance between them is increasing at a rate of 20 ft/s after 2 seconds.
Example 6.11 Water is pouring into an inverted cone at the rate of 8 cubic feet per minute. If
the height of the cone is 12 feet and the radius of its base is 6 feet, how fast is the water level
rising when the water is 4 feet deep?
Solution:
dV
= 8 ft3 /min
dt
dh
=?
dt h=4
1
V = πr2 h
3
dr
But we don’t know .
dt
Express r in terms of h. By similar triangles,
r 6 h
= =⇒ r =
h 12 2
1 h2
=⇒ V = π h
3 4
πh3
=⇒ V =
12
dV π dh
=⇒ = h2
dt 4 dt
dh 4 dV
=⇒ = 2
dt πh dt
6.3 Applications: Related Rates 113
dh 4
= (8)
dt h=4 16π
2
=
π
2
ft/min when the water is 4 feet deep.
Therefore, the water level is rising at
π
Example 6.12 Suppose that for a company manufacturing flash drives, the cost, revenue, and
P = R −C (Profit equation)
where the production output in 1 week is x flash drives. If production is increasing at the rate
of 500 flash drives per week when production is 2,000 flash drives, find the rate of increase in
1. Cost
2. Revenue
3. Profit
Solution: If production x is a function of time (it must be, since it is changing with respect to
time), then C, R, and P must also be functions of time. These functions are given implicitly
(rather than explicitly). Letting t represent time in weeks, we differentiate both sides of each of
the preceding three equations with respect to t and then substitute x = 2, 000 and dx/dt = 500
to find the desired rates.
1.
C = 5, 000 + 2x
dC d d
= (5, 000) + (2x)
dt dt dt
dC dx dx
= 0+2 = 2
dt dt dt
dC
= 2(500) = $1, 000 per week
dt
Cost is increasing at a rate of $1,000 per week.
2.
R = 10x − 0.001x2
dR d d
= (10x) + (0.001x2 )
dt dt dt
dR dx dx
= 10 − 0.002x
dt dt dt
dR dx
= (10 − 0.002x)
dt dt
Since dx/dt = 500 when x = 2, 000,
dR
= [10 − 0.002(2, 000)](500) = $3, 000 per week
dt
Revenue is increasing at a rate of $3, 000 per week.
3.
P = R −C
dP dR dC
= −
dt dt dt
= $3, 000 − $1, 000
= $2, 000 per week
6.4 Exercises
Exercise 6.1 Determine D4x [cos(4x)].
dy
Exercise 6.2 Find dx if sin(x + y) = xy2 − 2x3 .
Exercise 6.3 A boy standing on a cliff is watching a ship as the ship approaches the shoreline
directly below him. If the boy’s eyes are 300 feet above the water level and if the ship is
6.4 Exercises 115
approaching at 40 feet per second, how fast is the angle of depression of the ship from the
boy’s eyes changing when the ship is 300 feet from the shore?
Exercise 6.4 Gravel is being dumped from a conveyor belt at a rate of 40 cubic feet per
minute so that it forms a pile in the shape of a cone whose height and base diameter are
always equal. How fast is the height of the pile increasing when the pile is 15 feet high?
Exercise 6.5 Suppose that for a company manufacturing calculators, the cost, revenue, and
profit equations are given by
x2
C = 90, 000 + 30x, R = 300x − , P = R −C
30
where the production output in 1 week is x calculators. If production is increasing at a rate
of 500 calculators per week when production output is 6,000 calculators, find the rate of
increase (decrease) in
1. Cost
2. Revenue
3. Profit
VII
Week Seven
Theorem 7.1.1 If a function f has a relative extremum point at x = c, then either f 0 (c) = 0
or f 0 (c) does not exist.
Theorem 7.2.1 Let f be a function that is continuous on an interval [a, b] and differentiable
on (a, b).
1. If f 0 (x) > 0 for all x ∈ (a, b), then f is increasing on [a, b].
2. If f 0 (x) < 0 for all x ∈ (a, b), then f is decreasing on [a, b].
3. If f 0 (x) = 0 for all x ∈ (a, b), then f is constant on [a, b].
Example 7.5 Consider the function f (x) = x2 . Then f 0 (x) = 2x. We can see in the following
table that the values of the derivative of f is negative in (−∞, 0), 0 when x = 0, and positive in
(0, ∞).
x (−∞, 0) 0 (0, ∞)
f 0 (x) − 0 +
Example 7.6 Consider the function f (x) = x3 . Then f 0 (x) = 3x2 . Hence, f 0 (x) > 0 whenever
x 6= 0. Thus, the graph of f is increasing on R.
1. If f 0 (x) > 0 for all x ∈ (a, c) and f 0 (x) < 0 for all x ∈ (c, b), then f has a relative
maximum at x = c.
2. If f 0 (x) < 0 for all x ∈ (a, c) and f 0 (x) > 0 for all x ∈ (c, b), then f has a relative
minimum at x = c.
3. If f 0 (x) does not change sign from (a, c) to (c, b), then there is no relative extremum at
x = c.
Note that f (c) has to be defined but not necessarily f 0 (c).
x3
Example 7.7 Find all relative extrema of f (x) = − 3x.
9
x3
Solution: Note that f (x) = − 3x. Then the critical numbers of f are 3 and −3. The
9
following table shows us the signs of the values of f 0 .
Solution: Note that f 0 (x) = 4x3 + 6x2 . Then the critical numbers of f are 0 and − 32 . The
following table shows us the signs of the values of f 0 .
x (−∞, − 32 ] [− 32 , 0] [0, ∞)
f 0 (x) − + +
3
Therefore, f has a relative minimum at x = − but f has no relative extremum at x = 0.
2
x2
Example 7.9 Find all relative extrema of f (x) = .
9 − x2
18x
Solution: Note that f 0 (x) = . Then the critical number of f is 0. The following table
(9 − x2 )2
shows us the signs of the values of f 0 .
Definition 7.4.1 The graph of a function f is said to be concave up at the point P(c, f (c)) if
f 0 (c) exists and there is an open interval I containing c such that for all x ∈ I \ c, the point
(x, f (x)) is above the tangent line to the graph of f at P.
Definition 7.4.2 The graph of a function f is said to be concave down at the point P(c, f (c))
if f 0 (c) exists and there is an open interval I containing c such that for all x ∈ I \ c, the point
(x, f (x)) is below the tangent line to the graph of f at P.
Example 7.11 Consider the function f (x) = x3 . Then f 0 (x) = 3x2 and f 00 (x) = 6x. We can
see in the following table the signs of the values of f 00 .
x (−∞, 0) 0 (0, ∞)
f 00 (x) − 0 +
x (−∞, 0) 0 (0, ∞)
f 00 (x) + 0 −
Definition 7.4.4 The graph of f (x) has a point of inflection (POI) at P(c, f (c)) if f is
continuous at x = c and the graph of f changes concavity at P. Equivalently, there is an
open interval (a, b) containing c such that
1. If f 00 (x) > 0 for all x ∈ (a, c) and f 00 (x) < 0 for all x ∈ (c, b) or;
2. If f 00 (x) < 0 for all x ∈ (a, c) and f 00 (x) > 0 for all x ∈ (c, b).
Example 7.13 Consider the function f (x) = x3 . Then f is continuous at x = 0 and the graph
of f changes concavity at (0, 0). Hence, the graph of f has a point of inflection at (0, 0).
√
3
Example 7.14 Consider the function f (x) = x. Then f is continuous at x = 0 and the graph
of f changes concavity at (0, 0). Hence, the graph of f has a point of inflection at (0, 0).
Theorem 7.4.2 If P(c, f (c)) is a POI of the graph of the function f , then f 00 (c) = 0 or f 00 (c)
does not exist at x = c.
R The converse is not true. If c satisfies f 00 (c) = 0 or f 00 (c) does not exist, f may
or may not have a POI at x = c.
Example 7.15 Consider the function f (x) = x4 . Then f 00 (x) = 12x2 . Also, f is continuous at
x = 0 and the graph of f changes concavity at (0, 0). Thus, (0, 0) is a POI of the graph of f
and f 00 (0) = 0.
−2
Example 7.16 Consider the function f (x) = x2/3 . Then f 00 (x) = . Also, f is continuous
9x4/3
at x = 0 and the graph of f changes concavity at (0, 0). Thus, (0, 0) is a POI of the graph of f
but f 00 (0) does not exist.
x3
Example 7.17 Determine all POIs of f (x) = − 3x and discuss the concavity of its graph.
9
2x
Solution: Note that f 00 (x) = . The possible POI is 0 (since f 00 (x) = 0 when x = 0). The
3
following is the table of signs for f 00 .
7.4 Concavity and Points of Inflection 123
x (−∞, 0) 0 (0, ∞)
f 00 (x) − 0 +
Therefore, the graph of f has a POI at (0, 0), is concave down on (−∞, 0), and is concave up
on (0, ∞).
Example 7.18 Determine all POIs of f (x) = x4 + 2x3 and discuss the concavity of its graph.
Solution: Note that f 00 (x) = 12x2 + 12x = 12x(x + 1). The possible POI is 0, −1 (since
f 00 (x) = 0 when x = 0 or x = −1). The following is the table of signs for f 00 .
Therefore, (−1, −1) and (0, 0) are POI’s of the graph of f . The graph of f is concave up on
(−∞, −1) and (0, ∞). Furthermore, The graph of f is concave down on (−1, 0).
x2
Example 7.19 Determine all POIs of f (x) = and discuss the concavity of its graph.
9 − x2
54(3 + x2 )
Solution: Note that f 00 (x) = . Then there is no possible POIs. Also, note that
(9 − x2 )3
±3 ∈
/ dom f The graph of f has no POI. Moreover, we can see in the following table the signs
of the values of f 00 (x).
The graph of f is concave down on (−∞, −3) and (3, ∞) and it is is concave up on (−3, 3).
Example 7.20 Determine all POIs of f (x) = −x4/3 + 4x1/3 and discuss the concavity of its
graph.
−4(x + 2)
Solution: Note that f 00 (x) = . Then the possible POIs are −2 and 0. We can see in
9x5/3
the following table the signs of the values of f 00 (x).
Example 7.21 Consider the function f (x) = x3 . Then f 0 (x) = 3x2 and f 00 (x) = 6x. Thus,
f 00 (0) = 0. Note that f satisfies the hypotheses of SDT at x = 0. Hence, f has no relative
extremum at x = 0.
Example 7.22 Consider the function f (x) = x4 . Then f 0 (x) = 4x3 and f 00 (x) = 12x2 . Thus,
f 00 (0) = 0. Note that f satisfies the hypotheses of SDT at x = 0. Hence, f has no relative
extremum at x = 0.
x3
Example 7.23 Determine whether or not the SDT is applicable to f (x) = − 3x with critical
9
numbers −3 and 3. If yes, draw conclusions using SDT.
x2 − 9 2x
Solution: Note that f 0 (x) = and f 00 (x) = . Then f 0 (−3) = 0 and f 0 (3) = 0. Thus,
3 3
0
SDT is applicable to both −3 and 3. Since f ”(−3) = −2 < 0, f has a relative maximum at
x = −3. Also, since f 0 ”(3) = 2 > 0, f has a relative maximum at x = 3.
f (x) = x4 + 2x3
Solution: Note that f 0 (x) = 4x3 +6x2 and f 00 (x) = 12x2 +12x. Then f 0 (0) = 0 and f 0 (− 32 ) = 0.
Thus, SDT is applicable to both 0 and − 32 . Since f 00 (− 32 ) = 9 > 0, f has a relative minimum
at x = − 32 but inconclusive for x = 0 since f 00 (0) = 0.
x2
Example 7.25 Determine whether or not the SDT is applicable to f (x) = with critical
9 − x2
number 0. If yes, draw conclusions using SDT.
7.6 Applications 125
2
Solution: Note that f 0 (x) =
18x
and f 00 (x) = 54(3 + x ) . Then f 0 (0) = 0. Thus, SDT
(9 − x2 )2 (9 − x2 )3
54(3)
is applicable to 0. Since f 00 (x) = > 0, f has a relative minimum at x = 0.
93
Example 7.26 Determine whether or not the SDT is applicable to f (x) = −x
4/3 + 4x1/2 with
Example 7.27 Determine whether or not the SDT is applicable to f (x) = ax2 + bx + c, where
b
a 6= 0, with critical number − . If yes, draw conclusions using SDT.
2a
Solution: Note that f (x) = 2ax + b and f 00 (x) = 2a. Then f 0 (− 2a
0 b
) = 0. Thus, SDT is
b b
applicable to − . Note that f 00 (− 2a
b
) = 2a. If a > 0, f has a relative minimum at x = − .
2a 2a
b
If a < 0, f has a relative maximum at x = − .
2a
7.6 Applications
Example 7.28 — Agricultural Exports and Imports. Over the past few decades, the Philippines
has exported more agricultural products than it has imported, maintaining a positive balance
of trade in this area. However, the trade balance fluctuated considerably during that period.
The graph in Figure 7.1 approximates the rate of change of the balance of trade over a 15-year
period, where B(t) is the balance of trade (in billions of pesos) and t is time (in years).
1. Write a brief description of the graph of y = B(t), including a discussion of any relative
extrema.
2. Sketch a possible graph of y = B(t).
Solution:
1. The graph of the derivative y = B(t) contains the same essential information as a sign
chart. That is, we see that B0 (t) is positive on (0, 4), 0 at t = 4, negative on (4, 12), 0
at t = 12, and positive on (12, 15). The trade balance increases for the first 4 years to
a relative maximum, decreases for the next 8 years to a relative minimum, and then
7.6 Applications 126
Example 7.29 — Revenue Analysis. The graph of the total revenue R(x) (in pesos) from the
sale of x bookcases is shown in Figure 7.3.
1. Write a brief description of the graph of the marginal revenue function y = R0 (x), includ-
ing a discussion of any x intercepts.
2. Sketch a possible graph of y = R0 (x).
Solution:
7.7 Exercises 127
1. The graph of y = R(x) indicates that R(x) increases on (0, 550), has a local maximum
at x = 550, and decreases on (550, 1000). Consequently, the marginal revenue function
R0 (x) must be positive on (0, 550), 0 at x = 550, and negative on (550, 1000).
2. A possible graph of y = R0 (x) illustrating the information summarized in part 1 is shown
in Figure 7.4.
7.7 Exercises
Exercise 7.1 Find the coordinates of the relative extremum point/s of f (x) = x4/3 − 6x1/3 .
7.7 Exercises 128
Exercise 7.2 Show using First Derivative Test that if a, b, c are constants and a a 6= 0, then
the graph of y = ax2 + bx + c has a relative maximum at the vertex when a < 0 and a relative
minimum at the vertex when a > 0.
x2 + 4x + 3
Exercise 7.3 Determine the points of inflection of the graph of f (x) = and
−2(x − 1)2
discuss its concavity.
Exercise 7.4 Use the second derivative test to determine the relative extrema of f (x) =
4x
2
.
x +1
VIII
Week Eight
x3
Example 8.1 Sketch the graph of f (x) = − 3x analytically.
9
√
Solution: The domain of f is R. The x-intercepts are 0, ±2 3 and y-intercept is 0. Note
x2 − 9 2x
that f 0 (x) = with critical numbers −3, 3. Also, f 00 (x) = with possible POI 0. The
3 3
following table will tell us more about the graph of f .
interval f f0 f 00 conclusion
(−∞, −3) + − increasing, concave downward
−3 6 0 − relative maximum
(−3, 0) − − decreasing, concave downward
0 0 − 0 POI
(0, 3) − + decreasing, concave upward
3 −6 0 + relative minimum
(3, ∞) + + increasing, concave upward
The important points are:
• (0, 0)- intercept, POI
√ √
• (3, 3 3, 0), (−3, 3 3, 0)- intercept
• (−3, 6) - relative maximum
• (3, −6) - relative minimum
The graph of f is shown in Figure 8.1.
y
(−3, 6)
5
√ √
(−3 3, 0) (3 3, 0) x
−5 (0, 0) 5
−5
(3, −6)
x3
Figure 8.1: The graph of f (x) = − 3x
9
8.1 Graphing Polynomials 132
Solution: The domain of f is R. The x-intercepts are 0, −2 and y-intercept is 0. Note that
3
f 0 (x) = 2x2 (2x + 3) with critical numbers 0, − . Also, f 00 (x) = 12x(x + 1) with possible POI
2
0, −1 . The following table will tell us more about the graph of f .
interval f f0 f 00 conclusion
(−∞, − 32 ) − + decreasing, concave upward
− 23 − 27
16 0 + relative minimum
(− 23 , −1) + + increasing, concave upward
−1 −1 + 0 POI
(−1, 0) + − increasing, concave downward
0 0 0 0 POI
(0, ∞) + + increasing, concave upward
(−2, 0) (0, 0) x
−3 −2 −1 1 2
(−1, −1)
( −3 −27 −2
2 , 16 )
−4
= −3.
2.
sin 5x 0
lim
x→0 sin 3x 0
sin 5x 3x 5
= lim
x→0 5x sin 3x 3
5
= 1·1·
3
5
= .
3
f 0 (x)
provided that lim exists, or is +∞ or −∞.
x→a g0 (x)
x2 − 3x
0
Example 8.4 lim
x→0 2x2 + x 0
Dx (x2 − 3x) 2x − 3
lim 2
= lim = −3.
x→0 Dx (2x + x) x→0 4x + 1
x2 − 3x
Therefore, by LH Rule, lim 2 = −3.
x→0 2x + x
sin 5x 0
Example 8.5 lim
x→0 sin 3x 0
x2 + 3x − 10
0
Example 8.6 lim
x→2− x2 − 4x + 4 0
x2 + 3x − 10 LHR
2x + 3 7
lim 2 = lim = −∞
x→2− x − 4x + 4 x→2− 2x − 4 0−
3x − 1 +∞
Example 8.7 lim
x→+∞ 7 − 6x −∞
3x − 1 LHR 3 1
lim = lim =−
x→+∞ 7 − 6x x→+∞ −6 2
x3 + 3x + 2
0
Example 8.8 lim
x→1 1 − x + ln x 0
3x2 − 3
LHR 0
= lim 1
x→1 −1 +
x
0
LHR 6x
= lim = −6
x→1 − 12
x
8.2 L’Hôpital’s Rule 135
csc x −∞
Example 8.9 lim
x→0 1 − cot x
− +∞
LHR csc2 x
= lim
x→0− − csc x cot x
csc x −∞
= lim
x→0 − cot x
− +∞
− cot x
= lim [STOP!]
x→0− csc x
Now,
csc x −∞
lim
x→0− 1 − cot x +∞
1
sin x sin x
= lim cos x ·
x→0− 1 − sin x sin x
1
= lim = −1
x→0− sin x − cos x
0 ∞
L’Hôpital’s Rule works only for indeterminate forms of type and . Any other indeter-
0 ∞
minate form must be expressed equivalently in one of these two forms.
8.2 L’Hôpital’s Rule 136
g(x) ∞
2. lim f (x)g(x) = lim 1
x→a x→a ∞
f (x)
LHR x · 1x + ln x − 1
= lim
x→1+ (x − 1) · 1x + ln x
ln x 0
= lim
x→1 1 − 1 + ln x
+ 0
x
8.2 L’Hôpital’s Rule 137
1
LHR x
= lim
x→1+ 12 + 1x
x
1
=
2
Indeterminate Form
lim f (x)g(x) 1∞ 00 ∞0
x→a
lim g(x) ln[ f (x)] ∞·0 0 · (−∞) 0 · (+∞)
x→a
Limit
lim g(x) ln[ f (x)] L +∞ −∞
x→a
lim f (x)g(x) el +∞ 0
x→a
=0
3 2x
Example 8.13 Evaluate lim 1 − (1∞ )
x→+∞ x
2x
3 3
Solution: Now, 1 − = e2x ln(1− x ) . Hence,
x
3
lim 2x ln 1 − ((+∞) · 0)
x→+∞ x
ln 1 − 3x
0
= lim 1
x→+∞
2x
0
1
1− 3x
· x32
= lim
x→+∞ − 2x12
−6
= lim
x→+∞ 3
1−
x
= −6
3 2x
Hence, lim 1 − = e−6 .
x→+∞ x
8.3 Exercises
8.3 Exercises 139
One of the most important applications of the derivative is to find the absolute maximum or
minimum value of a function. An economist may be interested in the price or production level
of a commodity that will bring a maximum profit; a doctor may be interested in the time it
takes for a drug to reach its maximum concentration in the bloodstream after an injection;
and a city planner might be interested in the location of heavy industry in a city in order to
produce minimum pollution in residential and business areas. In this section, we develop the
procedures needed to find the absolute maximum and absolute minimum values of a function.
9.1 Absolute Extrema 142
Example 9.1 The function f (x) = 2x + 3 has an absolute maximum value of 3 on the interval
[−1, 0] at x = 0. On the same interval, the minimum value of f is 1 attained when x = −1.
On the interval [−1, ∞), f attains an absolute minimum value but does not attain an absolute
maximum value.
y y
6 6
4 4
2 2
x x
−2 −1 1 2 3 −2 −1 1 2 3
Figure 9.1: The graph of f (x) = 2x + 3 on Figure 9.2: The graph of f (x) = 2x + 3 on
the interval [−1, 0] the interval [−1, ∞]
Example 9.2 The function f (x) = cot x has no absolute extrema on the interval [− π2 , π2 ].
4 y
− π2 π
2 x
−3 −2 −1 1 2 3
−2
−4
Example 9.3 The function f (x) = x2 has an absolute minimum on the interval (−2, 1) at
x = 0. But f has no absolute maximum on (−2, 1).
6 y
(−2, 4)
4
2
(1, 1)
x
−4 −2 2 4
R If you replace [a, b] by one of the following intervals (a, b), [a, b), (a, b], (a, ∞),
(−∞, b), [a, ∞), (−∞, b], then the conclusion of EVT does not follow.
If f is continuous on [a, b], then the absolute maximum/minimum of f on the interval [a, b]
may occur at
• x=a
• x=b
• some x ∈ (a, b) such that f 0 (x) = 0 or f 0 (x) is undefined.
• the number that gives the highest (lowest) value of f gives the absolute maximum
(minimum).
We should always check if the function is continuous on I.
Example 9.4 Find the absolute extrema of f (x) = x3 − 3x2 + 1 on the interval I = [− 21 , 4].
Solution: Note that f is continuous on I and f 0 (x) = 3x2 − 6x = 3x(x − 2) with critical
numbers 0 and 2 on I. Then f (− 12 ) = 81 , f (0) = 1, f (2) = −3 and f (4) = 17. Therefore, f
has an absolute minimum at x = 2 and an absolute maximum at x = 4.
1
Example 9.5 Find the absolute extrema of f (x) = 1+x2
on the interval I = [−2, 1].
−2x
Solution: Note that f is continuous on I and f 0 (x) = (x2 +1)2
with critical number 0 on I. Then
f (−2) = 51 , f (0) = 1 and f (1) = 12 . Therefore, f has an absolute minimum at x = −2 and an
absolute maximum at x = 0.
Example 9.6 Find the absolute extrema of f (x) = x2/3 on the interval I = [−8, 1].
Example 9.7 Find the absolute extrema of f (x) = x − tan x on the interval I = [− π4 , π4 ].
Solution: Note that f is continuous on I and f 0 (x) = 1 − sec2 x with critical number 0 on I.
Then f (− π4 ) = − π4 + 1, f (0) = 0 and f ( π4 ) = π
4 − 1. Therefore, f has an absolute minimum
π
at x = 4 and an absolute maximum at x = − π4 .
with critical numbers 0 and 3 on I. Then f (0) = −4, f (3) = 5 and f (5) = 3. Therefore, f has
an absolute minimum at x = 0 and an absolute maximum at x = 3.
1
Example 9.9 Find the absolute extrema, if they exist, of f (x) = on the interval
1 + x2
I = (−2, 1).
−2x
Solution: Note that f 0 (x) = (x2 +1)2
with critical number 0 on I. There’s only one possible
6x2 −2
relative extremum of f on I. Is it really a relative extremum? Note that f 00 (x) = (x2 +1)3
and
f 00 (0) = −2 < 0. By the SDT, f has a relative maximum point at (0, f (0)) = (0, 1). Since the
point (0, 1) is the only relative extremum of f on I, then f has an absolute maximum at x = 0.
Solution: Note that f is continuous on R and f 0 (x) = 4x3 − 4 with critical number 1 on R.
Also, f 00 (x) = 12x2 and f 00 (1) = 12 > 0. By the SDT, f has a relative minimum at x = 1. Then
f has an absolute minimum at x = 1.
Similar observations can be done to find the relative extrema of f on an interval (a, ∞) or
on (−∞, b).
Example 9.12 Find the absolute extrema, if they exist, of f (x) = x4 − 5x2 + 4 on I = [−3, ∞).
Solution:
√ √
• f 0 (x) = 4x3 − 10x = 2x(2x2 − 5) C.N. on I: 0, − 10
2 , 10
2
• f 00 (x) = 12x2 − 10
√ √
• f 00 (0) < 0, f 00 (− 10
2 ) > 0, f 00 ( 10
2 )>0
√
10
• By SDT, f has a relative maximum at x = 0 and relative minima at x = − 2 and
√
10
x= 2 .
√ √
10 9 10
• f (0) = 4 f (− 2 ) = −4 = f( 2√ ) √
• REL MAX:(0, 4) REL MIN: (− 210 , − 94 ), ( 210 , − 94 )
• lim f (x) = +∞ (Hence no abs max!)
x→+∞
• f (−3) = 40 > − 94
• The absolute minimum value of f on I is the lowest relative minimum − 94 attained at
√
10
x=± 2 .
x
Example 9.13 Find the absolute extrema of f (x) = x2 −1
on (−1, 1), if there are any.
Solution:
• f is continuous on (−1, 1)
• lim f (x) = ∞
x→−1+
• lim f (x) = −∞
x→−1−
• f has no absolute extrema on the interval (−1, 1).
Now we can use calculus to solve optimization problems - problems that involve finding
the absolute maximum or the absolute minimum of a function. As you work through this
section, note that the statement of the problem does not usually include the function to be
optimized. Often, it is your responsibility to find the function and then to find the relevant
absolute extremum.
The following are some optimization problems:
9.3 Optimization Problems 147
Example 9.14 Find the number in the I = [−3, 2] so that the difference of the number from
its square is maximized.
Solution: First we will define variable/s. Let x be the desired number. Then x ∈ [−3, 2], a
closed interval. We are going to maximize f (x) = x2 − x. To do this, we have f 0 (x) = 2x − 1
1 1 1
where the critical number is . Now, f (−3) = 12, f (2) = 2, f ( ) = − . Thus, f attains an
2 2 4
absolute maximum on I at x = −3. Therefore, the desired number is −3.
Example 9.15 A rectangular box is to be made from a piece of cardboard 25 inches long and
10 inches wide by cutting out identical squares from the four corners and turning up the sides.
Find the volume of the largest rectangular box that can be formed.
Solution:
x x
x x
x x
x x
9.3 Optimization Problems 148
Let x be the length of side of squares to be cut out and let V be the volume of the box
formed. Then we are going to maximize
Thus, V has a relative maximum at x = 2 (the only relative extremum on (0, 4.5)) Therefore,
the volume of the largest box formed is V (2) = 200 in3 .
Example 9.16 A 1000 square yard rectangular lot along a highway is to be fenced off such
that one side of the fence is on the highway. The fencing on the highway costs Php 80 per
yard and the fencing on the other sides costs Php 20 per yard. Determine the dimensions of
the lot that will minimize the total cost of the fencing.
Solution:
highway
x1
x2
Let x1 be the length of side facing the highway, x2 be the length of other side of the
rectangular lot, and C be the cost of fencing the lot. Then we are going to minimize C =
100x1 + 40x2 . Note that the area is
9.3 Optimization Problems 149
1000
1000 = x1 · x2 ⇒ x2 = x1
40, 000
Thus, C(x1 ) = 100x1 + . For our constraint, x1 ∈ (0, ∞) := I. Now, C0 (x1 ) = 100 −
x1
40, 000
where the critical number on I is 20. Also,
x12
2(40,000)
C00 (x1 ) = x13
⇒ C00 (20) > 0.
Example 9.17 Determine the dimensions of the right circular cylinder of greatest volume
that can be inscribed in a right circular cone of radius 6 inches and height 9 inches.
Solution:
Let V , h, r be the volume, height, radius of inscribed cylinder respectively. Then we will
maximize V = πr2 h. By similar triangles,
6 6−r 3
= ⇒ h = 9 − r.
9 h 2
3 3
Thus, we will maximize V (r) = πr2 (9 − r) = 9πr2 − πr3 . For our constraint, r ∈ (0, 6).
2 2
Then V 0 (r) = 18πr − 92 πr2 where the critical number is 4. Now,
Since V has only one relative extremum on I and it is a relative maximum, V has its absolute
maximum at the same point.
Therefore, the inscribed right circular cylinder will have the greatest volume if its dimen-
sions are r = 4 in and h = 3 in.
9.3 Optimization Problems 150
Solution: We are task to maximize surface area of the window. So, we will maximize
1
A = Arectangle + Asemicircle = 2rh + πr2 .
2
Now, the perimeter is
1
20 = 2h + 2r + πr ⇒ h = 10 − (2 + π)r
2
20 − 2h
Thus, r = . Hence,
2+π
πr2 πr2
1
A(r) = + 2r 10 − (2 + π)r = − − 2r2 + 20r.
2 2 2
20 20
For our constraint, h, r > 0 ⇒ h < 10 and r < . So, r ∈ (0, ) := I. Then A0 (r) =
2+π 2+π
20
−πr − 4r + 20 where the critical number is . Now,
π +4
20
A00 (r) = −π − 4 ⇒ A00 ( ) < 0.
π +4
20
Thus A has only one relative extremum on I attained when r = π+4 (relative maximum).
20 20
Therefore, to admit most light, r must be ft and h must be ft.
π +4 π +4
Example 9.19 — Maximizing Revenue. An office supply company sells x permanent markers
per year at p pesos per marker. The price–demand equation for these markers is
p = 10 − 0.001x.
What price should the company charge for the markers to maximize revenue? What is the
maximum revenue?
9.3 Optimization Problems 151
Solution:
p = 10 − 0.001x ≥ 0
10 ≥ 0.001x
10, 000 ≥ x
Now,
R0 (x) = 10 − 0.002x
10 − 0.002x = 0
10 = 0.002x
10
x= = 5, 000 Critical number
0.002
Use the second-derivative test for absolute extrema:
The company will realize a maximum revenue of Php 25,000 when the price of a marker is
Php 5.
Example 9.20 — Maximizing Profit. The total annual cost of manufacturing x permanent
markers for the office supply company in the previous example is
9.3 Optimization Problems 152
What is the company’s maximum profit? What should the company charge for each marker,
and how many markers should be produced?
= 8x − 0.001x2 − 5, 000
P0 (x) = 8 − 0.002x = 0
8 = 0.002x
8
x= = 4, 000 Critical number
0.002
P00 (x) = −0.002 < 0 for all x
Since x = 4, 000 is the only critical number and P00 (x) < 0,
Using the price–demand equation from the previous example with x = 4, 000, we find that
A maximum profit of Php 11,000 is realized when 4,000 markers are manufactured annually
and sold for Php 6 each.
Example 9.21 — Maximizing Revenue. When a management training company prices its
seminar on management techniques at Php 400 per person, 1,000 people will attend the
seminar. The company estimates that for each Php 5 reduction in price, an additional 20
9.4 Exercises 153
people will attend the seminar. How much should the company charge for the seminar in order
to maximize its revenue? What is the maximum revenue?
400 − 5x ≥ 0
400 ≥ 5x
80 ≥ x or x ≤ 80
A negative value of x would result in a price increase. Since the problem is stated in terms of
price reductions, we must restrict x so that x ≥ 0. We are going to maximize
Now,
3, 000 = 200x
x = 15 Critical number
Since R(x) is continuous on the interval [0, 80], we can determine the behavior of the graph
by constructing a table. Table 9.1 shows that R(15) = Php 422,500 is the absolute maximum
revenue. The price of attending the seminar at x = 15 is 400 − 5(15) = Php 325. The company
should charge Php 325 for the seminar in order to receive a maximum revenue of Php 422,500.
9.4 Exercises
9.4 Exercises 154
x R(x)
0 400,000
15 422,500
80 0
Exercise 9.1 Find the absolute extrema, if any, of the following functions on the given
interval.
x
1. f (x) = on [−1, 4]
x2 + 2
2. f (x) = x4 + 4x on (−∞, ∞)
3. f (x) = −(x2 − 1)2 on (−∞, ∞)
Exercise 9.2 Two poles, one 12 ft high and the other 28 ft high, stand 30 ft apart. They are
to be stayed by two wires, attached to a single stake, running from ground level to the top
of each pole. Where should the stake be placed to use the least amount of wire?
Exercise 9.3 Four feet of wire is to be used to form a square and a circle. How much of the
wire should be used for the square and how much should be used for the circle to enclose
the maximum total area?
Exercise 9.4 A company manufactures and sells x smartphones per week. The weekly
price-demand and cost equations are, respectively,
1. What price should the company charge for the phones, and how many phones should
be produced to maximize the weekly revenue? What is the maximum weekly revenue?
2. What is the maximum weekly profit? How much should the company charge for the
phones, and how many phones should be produced to realize the maximum weekly
profit?
X
Week Ten
10.1 Antiderivatives
x6
Z
Example 10.3 1. x5 dx =
+C
Z Z 6
2. 2dx = 2 dx = 2(x +C1 ) = 2x + 2C1 = 2x +C
−4
3 x 3 3
Z Z
−5
3. 5
dx = 3 x dx = 3 +C1 = − 4 + 3C1 = − 4 +C
x −4 4x 4x
Z
u 7/4 16u 7/4
4. 4u3/4 du = 4 · +C = +C
7/4 7
5.
Z
1
Z Z
x + √ dx = x dx + x−1/2 dx
3 3
x
x4 x1/2
= +C1 + +C2
4 1/2
x4 √
= + 2 x +C
4
6.
12x3 2x2
Z
2
12x + 2x dx = + +C
3 2
= 4x3 + x2 +C
7.
Z √ Z
t 2t − 3 t dt = 2t 2 − 3t 3/2 dt
2t 3 t 5/2
= −3· +C
3 5/2
2t 3 6t 5/2
= −· +C
3 5
Z √ Z Z √
Note: t 2t − 3 t dt 6= tdt · 2t − 3 t dt
10.1 Antiderivatives 159
8.
3x2 + 1
Z Z
3 + x−2 dx
dx =
x2
x−1
= 3x + +C
−1
1
= 3x − +C
x
Z
Z
3x2 + 1 3x2 + 1dx
Note: dx 6= Z
x2 x2 dx
Z
Theorem 10.1.3 1. sin xdx = − cos x +C
Z
2. cos xdx = sin x +C
Z
3. sec2 xdx = tan x +C
Z
4. csc2 xdx = − cot x +C
Z
5. sec x tan xdx = sec x +C
Z
6. csc x cot xdx = − csc x +C
Z
Example 10.4 1. (sin x + cos x)dx = − cos x + sin x +C
Z
2. (3 sec x tan x − 2 csc2 x)dx = 3 sec x − 2(− cot x) +C = 3 sec x + 2 cot x +C
cos x 1 cos x
Z Z Z
3. 2
dx = · dx = csc x cot xdx = − csc x +C
Z sin x Z sin x sin x
4. tan2 xdx = (sec2 x − 1)dx = tan x − x +C
10.2 The Substitution Rule 160
5.
dx 1 1 − sin x
Z Z
= · dx
1 + sin x 1 + sin x 1 − sin x
1 − sin x
Z
= dx
1 − sin2 x
1 − sin x
Z
= 2
dx
cos x
1 1 sin x
Z
= − · dx
cos2 x cos x cos x
Z
sec2 x − sec x tan x dx
=
= tan x − sec x +C
Suppose F(x) is an antiderivative of f (x). Then Dx [F(x)] = f (x). We recall that the chain
rule is given by
TIPS:
• Assign u to be an "inner" function whose derivative (disregarding constant factors) is a
factor of the integrand.
• The entire integral must be expressed in terms of u.
Z
Example 10.5 Find (1 − 4x)1/2 dx.
10.2 The Substitution Rule 161
Z
Example 10.6 Find x2 (x3 − 1)10 dx.
du
Solution: Let u = x3 − 1. Then du = 3x2 dx. Thus, = x2 dx. Hence,
3
du
Z Z
2 3 10
x (x − 1) dx = u10
3
1
Z
= u10 du
3
u11
= +C
33
(x3 − 1)11
= +C.
33
x
Z
Example 10.7 Find dx.
(x2 + 1)3
du
Solution: Let u = x2 + 1. Then du = 2xdx. Thus, = xdx. Hence,
2
x 1
Z Z
2 3
dx = u−3 du
(x + 1) 2
1 u−2
= · +C
2 −2
1
=− 2 +C.
4(x + 1)2
Z
Example 10.8 Find csc2 (5x)dx.
10.2 The Substitution Rule 162
du
Solution: Let u = 5x. Then du = 5dx. Thus, 5 = dx. Hence,
du
Z Z
2
csc (5x)dx = csc2 (u)
5
1
Z
= csc2 (u)du
5
1
= (− cot u) +C
5
1
= − cot(5x) +C
5
Z
Example 10.9 Find cos4 x sin xdx.
Solution: Let u = cos x. Then du = − sin dx. Thus, −du = sin xdx. Hence,
Z Z
4
cos x sin xdx = − u4 du
u5
=− +C
5
cos5 x
=− +C.
5
Z
Example 10.10 Find x sec3 (x2 ) tan(x2 )dx.
du
Solution: Let u = sec(x2 ). Then du = sec(x2 ) tan(x2 ) · 2xdx. Thus, = sec(x2 ) tan(x2 ) · xdx.
2
Hence,
Z Z
x sec3 (x2 ) tan(x2 )dx = sec2 (x2 ) sec(x2 ) tan(x2 ) · xdx
1
Z
= u2 du
2
1 u3
= · +C
2 3
sec3 (x2 )
= +C
6
= −(sec u + tan u − u) +C
1 1 1
= − sec − tan + +C
s s s
Z √
Example 10.12 Find t t − 1dt.
2u5/2 2u3/2
= + +C
5 3
2(t − 1)5/2 2(t − 1)3/2
= + +C
5 3
t3
Z
Example 10.13 Find √ dt.
t2 + 3
du
Solution: Let u = t 2 + 3. Then du = 2tdt. Thus, 2 = tdt. Hence,
t3 t2 · t
Z Z
√ dt = √ dt
t2 + 3 t2 + 3
du
Z
= u−1/2 (u − 3)
2
1 1/2
Z
= u − 3u−1/2 du
2 !
1 2u3/2
= − 6u1/2 +C
2 3
(t 2 + 3)3/2
= − 3(t 2 + 3)1/2 +C
3
10.3 Particular Antiderivatives 164
Z q
√
Example 10.14 Find 4 + xdx.
√ 1 √
Solution: Let u = 4 + x. Then du = 2√ dx. Thus, 2du = √1 dx and x = u − 4. Hence,
x x
√
Z q
√ Z q
√ x
4 + xdx = 4 + x · √ dx
x
Z
= u1/2 · 2(u − 4)du
Z
= 2u3/2 − 8u1/2 du
2 · 2u5/2 8 · 2u3/2
= − +C
5 3
√ √
4(4 + x)5/2 16(4 + x)3/2
= − +C
5 3
In the previous section, we know that F(x) is an antiderivative of f (x) if and only if Dx [F(x)] =
f (x). The antiderivative of a function f is not unique and we write
Z
f (x)dx = F(x) +C
F(2) = 5 ⇒ 22 +C = 5 ⇒ C = 1
Example 10.16 Given that F 0 (x) = 2x and F(2) = −1, find F(x).
Solution: We have
Z Z
0 0
F (x) = 2x =⇒ F (x)dx = 2xdx
=⇒ F(x) = x2 +C.
22 +C = −1
C = −5
Therefore, F(x) = x2 − 5.
√
Example 10.17 The slope of the tangent line at any point (x, y) on a curve is given by 3 x.
Find the equation of a curve if the point (9, 4) is on the curve.
Solution: We have
Z
0 1/2
F (x) = 3x =⇒ F(x)dx = 3x1/2 dx
=⇒ F(x) = 2x3/2 +C
Given the initial condition that the point (9, 4) is on the curve,that is, F(9) = 4, we have
2 · 93/2 +C = 4
C = −50
= −(− cos u) +C
= cos 2x +C
10.4 Applications
Example 10.19 — Cost Function. If the marginal cost of producing x units of a commodity is
given by
C0 (x) = 0.3x2 + 2x
and the fixed cost is Php 2,000, find the cost function C(x) and the cost of producing 20 units.
Solution: Recall that marginal cost is the derivative of the cost function and that fixed cost is
cost at a zero production level. So we want to find C(x), given
We find the indefinite integral of 0.3x2 + 2x and determine the arbitrary integration constant
using C(0) = 2, 000:
10.4 Applications 167
C0 (x) = 0.3x2 + 2x
Z
C(x) = (0.3x2 + 2x)dx
= 0.1x3 + x2 + K
Since C represents the cost, we use K for the constant of integration. But
= Php3, 200.
listeners per day, where t is the number of days since the campaign began. How long should
the campaign last if the station wants the number of daily listeners to grow to 41,000?
Solution: We must solve the equation S(t) = 41, 000 for t, given that S0 (t) = 60t 1/2 and
S(0) = 27, 000. First, we use integration to find S(t):
Z
S(t) = 60t 1/2 dt
t 3/2
= 60 3
+C
2
= 40t 3/2 +C
Since
10.5 Exercise 168
we have C = 27, 000 and S(t) = 40t 3/2 + 27, 000. Now we solve the equation S(t) = 41, 000
for t:
= 49.664419...
10.5 Exercise
s
Z
Exercise 10.1 Find √ ds.
s+3
Exercise 10.4 The rate of change of the monthly sales of a newly released football game is
given by
where t is the number of months since the game was released and S(t) is the number of
games sold each month. Find S(t). When will monthly sales reach 20,000 games?
XI
Week Eleven
AC ≈ AP
where AC is the area of the circle and AP is the area of a regular polygon P. Increasing the
number of sides of the regular polygon gives us a better approximation of the area of the circle.
To discuss it toroughly, we will define some important concepts first.
11.1 Introduction to the Area of a Plane Region 172
The left hand side is read "the summation of F(i), with i from 1 to n."
20
Example 11.1 ∑ (5i + 4)
i=1
Solution:
20
∑ (5i + 4) = (5 · 1 + 4) + (5 · 2 + 4) + · · · + (5 · 19 + 4) + (5 · 20 + 4)
i=1
= 9 + 14 + 19 + · · · + 99 + 104
20(9 + 104)
=
2
= 1130
20
Example 11.2 ∑ (5i + 4)
i=1
Solution:
20 20 20
∑ (5i + 4) = ∑ 5i + ∑ 4
i=1 i=1 i=1
20 20
= 5 ∑i+ ∑4
i=1 i=1
20 · 21
= 5· + 4 · 20
2
= 1050 + 80
= 1130
n
Example 11.3 ∑ (i + 1)2 where n ∈ N
i=1
Solution:
n n
∑ (i + 1)2 = ∑ (i2 + 2i + 1)
i=1 i=1
n n n
= ∑ i2 + 2 ∑ i + ∑ 1
i=1 i=1 i=1
n(n + 1)(2n + 1) n(n + 1)
= +2· +n
6 2
2n3 + 9n2 + 13n
=
6
Example 11.4 Find the area of the region bounded by the curve f (x) = x2 , the x-axis and the
vertical line x = 2.
• Let ci be the right endpoint of the ith subinterval. We can see in the following table the
subintervals with ci = 0 + i∆x = i · n2 = 2i
n.
• Let Ai be the area of the ith rectangle, that is, Ai = f (ci ) · ∆x.
• The approximation of the area of the region given by
n n
AR ≈ ∑ Ai or AR ≈ ∑ f (ci ) · ∆x
i=1 i=1
2i
• Recall that f (x) = x2 and ci = n.
• Put f (ci ) in terms of i and n. Then
2
2i 4i2
f (ci ) = c2i = = n2
n
2 4i2
• Substitute ∆x = n and f (ci ) = n2
into AR . Then
n n
4i2 2 8i2
AR ≈ ∑ ·
2 n
= ∑ 3
i=1 n i=1 n
• Let Ai be the area of the ith rectangle, that is, Ai = f (ci ) · ∆x.
• The approximation of the area of the region given by
n n
AR ≈ ∑ Ai or AR ≈ ∑ f (ci ) · ∆x
i=1 i=1
• Recall that the endpoint of the ith subinterval from the left is 0 + (i − 1)∆x and the
endpoint from the right is 0 + i∆x.
• Put ci (left endpoint) in terms of i and n. Thus,
ci = 0 + (i − 1)∆x = (i − 1) · 5n .
5 10
• Substitute ∆x = n and f (ci ) = n (i − 1) into AR . Then
AR ≈ ∑ni=1 10 5 n 50
n (i − 1) · n = ∑i=1 n2 (i − 1)
In the last chapter, we find the area of plane regions using circumscribed and inscribed
rectangles of the same widths. A more general way to find the area of some plane region is to
use rectangles of different widths.
• A partition of the interval [a, b] is a sequence of numbers
∆xi = xi − xi−1
f (xi∗ )∆x
Definition 11.2.1 Let f be defined on [a, b]. The definite integral of f from a to b is
Z b n
f (x)dx = lim ∑ f (xi∗ )∆x
a ||∆||→0 i=1
if the limit exists and does not depend on the choice of partitions or on the choice of
numbers xi∗ in the subintervals. If the limit exists, the function is said to be integrable on
[a, b].
R • The definite integral is a number which does not depend on the variable used:
Z b Z b
f (x)dx = f (t)dt
a a
• If the function f is continuous, a regular partition can be used to compute
the definite integral:
Z b n
a
f (x)dx = lim
n→∞
∑ f (xi∗)∆x
i=1
11.2 The Definite Integral 180
Theorem 11.2.1 If a function is continuous on [a, b], then it is integrable on [a, b].
Theorem 11.2.2 — Properties of the Definite Integral. Let f and g be integrable on [a, b], and
c, p, q, r ∈ R.
11.2 The Definite Integral 181
Z a
1. f (x)dx = 0
Za b Z a
2. f (x)dx = − f (x)dx
Za b
b
3. cdx = c(b − a)
Za b Z b
4. c f (x)dx = c f (x)dx
Za b
a Z b Z b
5. [ f (x) ± g(x)]dx = f (x)dx ± g(x)dx
a a a
6. If [a, b] contains p, q and r, then
Z q Z r Z q
f (x)dx = f (x)dx + f (x)dx,
p p r
= −[3(4) + (−3)]
= −9
Z
What is the difference between the general antiderivative f (x)dx and the definite integral
Z b
f (x)dx?
a
The general antiderivative is a collection of functions F(x) +C whose derivative is f (x),
that is, Dx [F(x) +C] = f (x) while the definite integral yields a value.
11.3 Application 182
11.3 Application
Example 11.11 — Oil Leakage. Figure 11.8 shows the rate that oil is leaking from a machine
in a large factory (in cubic centimeters per hour) with specific rates over a 12-hour period
given in the table. Approximate the total amount of leakage over a 12-hour shift.
Solution: Use approximating rectangles, dividing the interval from 0 to 12 into 12 equal
subdivisions. Each subinterval has width 1. Using the left endpoint of each subinterval and
the table to determine the height of the rectangle, as shown, the approximation becomes
About 187.8 cubic centimeters of oil leak during this time. Mathematically, we could write
Z 12
f (x)dx ≈ 187.8
0
11.4 Exercises
Exercise 11.1 Let f (x) = 2x + 5, x1 = 0, x2 = 2, x3 = 4, x4 = 6, and ∆x = 2.
4
1. Find ∑ f (xi)∆x.
i=1
2. The sum in part 1 approximates a definite integral using rectangles. The height of
each rectangle is given by the value of the function at the left endpoint. Write the
definite integral that the sum approximates.
11.4 Exercises 183
Exercise 11.2 Consider the region below f (x) = x/2, above the x-axis, and between x = 0
and x = 4. Let xi be the midpoint of the ith subinterval.
1. Approximate the area of the region using four rectangles.
Z 4
2. Find f (x)dx by using the formula for the area of a triangle.
0
XII
Week Twelve
where f is a continuous function on [a, b] and x is any number in [a, b]. Let’s have some
examples of this function.
Z x
Example 12.1 1. Let F(x) = t 2 dt.
Z 0 0
2
(a) F(0) = t dt = 0
Z0 2 8
(b) F(2) = t 2 dt =
0 3
12.1 The First Fundamental Theorem of Calculus 186
Z x
2. Let F(x) = 2tdt. What is F(−2)?
6
Z −2 Z 6
F(−2) = 2tdt = − 2tdt = −32
6 −2
Z x
Example 12.2 Let F(x) = 2tdt.
0
1. If x > 0, then F(x) gives the area of the triangle under the curve f (t) = 2t in the interval
[0, x].
2. But the area is also given by F(x) = 12 · x · 2x = x2 .
3. Note that F 0 (x) = 2x = f (x).
Theorem 12.1.1 — The First Fundamental Theorem of Calculus. Let f be a function contin-
uous on [a, b] and let x be any number in [a, b]. If F is the function defined by F(x) =
Z x
f (t)dt, then F 0 (x) = f (x).
a
Z x
Example 12.3 If F(x) = t 2 dt, then F 0 (x) = x2 .
0
Z x
Example 12.4 If F(x) = cos(t 2 + 1)dt, then F 0 (x) = cos(x2 + 1).
−π
Z 3
Example 12.5 Find F 0 (x) if F(x) = sin 2tdt.
x
Solution: First, we switch the limits of integration:
Z 3 Z x
F(x) = sin 2tdt = − sin 2tdt
x 3
Zx
Then F 0 (x) = D x − sin 2tdt = − sin 2x
3
Z g(x)
Suppose F(x) = f (t)dt. What is F 0 (x)?
Z x a
Let H(x) = f (t)dt. Then,
a
Z g(x)
H(g(x)) = f (t)dt = F(x).
a
By the Chain Rule, F 0 (x) = H 0 (g(x)) · g0 (x). By the FFTOC, H 0 (x) = f (x). Therefore,
F 0 (x) = f (g(x)) · g0 (x).
Z x2
Example 12.6 If F(x) = t 2 dt, then F 0 (x) = (x2 )2 · 2x = 2x5 .
−1
12.2 The Second Fundamental Theorem of Calculus 187
Z cos x
dt
Example 12.7 If F(x) = , then F 0 (x) = 1
cos x · (− sin x) = − tan x.
1 t
Z 0
t
Example 12.8 Find F 0 (x) if F(x) = dt.
2x+1 t2 + 1
Solution: First switch the limits of integration:
Z 2x+1
t
F(x) = − dt
0 t2 + 1
2x + 1 2x + 1
Therefore, F 0 (x) = − 2
·2 = − 2 .
(2x + 1) + 1 2x + 2x + 1
Z x
Example 12.9 Find F 0 (x) if F(x) = sin2 tdt.
1−x
Solution: Split the interval at a number in the domain of the integrand:
Z 0 Z x
2
F(x) = sin tdt + sin2 tdt
1−x 0
Z 2
Example 12.10 Evaluate x2 dx.
0
x=2
x3
Z 2
2 8 8
Solution: x dx = +C = +C − (0 +C) =
0 3 x=0 3 3
Z 6
Example 12.11 Evaluate 2xdx.
−2
Z 6
x=6
Solution: 2xdx = x2 x=−2
= 36 − 4 = 32
−2
12.2 The Second Fundamental Theorem of Calculus 188
Z 3
dx
Example 12.12 Evaluate 3
.
−1 (x + 2)
Solution: Let u = x + 2. Then du = dx. Hence,
dx
Z Z
= u−3 du
(x + 2)3
u−2
= +C
−2
1
=− +C
2(x + 2)2
Thus,
Z 3 x=3
dx 1
3
=−
−1 (x + 2) 2(x + 2)2 x=−1
1 1
=− +
50 2
12
=
25
Note that
Z g(b)
u=g(b)
f (u)du = F(u)|u=g(a) = F(g(b)) − F(g(a)).
g(a)
Thus,
Z b Z g(b)
0
f (g(x))g (x)dx = f (u)du.
a g(a)
Solution: Let u = x + 2. Then du = dx. For the limits of integration, when x = −1, we have
u = 1 and when x = 3 we have u = 5. Thus,
Z 3 Z 5
dx
3
= u−3 du
−1 (x + 2) 1
u=5
u−2
=
−2 u=1
1 1
= −
−50 −2
12
= .
25
Z √11
Example 12.14 Evaluate 2x(x2 − 3)1/3 dx.
2
Solution: Let u = x2 − 3.
Then du = 2xdx. For the limits of integration, when x = 2, we have
√ √
u = 1 and when x = 11 we have u = ( 11)2 − 3 = 8. Thus,
Z √11 Z 8
2 1/3
2x(x − 3) dx = u1/3 du
2 1
u=8
3u4/3
=
4
u=1
3
= 12 −
4
45
= .
4
Z π2 √
sin t
Example 12.15 Evaluate √ dt.
π2 t
4
√ dt dt
Solution: Let u = t. Then du = √ .
2 t
Thus, 2du = √
t
. For the limits of integration, we have
π2
t= 4 ⇒u= π
2 t = π 2 ⇒ u = π.
12.2 The Second Fundamental Theorem of Calculus 190
Thus,
Z π2 √
sin t
Z π
√ dt = 2 sin udu
π2 t π
4 2
= 2−0
= 2.
Z 1
Example 12.16 Evaluate |x|dx.
−2
x, x≥0
Solution: Recall that |x| =
−x, x < 0.
Then
Z 1 Z 0 Z 1
|x|dx = (−x)dx + xdx
−2 −2 0
x=0 x=1
x2 x 2
=− +
2 x=−22 x=0
1
= (0 + 2) + −0
2
5
= .
2
a
f (x)dx = lim
n→∞
∑ f (xi∗)∆x
i=1
If the graph of y = f (x) lies entirely above the x-axis on the interval [a, b], then the area of the
Z b
region bounded by y = f (x), the x-axis, x = a and x = b is given by AR = f (x)dx.
a
A general problem in finding the area of a plane region is to find the area bounded by
several curves.
If f and g are continuous functions on the interval [a, b] and f (x) ≥ g(x) for all x ∈ [a, b],
to find the area of the given plane region R bounded above by y = f (x) and below by y = g(x)
and the vertical lines x = a and x = b, we have the following steps to follow.
• Divide the interval [a, b] into n subintervals of equal length ∆x. Let xi∗ be an arbitrary
point in the ith subinterval.
• The height of the ith rectangle is hi = f (xi∗ ) − g(xi∗ )
• The area of the ith rectangle is Ai = [ f (xi∗ ) − g(xi∗ )]∆x
• Approximate area of R:
12.3 Area of a Plane Region 192
n
AR ≈ ∑ [ f (xi∗ ) − g(xi∗ )]∆x
i=1
• Let n → ∞ to get the area of the region.
n
AR = lim
n→∞
∑ [ f (xi∗) − g(xi∗)]∆x
i=1
• Since f (x) and g(x) are continuous,
Z b
AR = [ f (x) − g(x)]dx.
a
Definition 12.3.1 — Area of a Plane Region. If f and g are continuous functions on the
interval [a, b] and f (x) ≥ g(x) for all x ∈ [a, b], then the area of the region R bounded
above by y = f (x), below by y = g(x) and the vertical lines x = a and x = b is AR =
Z b
[ f (x) − g(x)]dx.
a
Example 12.17 Find the area of the region bounded by y = x3 , the x-axis and x = −2.
= 0 − (−4)
= 4 square units .
12.3 Area of a Plane Region 193
Example 12.18 Find the area of the region bounded by y = x2 + 2, y = −1, x = −1 and x = 2.
Example 12.19 Find the area of the region bounded by y = 2 − x2 and y = −x.
2 − x2 = −x ⇒ x2 − x − 2 = 0
⇒ (x + 1)(x − 2) = 0
Then x = −1 or x = 2. Thus,
Z 2
(2 − x2 ) − (−x) dx
AR =
−1
Z 2
−x2 + x + 2 dx
=
−1
3 x=2
x x2
= − + + 2x
3 2
x=−1
8 1 1
= − +2+4 − + −2
3 3 2
9
= square units
2
R
12.3 Area of a Plane Region 195
• In the formula for the area of a plane region, the upper curve y = f (x) is
always above the lower curve y = g(x) in [a, b].
• That is, the formula for the height h of a rectangle at an arbitrary x is the
same throughout the region.
What if the formula for h is not the same throughout the region? We will divide the region
into subregions such that the formula for h in each subregion is consistent.
Example 12.20 Find the area of the region below, with boundaries y = cos x, y = sin x, x = 0
and x = 2π.
Solution: We divide the region into three subregions R1 , R2 and R3 so that formula for the
height h in each subregion is consistent. To find the points of intersection of y = cos x and
12.3 Area of a Plane Region 196
y = sin x, we have
1 1
sin x = cos x ⇒ sin x · = cos x ·
cos x cos x
⇒ tan x = 1
π 5π
Thus, x = 4 or x = 4 . Hence,
Z π Z 5π Z 2π
4 4
AR = (cos x − sin x)dx + π
(sin x − cos x)dx + 5π
(cos x − sin x)dx
0 4 4
√
= 4 2 square units
Example 12.21 Find the area of the region shown below. The boundaries are y = x2 , y = 2x
and 7x + 4y = 15.
Solution: We divide the interval into two subregions R1 and R2 so that formula for the height
h in each subregion is consistent. To find the points of intersection of y = x2 and 7x + 4y = 15,
we have
7x + 4x2 = 15 ⇒ 4x2 + 7x − 15 = 0
⇒ (4x − 5)(x + 3) = 0.
5
Thus, x = 4 or x = −3. To find the points of intersection of y = 2x and 7x + 4y = 15, we have
7x + 4 · 2x = 15 ⇒ x = 1.
12.4 An Alternative Method:Using Horizontal Rectangles 197
x2 = 2x ⇒ x2 − 2x = 0
⇒ x(x − 2) = 0.
Thus, x = 0 or x = 2. Hence,
Z 1 Z 2
15 − 7x 2
2x − x2 dx
AR = − x dx +
−3 4 1
40
= square units .
3
An alternative method to find the area of a region is using horizontal rectangles. Given
x = u(y), the coordinates of a point in terms of y is (u(y), y).
Definition 12.4.1 — Area of a Plane Region (Horizontal Rectangles). If u and v are continu-
ous functions of y on the interval [c, d] and v(y) ≥ u(y) for all y ∈ [c, d], then the area of
the region R bounded on the left by x = u(y), on the right by x = v(y) and the horizontal
lines y = c and y = d is
Z d
AR = [v(y) − u(y)]dy.
c
12.4 An Alternative Method:Using Horizontal Rectangles 198
Example 12.22 Find the area of the region bounded by x = 3 − y2 and the line y = x − 1.
3 − y2 = y + 1 ⇒ y2 + y − 2 = 0
⇒ (y + 2)(y − 1) = 0
2
Example 12.23 Find the area of the region bounded by the parabolas x = 4−y2 and x = 2− y2 .
Thus, y = −2 or y = 2. Hence,
y2
Z 2
2
AR = (4 − y ) − 2 − dy
−2 2
y2
Z 2
= 2− dy
−2 2
y=2
y3
= 2y −
6 y=−2
16
= square units .
3
Example 12.24 Find the area of the region bounded by the parabolas x2 = 4y and y2 = −4x.
⇒ y4 − 64y = 0
⇒ y(y3 − 64) = 0
Thus, y = 0 or y3 = 64 ⇔ y = 4. Hence,
Z 4 2
y √
AR = − − (−2 y) dy
0 4
Z 4 2
y √
= − + 2 y dy
0 4
! y=4
y3 4y3/2
= − +
12 3
y=0
16
= square units
3
12.5 Exercise
Z πp
Exercise 12.1 If F(x) = t 2 + 1dt, find F 0 (x).
x2
Z π
2
Exercise 12.2 Evaluate π
sin2 2x cos 2xdx.
4
Z 4p
Exercise 12.3 What is the value of 16 − x2 dx?
−4
Exercise 12.4 Set up the definite integral to find the area of the region bounded by f (x) =
x2 − 2x + 1 and g(x) = 7 − x.
XIII
Week Thirteen
1
13.1 Integrals of f (x) = and of the other Circular Functions
x
Recall that
un+1
Z
un du = +C whenever n 6= −1
n+1
Theorem 13.1.1
1
Z
du = ln |u| +C
u
1
The theorem is true since Du (ln |u|) = , u 6= 0.
u
6
Z
Example 13.1 Evaluate dx
3x + 2
1
13.1 Integrals of f (x) = and of the other Circular Functions 203
x
Solution: Let u = 3x + 2. Then du = 3 dx. Thus,
6 2
Z Z
dx = du
3x + 2 u
= 2 ln |u| +C
= 2 ln |3x + 2| +C.
Z 4
x
Example 13.2 Evaluate 2
dx.
3 4−x
Solution: Let u = 4 − x2 . Then du = −2x dx. If x = 3, then u = −5. If x = 4, then u = −12.
Thus,
1 −12 1
Z 4
x
Z
dx = − du
3 4 − x2 2 −5 u
u=−12
1
= − ln |u|
2 u=−5
1 1
= − ln | − 12| − − ln | − 5|
2 2
r
5
= ln .
12
1
Z
Example 13.3 Evaluate dx.
x log2 x
1
Solution: Let u = log2 x. Then du = dx. Thus,
x ln 2
1 1
Z Z
dx = ln 2 du
x log2 x u
= (ln 2) ln |u| +C
= (ln 2) ln | log2 x| +C.
2x3 + 9x2 − 3x + 2
Z
Example 13.4 Evaluate dx.
2x − 1
1
13.1 Integrals of f (x) = and of the other Circular Functions 204
x
Solution:
2x3 + 9x2 − 3x + 2
Z
3
Z
2
dx = x + 5x + 1 + dx using long division
2x − 1 2x − 1
3
Z Z
x2 + 5x + 1 dx +
= dx Let u = 2x − 1, du = 2dx
2x − 1
3 1
Z Z
2
= x + 5x + 1 dx + du
2 u
x3 5x2 3
= + + x + ln |u| +C
3 2 2
x3 5x2 3
= + + x + ln |2x − 1| +C
3 2 2
x−1
Z
Example 13.5 Evaluate dx.
x2 + 2x + 1
Solution: Let u = x + 1. Then du = dx. Also, x − 1 = u − 2. Thus,
x−1 x−1
Z Z
2
dx = dx
x + 2x + 1 (x + 1)2
u−2
Z
= du
u2
Z
1 2
= − du
u u2
1 1
Z Z
= du − 2 du
u u2
2
= ln |u| + +C
u
2
= ln |x + 1| + +C.
x+1
Z
Theorem 13.1.2 1. tan u du = − ln | cos u| +C = ln | sec u| +C
Z
2. sec u du = ln | sec u + tan u|
Z
3. cot u du = ln | sin u| +C
Z
4. csc u du = ln | csc u − cot u| +C
Z
Example 13.6 Evaluate x3 csc(x4 )dx.
13.2 Integrals of Exponential Functions 205
x
Z+4 2π
3
sin
Example 13.7 Evaluate2 dx
π x
2 cos
2
x 1 π π 2π π
Solution: Let u = . Then du = dx. If x = , then u = . If x = , then u = . Thus,
2 2 2 4 3 3
x
Z 2π sin +4 Z π
3
2 dx = 2 3 sin u + 4 du
π x π cos u
2 cos 4
2
Z π
3
=2 π
(tan u + 4 sec u) du
4
u= π3
= 2(ln | sec u| + 4 ln | sec u + tan u|)
u= π4
√ √ √
= 2(ln |2| + 4 ln |2 + 3| − ln | 2| − 4 ln | 2 + 1|)
√ !
2(2 + 3)8
= ln √
( 2 + 1)8
Solution:
7x
Z
7x dx = +C
ln 7
13.2 Integrals of Exponential Functions 206
Z
Example 13.9 Evaluate e1−4x dx.
Z
Example 13.10 Evaluate 22x · 5x dx.
Solution:
Z Z
2x x
2 · 5 dx = 4x · 5x dx
Z
= 20x dx
20x
= +C
ln 20
Z
3
Example 13.11 Evaluate x2 · 25−x dx.
Z e
1
Example 13.12 Evaluate dx.
1 x · 2ln x
13.3 Inverse Circular Functions 207
1
Solution: Let u = ln x. Then du = dx. If x = 1, then u = 0. If x = e, then u = 1. Thus,
x
Z e Z 1
1 1
dx = du
1 x · 2ln x 2u
0
1 u
Z 1
= du
0 2
1 u=1
2
= 1
ln 2 u=0
1
2 1
= 1
− 1
ln 2 ln 2
1
=−
2 ln 12
1
=
2 ln 2
ex
Z
Example 13.13 Evaluate dx.
ex + e−x
Solution: Let u = e2x + 1. Then du = 2e2x dx. Thus,
ex ex e2x
Z Z
· dx = dx
ex + e−x ex e2x + 1
1 1
Z
= du
2 u
1
= ln |u| +C
2
1
= ln |e2x + 1| +C
2
Note that the circular functions are not one-to-one. In order to define the inverse of each
circular function, we restrict its domain to a set over which
1. it is one-to-one
2. and its range remains the same.
13.4 Derivatives of Inverse Circular Functions 208
Definition 13.3.1 1. The inverse sine function, denoted sin−1 , is defined as follows:
h π πi
−1
y = sin x if and only if x = sin y, y ∈ − , .
2 2
2. The inverse cosine function, denoted cos−1 , is defined as follows:
1
6. Dx csc−1 x = − √
x x2 − 1
dy
Example 13.15 Find dx .
1. y = sin−1 (3x)
dy 1 3
=p ·3 = √
dx 1 − (3x)2 1 − 9x2
2. y = cot−1 (ln x)
dy 1 1
= − 2
·
dx 1 + (ln x) x
y
1
3. = log2 (x − y) − [csc−1 (3x2 )]2
5
y
1 1 dy 1 dy −1 2 1
ln = · 1− − 2 csc (3x ) · − √ · 6x
5 5 dx (x − y) ln 2 dx 3x 2 9x4 − 1
1 −1 2 6x
− 2 csc (3x ) · − √
dy (x − y) ln 2 3x2 9x4 − 1
= y
dx 1 1 1
ln +
5 5 (x − y) ln 2
The formulas below follow directly from the differentiation formulas we have derived previ-
ously.
du
Z
Theorem 13.5.1 1. √ = sin−1 u +C
1 − u2
du
Z
2. 2
= tan−1 u +C
1 + u
du
Z
3. √ = sec−1 u +C
2
u u −1
If the constant involved is no longer equal to 1, we can use the following generalization.
Theorem 13.5.2 Let a > 0. Then
du u
Z
1. √ = sin−1 +C
a 2 − u2 a
du 1 −1 u
Z
2. = tan +C
a2 + u2 a a
13.5 Integrals Yielding the Inverse Circular Functions 210
du 1 u
Z
3. √ = sec−1 +C
u u2 − a2 a a
1 −1 x
Z
Example 13.16 √ dx = sin +C
4 − x2 2
dx
Z
Example 13.17 Evaluate
2
9x + 25
Solution: Let u = 3x. Then du = 3dx. Thus,
dx 1 du
Z Z
2
= 2
9x + 25 3 u + 25
1 1 u
= · tan−1 +C
3 5 5
1 −1 3x
= tan +C
15 5
dx
Z
Example 13.18 Evaluate p
x ln x (ln x)2 − 8
1
Solution: Let u = ln x. Then du = dx. Thus,
x
dx du
Z Z
p = √
x ln x (ln x)2 − 8 u u2 − 8
1 −1 u
= √ sec √ +C
2 2 2 2
1 −1 ln x
= √ sec √ +C
2 2 2 2
dx
Z
Example 13.19 Evaluate √
4x − 4
13.5 Integrals Yielding the Inverse Circular Functions 211
For our next example, we will recall the notion of completing squares. Let a > 0. Express
ax2 + bx + c as a sum (or difference) of a square and a constant.
Technique:
• Divide b by 2
• Square
• Divide by a
b2
• Add and subtract the number obtained to the polynomial above.
4a
Hence,
2
b2 b2 √ 4ac − b2
2 2 b
ax + bx + c = ax + bx + − + c = ax + √ +
4a 4a 2 a 4a
. For example,
• 9x2 − 12x + 1 = 9x2 − 12x + 4 − 4 + 1 = (3x − 2)2 − 3
• 9 + 8x − x2 = 9 − (x2 − 8x + 16 − 16) = 9 − (X 2 − 8x + 16) = 25 − (x − 4)2
dx
Z
Example 13.20 Evaluate √
7 + 6x − x2
13.6 Exercises 212
Solution:
dx dx
Z Z
√ = p Complete squares!
7 + 6x − x2 7 − (x2 − 6x)
dx
Z
= p
7 − (x2 − 6x + 9 − 9)
dx
Z
= p Let u = x − 3, du = dx
16 − (x − 3)2
du
Z
= √
16 − u2
u
= sin−1 +C
4
−1 x − 3
= sin +C
4
8x + 1
Z
Example 13.21 Evaluate dx
4x2 + 12x + 10
Solution: Let u = 4x2 + 12x + 10. Then du = (8x + 12) dx. Thus,
8x + 1 8x + 12 11
Z Z Z
dx = dx − dx
4x2 + 12x + 10 4x2 + 12x + 10 4x2 + 12x + 10
Let u = 4x2 + 12x + 10, du = (8x + 12) dx
du dx
Z Z
= − 11 dx
u 4x2 + 12x + 9 − 9 + 10
dx
Z
= ln |u| − 11 dx Let v = 2x + 3, dv = 2 dx
(2x + 3)2 + 1
11 1
Z
= ln |u| − 2
dv
2 v +1
11
= ln |u| − tan−1 v +C
2
11
= ln |4x + 12x + 10| − tan−1 (2x + 3) +C
2
2
13.6 Exercises
Exercise 13.1 Evaluate the following integrals:
2−x
Z
1. 2 − 4x
dx
x
log(x3 )
Z
2. dx
x
13.6 Exercises 213
sin(2x) cos(2x)
Z
3. dx
Z 1 + cos(4x)
4. (5cot x − sin x) csc2 x dx
In this section, we develop a very useful technique, called integration by parts, that will
enable us to find integrals such as
Z Z Z
2 x
x ln x dx x e dx ex cos x dx
or
Z Z
uv − v du = u dv
Z
Example 14.1.1 Find xex dx
Solution: So we need to form the integral as in the above theorem. There are only two things
to pick at first, those are, u and dv. Usually, we select u to be the function with a much simpler
derivative and the reamining parts of the integral will be our dv. In our case,
du = dx and v = ex
We will just remove the constant on integration C for v since it will just cancel out in the
integration process later.
Thus we can form now our integral as,
Z Z
u dv = uv − v du
Z Z
xex dx = xex − ex dx
= xex − ex +C
Have you ever wondered on what is the integral for the function f (x) = ln x? Integration
by parts will give us the answer.
Z
Example 14.1.2 Find ln x dx
Let u = ln x and dv = dx
du = 1x dx and v=x
Z Z
u dv = uv − v du
1
Z Z
ln x dx = x ln x − x · dx
Z x
= x ln x − dx
= x ln x − x +C
There are times when the integration by parts are to be performed twice as in the following
example.
Z
Example 14.1.3 Find x2 sin x dx
du = 2x dx and v = − cos x
Z Z
u dv = uv − v du
Z Z
x2 sin x dx = −x2 cos x − (−2x cos x) dx
Z
= −x2 cos x + 2x cos x dx
Note that the integral on the right-hand-side calls for another integration by parts. So let ud
focus on this integral
14.2 Integration of Rational Functions by Partial Fractions 218
du = 2 dx and v = sin x
So,
Z Z
u dv = uv − v du
Z Z
2x cos x dx = 2x sin x − 2 sin x dx
= 2x sin x + 2 cos x +C
Therefore,
Z
x2 sin x dx = −x2 cos x + 2x sin x + 2 cos x +C
In this section we show how to integrate any rational function (a ratio of polynomials) by
expressing it as a sum of simpler fractions, called partial fractions, that we already know
how to integrate. To illustrate the method, observe that by taking the fractions 2/(x − 1) and
1/(x + 2) to a common denominator we obtain
2 1 2(x + 2) − (x − 1) x+5
− = = 2
x−1 x+2 (x − 1)(x + 2) x +x−2
If we now reverse the procedure, we see how to integrate the function on the right side of
this equation:
Z
x+5 2 1
Z
2
dx = − dx
x +x−2 x−1 x+2
= 2 ln |x − 1| − ln |x + 2| +C
To see how the method of partial fractions works in general, let’s consider a rational
function
P(x)
f (x) =
Q(x)
14.2 Integration of Rational Functions by Partial Fractions 219
where P and Q are polynomials. It’s possible to express f as a sum of simpler fractions
provided that the degree of P is less than the degree of Q. Such a rational function is called
proper. Recall that if
x3 + x
Z
2
Z
2
dx = x +x+2+ dx
x−1 x−1
x3 x2
= + + 2x + 2 ln |x − 1| +C.
3 2
In the case of a rational equations whose denominator is more complicated, the next step is
to factor the denominator Q(x) as far as possible. Then express the proper rational function
R(x)/Q(x) as a sum of partial fractions of the form
A Ax + B
or
(ax + b)i (ax2 + bx + c) j
A theorem in algebra guarantees that it is always possible to do this. We explain the details
for the four cases that occur.
where no factor is repeated (and no factor is a constant multiple of another). In this case the
partial fraction theorem states that there exist constants A1 , A2 , . . . , Ak such that
R(x) A1 A2 Ak
= + +···+
Q(x) a1 x + b1 a2 x + b2 ak x + bk
x2 + 2x − 1
Z
Example 14.2 Evaluate dx.
2x3 + 3x2 − 2x
Solution: Since the degree of the numerator is less than the degree of the denominator, we
don’t need to divide. We factor the denominator as
Since the denominator has three distinct linear factors, the partial fraction decomposition of
the integrand has the form
x2 + 2x − 1 A B C
= + +
x(2x − 1)(x + 2) x 2x − 1 x + 2
To determine the values of A, B, and C, we multiply both sides of this equation by the product
of the denominators, x(2x − 1)(x + 2), obtaining
Expanding the right side and writing it in the standard form for polynomials, we get
The polynomials in the previous equation are identical, so their coefficients must be equal.
The coefficient of x2 on the right side, 2A + B + 2C, must equal the coefficient of x2 on the left
side-namely, 1. Likewise, the coefficients of x are equal and the constant terms are equal. This
gives the following system of equations for A, B, and C:
2A + B + 2C = 1
3A + 2B −C = 2
−2A = −1
14.2 Integration of Rational Functions by Partial Fractions 221
x2 + 2x − 1
Z
A B C
Z
dx = + + dx
2x3 + 3x2 − 2x x 2x − 1 x + 2
11 1 1 1 1
Z
= + − dx
2 x 5 2x − 1 10 x + 2
1 1 1
= ln |x| + ln |2x − 1| − ln |x + 2| + K
2 10 10
In integrating the middle term we have made the mental substitution u = 2x − 1, which gives
1
du = 2dx and dx = du.
2
If we put x = 0 in the equation, then the second and third terms on the right side
1
vanish and the equation then becomes −2A = −1, or A = 12 . Likewise, x =
2
1 1 1
gives 5B/4 = and x = −2 gives 10C = −1, so B = and C = − .
4 5 10
dx
Z
Example 14.3 Find , where a 6= 0.
x 2 − a2
Solution: The method of partial fractions gives
1 1 A B
= = +
x2 − a2 (x − a)(x + a) x − a x + a
and therefore
A(x + a) + B(x − a) = 1
Using the method of the preceding note, we put x = a in this equation and get A(2a) = 1, so
A = 1/(2a). If we put x = −a, we get B(−2a) = 1, so B = −1/(2a). Thus,
Z
dx 1 1 1
Z
= − dx
x2 − a2 2a x−a x+a
1
= (ln |x − a| − ln |x + a|) +C
2a
Since ln x − ln y = ln(x/y), we can write the integral as
14.2 Integration of Rational Functions by Partial Fractions 222
dx 1 x−a
Z
= ln +C
x 2 − a2 2a x+a
14.2.2 Case II: Q(x) is a product of linear factors, some of which are repeated.
Suppose the first linear factor (a1 x + b1 ) is repeated r times; that is, (a1 x + b1 )r occurs in the
factorization of Q(x). Then instead of the single term Ai /(a1 x + b1 ), we would use
A1 A2 Ar
+ + · · · +
a1 x + b1 (a1 x + b1 )2 (a1 x + b1 )r
By way of illustration, we could write
x3 − x + 1 A B C D E
2 3
= + 2+ + 2
+
x (x − 1) x x x − 1 (x − 1) (x − 1)3
x4 − 2x2 + 4x + 1
Z
Example 14.4 Find dx.
x3 − x2 − x + 1
Solution: The first step is to divide. The result of long division is
x4 − 2x2 + 4x + 1 4x
3 2
= x+1+ 3 2
x −x −x+1 x −x −x+1
The second step is to factor the denominator Q(x) = x3 − x2 − x + 1. Since Q(1) = 0, we
know that x − 1 is a factor and we obtain
Since the linear factor x − 1 occurs twice, the partial fraction decomposition is
4x A B C
2
= + 2
+
(x − 1) (x + 1) x − 1 (x − 1) x+1
Multiplying by the least common denominator, (x − 1)2 (x + 1), we get
A +C = 0
B − 2C = 4
−A + B +C = 0
14.2 Integration of Rational Functions by Partial Fractions 223
14.2.3 Case III: Q(x) contains irreducible quadratic factors, none of which is repeated
If Q(x) has the factor ax2 + bx + c, where b2 − 4ac < 0, then, the expression for R(x)/Q(x)
will have a term of the form
Ax + B
ax2 + bx + c
where A and B are constants to be determined. For instance, the function given by f (x) =
x/[(x − 2)(x2 + 1)(x2 + 4)] has a partial fraction decomposition of the form
x A Bx +C Dx + E
= + 2 + 2
(x − 2)(x2 + 1)(x2 + 4) x−2 x +1 x +4
2x2 − x + 4
Z
Example 14.5 Evaluate dx.
x3 + 4x
Solution: Since x3 + 4x = x(x2 + 4) can’t be factored further, we write
2x2 − x + 4 A Bx +C
= + 2
x(x2 + 4) x x +4
Multiplying by x(x2 + 4), we have
Example 14.6 Write out the form of the partial fraction decomposition of the function
x3 + x2 + 1
.
x(x − 1)(x2 + x + 1)(x2 + 1)3
Solution:
x3 + x2 + 1 A B Cx + D Ex + F Gx + H Ix + J
2 2 3
= + + 2 + 2 + 2 2
+ 2
x(x − 1)(x + x + 1)(x + 1) x x − 1 x + x + 1 x + 1 (x + 1) (x + 1)3
1 − x + 2x2 − x3
Z
Example 14.7 Evaluate dx.
x(x2 + 1)2
Solution: The form of the partial fraction decomposition is
1 − x + 2x2 − x3 A Bx +C Dx + E
2 2
= + 2 + 2
x(x + 1) x x + 1 (x + 1)2
Multiplying by x(x2 + 1)2 , we have
1 − x + 2x2 − x3
Z
1 x+1 x
Z
dx = + + dx
x(x2 + 1)2 x x2 + 1 (x2 + 1)2
dx x dx xdx
Z Z Z Z
= − 2
dx − 2
+ dx
x x +1 x +1 (x + 1)2
2
1 1
= ln |x| − ln(x2 + 1) − tan−1 x − 2
+ K.
2 2(x + 1)
14.3 Exercises
Exercise 14.1 Find the following integrals.
Z
1. x2 ex dx
Z
2. e−x cos x dx
Rb
In defining a definite integral a f (x)dx we dealt with a function f defined on a finite interval
[a, b] and we assumed that f does not have an infinite discontinuity. In this section we extend
the concept of a definite integral to the case where the interval is infinite and also to the case
where f has an infinite discontinuity in [a, b]. In either case the integral is called an improper
integral.
At the end of this topic you will:
• Learn to integrate improper integrals.
Consider the infinite region S that lies under the curve y = 1/x2 , above the x-axis, and to the
right of the line x = 1. You might think that, since S is infinite in extent, its area must be
infinite, but let’s take a closer look. The area of the part of S that lies to the left of the line
x = t (shaded in Figure 15.1) is
Z t t
1 1 1
A(t) = 2
dx = − = 1−
1 x x 1 t
Notice that A(t) < 1 no matter how large t is chosen. We also observe that
15.1 Definition and Examples 228
1
lim A(t) = lim 1 − =1
t→∞ t→∞ t
The area of the shaded region approaches 1 as t → ∞, so we say that the area of the infinite
region S is equal to 1 and we write
Z t
1 1
Z ∞
dx = lim dx = 1
1 x2 t→∞ 1 x2
Using this example as a guide, we define the integral of f (not necessarily a positive
function) over an infinite interval as the limit of integrals over finite intervals.
Definition 15.1.1
Z t
(1) If f (x)dx exists for every number t ≥ a, then
a
Z ∞ Z t
f (x)dx = lim f (x)dx
a t→∞ a
= lim (lnt − ln 1)
t→∞
= lim lnt
t→∞
=∞
1
Z ∞
The limit does not exist as a finite number and so the improper integral dx is divergent.
1 x
Z −2
1
Example 15.2 Evaluate dx.
−∞ x2
Solution:
Z −2 Z −2
1 1
dx = lim dx
−∞ x2 t→−∞ t x2
−2
−1
= lim
t→−∞ x t
1 1 1
= lim + =
t→−∞ 2 t 2
Since the limit exists, this integral converges.
It may seem puzzling that the areas under the curve f (x) = 1/x2 are finite, while f x) = 1/x
has an infinite amount of area. At first glance the graphs of these functions appear similar. The
difference is that although all two functions get small as x becomes infinitely large, f (x) = 1/x
does not become small enough fast enough.
Z ∞
Example 15.3 Evaluate 4e−3x dx.
−∞
Solution: In the definition of an improper integral with limits of −∞ and ∞, the value of a is
arbitrary, so we’ll choose the simple value a = 0. Then
Z ∞ Z 0 Z ∞
4e−3x dx = 4e−3x dx + 4e−3x dx.
−∞ −∞ 0
15.1 Definition and Examples 230
1 1
Z ∞ Z ∞
Figure 15.2: (Left) 2
dx converges; (right) dx diverges
1 x 1 x
By definition,
Z ∞ Z t
−3x
4e dx = lim 4e−3x dx
0 t→∞ 0
−4 −3x t
= lim e
t→∞ 3
0
−4 4
= lim +
t→∞ 3e3t 3
4 4
= 0+ =
3 3
and
Z 0 Z 0
4e−3x dx = lim 4e−3x dx
−∞ t→−∞ t
−4 −3x 0
= lim e
t→−∞ 3 t
4 4
= lim − + 3t
t→−∞ 3 3e
=∞
Since one of the two improper integrals diverges, the original improper integral diverges.
Z 0
Example 15.4 Evaluate xex dx.
−∞
Solution: From the second part of the definition,
Z 0 Z 0
x
xe dx = lim xex dx.
−∞ t→−∞ t
15.1 Definition and Examples 231
= −te − 1 + et
t
= lim (−et ) = 0
t→−∞
Therefore,
Z 0
xex dx = lim (−tet − 1 + et )
−∞ t→−∞
= −0 − 1 + 0 = −1.
1
Z ∞
Example 15.5 Evaluate 2
dx.
−∞ 1 + x
Solution: It’s convenient to choose a = 0:
Z 0
1 1 1
Z ∞ Z ∞
2
dx = 2
dx + dx.
−∞ 1 + x −∞ 1 + x 0 1 + x2
By definition,
Z t
1 1
Z ∞
dx = lim dx
0 1 + x2 t→∞ 0 1 + x2
t
= lim tan−1 x
t→∞ 0
= lim tan−1 t
t→∞
π
=
2
15.2 Applications 232
and
Z 0 Z 0
1 1
2
dx = lim dx
−∞ 1 + x t→∞ t 1 + x2
0
= lim tan−1 x
t→∞ t
15.2 Applications
Example 15.6 — Pollution. The rate at which a pollutant is being dumped into a stream at
time t is given by P0 e−kt , where P0 is the rate that the pollutant is initially released into the
stream. Suppose P0 = 1000 and k = 0.06. Find the total amount of the pollutant that will be
released into the stream into the indefinite future.
Now,
Z ∞ Z b
1000e−0.06t dt = lim 1000e−0.06t dt
0 b→∞ 0
1000 −0.06t b
= lim e
b→∞ −0.06 0
1000 1000
= lim −
b→∞ −0.06e0.06b −0.06e0
−1000
=
−0.06
≈ 16, 667
A total of approximately 16,667 units of the pollutant will be released over time.
15.3 Exercises 233
The capital value of an asset is often defined as the present value of all future net earnings
of the asset. In other words, suppose an asset provides a continuous money flow that is invested
in an account earning a certain rate of interest. A lump sum is invested in a second account
earning the same rate of interest, but with no money flow, so that as t∞, the amounts in the
two accounts approach each other. The lump sum necessary to make this happen is the capital
value of the asset. If R1t2 gives the annual rate at which earnings are produced by an asset at
time t, then the present value formula gives the capital value as
Z ∞
R(t)e−rt dt
0
where r is the annual rate of interest, compounded continuously.
Example 15.7 — Capital Value. Suppose income from a rental property is generated at the
annual rate of Php 400,000 per year. Find the capital value of this property at an interest rate
of 10% compounded continuously.
This is a continuous income stream with a rate of flow of Php 400,000 per year, so
R(t) = 400, 000. Also, r = 0.10 or 0.1. The capital value is given by
Z ∞
400, 000e−0.1t dt = lim 400, 000e−0.1t dt
0 b→∞
b
400, 000 −0.1t
= lim e
b→∞ −0.1 0
−0.1b
= lim (−4, 000, 000e + 4, 000, 000) = 4, 000, 000
b→∞
or Php 4,000,000.
15.3 Exercises
Exercise 15.1 Determine whether each improper integral converges or diverges, and find
the value of each that converges.
1
Z ∞
1. 3
dx
Z3∞ (x + 1)
2
2. √
3
dx
27 x
Z −1
3. (x − 2)−3 dx
Z−∞
0
4. 5e60x dx
−∞
15.3 Exercises 234
Z −1
2x − 1
5. dx
−∞ x2 − x
Bibliography
[1] James Stewart, Calculus: Early Transcendentals, Eighth Edition, Cengage Learning,
USA, 2014.
[2] Margaret L. Lial, Raymond N. Greenwell, and Nathan P. Ritchey, Calculus with Applica-
tions, 11th edition, Pearson Education Limited , 2017.
[3] Raymond A. Barnett, Micahel R. Ziegler, and Karle E. Byleen, Calculus for business,
economics, life sciences, and social sciences, 13th edition, Pearson Education Inc., 2015.
[4] Laurence Hoffman, Gerald Bradley, Dave Sobecki, and Michael Price, Calculus for
business, economics, social and life sciences, 11th edition, The MC Graw Hill Inc., 2013.