Professional Documents
Culture Documents
Worksheet 3 Solutions
Worksheet 3 Solutions
Unit 3 Worksheet
Sections 3.1, 3.2, 3.3, 3.5, 3.6, 3.7, 3.8, and 3.9
from Volume 1 of OpenStax “Calculus” by Strang and Herman
Chapter 3 in the textbook explores one of the main tools of calculus, the derivative, and introduces convenient
rules for calculating derivatives of a variety of functions.
Worked solutions to all problems on the worksheet will be made available after the workshop.
Solution
Question 2. Use the rules of differentiation to calculate the derivatives of the following functions:
1+x 2 1
x2 + 3x, xex , , tan x, e2x , ex , x ln(x2 ), and 3 .
1−x x2
Solution
The rules of differentiation yield
2 1 2 3
2x + 3, (x + 1)ex , 2
, 2
, 2e2x , 2xex , ln(x2 ) + 2, and − 5 .
(1 − x) cos x 2x 2
1
Question 3. Use the graph of y = f (x) below to sketch the graph of its derivative y = f 0 (x).
Solution
The solution is shown in the graph below. The function f is increasing on (−∞, −x0 ) and on (0, x0 ), with
x0 ≈ 1.4, which implies f 0 (x) > 0 there. Similarly, f is decreasing on (−x0 , 0) and on (x0 , ∞), which implies
f 0 (x) < 0. Finally, the function f has horizontal tangents at x = ∓x0 and x = 0, corresponding to zeros of
f 0 , with f 0 (∓x0 ) = 0 = f 0 (0), as indicated by the dotted lines below.
√
(Note that, in fact, f (x) = −2x2 (x+2)(x−2) = −2x4 +8x2 , which implies x0 = 2 and f 0 (x) = −8x3 +16x.)
2
Solution
Question 5. Calculate the derivatives of the following functions from first principles, i.e., using only the
definition of the derivative and none of the rules of differentiation:
1
a) f (x) = x2 at x = 2;
√
b) f (x) = 3x + 1.
Solution
3
dy
Question 6. Given y cos x = 1 + sin(xy), find dx by implicit differentiation.
Solution
d
Taking the derivative dx of both sides gives
dy dy
cos x − y sin x = cos(xy) y + x .
dx dx
dy
Solving for dx gives
dy y sin x + y cos(xy)
= .
dx cos x − x cos(xy)
√
Question 7. Consider again the function f (x) = x − 2 with inverse f −1 (x) = x2 + 2, and let a = 2.
Calculate (f −1 )0 (a) both from
1
(f −1 )0 (a) =
f 0 (f −1 (a))
and directly, by differentiating the given expression for f −1 .
Solution
Applying the above formula with a = 2, we have
1
(f −1 )0 (2) = ;
f 0 (f −1 (2))
since f −1 (2) = 22 + 2 = 6 and since f 0 (x) = 12 (x − 2)−1/2 and, hence, f 0 (6) = 41 , it follows that
1 1
(f −1 )0 (2) = = 1 = 4.
f 0 (6) 4
With (f −1 )0 (x) = 2x, we find (f −1 )0 (2) = 4, which is the same value as before.
Question 8. Apply logarithmic differentiation to find the derivatives of the functions
Solution
a) Taking logarithms on both sides of the equation y = xcos x , we find ln y = cos x ln x. Differentiating,
we have
1 dy 1 dy cos x
· = − sin x · ln x + cos x · or = xcos x − sin x · ln x + .
y dx x dx x
√ 2
−x 2
b) Again, taking logarithms in y = xex (x + 1) 3 and making use of the laws of logarithms, we find
√ 2
ln y = ln x + ln ex −x + ln (x + 1)2/3
1 2
= ln x + x2 − x + ln(x + 1).
2 3
Differentiating with respect to x, we have
1 dy 1 2 1 dy √ 2 h 1 2 i
= + 2x − 1 + or = xex −x (x + 1)2/3 + 2x − 1 + .
y dx 2x 3x+1 dx 2x 3(x + 1)
4
Question 9. A rumour is assumed to spread according to the equation
1
p(t) = ,
1 + ae−kt
where p(t) is the proportion of the population that knows the rumour at time t (in days) and a and k are
positive constants.
a) Find limt→∞ p(t). What does that imply for the rumour?
Solution
a) Since
lim (1 + ae−kt ) = 1 + a lim e−kt = 1 + a 0 = 1,
t→∞ t→∞
it follows that
1 1 1
lim = = = 1.
t→∞ 1 + ae−kt limt→∞ (1 + ae−kt ) 1
It follows that the rumour will gradually spread through the whole population. (To be precise, for every
0 < P < 1, there will exist a finite time t > 0 such that p(t) > P .)
b) The rate of spread of the rumour is the rate of change of the proportion of the population that knows
the rumour, which is given by the derivative of p(t):
1 0 −(1 + ae−kt )0 ake−kt
p0 (t) = −kt
= −kt
= .
1 + ae (1 + ae ) 2 (1 + ae−kt )2
1
c) In order to find the inverse function of p(t), we need to solve the equation P = 1+ae−kt
for t:
1−P 1 − P
(1 + ae−kt )P = 1 or P ae−kt = 1 − P or e−kt = or − kt = ln or
Pa Pa
1 1 − P
t = − ln .
k Pa
Hence, the inverse function is p−1 (P ) = − k1 ln 1−P
P a ; it gives the time t at which the proportion of
the population which knows the rumour is equal to P .
“Challenge” problems (Only attempt these after you are finished with the “core” problems.)
Question 10. A ladder of length 10 ft leans against a vertical wall. If the bottom of the ladder slides away
from the base of the wall at a speed of 2 ft/s, how fast is the angle between the ladder and the wall changing
when the bottom of the ladder is 6 ft from the base of the wall?
Solution
Begin by sketching the geometry of the problem; see below. Let θ denote the angle between the top of the
ladder and the wall, and let x denote the distance (in feet) between the base of the wall and the bottom of
5
x
or θ = sin−1 x
the ladder. Then, sin θ = 10 10 . We need to determine the rate of change of the angle θ with
time t; by the chain rule,
dθ dθ dx 1 1
= · =q · 2 rad/s,
dt dx dt x
2 10
1− 10
dx
as dt = 2 ft/s. When the bottom of the ladder is x = 6 ft from the base of the wall,
dθ 1 2 10 2 1
=q = = rad/s.
dt 6 2
10 8 10 4
1− 10
Verify that the function f is differentiable everywhere, but that its derivative is not continuous at 0, as follows:
6
c) Show that f is differentiable when x 6= 0. (Hint: Use the product rule and the chain rule.)
d) Show that f is differentiable when x = 0 by using the definition of the derivative.
e) Show that f 0 is continuous when x 6= 0.
f) Show that f 0 is not continuous when x = 0.
Solution
a) It suffices to note that x2 and sin x are continuous, as is x1 for x 6= 0. The result then follows, since the
product and composition of continuous functions is continuous.
b) Since −1 ≤ sin y ≤ 1 for any y, we have that
−x2 ≤ f (x) ≤ x2 for all x.
We can now use the Squeeze Theorem to deduce that limx→0 f (x) = 0 = f (0); hence, f is also
continuous at 0.
c) The argument is similar to that in item a): x2 and sin x are differentiable, as is x1 for x 6= 0. By the
product rule and the chain rule, we know that the product and composition of differentiable functions,
respectively, is again differentiable.
x2 sin( 1 )
d) Since −|x| ≤ x
x
≤ |x|, we have again by the Squeeze Theorem that limx→0 f (x)−f
x−0
(0)
= 0; hence,
the derivative exists and is zero.
e) The derivative of f away from 0 is given by 2x sin x1 − cos x1 , which is continuous by a similar
dy
a) Find dx by implicit differentiation.
dy
b) Solve the equation explicitly for y and differentiate to find dx explicitly in terms of x.
c) Verify that the solutions in items a) and b) are equivalent.
d) Discuss the advantages and disadvantages of each method.
Solution
d dy
a) Taking the derivative dx of both sides and solving for dx gives
dy −2 − 6x − y
= .
dx x
b) Solving for y gives
4 − 2x − 3x2
y= .
x
Taking the derivative, one finds
dy −3x2 − 4
= .
dx x2
7
dy
c) Substituting the expression for y found in item b) into the expression for dx derived in item a) yields
dy
the expression for dx given in b).
d) The implicit method yields an expression in terms of both x and y, i.e., one needs to know both
coordinates of a point on the curve for it to be useful. The explicit method is more involved; in
particular, finding an explicit expression of y as a function of x is not always feasible.