Professional Documents
Culture Documents
Applications of Diferentiation
dy
dy “ dx “ f 1 pxq dx.
dx
For example 2
` if y2 ˘“ x , then dy “ 2xdx means the same thing as dy{dx “ 2x. If f pxq “ 1{x, then
d f pxq “ ´ 1{x dx.
If y is a function of x, y “ f pxq, then denoting a small change in x by dx instead of ∆x, the
corresponding small change in y, ∆y is approximated by the differential dy, i.e.
∆y « dy “ f 1 pxq dx.
Example 4.1.1 Without using a scientific calculator, determine by a pproximately how much the
value of sin x increases as x increases from π{3 to pπ{3q ` 0.006. To 3 decimal places, what is the
value of sin ppπ{3q ` 0.006q?
dy
Solution If y “ sin x, then dx “ cos x. Now x “ π3 « 1.0472 and dx “ 0.006. Therefore
dy ´π ¯ 1
dy “ dx “ cos xdx “ cos ¨ 0.006 “ p0.006q “ 0.003.
dx 3 2
This means that the change in the value of sin x is approximately 0.003. Now
´´ π ¯ ¯ ´π ¯
sin ` 0.006 « sin ` 0.003 “ ¨ ¨ ¨ “ 0.869p3 d. p.q.
3 3
72 Chapter 4. Applications of Diferentiation
y
graph of f
∆y
dy
dx “ ∆x
y “ f pxq
x x ` dx x
Figure 4.1: dy, the change in height to tangent line, approximates ∆y, the change in height to the graph f
dx dx
relative change in x “ and percentage change in x “ 100 .
x x
Example 4.1.2 By approximately what percentage does the area of a circle increases if the radius
increases by 2%?
∆A dA 2πrdr dr
« “ 2
“2 .
A A πr r
2
If r increases by 2% then dr “ 100 r, so
dA 1 2 4
“ 2¨ ¨ ¨r “
A r 100 100
so that the area increases by 4%.
f pa ` hq ´ f paq
f 1 paq “ lim ,
hÑ0 h
provided the limit exists.
Example 4.1.3 How fast is the area A of a circle increasing with respect to its radius when the
radius is 5 m?
dA d
“ pπr2 q “ 2πr.
dr dr
When r “ 5 m, the area is changing at the rate 2π ˆ 5 “ 10π m2 {m. This means that a small change
∆r m in the radius when the radius is 5 m would result in a change of about 10π ∆r m2 in the area of
the circle.
Example 4.1.4 Suppose the temperature at a certain location t hours after noon on a certain day
is T ˝ C, where
1
T “ t 3 ´ 3t 2 ` 8t ` 10 pfor 0 ď t ď 5q.
3
How fast is the temperature rising or falling at 1 : 00 pm? at 3 : 00 pm? At what instants is the
temperature stationary?
dT
“ t 2 ´ 6t ` 8 “ pt ´ 2qpt ´ 4q.
dt
dT
If t “ 1, then “ 3, so the temperature is rising at rate 3˝C{h at 1 : 00 pm.
dt
dT
If t “ 3, then “ ´1, so the temperature is falling at rate 1˝C{h at 3 : 00 pm.
dt
dT
The temperature is stationary when “ 0, that is, at 2 : 00 pm and 4 : 00 pm.
dt
Sensitivity to Change
When a small change in x produces a large change in the value of a function f pxq, wa say that the
function is very sensitive to changes in x. Therefore the derivative is f 1 pxq is a measure of the
sensitivity of the dependence of f on x.
Example 4.1.5 A pharmacologist studying a drug that has been developed to lower blood
pressure determines experimentally that the average reduction R in blood pressure resulting from a
daily dosage of x mg of the drug is
ˆ ˙
x ´ 13
R “ 24.2 1 ` ? mm Hg.
x2 ´ 26x ` 529
Determine the sensitivity of R to dosage x at dosage level of 5 mg, 15 mg and 35 mg. AT which of
these dosage levels would an increase in the dosage level have the greatest effect?
74 Chapter 4. Applications of Diferentiation
8, 712
“
px2 ´ 26x ` 529q3{2
At dosages x “ 5 mg, 15 mg and 35 mg, we have sensitivities of
ˇ ˇ
dR ˇˇ dR ˇˇ
“ 0.998 mm Hg{mg, “ 1.254 mm Hg{mg,
dx ˇx“5 dx ˇx“15
ˇ
dR ˇˇ
“ 0.355 mm Hg{mg.
dx ˇx“35
Among these levels, the greatest sensitivity is at 15 mg. Increasing the dosage from 15 to 16 mg{day
could be expected to further reduce average blood preasureby about 1.25 mm Hg.
Derivative in Economics
Just as physicists use terms such as velocity and acceleration to refer to derivatives of certain
quantities, economists also have their own specialised vocabulary for derivatives. They call them
marginals. For example the cost of production Cpxq in a manufacturing operation is a function of
x, the number of units produced.. The marginal cost of production is the rate of change of C with
respect to x, so it is dC{dx.
Example 4.1.6 — Marginal cost of production. The cost of producing x tons of coal per day
in a mine is $Cpxq, where
Cpxq “ 4, 200 ` 5.4x ´ 0.001x2 ` 0.000002x3 .
1. What is the average cost of producing each ton if the daily production level is 1, 000 tons?,
2, 000 tons?
2. Find the marginal cost of production if the daily production level is 1, 000 tons. 2, 000 tons.
3. If the production level increases slightly from 1, 000 tons or from 2, 000 tons, what will
happen to the average cost per ton?
3. If the production level is increased slightly from x “ 1, 000, the average cost per ton will drop
because the cost increasing at a rate lower than the average cost. At x “ 2, 000 the opposite
is true; an increase in production will increase the average cost per ton.
The equivalent of sensitivity in economics is elasticity. Elasticity is the measure of how an
economic variable responds to change in another variable. An elastic variable is one which responds
more than proportionally to changes in other variables. An inelastic variable is one which changes
less than proportionally in response to changes in other variables.
If the change in P is infinitesimal, then the expressions ∆Q and ∆P reduce to the differentials dP
and dQ. In that case the elasticity measure assumes the sense of point elasticity of the demand
function which is denoted by εd . Thus
dQ{Q dQ{dP
εd ” “ .
dP{P Q{P
The numerator in the right hand is the derivative function of the demand function while the
denominator is the average function of the demand function. Thus the point elasticity is a ratio of
the two functions. In general, for any given total function y “ f pxq, the point elasticity of y w.r.t. x
is
dy{dx marginal function
εyx “ “ .
y{x average function
The absolute value of the point elasticity measure is used in deciding whether the function is
elastic at a particular point. In the case of a demand function,
$ $
&elastic
’ &|εd | ą 1
’
The demand is of unit elasticity if |εd | “ 1
’
% ’
inelastic
%
|εd | ă 1.
at a given point.
Example 4.1.7 Find εd for the demand function Q “ 100 ´ 2P. Determine the point elasticity at
P “ 25.
dQ Q 100´2P
Solution dP “ ´2 and P “ P . Therefore
´2 P
εd “ “ .
p100 ´ Pq {P P ´ 50
Thus
ˇ
ˇ
εd ˇˇ “ ¨ ¨ ¨ “ ´1.
P“25
Exercise 4.1
1. Use differentials to determine approximate change in the values of the given function as
its argument changes from the given value to the given amount. What is the approximate
value of the function after the change?
(a) y “ 1{x as x increases from 2 to 2.01.
(b) h ptq “ cos
? pπt{4q as t increases from 2 to 2 ` p1{10πq.
(c) f pxq “ 3x ` 1 as x increases from 1 to 1.08.
(d) u “ tan ps{4q as s decreases from π to π ´ 0.04.
2. Find the approximate percentage changes in the given function that will result from an
increase of 2% in the value of x.
3. Find the rate of change of the area of a square with respect to the length of its side when
the side is 4 ft.
4. The sales of revenue $R from a software product depends on the price $p charged by the
distributor according to the formula
R “ 4, 000p ´ 10p2 .
D ppq “ 8000p´1.5 .
Compute the elasticity of D ppq and find the percentage change in quantity demand when
the price increases by 1% from p “ 4.
f pbq ´ f paq
“ f 1 pcq .
b´a
It means that the slope of the chord joining the points pa, f paqq and pb, f pbqq is equal to the slope
of the tangent line to te curve y “ f pxq at the point pc, f pcqq so that the two lines are parallel.
4.2 Mean value theorems of differential calculus 77
y
C
y “ f pxq
B pb, f pbqq
A pa, f paqq
a c b x
Figure 4.2: There is a point C on the curve where the tangent is parallel to the chord AB
?
Example 4.2.1 Verify the conclusion of the mean value theorem for f pxq “ x on the interval
ra, bs, where a ď x ď b.
f pbq ´ f paq
“ f 1 pcq
b´a
1 ?
so long as f is continuous on ra, bs and is differentiable on pa, bq. Now f 1 pxq “ ?
2 x
, f paq “ a,
?
f pbq “ b.
? ? ? ?
1 b´ a b´ a 1
6 ? “ “ `? ? ˘ `? ? ˘“? ? .
2 c b´a b´ a b` a b` a
? ? ´? ? ¯2
? b` a b` a
The above equality implies that c“ 2 so that c “ 2 . Since a ă b, we have
ˆ? ? ˙ ˜? ? ¸2 ˜ ? ? ¸2
a` a 2 b` a b` b
a“ ă ă “b
2 2 2
Solution If x ą 2π, then sin x ď 1 ă 2π ă x. If 0 ă x ď 2π, then by MVT, D c P p0, 2πq such that
ˇ
sin x sin x ´ sin 0 d ˇ
“ “ rMVT on r0, xss “ sin xˇˇ “ cos c ă 1
x x´0 dx x“c
Exercise 4.2
1. Illustrate the MVT by finding any points in the open interval pa, bq where the tangent line
is parallel to the chord joining pa, f paqq and pb, f pbqq.
(a) f pxq “ x2 on ra, bs; Ans: c “ b`a2 .
(b) f pxq “ x3 ´ 3x ` 1 on r´2, 2s; Ans: c “ ˘ ?23 .
2. Show that tan x ą x for 0 ă x ă π2 .
3. Let r ą 1. If x ą 0 or ´1 ď x ă 0, show that p1 ` xqr ă 1 ` rx.
Example 4.3.1 An aircraft is flying horizontally at a speed of 600 km{h. How fast is the distance
between the aircraft and a radio beacon increasing 1 minute after the aircraft passes 5 km directly
above the beacon?
600 km{h
C x
A
5 km s
Figure 4.3:
Let C be the point on the aircraft’s path directly above the beacon B. Let A be the position of
the aircraft t min after it is at C, and let x and s be the distances CA and BA, respectively. From the
right triangle BCA we have
s2 “ x 2 ` 52 .
4.3 Related Rates 79
ds dx
2s “ 2x .
dt dt
We are given
? that dx{dt ?
“ 600 km{h “ 10 km{mim. Therefore, x “ 10 km at time t “ 1 min. At that
time s “ 102 ` 52 “ 5 5 and is increasing at the rate
ds x dx 10 1, 200
“ “ ? p600q “ ? « 536.7 km{h.
dt s dt 5 5 5
One minute after the aircraft passes over the beacon, its distance from the beacon is increasing at
about 537 km{h.
Example 4.3.2 How fast is the area of a rectangle changing if one side is 10 cm long and is
increasing at a rate of 2 cm{s and the other side is 8 cm long and is decreasing at a rate of 3 cm{s?
Solution
A “ xy y
Figure 4.4:
Let the lengths of the sides of the rectangle at time t be x cm and y cm respectively. Thus the
area at time t is A “ xy cm2 . Also dx{dt “ 2 and dy{dt “ ´3. We are to determine the value of
dA{dt when x “ 10 and y “ 8. Since x and y are functions of time we differentiate A implicitly
with respect to time as follows.
ˇ ˆ ˙ˇ
dA ˇˇ dx dy ˇˇ
“ y`x “ 2p8q ` 10p´3q “ ´14.
dt ˇ x “ 10 dt dt ˇ x “ 10
y“8 y“8
At the indicated time, the area of the rectangle is decreasing at a rate of 14 cm2 /s.
Exercise 4.3
1. Find the rate of change of the area of a square whose side is 8 cm long, if the side length
is increasing at 2 cm{min.
2. A pebble dropped into a pond causes a circular ripple to expand outward from the point
of impact. How fast is the area enclosed by the ripple increasing when the radius is 20 cm
and is increasing at a rate of 4 cm{s.
80 Chapter 4. Applications of Diferentiation
sin x
lim “ 1.
xÑ0 x
Direct evaluation would have yielded the indeterminate form r0{0s. Below we list the various
kinds of indeterminate forms and give an example in each case.
Type Example
sin x
r0{0s lim
xÑ0 x
lnp1{x2 q
r8{8s lim
xÑ0 cotpx2 q
1
r0 ¨ 8s lim x ln
xÑ0` x
ˆ ˙
1
r8 ´ 8s lim tan x ´
xÑpπ{2q´ π ´ 2x
r00 s lim xx
xÑ0`
Most indeterminate forms of type r0{0s can be evaluated by canceling common factors as was
discussed in Section 1.2. In this section we discuss further approaches that can be used to solve
such indeterminate forms.
Theorem 4.4.1 — The First l’Hôpital’s Rule. Suppose the functions f and g are differentiable
on the interval pa, bq, and g1 pxq ‰ 0 there. Suppose also that
1. lim f pxq “ lim gpxq “ 0 and
xÑa` xÑa`
f 1 pxq
2. lim 1 “ L where L is finite or 8 or ´8.
xÑa` g pxq
f pxq
Then lim “ L.
xÑa` gpxq
Similar results hold if every occurrence of limxÑa` is replaced by limxÑb´ or even limxÑc
where a ă c ă b. The cases a “ ´8 and b “ 8 are also allowed.
Proof.
ln x
Example 4.4.1 Evaluarte lim 2 .
xÑ1 x ´ 1
4.4 Indeterminate Forms 81
Solution We have
„
ln x 0
lim
xÑ1 x2 ´ 1 0
1{x 1 1
“ lim “ lim 2 “
xÑ1 2x xÑ1 2x 2
2 sin x ´ sinp2xq
Example 4.4.2 Evaluarte lim .
xÑ0 2ex ´ 2 ´ 2x ´ x2
Solution We have
„
2 sin x ´ sinp2xq 0
lim
xÑ0 2ex ´ 2 ´ 2x ´ x2 0
2 cos x ´ 2 cosp2xq
“ lim
xÑ0 2ex ´ 2 ´ 2x
„
cos x ´ cosp2xq 0
“ lim still
xÑ0 ex ´ 1 ´ x 0
„
´ sin x ` 2 sinp2xq 0
“ lim x
still
xÑ0 e ´1 0
´ cos x ` 4 cosp2xq ´1 ` 4
“ lim “ “3
xÑ0 ex 1
Theorem 4.4.2 — The Second l’Hôpital’s Rule. Suppose the functions f and g are differentiable
on the interval pa, bq and that g1 pxq ‰ 0 there. Suppose also that
1. lim gpxq “ ˘8 and
xÑa`
f 1 pxq
2. lim “ L where L is finite or 8 or ´8.
xÑa` g1 pxq
f pxq
Then lim “ L.
xÑa` gpxq
Again, similar results hold if every occurrence of limxÑa` is replaced by limxÑb´ or even
limxÑc where a ă c ă b. The cases a “ ´8 and b “ 8 are also allowed.
x2
Example 4.4.3 Evaluarte (a) lim x and (b) lim xa ln x, where a ą 0.
xÑ8 e xÑ0`
Solution
1. We have that
x2 ” 8 ı
lim
xÑ8 ex 8
2x ”8ı
“ lim still
xÑ8 ex 8
2
“ lim “ 0.
xÑ0 ex
82 Chapter 4. Applications of Diferentiation
2. Here we have
lim xa ln x r0 ¨ p´8qs
xÑ0`
„
ln x ´8
“ lim ´a
xÑ0` x 8
1{x xa
“ lim “ lim “ 0.
xÑ0` ´ax´a´1 xÑ0` ´a
Exercise 4.4
Evaluate the following limits
3x sin ax
1. lim 3. lim
xÑ0 tan 4x xÑ0 sin bx
ln p2x ´ 3q 1 ´ cos ax
2. lim 4. lim
xÑ2 x2 ´ 4 xÑ0 1 ´ cos bx
R
1. A function will have only one absolute maximum (or minimum) value if it exists.
However the value can occur at many points. For example, f pxq “ sin x has absolute
maximum of 1 but it occurs at every point π2 ` 2nπ, n P Z.
2. A function need not have any extreme value. The function f pxq “ 1x becomes arbitrarily
large as x approaches 0 from the right, and so has no finite absolute maximum value.
Theorem 4.5.1 If the domain of the function f is a closed, finite interval or a union of finitely
many such intervals, and if f is continuous on that domain, then f must have an absolute
maximum value and absolute minimum value.
Definition 4.5.2 Function f has a local maximum value (loc. max.) f px0 q at the point x0 in its
domain provided D a number h ą 0 such that f pxq ď f px0 q whenever x is in the domain of f
and |x ´ x0 | ă h.
Similarly, f has a local minimum value (loc. min.) f px1 q at the point x1 in its domain
provided D a number h ą 0 such that f pxq ě f px1 q whenever x is in the domain of f and
|x ´ x1 | ă h.
4.5 Extreme Values 83
y
y “ f pxq
a x1 x2 x3 x4 x5 x6 b x
From the above figure we see that local extreme values can occur at any of the following points.
(i) critical points of f ; points x P D p f q where f 1 pxq “ 0.
(ii) singular points of f ; points x P D p f q where f 1 pxq is not defined.
(iii) endpoints of the domain of f ; points that do belong to D p f q but are not interior points of
D p f q.
In the figure above, x1 , x3 , x4 are critical points, x2 and x5 are singular points and a and b are
endpoints.
Theorem 4.5.2 If the function f is defined on an interval I and has a local maximum (or local
minimum) value at the point x “ x0 in I, then x0 must be either a critical point of f , a singular
point of f , or and endpoint of I.
Example 4.5.1 Find the maximum and minimum values of the function g pxq “ x3 ´ 3x2 ´ 9x ` 2
on the interval ´2 ď x ď 2.
Solution Since g is a polynomial it can never have a singular point. For critical points we calculate
g1 pxq “ 3x2 ´ 6x ´ 9 “ 3 px ` 1q px ´ 3q “ 0.
Thus x “ ´1 or x “ 3. But x “ 3 is not in the domain of g and so we ignore it. We then investigate
the endpoints x “ ´2 and x “ 2 and critical point x “ ´1.
g p´2q “ 0, g p´1q “ 7, g p2q “ ´20
The maximum value of g on ´2 ď x ď 2 is at the critical point x “ ´1, and the minimum value
is at the endpoint x “ 2.
y
p´1, 7q
y “ g pxq
“ x3 ´ 3x2 ´ 9x ` 2
p´2, 0q x
p2, ´20q
Figure 4.5: g has maximum and minimum values 7 and ´20, respectively
84 Chapter 4. Applications of Diferentiation
Example 4.5.2 Find the maximum and minimum values of h pxq “ 3x2{3 ´ 2x on the interval
r´1, 1s.
h1 pxq “ 2x´1{3 ´ 2.
Note that x´1{3 is not defined at x “ 0 in D phq, so x “ 0 is a singular point of h. Also h1 pxq “ 0 at
x´1{3 “ 1, that is at x “ 1, which also happens to be an endpoint of the domain of h. We therefore
examine the values of h at endpoints x “ ´1 and x “ 1 and at the singular point x “ 0.
h p´1q “ 5, h p0q “ 0, h p1q “ 1
The function h has a maximum value 5 at the endpoint x “ ´1 and a minimum value 0 at the
singular point x “ 0.
Diagram Fig 4.20
(d) If f 1 pxq ă 0 on some interval pa, bq , then f has a local maximum value at a.
Suppose b is a right endpoint of the domain of f and f is left continuous at b.
(e) If f 1 pxq ą 0 on some interval pa, bq , then f has a local maximum value at b.
(f) If f 1 pxq ă 0 on some interval pa, bq , then f has a local minimum value at b.
R If f 1 is positive (or negative) on both sides of a critical or singular point, then f has neither a
maximum nor a minimum value at that point.
Example 4.5.3 Find the local and absolute extreme values of f pxq “ x4 ´ 2x2 ´ 3 on the interval
r´2, 2s. Sketch the graph of f .
` ˘
Solution f 1 pxq “ 4x3 ´ 4x “ 4x x2 ´ 1 “ 4x px ` 1q px ´ 1q.
The critical points are x “ ´1, x “ 0, x “ 1. The corresponding values are f p´1q “ ´4,
f p0q “ ´3, f p1q “ ´4. There are no singular points. The values of f at the endpoints ´2 and
2 are f p´2q “ ´5 and f p2q “ 5.We summarize the positive/negative properties of f pxq and the
implied increasing/decreasing behaviour of f pxq in a chart form below;
EP CP CP CP EP
x ´2 ´1 0 1 2
f1 ´ 0 ` 0 ´ 0 `
f max Œ min Õ max Œ min Õ max
In this theorem a may be ´8 and b may 8. Also, either or both L and M may be 8 or ´8.
Example 4.5.4 Show that f pxq “ x ` 4x has an absolute minimum value on the interval p0, 8q,
and find that minimum value.
Solution We have
Since f p1q “ 5 ă 8, Theorem 4.5.4 guarantees that f must have an absolute minimum value at
some point in p0, 8q. Now
4 x2 ´ 4 px ´ 2q px ` 2q
f 1 pxq “ 1 ´ “ “
x2 x2 x2
which equals 0 when x “ ˘2. Since D p f q “ p0, 8q it has no singular points but has only one
critical point at x “ 2. Here f p2q “ 4. This must be the minimum value of f on p0, 8q.
y “ x ` 4x
p2, 4q
x
Definition 4.5.4 We say that the point px0 , f px0 qq is an inflection point of the curve y “ f pxq if
the following two conditions hold
(a) the graph of y “ f pxq has a tangent line at x “ x0 , and
(b) the concavity of f is opposite on opposite sides of x0 .
y
0
` ´
´ `
0
a b c x
Figure 4.8
Proof.
(a) and (b) follow from applying Theorem 3.1.1 to the derivative f 1 of f .
(c) If f has an inflection point at x0 and if f 2 px0 q exists, then f must be differentiable in an open
interval containing x0 . Since f 1 is increasing on one side of x0 and decreasing on the other
side, it must have a local maximum or minimum value at x0 . Thus f 2 px0 q must be zero.
Example 4.5.5 Determine the intervals of concavity of f pxq “ x6 ´ 10x4 and the inflection points
of its graph.
Solution We have
Thus f 2 pxq “ 0 at x “ ˘2, 0. These three values of x induce/generate the following four intervals
on which we test concavity.
Consider the interval p´8, ´2q. Here for x “ ´3,
Example 4.5.6 Determine the intervals of increase and decrease, the local extreme values and
the concavity of f pxq “ x4 ´ 2x3 ` 1. Use the information to sketch the graph of f .
Solution
Thus f 1 pxq “ 0 when x “ 0, 1.5 and f 2 pxq “ 0 when x “ 0, 1. The critical points generates
the intervals p´8, 0q, p0, 1.5q and p1.5, 8q on which we test whether the function is increasing or
decreasing.
For the interval p´8, 0q take x “ ´1 and observe that f 1 p´1q ă 0 implying that the function
is decreasing there. For the interval p0, 1.5q take x “ 1 and observe that f 1 p1q ă 0 implying that
the function is decreasing there. For the interval p1.5, 8q take x “ 2 and observe that f 1 p2q ą 0
implying that the function is increasing there.
On the other hand the values for which f 2 “ 0 generate the following the intervals p´8, 0q,
p0, 1q and p1, 8q on which we test concavity. For the interval p´8, 0q, take x “ ´1 and observe
that
so that f is concave up. For the interval p0, 1q, take x “ 0.5 and obtain
so that f is concave up there. For the interval p1, 8q, take x “ 2 and obtain
Proof.
(a) Suppose that f 1 px0 q “ 0 and f 2 px0 q ă 0. Since
f 1 px0 ` hq f 1 px0 ` hq ´ f 1 px0 q
lim “ lim “ f 2 px0 q ă 0
hÑ0 h hÑ0 h
it follows that f 1 px0 ` hq ă 0 for sufficiently small positive h and f 1 px0 ` hq ą 0 for suffi-
ciently small negative h. By the first derivative test, f must have a local maximum value at
x0 .
(b) Exercise
(c) No conclusion can be made.
Example 4.5.7 Find and classify the critical points of f pxq “ x2 e´x .
Solution
f 2 pxq “ ¨ ¨ ¨ “ 2 ´ 4x ` x2 e´x .
` ˘
Therefore f 2 p0q “ 2 ą 0 and f 2 p2q “ ´2e´2 ă 0. It follows that f has a local minimum value at
x “ 0 and a local maximum value at x “ 2.
90 Chapter 4. Applications of Diferentiation
y
` f˘ pxq “ x2 e´x
´2
2, 4e
Exercise 4.5
1. Determine whether the given function has any local or absolute extreme values, and find
those values if possible
2. Determine the intervals of concavity of the given function, and locate any inflection
points.
? ˘2
(i) f pxq “ x.
`
(iv) f pxq “ 3 ´ x2 .
(ii) f pxq “ x2 ` 2x ` 3. ` ˘3
(v) f pxq “ x2 ´ 4 .
(iii) f pxq “ 10x3 ´ 3x5 .
3. Classify the critical points of the following functions using the second derivative test
whenever possible
4. Measured in milligrams per litre, the concentration of a drug in the bloodstream t hours
after injection is given by the formula
t
c ptq “ .
t2 ` 4
Find the time of maximum concentration.
5. Let y denote the total weekly weight of pigs slaughtered by the butcheries of Chicago
during 1948 (in millions of pounds) and let x be the total weekly work effort (in thousands
4.6 Curve Sketching 91
Asymptotes
Asymptotes are straight lines to which a curve draws arbitrarily close as it recedes to infinite
distance from the origin.
Suppose that f pxq “ Pm pxq {Qn pxq, where Pm and Qn are polynomials of degree m and n
respectively. Suppose also that Pm and Qn have no common linear factor. Then
(a) The graph of f has a vertical asymptote at every position x such that Qn pxq “ 0.
92 Chapter 4. Applications of Diferentiation
R pxq
f pxq “ ax ` b ` .
Qn pxq
x 3
Example 4.6.1 Find the oblique asymptote of y “ x2 `x`1 .
x3 1
2
“ x´1` 2 .
x `x`1 x ` x1
Therefore the oblique asymptote is y “ x ´ 1.
2
Example 4.6.2 Sketch the graph of y “ x `2x`4
2x .
Solution
x2 ` 2x ` 4 x 2
y“ “ `1` .
2x 2 x
1 2 4
6 y1 pxq “ ´ and y2 pxq “ .
2 x2 x3
From y
Domain: all x ‰ 0.
Vertical asymptote: x “ 0 ` ˘
Oblique asymptote: y “ 2x ` 1 since y ´ 2x ` 1 “ 2x Ñ 0 as x Ñ ˘8
x2 ` 2x ` 4 “ px ` 1q2 ` 3 ě 3 for all x. y is not defined at x “ 0.
From y1
2
Critical points: x2x´4 1
2 “ 0 ñ x “ ˘2 and y is not defined at x “ 0.
From y2
y2 is not defined at x “ 0 and y2 “ 0 nowhere.
Facts about the graph are summarized in the chart below
CP ASY CP
x ´2 0 2
y1 ` 0 ´ undef ´ 0 `
y2 ´ ´ undef ` `
y Õ max Œ undef Œ min Õ
" " ! !
4.6 Curve Sketching 93
x2 `2x`4
y“ 2x
p2, 3q
y “ 2x ` 1
p´2, ´1q x
Figure 4.11:
2
Example 4.6.3 Sketch the graph of f pxq “ xx2 ´1
´4
.
Solution
` ˘
1 ´6x 2 6 3x2 ` 4
f pxq “ ¨ ¨ ¨ “ and f pxq “ ¨ ¨ ¨ “ .
px2 ´ 4q2 px2 ´ 4q3
From f
Domain: all x ‰ ˘2.
Vertical asymptotes: x “ ˘2 where the denominator x2 ´ 4 “ 0
1´0
Horizontal asymptotes: lim f pxq “ “1
xÑ˘8 1´0
ñ horizontal asymptote is y “ 1
Symmetry: is about the y´axis since the function is even.
Intercepts: When y “ 0, x “ ˘1, and when x “ 0, y “ 14
Hence the intercepts are p0, 1{4q, p´1, 0q and p1, 0q.
The two vertical asymptotes divide the graph into three components. The outer components
require points with |x| ą 2. WOLG we consider the points p´3, 8{5q and p3, 8{5q.
From f 1
Critical point is at x “ 0, and f 1 is not defined at x “ ˘2.
From f 2
f 2 pxq “ 0 nowhere and f 2 not defined at x “ ˘2.
94 Chapter 4. Applications of Diferentiation
ASY CP ASY
x ´2 0 2
f1 ´ undef ` 0 ´ undef ´
f2 ` undef ´ ´ undef `
f Õ undef Õ max Œ undef Œ
! " " !
x2 ´1
y“ x2 ´4
x“2
1{4 y“1
´1 1
x
Figure 4.12:
Exercise 4.6
1 In the following, sketch the graph of a function that has the given properties. Identify
any critical points, local maxima and minima, and inflection points. Assume that f is
continuous and its derivative exists everywhere unless the contrary is implied or explicitly
stated.
(a) f p0q “ 1, f p˘1q “ 0, f p2q “ 1, limxÑ8 f pxq “ 2, limxÑ´8 f pxq “ ´1, f 1 pxq ą 0
on p´8, 0q and on p1, 8q, f 1 pxq ă 0 on p0, 1q, f 2 pxq ą 0 on p´8, 0q and on p0, 2q,
and f 2 pxq ă 0 on p2, 8q.
(b) f p´1q “ 0, f p0q “ 2, f p1q “ 1, f p2q “ 0, f p3q “ 1, limxÑ˘8 p f pxq ` 1 ´ xq “ 0,
f 1 pxq ą 0 on p´8, ´1q, p´1, 0q and on p2, 8q, f 1 pxq ă 0 on p0, 2q, limxÑ´1 f 1 pxq “
8, f 2 pxq ą 0 on p´8, ´1q and on p1, 3q, and f 2 pxq ă 0 on p´1, 1q and on p3, 8q.
2 Sketch the graphs of the given functions
4.7 Linear Approximations 95
` ˘3 1
(a) f pxq “ x2 ´ 1 . (d) f pxq “ 2´x2
.
(b) f pxq “ 2´x
x . (e) f pxq “ x3
.
x2 `1
x3 2
(c) f pxq “ 1`x . (f) f pxq “ x
.
x2 ´1
3. All 80 rooms in a motel will be rented each night if the manager charges $40 or less per
room. If he charges $ p40 ` xq per room, then 2x rooms will remain vacant. If each rented
room costs the manager $10 per day and each unrented room $2 per day in overhead, how
much should the manager charge per room to maximize his profit?
The height L to the tangent line gives approximate values of f pxq for values of x near a. The tangent
line has equation y “ f paq ` f 1 paq px ´ aq.
Definition 4.7.1 The linearization of the function f about a is the function L defined by
Solution
(a) f p0q “ 1. Also
1 1
f 1 pxq “ ? so that f 1 p0q “ .
2 1`x 2
Example 4.7.2 A ball of ice melts so that its radius decreases from 5 cm to 4.92 cm. By
approximately how much does the volume of the ball decreases?
4πr3
Solution The volume of the ball is V “ 3 , so that
dV
“ 4πr2 and L pr ` ∆rq “ V prq ` 4πr2 ∆r.
dr
Thus
∆V « 4πr2 ∆r.
? ?
Example 4.7.3 Use the linearization for x about x “ 25 to find an approximate value for 26.
?
Solution Let f pxq “ x. Then the linearization of f pxq is L pxq “ f p25q ` f 1 p25q px ´ 25q. Now
?
f p25q “ 5, f 1 pxq “ 1{ p2 xq so that f 1 p25q “ 1{10.
? 1
6 26 “ f p26q « L p26q “ 5 ` p26 ´ 25q “ 5.1.
10
Error Analysis
The error emanating from an approximation of f pxq using L pxq is
It is the vertical distance between the graph of f and the tangent line to that graph at x “ a as shown
below.
Diagram Fig 4.64
Observe that if x is near a, then E pxq is small compared to the horizontal distance between x and a.
4.7 Linear Approximations 97
Theorem 4.7.1 — An error formula for linearization. If f 2 ptq exists for all t in an interval
containing a and x, then D some point s between a and x such that the error E pxq “ f pxq ´ L pxq
in the linear approximation f pxq « L pxq “ f paq ` f 1 paq px ´ aq satisfies
f 2 psq
E pxq “ px ´ aq2 .
2
Applying the Generalized MVT to the two functions E ptq and pt ´ aq2 on ra, xs bearing in mind
that E paq “ 0 one obtains u P pa, xq such that
for some s P pa, uq; by second application Generalized MVT, now to f 1 on ra, us. Thus
f 2 psq
E pxq “ px ´ aq2 .
2
Corollary 4.7.2 If f 2 ptq has constant sign between a and x, then the error E pxq in the approxi-
mation f pxq « L pxq in Theorem 4.7.1 has the same sign; i.e. if f 2 ptq ą 0 between a and x, then
f pxq ą L pxq and if f 2 ptq ă 0 between a and x, then f pxq ă L pxq.
Corollary 4.7.3 If | f 2 ptq| ă K for all t between a and x (where K is a constant), then |E pxq| ă
pK{2q px ´ aq2 .
Corollary 4.7.4 If f 2 ptq satisfies M ă f 2 ptq ă N for all t between a and x where M and N are
constants, then
M N
L pxq ` px ´ aq2 ă f pxq ă L pxq ` px ´ aq2 .
2 2
If M and N have the same sign, a better approximation to f pxq is given by the midpoint of this
interval containing f pxq;
M`N
f pxq « L pxq ` px ´ aq2 .
4
For this approximation the error is less than half the length of the interval:
98 Chapter 4. Applications of Diferentiation
N ´M
|E pxq| ă px ´ aq2 .
4
Example 4.7.4 Determine the sign and estimate the size of the error in the approximation
? ?
26 « 5.1. Use these to give a small interval that you can be sure contains 26.
and
Col 4.7.4 with N“ 500
1
1 1
|E p26q| ă p26 ´ 25q2 “ “ 0.001.
500 1000
Now E ptq “ f ptq ´ L ptq so?that f ptq “ L ptq ` E ptq. But |E p26q| ă 0.001, so that f p26q ą
L p26q ´ 0.001 “ 5.099 and 26 lies in the interval p5.099, 5.1q.
Exercise 4.7
Find the linearisation of the given function about the given point.
In the following, use a suitable linearisation to approximate the indicated value. Determine
the sign of the error and estimate its size. Use this information to to specify an interval
you can be sure contains the value.
? 1
7. ?50 10. 2.003
8. ?47 11. cos 460
9. 4 85 12. sin π5
Pn paq “ f paq , Pn1 paq “ f 1 paq , Pn2 paq “ f 2 paq , ¨¨¨ , Ppnq paq “ f pnq paq ,
4.8 Taylor Polynomial 99
and so describes f pxq near a better than any other polynomial of degree at most n. Pn is called
the nth ´order Taylor polynomial for f about a. When a “ 0, the corresponding polynomial is
called Maclaurin polynomial.
Solution
1 3
(a) f 1 pxq “ 12 x 2 , f 2 pxq “ ´ 41 x´ 2 . Thus
f 2 p25q
P2 pxq “ f p25q ` f 1 p25q px ´ 25q ` px ´ 25q2
2!
1 1
“ 5` px ´ 25q ´ px ´ 25q2 .
10 1000
(b) g1 pxq “ 1x , g2 pxq “ 1
x2
, g3 pxq “ 3
x3
. Thus
g2 peq g3 peq
P3 pxq “ g peq ` g1 peq px ´ eq ` px ´ eq2 ` px ´ eq3
2! 3!
1 1 1
“ 1 ` px ´ eq ´ 2 px ´ eq2 ` 3 px ´ eq3 .
e 2e 3e
Example 4.8.2 Find the nth ´order Maclaurin polynomial Pn pxq for ex . Use P0 p1q, P1 p1q, P2 p1q,
¨ ¨ ¨ to calculate approximate values for e “ e1 . Stop when the value is correct to 3 decimal places.
Solution Since every derivative of ex is ex and so is 1 at x “ 0, the nth ´order Maclaurin polynomial
for ex is
x x2 x3 xn
Pn pxq “ 1 ` ` ` `¨¨¨` .
1! 2! 3! n!
Thus
P0 p1q “ 1
1
P1 p1q “ P0 p1q ` “2
1!
1
P2 p1q “ P1 p1q ` “ ¨ ¨ ¨ “ 2.5
2!
1
P3 p1q “ P2 p1q ` “ ¨ ¨ ¨ “ 2.6667
3!
1
P4 p1q “ P3 p1q ` “ ¨ ¨ ¨ “ 2.7083
4!
1
P5 p1q “ P4 p1q ` “ ¨ ¨ ¨ “ 2.7166
5!
1
P6 p1q “ P5 p1q ` “ ¨ ¨ ¨ “ 2.7180
6!
1
P7 p1q “ P6 p1q ` “ ¨ ¨ ¨ “ 2.7182
7!
100 Chapter 4. Applications of Diferentiation
st
Theorem 4.8.1 If the pn ` 1q -order derivative, f pn`1q ptq, exists for all t in an interval con-
taining a and x, and if Pn pxq is the nth -order Taylor polynomial for f about a, then the error
En pxq “ f pxq ´ Pn pxq in the approximation f pxq « Pn pxq is given by
f pn`1q psq
En pxq “ px ´ aqn`1 ,
pn ` 1q!
f 1 paq f 2 paq
f pxq “ f paq ` px ´ aq ` px ´ aq2
1! 2!
for some s between a and x, is called Taylor’s formula with Lagrange reminder; the Lagrange
reminder term is the explicit formula given above for En pxq.
f 1 psq
f pxq “ P0 pxq ` E0 pxq “ f paq ` px ´ aq
1!
which is just the MVT
f pxq ´ f paq
“ f 1 psq
x´a
for some s between a and x.
When n “ 1 we obtain
f 1 paq f 2 psq
f pxq “ f paq ` px ´ aq ` px ´ aq2
1! 2!
4.8 Taylor Polynomial 101
so that
˘ f 2 psq
px ´ aq2
`
E pxq “ f pxq ´ f paq ` f 1 paq “
2!
f pkq psq
Ek´1 pxq “ px ´ aqk ,
k!
where s is any number between a and x. To prove that the error formula is true for n “ k, assume
WLOG that x ą a and apply the Generalized MVT to the functions Ek ptq and pt ´ aqk`1 on ra.xs.
Since Ek paq “ 0, we obtain u P pa, xq such that
Now
ˆ
d f 2 paq
Ek1 puq “ f ptq ´ f paq ´ f 1 paq pt ´ aq ´ pt ´ aq2
dt 2!
¸ˇ
f pkq paq k ˇ
ˇ
´¨¨¨´ pt ´ aq ˇ
k! t“u
f pkq paq
“ f 1 puq ´ f 1 paq ´ f 2 paq pu ´ aq ´ ¨ ¨ ¨ ´ pu ´ aqk´1 .
pk ´ 1q!
This is just Ek´1 puq for the function f 1 instead of f . By induction assumption it is equal to
f pk`1q psq
Ek pxq “ px ´ aqk`1 .
pk ` 1q!
?
Example 4.8.3 Use the
? second order Taylor polynomial for x about x “ 25 found in Example
4.8.1(a) to approximate
? 26. Estimate the size of the error, and specify the interval that you can be
sure contains 26.
102 Chapter 4. Applications of Diferentiation
Solution In Example 4.8.1(a) we calculated f 2 pxq “ ´ p1{4q x´3{2 and obtained the Taylor poly-
nomial
1 1
P2 pxq “ 5 ` px ´ 25q ´ px ´ 25q2 .
10 1000
The required approximation is
? 1 1
26 “ f p26q « P2 p26q “ 5 ` p26 ´ 25q ´ p26 ´ 25q2 “ 5.099.
10 1000
Exercise 4.8
Find the indicated Taylor polynomials for the given functions using the definition of Taylor
polynomial.
1. e´x about x “ 0, order 4.
2. ln x about x “ 2, order 4.
?
3. x about x “ 4, order 3.
4. 1{ p2 ` xq about x “ 1, order n.
Use second order Taylor polynomials P2 pxq for the given function about the point specified to
approximate the indicated value. Estimate the error, and write the smallest interval you can be
sure contains the value.
5. f pxq “ x1{3 about 8; approximate 91{3 .
6. f pxq “ 1x about 1; approximate 1.02
1
.
x
7. f pxq “ e about 0; approximate e ´0.5 .