Professional Documents
Culture Documents
MA1505 1920S1 Part I Chapter 2
MA1505 1920S1 Part I Chapter 2
ations
2
2.1 Definition and Basic Formulas of Derivative
Let A(x0 , y 0 ) and B(x1 , y 1 ) be points on the x y-plane. Suppose that x0 6= x1 , and let L be the line
passing through points A and B.
L b
B(x1 , y 1 )
P (x, y)
b
A(x0 , y 0 ) x
O
b
C D
y − y0 y1 − y0 y1 − y0
Let P (x, y) be an arbitrary point on L. Then = . The ratio is called the slope
x − x0 x1 − x0 x1 − x0
(or gradient) of the line L, which determines the rate of change (at any point) of the line.
Limit of a function
Let y = f (x). If as x gets close to a (but not equal to a), f (x) approaches a fixed number L
(x → a ⇒ f (x) → L), then the limit of f (x) as x approaches a is L, denoted by lim f (x) = L.
x→a
In particular, if y = f (x) is a polynomial, then lim f (x) = f (a) for any a ∈ R.
x→a
If as x gets close to a (but not equal to a), f (x) gets arbitrary large (x → a ⇒ f (x) → ∞), then
we write lim f (x) = ∞; lim f (x) = −∞ is defined similarly.
x→a x→a
24
CHAPTER 2. DERIVATIVE AND ITS APPLICATIONS 25
Theorem 2.1.1. If f (x) = g (x) for all x near a (except possibly at a), then lim f (x) = lim g (x) = L.
x→a x→a
Example 2.1.2. Note that for all x 6= 1, (x 2 − 1)/(x − 1) = (x − 1)(x + 1)/(x − 1) = x + 1. Then
x2 − 1
lim = lim (x + 1) = 1 + 1 = 2.
x→1 x − 1 x→1
Theorem 2.1.3 (Limit Rules). Suppose that lim f (x) = L and lim g (x) = M. Then
x→a x→a
(i) Fix the point P (a, f (a)) on the curve. Let Q(x, f (x)) be another point on the curve.
(ii) Connect P and Q. The slope of the line through P and Q is m PQ = [ f (x) − f (a)]/(x − a).
(iii) Let Q approach P , i.e., x → a. Then the line through P and Q approaches the tangent line
of y = f (x) at x = a.
y
•
m PQ = x 2 −1 Q(x, x 2 )
x−1•
b
P (1, 1) x
O
Solution. Fix P (1, 1) and let Q(x, x 2 ) be another point on the parabola y = x 2 . Then the slope of
the line passing through P and Q is m PQ = (x 2 − 1)/(x − 1). So the slope of the tangent line at
x = 1 is (refer to Example 2.1.2)
x2 − 1
m = lim = 2.
x→1 x − 1
Definitions
Let y = f (x) be a function, and P (a, f (a)) a point on its graph. The derivative of y = f (x) with
respect to x at x = a is the slope of the tangent line of y = f (x) at x = a, denoted by f ′ (a).
Let ∆x = x − a(6= 0) be the change in x-coordinate from P to Q, and ∆y = f (x) − f (a) be the
change in y-coordinate. Then the slope of the line through P and Q is ∆y/∆x; and
¯ ¯
′ ∆y d y ¯¯ d f ¯¯
f (a) = lim = = .
∆x→0 ∆x d x ¯x=a d x ¯x=a
Its normal line at x = a is the line through the point (a, f (a)) and perpendicular to the tangent
line at x = a, i.e., of slope −1/ f ′ (a) (provided that f ′ (a) 6= 0):
Example 2.1.5. Find f ′ (x) if (i) f (x) = c, where c is a constant, (ii) f (x) = x, and (iii) f (x) = x 2 .
∆y
Solution. (i) Let y = f (x) = c. Then ∆y = 0, and = 0 → 0 as ∆x → 0. So f ′ (x) = 0.
∆x
∆y ∆x
(ii) Let y = f (x) = x. Then ∆y = ∆x, and = = 1 → 1 as ∆x → 0. So f ′ (x) = 1.
∆x ∆x
∆y (x + ∆x)2 − x 2 2x∆x + (∆x)2
(iii) Let y = x 2 . Then = = = 2x + ∆x → 2x as ∆x → 0. Hence,
∆x ∆x ∆x
f ′ (x) = 2x.
CHAPTER 2. DERIVATIVE AND ITS APPLICATIONS 27
Differentiation rules
Theorem 2.1.6. Let y = f (x) and z = g (x) be two functions and c be a constant.
d dy
(i) (c y) = c .
dx dx
d dy dz
(ii) (y + z) = + .
dx dx dx
d dy dz
(iii) (y z) = z +y .
dx dx dx
d ³ y ´ z (d y/d x) − y (d z/d x)
(iv) = , if z 6= 0.
dx z z2
d ³ x ´
Example 2.1.7. Find .
d x x2 + 1
2 dx d 2
d ³ x ´ (x + 1) d x − x d x (x + 1) (x 2 + 1) · 1 − x · (2x + 0) 1 − x2
Solution. = = = .
d x x2 + 1 (x 2 + 1)2 (x 2 + 1)2 (x 2 + 1)2
d n
Example 2.1.8. Use mathematical induction to prove that (x ) = nx n−1 for every positive
dx
integer n.
d n
Proof. Let P (n) be the statement (x ) = nx n−1 .
dx
d 1
Initial step: P (1) is the statement (x ) = 1x 1−1 :
dx
dx
LHS = = 1 = 1x 0 = RHS.
dx
Hence, P (1) is true.
d k
Inductive step: Assume that P (k) is true for some positive integer k, i.e., (x ) = kx k−1 . We
dx
d k+1
shall verify that P (k + 1) is also true, i.e., (x ) = (k + 1)x (k+1)−1 :
dx
d k+1 d k d k d
(x )= (x · x) = x (x ) + x k (x)
dx dx dx dx
= x · kx k−1 + x k · 1 = kx k + x k = (k + 1)x k = (k + 1)x (k+1)−1 .
Theorem 2.1.9 (Chain Rule). Let y = f (x) and z = g (y). Then z = g ( f (x)) and
dz dz dy
= · .
dx dy dx
dz
Example 2.1.10. Find if z = (x 2 + 1)5 .
dx
dz dz dy
= · = 5y 4 · (2x + 0) = 5(x 2 + 1)4 · 2x = 10x(x 2 + 1)4 .
dx dy dx
d ³ 2
´
Example 2.1.12. Find 3x tan(ln x) − 2e x +5x .
dx
d dx d
Solution. First of all, by product rule (x tan(ln x)) = tan(ln x) · +x · tan(ln x).
dx dx dx
Let y = ln x. Then tan(ln x) = tan y. Consider the following chain:
dy d
dy tan y
dx
x −−→ y −−−−−→ tan y = tan(ln x).
d dy d 1 1
So by chain rule, tan(ln x) = · tan y = · sec2 y = · sec2 (ln x). Hence,
dx dx dy x x
d 1
(x tan(ln x)) = tan(ln x) · 1 + x · sec2 (ln x) = tan(ln x) + sec2 (ln x).
dx x
CHAPTER 2. DERIVATIVE AND ITS APPLICATIONS 29
2
Next, let z = x 2 + 5x, then e x +5x
= e z . Consider the following chain:
dz d z
e 2
x −−→ z −−−→ e z = e x +5x
dx dz
.
d x 2 +5x d z d z 2
So by chain rule, e = · e = (2x + 5)e z = (2x + 5)e x +5x .
dx dx dz
Therefore,
d ³ 2
´ 2
3x tan(ln x) − 2e x +5x = 3 tan(ln x) + sec2 (ln x) − 2(2x + 5)e x +5x .
¡ ¢
dx
d
Example 2.1.13. Find sin3 (e x ).
dx
Solution. Let y = e x and z = sin y. Then sin3 (e x ) = z 3 . Consider the following chain:
dy dz d 3
dy z
x −−→ y −−→ z −−−→ z 3 = sin3 (e x ).
dx dz
Therefore,
d dy dz d 3
sin3 (e x ) = · · z = e x · cos y · 3z 2 = e x · cos(e x ) · 3 sin2 (e x ).
dx dx dy dz
Let y = f (x) be a function. Then the 2nd (order) derivative of y with respect to x is the derivative
of d y/d x:
d2y
µ ¶
d dy
2
= or f ′′ (x) = ( f ′ )′ (x).
dx dx dx
In general, by differentiating y = f (x) with respect to x n times,
dn y
= f (n) (x)
d xn
dn y
Example 2.1.14. Find , n = 1, 2, 3, if y = xe x .
d xn
d dx d x
Solution. (xe x ) = e x +x (e ) = e x · 1 + x · e x = (1 + x)e x .
dx dx dx
d2 d d d x
2
(xe x ) = [(1 + x)e x ] = e x (1 + x) + (1 + x) e = e x · 1 + (1 + x) · e x = (2 + x)e x .
dx dx dx dx
d3 x d x x d d x
(xe ) = [(2 + x)e ] = e (2 + x) + (2 + x) e = e x · 1 + (2 + x) · e x = (3 + x)e x .
d x3 dx dx dx
CHAPTER 2. DERIVATIVE AND ITS APPLICATIONS 30
Differentiation of equation
Note that an equation in x and y determines a curve in the x y-plane. In order to analyze on the
tangent lines to the curve, we shall evaluate d y/d x.
2 y
x 2 + 2y 2 = 1
y
(1, 1) (2, 2)
b b
1 2
1
2x + y 2 = y 3
−2 −1 O 1 2 3 x
O 1 2 3 4 x
−1
(i) Differentiate the equation with respect to x to obtain an equation in x, y and d y/d x.
(ii) Express d y/d x in terms of x and y. (It is unnecessary to convert y into an expression of x,
unless it is required by the question.)
An equation in x, y is sometimes called an implicit function, and the above procedure of find-
ing derivative d y/d x of an equation is called implicit differentiation.
Example 2.2.1. Find the tangent line to the curve 2x + y 2 = y 3 at (2, 2).
d d 3
Solution. (i) Differentiate with respect to x: (2x + y 2 ) = (y ).
dx dx
d dx d 2 dy d 2 dy
(2x + y 2 ) = 2 + y = 2+ · y = 2+ · 2y,
dx dx dx dx dy dx
d 3 dy d 3 dy
(y ) = · y = · 3y 2 .
dx dx dy dx
We obtain an equation in x, y and d y/d x:
dy dy
2 + 2y = 3y 2 .
dx dx
(ii) Solve d y/d x in terms of x and y:
dy 2
= 2 .
d x 3y − 2y
(iii) Substitute (x, y) = (2, 2) to obtain
¯
d y ¯¯ 2 1
= 2
= .
d x (2,2) 3 · 2 − 2 · 2 4
¯
CHAPTER 2. DERIVATIVE AND ITS APPLICATIONS 31
(iv) The tangent line of the curve at (2, 2) is thus y = (1/4)(x − 2) + 2 = x/4 + 3/2.
dy
Example 2.2.2. Find if x tan y + cos(x y) = 1.
dx
Solution. (i) Differentiate the equation with respect to x:
d d d
(x tan y) + cos(x y) = (1) = 0.
dx dx dx
Let z = x y. Then cos(x y) = cos z.
µ ¶ µ ¶
d dz d dx dy dy
cos(x y) = cos z = y +x (− sin z) = − y + x sin(x y),
dx dx dz dx dx dx
d dx d dy d dy
(x tan y) = tan y +x tan y = tan y · 1 + x · tan y = tan y + x sec2 y .
dx dx dx dx dy dx
Hence, µ ¶
dy
2 dy
tan y + x sec y − y +x sin(x y) = 0.
dx dx
(ii) Express d y/d x in terms of x and y:
dy y sin(x y) − tan y
= .
d x x sec2 y − x sin(x y)
For each x ∈ [−1, 1], there is a unique y ∈ [−π/2, π/2] such that sin y = x, denoted by y = sin−1 x.
y
y = sin x 1
O x
− π2 π
2
−1 y = sin−1 x
The function y = sin−1 x : [−1, 1] → [−π/2, π/2] is called the inverse sine function.
For each x ∈ [−1, 1], there is a unique y ∈ [0, π] such that cos y = x, denoted by y = cos−1 x.
The function y = cos−1 x : [−1, 1] → [0, π] is called the inverse cosine function.
For each x ∈ R, there is a unique y ∈ (−π/2, π/2) such that tan y = x, denoted by y = tan−1 x. The
function y = tan−1 x : R → (−π/2, π/2) is called the inverse tangent function.
π y y = cos−1 x y y = tan x
π
2
π
2 y = tan−1 x
O
1 x
− π2 π
y = cos x 2
x
− π2
O 1 π π
2
−1
Proof. (i) Let y = sin−1 x. Then x = sin y. Differentiate with respect to x to get
dx d dy d dy
1= = sin y = sin y = cos y.
dx dx dx dy dx
q
2 2
Note that sin y + cos y = 1 and cos y ≥ 0 for y ∈ [−π/2, π/2]. Then cos y = 1 − sin2 y and
d dy 1 1 1
(sin−1 x) = = =q =p .
dx d x cos y 1 − x2
1 − sin2 y
d tan−1 x
µ ¶
Example 2.2.4. Find .
d x 1 + x2
ln y = a1 ln f 1 (x) + · · · + an ln f n (x).
Therefore,
f 1′ (x) f n′ (x)
· ¸
dy
= a1 + · · · + an [ f 1 (x)]a1 · · · [ f n (x)]an .
dx f 1 (x) f n (x)
This method is called logarithmic differentiation.
dy x 5 sin9 x
Example 2.2.5. Find if y = p .
dx x −2
Solution. Note that y = x 5 (sin x)9 (x − 2)−1/2 . Then
¸ 5
x sin9 x
·
dy 5 9 cos x 1
= + − p .
dx x sin x 2(x − 2) x −2
Differentiation of exponentials
dy
We can also use logarithmic differentiation to find if y = [ f (x)]g (x) .
dx
(i) Take logarithmic functions both sides:
ln y = g (x) ln f (x).
Therefore,
f ′ (x)
· ¸
dy ′
= ln f (x) · g (x) + g (x) [ f (x)]g (x) .
dx f (x)
x
b
b b b
b b bb
b b b b bb
b b bb
b b b b b b
b b b b b
b b b b b
b b b b b
b b b b b b b
b b b b b b b
b b b b b b b b b b b b b b b
b b
b
b b
b b
b
b b
b b
b b
b
b b
b b
b b
b
b b
b b
b b
b b
b
b b
b b
b b
b b
b b
b
b b
b b
b b
b b
b b
b b
b b
b b
b b
b
b b
b b
b b
bb b
bb b b
bb b b
bb b b
bbb b b
bb b b b b b b b b b b b
Let x(t ) and y(t ) be the x- and y-coordinate of the object at time t , respectively. The functions
x = x(t ) and y = y(t ) are known as parametric equations of the curve. By chain rule,
d2y
µ ¶
d y d y/d t 1 d dy
= and = · .
d x d x/d t d x 2 d x/d t d t d x
Example 2.2.7. A curve is defined by x = cos3 t and y = sin3 t . Find d y/d x and d 2 y/d x 2 .
Solution. Let u = cos t . Then x = u 3 and
dx d 3 du d 3
= u = u = − sin t · 3 cos2 t .
dt dt dt du
Let v = sin t . Then y = v 3 and
dy d 3 dv d 3
= v = v = cos t · 3 sin2 t .
dt dt dt dv
Therefore,
d y d y/d t cos t · 3 sin2 t sin t
= = = − = − tan t .
d x d x/d t − sin t · 3 cos2 t cos t
d2y
µ ¶
1 d dy 1 d 1 1
2
= · = 2
· (− tan t ) = 2
· (− sec2 t ) = sec4 t csc t .
dx d x/d t d t d x −3 sin t cos t d t −3 sin t cos t 3
CHAPTER 2. DERIVATIVE AND ITS APPLICATIONS 35
Partial derivatives
Let z = f (x, y) be a function in two independent variables x and y. Fix y and differentiate z with
respect to x; then we obtain the partial derivative of z with respect to x, denoted by ∂z/∂x or
fx .
Similarly, fix x and differentiate z with respect to y; then we obtain the partial derivative of
z with respect to y, denoted by ∂z/∂y or f y .
Let z = f (x, y) be a function in two independent variables x and y. The second (order) partial
derivatives are
∂2 z
µ ¶
∂ ∂z
= = f xx ,
∂x 2 ∂x ∂x
∂2 z
µ ¶
∂ ∂z
= = fyy,
∂y 2 ∂y ∂y
∂2 z
µ ¶
∂ ∂z
= = fx y ,
∂y∂x ∂y ∂x
∂2 z
µ ¶
∂ ∂z
= = f yx .
∂x∂y ∂x ∂y
∂2 z ∂2 z ∂2 z ∂2 z
= 2, = 3, = 3, = 0.
∂x 2 ∂y∂x ∂x∂y ∂y 2
Example 2.2.11. Let z = x cos y + ye x . Find all its second order partial derivatives.
For example,
(i) Let f (x) = e x , then f ′ (x) = e x > 0 for all x ∈ R; so f (x) is increasing on R.
(ii) Let f (x) = −x 3 − x, then f ′ (x) = −3x 2 − 1 ≤ −1 < 0 for all x ∈ R; so f (x) is decreasing on R.
(iii) Let f (x) = sin2 x + cos2 x. Then f ′ (x) = 2 sin x cos x + 2 cos x(− sin x) = 0 for all x ∈ R; so f (x)
is constant on R. In fact, it is well-known that sin2 x + cos2 x identically equal to 1 for all
x ∈ R.
In general, let y = f (x) be a function. We can determine its intervals of increasing and de-
creasing:
(i) Find f ′ (x) and solve f ′ (x) = 0. Suppose the roots are
Let y = f (x) be a differentiable function. If f ′ (c) = 0, it is said that y = f (x) has a stationary
point at x = c. Equivalently, the graph of y = f (x) has a horizontal tangent line at x = c.
Example 2.3.2. Find the intervals of increasing and decreasing of f (x) = (2x − 1)/(x 2 + 2).
Solution. f ′ (x) = −2(x + 1)(x − 2)/(x 2 + 2)2 . Let f ′ (x) = 0. Then x = −1 and x = 2, which are the
stationary points.
y b
−1
O 2 x
2x − 1
f (x) =
x2 + 2
b
Example 2.3.3. Find the intervals of increasing and decreasing of f (x) = e x /(x − 1)2 (x 6= 1).
Solution. f ′ (x) = e x (x − 3)/(x − 1)3 . Let f ′ (x) = 0. Then x = 3, which is the stationary point.
y
ex
y=
(x − 1)2
b
O 1 3 x
Theorem 2.3.4 (1st Derivative Test). Suppose y = f (x) has a stationary point c, i.e., f ′ (c) = 0.
(i) If f ′ (x) changes from negative to positive at c, then y = f (x) has a local minimum at x = c.
(ii) If f ′ (x) changes from positive to negative at c, then y = f (x) has a local maximum at x = c.
(iii) If f ′ (x) does not change sign at c, then y = f (x) does not have a local maximum or mini-
mum at x = c; it is said to have a saddle point at c.
Theorem 2.3.5 (2nd Derivative Test). Let y = f (x) be a (twice differentiable) function.
CHAPTER 2. DERIVATIVE AND ITS APPLICATIONS 38
(i) If f ′ (c) = 0 and f ′′ (c) > 0, then y = f (x) has a local minimum at x = c.
(ii) If f ′ (c) = 0 and f ′′ (c) < 0, then y = f (x) has a local maximum at x = c.
2.3.3 Concavity
The following two graphs are both increasing; but they look different.
y y
O x O x
concave up concave down
Theorem 2.3.6 (Concavity Test). Let y = f (x) be a (twice differentiable) function defined on an
interval I .
(i) Find f ′′ (x) and solve f ′′ (x) = 0. Suppose the roots are
Example 2.3.7. Let f (x) = xe −2x . Find its intervals of increasing and decreasing, and intervals
of concavity.
Solution. f ′ (x) = (1 − 2x)e −2x . Let f ′ (x) = 0. Then x = 1/2 is the stationary point.
CHAPTER 2. DERIVATIVE AND ITS APPLICATIONS 39
x <1 x >1
4(x − 1) − +
e −2x + +
f ′′ (x) − +
f (x) concave down concave up
b
inflection point
y = xe −2x
ր ց
down up
Example 2.3.8. Let f (x) = (x 2 − 1)/(x 2 + 3). Find its intervals of increasing and decreasing, and
the intervals of concavity.
Solution. f ′ (x) = 8x/(x 2 + 3)2 . Let f ′ (x) = 0. Then x = 0, which is the stationary point.
x <0 x >0
8x − +
(x + 3)2
2
+ +
f ′ (x) − +
f (x) ց ր
inflection points
b b
O x
−2 −1 1 2
b
local min
ց ր
down up down
Vertical asymptote
x → a ⇒ |P (x)/Q(x)| → ∞.
(x − 1)(x − 3)
Example 2.3.9. Let y = . Then the curve has 2 vertical asymptotes
(x − 2)(x − 5)
x = 2 and x = 5.
y
4
(x−1)(x−3)
3 y= (x−2)(x−5)
2
O 1 2 3 4 5 6 7 x
−1
−2
CHAPTER 2. DERIVATIVE AND ITS APPLICATIONS 41
x
Example 2.3.10. Let y = . The curve has 4 vertical asymptotes
(x 2 + 1)(x 2 − 2)(x 2 + 3)(x 2 − 4)
p p
x = −2, x = − 2, x = 2 and x = 2.
y
0.10
0.05
p
x =− 2
x
−2 −1 O 1 2
p
−0.05 x= 2
−0.10
Horizontal asymptote
x → ±∞ ⇒ P (x)/Q(x) → L.
Note that if deg P (x) > degQ(x), then y = P (x)/Q(x) has no horizontal asymptote.
3x 4 + 4x 2 − 3x + 1
Example 2.3.11. y = has a horizontal asymptote y = 0.
6x 6 + 3x 4 + x 3 + 1
y
4 2
2 y = 3x +4x −3x+1
6x 6 +3x 4 +x 3 +1
−2 −1 O 1 2 x
CHAPTER 2. DERIVATIVE AND ITS APPLICATIONS 42
3x 6 + 4x 2 − 3x + 1
Example 2.3.12. y = 6 has a horizontal asymptote y = 3/6 = 1/2.
6x + 3x 4 + x 3 + 1
y
6 2
2 y = 3x +4x −3x+1
6x 6 +3x 4 +x 3 +1
y = 1/2 1
−2 −1 O 1 2 x
3x 7 + 4x 2 − 3x + 1
Example 2.3.13. y = has no horizontal asymptote.
6x 6 + 3x 4 + x 3 + 1
y
3x 7 +4x 2 −3x+1
2 y= 6x 6 +3x 4 +x 3 +1
−1 O 1 2 x
Oblique asymptote
x → ±∞ ⇒ P (x)/Q(x) ≈ Ax + B.
x3 + x2 + 1
2 y=
x2 + 1
−4 −2 O 2 4 x
−2
−2 −1 O 1 2 x
−1 y = 21 x − 12
CHAPTER 2. DERIVATIVE AND ITS APPLICATIONS 44
O x
p
Example 2.4.1. Let f (x) = x.
p p
(i) Find the derivative at a: f ′ (x) = 1/(2 x) ⇒ f ′ (a) = 1/(2 a).
1 p
(ii) The tangent line at x = a is y = f ′ (a)(x − a) + f (a) = p (x − a) + a.
2 a
p 1 p
(iii) Hence, as x ≈ a, x ≈ p (x − a) + a.
2 a
p p
In order to approximate x, we shall find a near x, such that a can be easily evaluated.
p
(i) 2: 2 ≈ 1.96 = 1.42 . Use a = 1.96:
p 1
2≈ (2 − 1.96) + 1.4 ≈ 1.414.
2 × 1.4
p
(ii) 3: 3 ≈ 2.89 = 1.72 . Use a = 2.89:
p 1
3≈ (3 − 2.89) + 1.7 ≈ 1.732.
2 × 1.7
p
(iii) 23: 23 ≈ 23.04 = 4.82 . Use a = 23.04:
p 1
23 ≈ (23 − 23.04) + 4.8 ≈ 4.796.
2 × 4.8
Example 2.4.2. Estimate sin(31◦ ) using linear approximation.
CHAPTER 2. DERIVATIVE AND ITS APPLICATIONS 45
Solution. 31◦ = 30◦ + 1◦ = π/6 + π/180 (radian), and it is known that sin(π/6) = 1/2.
¯ p
Let y = sin x. Then d y/d x = cos x and (d y/d x)¯x=π/6 = 3/2. The tangent line at x = π/6:
p ³
3 π´ 1
y= x− + .
2 6 2
Therefore, p h³ p
³ππ ´ 3 π π ´ πi 1 3π 1
◦
sin(31 ) = sin + ≈ + − + = + .
6 180 2 6 180 6 2 360 2
d y d y/d t dy dy dx
= or equivalently = · .
d x d x/d t dt dx dt
t
dx dy dy dx
= ·
dt dt dx dt
dy
dx
x y
Example 2.4.3. The area of an equilateral triangle is increasing at a rate of 1 cm2 /s. What is the
rate of change of its side when the perimeter is 12 cm?
¯
Solution. Let x be the length of a side of the equilateral triangle. We need to find (d x/d t )¯x=4 .
Let A be the area of the equilateral triangle. It is given that d A/d t = 1 cm2 /s.
60◦ x
t
dx d A d A dx
= ·
dt dt dx dt
dA
dx
x A
Hence, Ãp !
dx d A d A 3 2
= ÷ = 1÷ x = p cm/s.
dt dt dx 2 3x
¯ p p
Therefore, (d x/d t )¯x=4 = 2/( 3 · 4) = 3/6 cm/s.
Example 2.4.4. Air is being pumped into a spherical balloon at a constant rate of 100 cm3 /s.
How fast is the radius increasing when the radius is 25 cm?
¯
Solution. Let r be the radius of the balloon. We shall find (d r /d t )¯r =25 .
Let V be the volume of the balloon. It is given that dV /d t = 100 cm3 /s.
4π 3 dV
V= r ⇒ = 4πr 2 cm2 .
3 dr
t
dr dV dV d r
= ·
dt dt dr dt
dV
dr
r V
Hence,
d r dV dV 25
= ÷ = 100 ÷ 4πr 2 = 2 cm/s.
dt dt dr πr
Therefore, (d r /d t )¯r =25 = 25/(π · 252 ) = 1/(25π) ≈ 0.0127 cm/s.
¯
Example 2.4.5. If two resistors with resistances R 1 and R 2 are connected in parallel, then the
total resistance R is given by 1/R = 1/R 1 + 1/R 2 :
R1
R2
CHAPTER 2. DERIVATIVE AND ITS APPLICATIONS 47
Suppose R 1 increases at 0.3 Ω/s and R 2 increases at 0.2 Ω/s. Find the rate of change of R when
R 1 = 80 Ω and R 2 = 100 Ω.
Solution. We shall find (d R/d t )|(R1,R2 )=(80,100) . It is given that d R 1/d t = 0.3 Ω/s, d R 2 /d t = 0.2 Ω/s.
Differentiate the Ohm’s law 1/R = 1/R 1 + 1/R 2 with respect to t to get
d R/d t d R 1 /d t d R 2 /d t d R R 2 d R1 R 2 d R2
− = − − ⇒ = 2 + 2 .
R2 R 12 R 22 dt R1 d t R2 d t
At R 1 = 80 Ω and R 2 = 100 Ω,
1 1 400
R= = = Ω.
1/R 1 + 1/R 2 1/80 + 1/100 9
Hence,
(400/9)2 (400/9)2
¯
d R ¯¯
= · 0.3 + · 0.2 ≈ 0.132 Ω/s.
d t (R1 ,R2 )=(80,100)
¯ 802 1002
Example 2.4.6. A farmer has 2400 m 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?
CHAPTER 2. DERIVATIVE AND ITS APPLICATIONS 48
x A = Area x
Solution. Let the two sides of the field be x and y. Then 2x + y = 2400 (x > 0, y > 0).
We shall maximize the area of the field:
area of the field A has the maximum value 2400 · 600 − 2 · 6002 = 720 000 m2 .
Example 2.4.7. A conical container with capacity 18π cm3 is to be manufactured to have the
smallest slant height. Find the radius and the height of such a container.
h
ℓ
Solution. Let r be the radius, h be the height, and ℓ be the slant height of the cone. It is given
that the volume of the cone
18π = V = (π/3)r 2 h.
Then r 2 h = 54. We shall minimize the slant height
p p
ℓ = r 2 + h 2 = 54/h + h 2 (h > 0).
Example 2.4.8. A rectangle is to be fitted between the x-axis and the curve y = 8x − x 2 . Find the
largest possible area of the rectangle.
y
A y
O x1 x2 8 x
Proof. Suppose the rectangle is placed from x1 to x2 on the x-axis, and its height is y. Then
x1 , x2 (x1 < x2 ) are the roots to the equation y = 8x − x 2 , i.e.,
x 2 − 8x + y = 0.
p p
So x1 = (8 − 64 − 4y)/2 and x2 = (8 + 64 − 4y)/2. Hence, the area of the rectangle is
p p
A = y(x2 − x1 ) = y 64 − 4y = 2y 16 − y (0 < y < 16).
Theorem 2.4.9 (l’Hôpital’s Rule). If lim f (x) = lim g (x) = 0 (0/0 form) or lim | f (x)| = lim |g (x)| =
x→a x→a x→a x→a
∞ (∞/∞ form), then
lim [ f (x)/g (x)] = lim [ f ′ (x)/g ′ (x)],
x→a x→a
provided that lim [ f ′ (x)/g ′ (x)] is a real number or ±∞.
x→a