Suppose the amount of kelp in a harbour depends on the number of urchins. Urchins eat kelp: when there are more urchins, there is less kelp, and when there are fewer urchins, there is more kelp. Suppose further that the number of urchins in the harbour depends on the number of otters, who find urchins extremely tasty: the more otters there are, the fewer urchins there are.
Let O, U, and K be the populations of otters, urchins, and kelp, respectively.
Is dUdK positive or negative?
Is dOdU positive or negative?
Is dOdK positive or negative?
Remark: An urchin barren is an area where unchecked sea urchin grazing has decimated the kelp population, which in turn causes the other species that shelter in the kelp forests to leave. Introducing otters to urchin barrens is one intervention to increase biodiversity. A short video with a more complex view of otters and urchins in Canadian waters is available on YouTube: https://youtu.be/ASJ82wyHisE
Hint+
For parts (a) and (b), remember the definition of a derivative:
dUdK=h→0limhK(U+h)−K(U).
When h is positive, U+h is an increased urchin population; what is the sign of K(U+h)−K(U)?
For part (c), use the chain rule!
Answer+
(a) dUdK is negative (b) dOdU is negative (c) dOdK is positive
Full solution+
(a)
More urchins means less kelp, and fewer urchins means more kelp. This means kelp and urchins are negatively correlated, so dUdK<0.
If you aren't sure why that is, we give a more detailed explanation here, using the definition of the derivative.
When h is a positive number, U+h is greater than U, so K(U+h) is less than U, hence K(U+h)−K(U)<0.
Therefore:
h→0+limhK(U+h)−K(U)=positivenegative<0.
Similarly, when h is negative, U+h is less than U, so K(U+h)−K(U)>0, and
h→0−limhK(U+h)−K(U)=negativepositive<0.
Therefore:
dUdK=h→0limhK(U+h)−K(U)<0.
(b) More otters means fewer urchins, and fewer otters means more urchins. So, otters and urchins are negatively correlated: dOdU<0.
(c) Using the chain rule, dOdK=dUdK⋅dOdU. Parts (a) and (b) tell us both these derivatives are negative, so their product is positive: dOdK>0.
We can also see that dOdK>0 by thinking about the relationships as described. When the otter population increases, the urchin population decreases, so the kelp population increases. That means when the otter population increases, the kelp population also increases, so kelp and otters are positively correlated. The chain rule is a formal version of this kind of reasoning.
Suppose A,B,C,D, and E are functions describing an interrelated system, with the following signs: dBdA>0, dCdB>0, dDdC<0, and dEdD>0. Is dEdA positive or negative?
Hint+
Remember that Leibniz notation suggests fractional cancellation.
Answer+
negative
Full solution+
dEdA=dBdA⋅dCdB⋅dDdC⋅dEdD<0
since we multiply three positive quantities and one negative.
f′(x)=−x32+x2−1x is defined
for x in (−∞,1)∪(1,∞).
Full solution+
First, we manipulate our function to make it easier to differentiate:
f(x)=x−2+(x2−1)1/2
Now, we can use the power rule to differentiate x21. This will be easier than differentiating x21 using quotient rule, but if you prefer, quotient rule will also work.
The function f(x) is only defined when x=0 and when x2−1≥0. That is, when x is in (−∞,−1]∪[1,∞). We have an added restriction on the domain of f′(x): x2−1 must not be zero. So, the domain of f′(x) is (−∞,−1)∪(1,∞).
If we let g(x)=secx and h(x)=e2x+7, then f(x)=g(h(x)), so by the chain rule,
f′(x)=g′(h(x))⋅h′(x). However, in order to evaluate h′(x), we'll need to use the chain rule again.
Answer+
2e2x+7sec(e2x+7)tan(e2x+7)
Full solution+
If we let g(x)=secx and h(x)=e2x+7, then f(x)=g(h(x)), so by the chain rule,
f′(x)=g′(h(x))⋅h′(x). Since g′(x)=secxtanx:
Find the tangent line to the curve y=(tan2x+1)(cos2x) at the point x=4π.
Hint+
What trig identity can you use to simplify the first factor in the equation?
Answer+
y=1
Full solution+
It is possible to start in on this problem with the product rule and then the chain rule, but it's easier if we simplify first. Since tan2x+1=sec2x=cos2x1, we see
f(x)=cos2xcos2x=1
for all values of x for which cosx is nonzero. That is, f(x)=1 for every x that is not an integer multiple of π/2 (and f(x) is not defined when x is an integer multiple of π/2). Therefore, f′(x)=0 for every x on which f exists, and in particular f′(π/4)=0. Also, f(π/4)=1, so the tangent line to f at x=π/4 is the line with slope 0, passing through the point (π/4,1):
The position of a particle at time t is given by s(t)=et3−7t2+8t. For which values of t is the velocity of the particle zero?
Hint+
Velocity is the derivative of position with respect to time. In this case, the velocity of the particle is given by s′(t).
Answer+
t=32 and t=4
Full solution+
Velocity is the derivative of position with respect to time. So, the velocity of the particle is given by s′(t). We need to find s′(t), and determine when it is zero.
To determine where this function is zero, we factor:
=et3−7t2+8t⋅(3t−2)(t−4)
So, the velocity is zero when et3−7t2+8t=0, when 3t−2=0, and when t−4=0. Since et3−7t2+8t is never zero, this tells us that the velocity is zero precisely when t=32 or t=4.
There is no power of e that is equal to zero; so if the product above is zero, it must be that 1−x2=0. This happens for x=±1. On the curve, when x=1, y=1, and
when x=−1, y=−1. So the points are (1,1) and (−1,−1).
A particle starts moving at time t=1, and its position thereafter is given by
s(t)=sin(t1).
When is the particle moving in the negative direction?
Hint+
If t≥1, then 0<t1≤1.
Answer+
Always
Full solution+
The question asks when s′(t) is negative. So, we start by differentiating. Using the chain rule:
s′(t)=cos(t1)⋅dtd{t1}=cos(t1)⋅t2−1
When t≥1, t1 is between 0 and 1. Since cosθ is positive for 0≤θ<π/2, and π/2>1, we see that cos(t1) is positive for the entire domain of s(t). Also, t2−1 is negative for the entire domain of the function. We conclude that s′(t) is negative for the entire domain of s(t), so the particle is always moving in the negative direction.
Solution 2: We simplify to avoid the quotient rule:
f(x)=cos3(5x−7)ex=exsec3(5x−7)
Now we use the product rule to differentiate:
f′(x)=exsec3(5x−7)+exdxd{sec3(5x−7)}
Here, we'll need the chain rule. Since sec3(5x−7)=[sec(5x−7)]3, our “outside" function is g(x)=x3 and our “inside" function is h(x)=sec(5x−7), so that
g(h(x))=[sec(5x−7)]3=sec3(5x−7).
=exsec3(5x−7)+ex⋅3sec2(5x−7)⋅dxd{sec(5x−7)}
We need the chain rule again! Recall dxd{secx}=secxtanx.
A particle moves along the Cartesian plane from time t=−π/2 to time t=π/2. The x-coordinate of the particle at time t is given by x=cost, and the y-coordinate is given by y=sint, so the particle traces a curve in the plane. When does the tangent line to that curve have slope −1?
Hint+
At time t, the particle is at the point (x(t),y(t)),
with x(t)=cost and y(t)=sint.
Over time, the particle traces out a curve; let's call that curve y=f(x).
Then y(t)=f(x(t)), so
the slope of the curve at the point (x(t),y(t))
is f′(x(t)). You are to determine the values of t
for which f′(x(t))=−1.
Answer+
t=4π
Full solution+
At time t, the particle is at the point (x(t),y(t)),
with x(t)=cost and y(t)=sint.
Over time, the particle traces out a curve; let's call that curve y=f(x).
Then y(t)=f(x(t)), so
the slope of the curve at the point (x(t),y(t))
is f′(x(t)). You are to determine the values of t
for which f′(x(t))=−1.
By the chain rule
y′(t)=f′(x(t))⋅x′(t)
Substituting in x(t)=cost and y(t)=sint gives
cost=f′(x(t))⋅(−sint)
so that
f′(x(t))=−sintcost
is −1 precisely when sint=cost. This happens whenever
t=4π.
Remark: the path traced by the particle is a semicircle. You can
think about the point on the unit circle with angle t, or you
can notice that x2+y2=sin2t+cos2t=1.
Evaluate the derivative of f(x)=3x3−9tanxecscx2. You do not have to simplify your answer.
Hint+
This is a long, nasty problem, but it doesn't use anything you haven't seen before. Be methodical, and break the question into as many parts as you have to. At the end, be proud of yourself for your problem-solving abilities and tenaciousness!
To begin the differentiation, we can choose our “outside" function to be g(x)=x31, and our “inside" function to be h(x)=x3−9tanxecscx2. Then f(x)=g(h(x)), so f′(x)=g′(h(x))⋅h′(x)=31(h(x))−32h′(x):
Suppose a particle is moving in the Cartesian plane over time. For any real number t≥0, the coordinate of the particle at time t is given by (sint,cos2t).
Sketch a graph of the curve traced by the particle in the plane by plotting points, and describe how the particle moves along it over time.
What is the slope of the curve traced by the particle at time t=310π?
Hint+
To sketch the curve, you can start by plotting points. Alternately, consider x2+y.
Answer+
(a)
The particle traces the curve y=1−x2 restricted to domain [−1,1]. At t=0, the particle is at the top of the curve, (1,0). Then it moves to the right, and goes back and forth along the curve, repeating its path every 2π units of time.
(b) 3
Full solution+
(a)
The table below gives us a number of points on our graph, and the times they occur.
t
(sint,cos2t)
0
(0,1)
π/4
(21,21)
π/2
(1,0)
3π/4
(21,21)
π
(0,1)
5π/4
(−21,21)
3π/2
(−1,0)
7π/4
(−21,21)
2π
(0,1)
These points will repeat with a period of 2π. With this information, we have a pretty good idea of the particle's motion:
The particle traces out an arc, pointing down. It starts at t=0 at the top part of the graph at (1,0), then is moves to the right until it hits (1,0) at time t=π/2. From there it reverses direction and moves along the curve to the left, hitting the top at time t=π and reaching (−1,0) at time t=3π/2. Then it returns to the top at t=2π and starts again.
So, it starts at the top of the curve, then moves back for forth along the length of the curve. If goes right first, and repeats its cycle every 2π units of time.
(b)
Let y=f(x) be the curve the particle traces in the xy-plane. Since x is a function of t, y(t)=f(x(t)). What we want to find is dxdf when t=(310π). Since dxdf is a function of x, we note that when t=(310π), x=sin(310π)=sin(34π)=−23. So, the quantity we want to find (the slope of the tangent line to the curve y=f(x) traced by the particle at the time t=(310π) is given by
dxdf(−23).
Remark: The standard way to write this problem is to omit the notation f(x), and let the variable y stand for two functions. When t is the variable, y(t)=cos2t gives the y-coordinate of the particle at time t. When x is the variable, y(x) gives the y-coordinate of the particle given its position along the x-axis. This is an abuse of notation, because if we write y(1), it is not clear whether we are referring to the y-coordinate of the particle when t=1 (in this case, y=cos2(1)≈0.3), or the y-coordinate of the particle when x=1 (in this case, looking at our table of values, y=0). Although this notation is not strictly “correct," it is very commonly used. So, you might see a solution that looks like this:
The slope of the curve is dxdy. To find dxdy, we use the chain rule:
In this case, it is up to the reader to understand when y is used as a function of t, and when it is used as a function of x. This notation (using y to be two functions, y(t) and y(x)) is actually the accepted standard, so you should be able to understand it.
Find the first and second derivatives of both functions
Evaluate both functions and their first and second derivatives at 0.
Show that for all x>0, f(x)>h(x).
Remark: for some applications, we only need to know that a function is “big enough." Since f(x) is a difficult function to evaluate, it may be useful in some circumstances to know that it is bigger than h(x) when x is positive.
(a) f′(x)=(1+2x)ex+x2f′′(x)=(4x2+4x+3)ex+x2h′(x)=1+3xh′′(x)=3
(b) f(0)=h(0)=1; f′(0)=h′(0)=1; f′′(0)=h′′(0)=3
(c) f and h “start at the same place," since f(0)=h(0). Also f′(0)=h′(0), and f′′(x)=(4x2+4x+3)ex+x2>3ex+x2>3=h′′(x) when x>0. Since f′(0)=h′(0), and since f′ grows faster than h′ for positive x, we conclude f′(x)>h′(x) for all positive x. Now we can conclude that (since f(0)=h(0) and f grows faster than h when x>0) also f(x)>h(x) for all positive x.
(b) f(0)=h(0)=1; f′(0)=h′(0)=1; f′′(0)=h′′(0)=3
(c) f and h “start at the same place," since f(0)=h(0). If it were clear that f′(x) were greater than h′(x) for x>0, then we would know that f grows faster than h, so we could conclude that f(x)>h(x), as desired. Unfortunately, it is not obvious whether (1+2x)ex+x2 is always greater than 1+3x for positive x. So, we look to the second derivative. f′(0)=h′(0), and f′′(x)=(4x2+4x+3)ex+x2>3ex+x2>3=h′′(x) when x>0. Since f′(0)=h′(0), and since f′ grows faster than h′ for positive x, we conclude f′(x)>h′(x) for all positive x. Now we can conclude that (since f(0)=h(0) and f grows faster than h when x>0) also f(x)>h(x) for all positive x.