Calculus I Chapter 3 (Printed Version)
Calculus I Chapter 3 (Printed Version)
Calculus I Chapter 3 (Printed Version)
CALCULUS I - AY2023-24 1 / 94
Summary
CALCULUS I - AY2023-24 2 / 94
Outline
3 Derivative Tests
6 L’Hospital’s Rule
7 Newton’s Method
8 Antiderivatives
CALCULUS I - AY2023-24 3 / 94
Let us consider the figure below.
We see that the highest point on the graph of the function f (x) is the
point (3, 5), while the lowest point is the point (6, 2). We say that
f (3) = 5 is the absolute maximum of f (x) and f (6) = 2 is the absolute
GTNN
minimum. GTLN
CALCULUS I - AY2023-24 4 / 94
In general, we use the following definition.
CALCULUS I - AY2023-24 5 / 94
The figure below shows the graph of a function f (x) with absolute max
at x = d and absolute min at x = a.
CALCULUS I - AY2023-24 6 / 94
In general, we have the following definition.
Definition.
cc tr The number f (c) is a
local maximum value of f (x) if f (c) ≥ f (x) when x is near c
local minimum value of f (x) if f (c) ≤ f (x) when x is near c.
CALCULUS I - AY2023-24 7 / 94
The following result gives conditions under which a function is
guaranteed to possess extreme values.
CALCULUS I - AY2023-24 8 / 94
Note. Conditions continuity and closed interval in the Extreme Value
Theorem are essential; that is if either of these conditions is violated,
then a function may not have extreme values.
CALCULUS I - AY2023-24 9 / 94
The Extreme Value Theorem does not tell us how to find these extreme
values. However, we can start by looking for local extreme values.
f 0 (c) = 0.
CALCULUS I - AY2023-24 10 / 94
The converse of Fermat’s Theorem, in general, is not true.
Example
Consider f (x) = x 3 at x = 0.
CALCULUS I - AY2023-24 11 / 94
We look at another example.
Example
The function f (x) = |x|
It has (local and absolute) minimum value at x = 0, but f 0 (0) does not
even exist.
Thus the only points (of the domain) of a function can assume extreme
values are critical points and end-points.
CALCULUS I - AY2023-24 13 / 94
Now we are ready to find the absolute maximums or minimums of a
continuous function on a closed interval.
CALCULUS I - AY2023-24 14 / 94
Example
Find the absolute maximum and minimum values of the function
1
f (x) = x 3 − 3x 2 + 1, − ≤ x ≤ 4.
2
f 0 (x) = 3x 2 − 6x = 3x(x − 2) =⇒ x = 0, x = 2.
3 Derivative Tests
6 L’Hospital’s Rule
7 Newton’s Method
8 Antiderivatives
CALCULUS I - AY2023-24 16 / 94
• Rolle’s Theorem
CALCULUS I - AY2023-24 17 / 94
Rolle’s Theorem says that the graph of a differentiable function has at
least one horizontal tangent between any two points where it crosses a
horizontal line.
It may have just one in figure a), or it may have more in figure (b).
CALCULUS I - AY2023-24 18 / 94
Example
Prove that the equation
x3 + x − 1 = 0
- Next, we use Rolle’s Theorem to show that the equation has no other
roots, by contradiction.
CALCULUS I - AY2023-24 19 / 94
Assume that there are two roots a and b, i.e. f (a) = f (b) = 0, with
a < b. Since f is a polynomial, it is differentiable on (a, b) and
continuous on [a, b]. Hence, by Rolle’s Theorem, there is a number
c ∈ (a, b) such that f 0 (c) = 0.
But f 0 (x) = 3x 2 + 1 ≥ 1 for all x, which shows that f 0 (x) can never be
0. This gives a contradiction.
Therefore, the equation can’t have more than one real root.
Combining the two facts yields that the given equation has exactly one
real root.
CALCULUS I - AY2023-24 20 / 94
• Mean Value Theorem
f (b) − f (a)
f 0 (c) = ,
b−a
or equivalently,
f (b) − f (a) = f 0 (c)(b − a).
CALCULUS I - AY2023-24 21 / 94
We can interpret its geometrical meaning.
f (b) − f (a)
The slope of the secant line AB is mAB = .
b−a
The Mean Value Theorem indicates there exists (at least one) point
P(c, f (c)) on the graph, such that the tangent to the curve at P is
parallel to the secant AB.
CALCULUS I - AY2023-24 22 / 94
Exercise (A physical interpretation)
A car accelerating from 0 takes 8 sec to go 176 m, and hence its
176
average velocity for the 8-s interval is = 22 m/s. Using the Mean
8
Value Theorem to show that at some interior point during the
acceleration, the speedometer must read exactly 79.2 km/h (22 m/s).
CALCULUS I - AY2023-24 23 / 94
As consequences of the Mean Value Theorem, we have the following
results.
Theorem
If f 0 (x) = 0 for all x ∈ (a, b), then f is constant on (a, b).
Theorem
If f 0 (x) = g 0 (x) for all x ∈ (a, b), then f − g is constant on (a, b); that is,
f (x) = g(x) + C, where C is constant.
CALCULUS I - AY2023-24 24 / 94
Note. Care must be taken in applying the theorem above. For example,
x 1 x >0
f (x) = =
|x| −1 x < 0.
Notice that f is constant on the interval (0, ∞) and also on the interval
(−∞, 0).
CALCULUS I - AY2023-24 25 / 94
Outline
3 Derivative Tests
6 L’Hospital’s Rule
7 Newton’s Method
8 Antiderivatives
CALCULUS I - AY2023-24 26 / 94
• What does f 0 say about f ?
CALCULUS I - AY2023-24 27 / 94
We can use the Mean Value Theorem to prove the following result.
CALCULUS I - AY2023-24 28 / 94
- Local maximum and local minimum:
- No maximum or minimum:
CALCULUS I - AY2023-24 29 / 94
Example
Find the local maximum and minimum values of the function
1 2π 4π
g 0 (x) = 0 ⇐⇒ cos x = − ⇐⇒ x= ,x = .
2 3 3
Since g is differentiable everywhere, these are only critical points.
We split the domain into intervals by the critical points. Within each
interval, g 0 (x) is either always positive or always negative and so we
analyze g in the following table.
CALCULUS I - AY2023-24 30 / 94
According to the table, by the First Derivative Test, we obtain
2π
g(x) has a local maximum at and the local maximum value is
3
2π 2π
g(2π/3) = + 2 sin ≈ 3.83,
3 3
4π
g(x) has a local minimum at , and the local minimum value is
3
4π 4π
g(4π/3) = + 2 sin ≈ 2.46.
3 3
CALCULUS I - AY2023-24 31 / 94
The graph of g(x) below supports our conclusion.
CALCULUS I - AY2023-24 32 / 94
In the Figure below, graphs of two increasing functions on (a, b). Both
graphs join point A to point B but they look different because they bend
in different directions.
CALCULUS I - AY2023-24 33 / 94
• What does f 00 say about f ?
Definition.
If the graph of f lies above all of its tangents on an interval I,
then it is called concave up (or upward) in I
If the graph of f lies below all of its tangents on an interval I,
then it is called concave down (or downward) in I.
CALCULUS I - AY2023-24 34 / 94
Look at this figure.
CALCULUS I - AY2023-24 35 / 94
So we have the following result.
Concavity Test
If f 00 (x) > 0 for all x in I, then graph of f is concave up on I.
If f 00 (x) < 0 for all x in I, then graph of f is concave down on I
CALCULUS I - AY2023-24 36 / 94
• Second Derivative Test
CALCULUS I - AY2023-24 37 / 94
Note.
The Second Derivative Test is inconclusive when f 00 (c) = 0.
Note. In fact, even when both tests apply, the First Derivative Test is
often the easier one to use.
CALCULUS I - AY2023-24 38 / 94
Outline
3 Derivative Tests
6 L’Hospital’s Rule
7 Newton’s Method
8 Antiderivatives
CALCULUS I - AY2023-24 39 / 94
• Asymptotes
If the distance between the graph of a function and some fixed line
approaches zero as a point on the graph moves increasingly far from
the origin, we say that
the graph approaches the line asymptotically, and
the line is an asymptote of the graph.
CALCULUS I - AY2023-24 40 / 94
Vertical asymptotes
CALCULUS I - AY2023-24 41 / 94
For instance, the line x = 0 is a vertical asymptote of the function
1 , x 6= 0
y = f (x) = x 2
1, x = 0.
CALCULUS I - AY2023-24 42 / 94
Horizontal asymptotes
CALCULUS I - AY2023-24 43 / 94
Example
x3 − 2
Find the horizontal asymptotes of the graph of f (x) =
|x|3 + 1
2
x3 − 2 1− x3
Solution. - For x ≥ 0: lim f (x) = lim 3 = lim 1
= 1.
x→∞ x→∞ x + 1 x→∞ 1 +
x3
x3 − 2 1 − x23
- For x < 0: lim f (x) = lim = lim = −1.
x→−∞ x→∞ −x 3 + 1 x→∞ −1 + 1
3 x
So the horizontal asymptotes are y = ±1. Notice that the graph
crosses the horizontal asymptote y = −1 for a positive value of x.
CALCULUS I - AY2023-24 44 / 94
Oblique asymptotes
P(x)
f (x) = , where P and Q are polynomials,
Q(x)
CALCULUS I - AY2023-24 45 / 94
Example
x2 − 3
Find the oblique asymptote of the graph of f (x) = .
2x − 4
x2 − 3 x 1
f (x) = = +1 + .
2x − 4 2 2x − 4
1
Since the remainder → 0 as x → ±∞, the linear function (a
2x − 4
x
line) y = + 1 is an oblique asymptote of the graph of f , both to the
2
right and to the left.
CALCULUS I - AY2023-24 46 / 94
The graph of the function f looks as follows.
CALCULUS I - AY2023-24 47 / 94
• Guidelines for a Curve Sketching
A. Domain
It is often useful to start by determining the domain D of f (x), on which
f (x) is defined.
B. Intercepts
- The y -intercept is f (0).
- To find the x-intercepts, we set y = 0 and solve for x. (Omit this step,
if the function is difficult to solve.)
CALCULUS I - AY2023-24 48 / 94
C. Symmetry
- Even function if f (−x) = f (x), for all x ∈ D.
- Odd function if f (−x) = −f (x), for all x ∈ D.
- Periodic function if f (x + p) = f (x), for all x ∈ D.
D. Asymptotes
- Horizontal Asymptotes. If either lim f (x) = L or lim f (x) = L, then
x→∞ x→−∞
the line y = L is a horizontal asymptote.
lim f (x) = ∞, lim f (x) = ∞, lim f (x) = −∞, lim f (x) = −∞,
x→a+ x→a− x→a+ x→a−
CALCULUS I - AY2023-24 50 / 94
F. Local Maximum and Minimum Values
- Find the critical points of f (x) (those points c where f 0 (c) = 0 or f 0 (c)
does not exist).
CALCULUS I - AY2023-24 51 / 94
G. Concavity and Points of Inflection
Compute f 00 (x) and use the Concavity Test. The curve is concave
upward where f 00 (x) > 0, and concave downward where f 00 (x) < 0.
Inflection points occur where the direction of concavity changes.
Answer.
CALCULUS I - AY2023-24 53 / 94
Outline
3 Derivative Tests
6 L’Hospital’s Rule
7 Newton’s Method
8 Antiderivatives
CALCULUS I - AY2023-24 54 / 94
In this section, we study several applied optimization problems, which
ask for the best, or optimal, value of a given function.
What are the dimensions for the least expensive cylindrical can of
a given volume?
etc.
Our aim is to use derivatives to solve a variety of optimization
problems in mathematics, physics, economics, and business.
CALCULUS I - AY2023-24 55 / 94
To solve these applied optimization problems, we should follow the
following steps:
Understand the problem: Read the problem carefully, until you
understand it. What are the given quantities? What are the given
conditions? What is the unknown to be optimized?
CALCULUS I - AY2023-24 56 / 94
Working steps:
- Express Q in terms of some of the other symbols. If Q has been
expressed as a function of more than one variable, use the given
information to find relationships (in the form of equations) among
these variables. Then use these equations to eliminate all but one
of the variables in the expression for Q.
CALCULUS I - AY2023-24 57 / 94
Example
A farmer has 2400 ft of fencing and wants to fence off a rectangular
field that borders a straight river. He needs no fence along the river.
What are the dimensions of the field that has the largest area?
CALCULUS I - AY2023-24 58 / 94
Let x and y be the depth and width of the rectangle (in feet). Then the
area A can be expressed in terms of x and y :
A = xy .
CALCULUS I - AY2023-24 59 / 94
Conditions for x: 0 ≤ x ≤ 1, 200 (why?). Then the function to maximize
is
A = 2, 400x − 2x 2 , 0 ≤ x ≤ 1.200,
and hence the Closed Interval Method gives the maximum value as
A(600) = 720, 000. Hence, y = 2, 400 − 2 ∗ 600 = 1, 200.
CALCULUS I - AY2023-24 60 / 94
Outline
3 Derivative Tests
6 L’Hospital’s Rule
7 Newton’s Method
8 Antiderivatives
CALCULUS I - AY2023-24 61 / 94
Let us have a look at the limit
ln x
lim .
x→1 x − 1
f (x)
lim ,
x→a g(x)
where both f (x) → 0 and g(x) → 0 as x → a, the limit may or may not
0
exist. This form is called an indeterminate form of type .
0
CALCULUS I - AY2023-24 62 / 94
We already know the following:
For rational functions, we can cancel common factors:
x2 − x x(x − 1) x 1
lim 2
= lim = lim = .
x→1 x − 1 x→1 (x + 1)(x − 1) x→1 x + 1 2
ln x
But both do not work for the limit lim .
x→1 x −1
CALCULUS I - AY2023-24 63 / 94
Moreover, when we calculate the horizontal asymptote for
ln x
F (x) = , we need to know
x −1
ln x
lim .
x→∞ x − 1
It isn’t obvious how to evaluate this limit, because both numerator and
denominator become ∞ as x → ∞.
f (x)
lim ,
x→a g(x)
where both f (x) → ∞ (or −∞) and g(x) → ∞ (or −∞), the limit may
∞
or may not exist. This form is called an indeterminate form of type .
∞
CALCULUS I - AY2023-24 64 / 94
L’Hospital’s Rule applies to these indeterminate forms.
L’Hospital’s Rule
Suppose f and g are differentiable and g 0 (x) 6= 0 on an open interval I
that contains a (except possibly at a). Suppose that
or that
lim f (x) = ±∞ and lim g(x) = ±∞.
x→a x→a
0 ∞
(In other words, we have an indeterminate form of type or ). Then
0 ∞
f (x) f 0 (x)
lim = lim 0 ,
x→a g(x) x→a g (x)
CALCULUS I - AY2023-24 65 / 94
Note.
L’Hospital’s Rule says that the limit of a quotient of functions is
equal to the limit of the quotient of their derivatives. It is especially
important to verify the conditions regarding the limits of f (x) and
g(x) before using L’Hospital’s Rule.
L’Hospital’s Rule is valid for one-sided limits and for limits at infinity
or negative infinity. That is, “x → a" can be replaced by any of the
symbols x → a+ , x → a− , x → ∞, or x → −∞.
CALCULUS I - AY2023-24 66 / 94
Example
Find
ln x
lim .
x→1 x − 1
Solution. We have
0
Therefore, the limit is an indeterminate form of type .
0
Applying L’Hospital’s Rule, we get
CALCULUS I - AY2023-24 67 / 94
If lim f (x) = 0 and lim g(x) = ∞ (or −∞), then it isn’t clear what the
x→a x→a
value of lim [f (x)g(x)], if any, will be.
x→a
This kind of limit is called an indeterminate form of type 0 · ∞.
f g
fg = or fg = .
1/g 1/f
0
This converts the given limit into an indeterminate form of type or
0
∞
, so that we can use L’Hospital’s Rule.
∞
CALCULUS I - AY2023-24 68 / 94
Example
Evaluate
lim x ln x.
x→0+
ln x 1/x
lim+ x ln x = lim+ = lim+ = lim+ (−x) = 0
x→0 x→0 1/x x→0 −1/x 2 x→0
CALCULUS I - AY2023-24 69 / 94
x
Note. Another possible way is to write lim+ x ln x = lim+ .
x→0 x→01/ ln x
However, if we apply L’Hospital’s Rule, we get a more complicated
expression than the one we started with.
CALCULUS I - AY2023-24 71 / 94
Several indeterminate forms arise from the limit
lim [f (x)]g(x) .
x→a
CALCULUS I - AY2023-24 73 / 94
Outline
3 Derivative Tests
6 L’Hospital’s Rule
7 Newton’s Method
8 Antiderivatives
CALCULUS I - AY2023-24 74 / 94
Let’s consider the equation 48x(1 + x)60 − (1 + x)60 + 1 = 0, which we
can find an approximate solution by using a graphing device.
CALCULUS I - AY2023-24 75 / 94
• Newton’s method
The idea behind Newton’s method is that the tangent line is close to
the curve and so its x-intercept, x2 , is close to the root r .
CALCULUS I - AY2023-24 76 / 94
Newton’s Method
Moreover, x2 can be easily calculated from tangent line
by setting y = 0. Namely,
f (x1 )
0 − f (x1 ) = f 0 (x1 )(x2 − x1 ) =⇒ x2 = x1 − , if f 0 (x1 ) 6= 0.
f 0 (x1 )
We use x2 as a second approximation to r .
CALCULUS I - AY2023-24 77 / 94
If we keep repeating this process, we obtain a sequence of
approximations x1 , x2 , x3 , x4 , . . . as shown in Figure.
CALCULUS I - AY2023-24 78 / 94
In general, if the n-th approximation is xn and f 0 (xn ) 6= 0, then the next
approximation is given by
f (xn )
xn+1 = xn − .
f 0 (xn )
lim xn = r .
n→∞
CALCULUS I - AY2023-24 79 / 94
Example
Find, correct to six decimal places, the root of the equation cos x = x.
cos x − x = 0.
CALCULUS I - AY2023-24 80 / 94
In order to guess a suitable value for x1 , we sketch the graphs of
y = cos x and y = x as shown in Figure.
CALCULUS I - AY2023-24 81 / 94
Then, remembering to put our calculator in radian mode, we get
x2 ≈ 0.75036387
x3 ≈ 0.73911289
x4 ≈ 0.73908513
x5 ≈ 0.73908513
Since x4 and x5 agree to more than six decimal places (eight, in fact),
we conclude that the root of the equation, correct to six decimal
places, is 0.739085.
CALCULUS I - AY2023-24 82 / 94
Remark. Instead of using the rough sketch to get a starting
approximation for Newton’s method as we did in the example above,
we could have used the more accurate graph that a calculator or
computer provides.
x2 ≈ 0.73911114
x3 ≈ 0.73908513
x4 ≈ 0.73908513
and so we obtain the same answer as before, but with one step fewer.
CALCULUS I - AY2023-24 83 / 94
Outline
3 Derivative Tests
6 L’Hospital’s Rule
7 Newton’s Method
8 Antiderivatives
CALCULUS I - AY2023-24 84 / 94
We have studied how to find the derivative of a function and how to
use it to solve a wide range of problems.
CALCULUS I - AY2023-24 85 / 94
For example, consider the function f (x) = x 2 . It is not difficult to find an
1
antiderivative of f (x): if F (x) = x 3 , then F 0 (x) = x 2 = f (x).
3
1
But we can notice that the function G(x) = x 3 + 100 also satisfies
3
G0 (x) = x 2 . Therefore both F (x) and G(x) are antiderivatives of f (x).
1
In fact, any function of the form H(x) = x 3 + C, where C is an
3
arbitrary constant, is an antiderivative of f (x).
We have the following important result.
Theorem
If F (x) is an antiderivative of f (x) on an interval I, then the most
general antiderivative of f on I is
F (x) + C,
Each formula in the table is true because the derivative of the function
in the right column appears in the left column.
CALCULUS I - AY2023-24 87 / 94
• Antiderivative linearity rules
CALCULUS I - AY2023-24 88 / 94
Antiderivatives are particularly useful in analyzing the motion of an
object moving in a straight line. We know if the object has position
function s(t), then the velocity function is v (t) = s0 (t).
So if the acceleration and the initial values s(0) and v (0) are known,
then the position function can be found by antiderivative rules twice.
CALCULUS I - AY2023-24 89 / 94
Example
A ball is thrown upward with a speed of 15 m/s from the edge of a cliff
140 m above the ground. Find its height above the ground after t sec.
When does it reach its maximum height? When does it hit the ground?
Z
The symbol is an integral sign
The function f is the integrand of the integral
x is the variable of integration.
CALCULUS I - AY2023-24 92 / 94
Note. After the integral sign in the notation above, the integrand
function is always followed by a differential to indicate the variable of
integration.
CALCULUS I - AY2023-24 93 / 94
END OF CHAPTER 3
CALCULUS I - AY2023-24 94 / 94