Navigation

Computing derivatives

4.3 The chain rule

36 problems · hints, answers and solutions shown beside each one

1Stage 1Conceptual

Do you understand the idea? Usually little or no calculation.

Q1Stage 1

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 OO, UU, and KK be the populations of otters, urchins, and kelp, respectively.

  1. Is dKdU\diff{K}{U} positive or negative?

  2. Is dUdO\diff{U}{O} positive or negative?

  3. Is dKdO\diff{K}{O} 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:

dKdU=lim⁡h→0K(U+h)−K(U)h.\ds\diff{K}{U}=\ds\lim_{h \rightarrow 0}\dfrac{K(U+h)-K(U)}{h}.

When hh is positive, U+hU+h is an increased urchin population; what is the sign of K(U+h)−K(U)K(U+h)-K(U)?

For part (c), use the chain rule!

Answer

(a) dKdU\diff{K}{U} is negative (b) dUdO\diff{U}{O} is negative (c) dKdO\diff{K}{O} is positive

Full solution
Q2Stage 1

Suppose A, B, C, D, A,~B,~C,~D,~ and EE are functions describing an interrelated system, with the following signs: dAdB>0\diff{A}{B}>0, dBdC>0\diff{B}{C}>0, dCdD<0\diff{C}{D}<0, and dDdE>0\diff{D}{E}>0. Is dAdE\diff{A}{E} positive or negative?

Hint

Remember that Leibniz notation suggests fractional cancellation.

Answer

negative

Full solution

2Stage 2Procedural

Practising the skill itself, until applying it is automatic.

Q3Stage 2

Evaluate the derivative of f(x)=cos⁡(5x+3)f(x)=\cos(5x+3).

Hint

If g(x)=cos⁡xg(x)=\cos x and h(x)=5x+3h(x)=5x+3, then f(x)=g(h(x))f(x)=g(h(x)). So we apply the chain rule, with “outside" function cos⁡x\cos x and “inside" function 5x+35x+3.

Answer

−5sin⁡(5x+3)-5\sin(5x+3)

Full solution
Q4Stage 2

Evaluate the derivative of f(x)=(x2+2)5f(x)=\left({x^2+2}\right)^5.

Hint

You can expand this into a polynomial, but it's easier to use the chain rule. If g(x)=x5g(x)=x^5, and h(x)=x2+2h(x)=x^2+2, then f(x)=g(h(x))f(x)=g(h(x)).

Answer

10x(x2+2)410x(x^2+2)^4

Full solution
Q5Stage 2

Evaluate the derivative of T(k)=(4k4+2k2+1)17T(k)=\left({4k^4+2k^2+1}\right)^{17}.

Hint

You can expand this into a polynomial, but it's easier to use the chain rule. If g(k)=k17g(k)=k^{17}, and h(k)=4k4+2k2+1h(k)=4k^4+2k^2+1, then T(k)=g(h(k))T(k)=g(h(k)).

Answer

17(4k4+2k2+1)16⋅(16k3+4k)17(4k^4+2k^2+1)^{16}\cdot(16k^3+4k)

Full solution
Q6Stage 2

Evaluate the derivative of f(x)=x2+1x2−1f(x)=\sqrt{\dfrac{x^2+1}{x^2-1}}.

Hint

If we define g(x)=xg(x)=\sqrt{x} and h(x)=x2+1x2−1h(x)=\dfrac{x^2+1}{x^2-1}, then f(x)=g(h(x))f(x)=g(h(x)).
To differentiate the square root function: ddx{x}=ddx{x1/2}=12x−1/2=12x\ds\diff{}{x}\{\sqrt{x}\}=\ds\diff{}{x}\left\{x^{1/2}\right\}=\dfrac{1}{2}x^{-1/2}=\dfrac{1}{2\sqrt{x}}.

Answer

−2x(x2−1)x4−1\frac{-2x}{({x^2-1})\sqrt{x^4-1}}

Full solution
Q7Stage 2

Evaluate the derivative of f(x)=ecos⁡(x2)f(x)=e^{\cos(x^2)}.

Hint

You'll need to use the chain rule twice.

Answer

−ecos⁡(x2)⋅sin⁡(x2)⋅2x-e^{\cos(x^2)}\cdot \sin(x^2)\cdot 2x

Full solution
Q8Stage 2Past exam · 2006H

Evaluate f′(2)f'(2) if f(x)=g(x/h(x))f(x) = g\big(x/h(x)\big), h(2)=2h(2) = 2, h′(2)=3h'(2) = 3, g′(1)=4g'(1) = 4.

Hint

Use the chain rule.

Answer

−4-4

Full solution
Q9Stage 2Past exam · 2006D

Find the derivative of excos⁡(x)e^{x\cos(x)}.

Hint

Use the chain rule.

Answer

[cos⁡x−xsin⁡x]excos⁡(x)[\cos x -x\sin x]e^{x\cos(x)}

Full solution
Q10Stage 2Past exam · 2009H

Evaluate f′(x)f'(x) if f(x)=ex2+cos⁡xf(x) = e^{x^2+\cos x}.

Hint

Use the chain rule.

Answer

[2x−sin⁡x]ex2+cos⁡(x)[2x-\sin x]e^{x^2+\cos(x)}

Full solution
Q11Stage 2Past exam · 2009H

Evaluate f′(x)f'(x) if f(x)=x−1x+2f(x) = \sqrt{\dfrac{x-1}{x+2}}.

Hint

Use the chain rule.

Answer

32x−1x+23\frac{3}{2\sqrt{x-1}\sqrt{x+2}^3}

Full solution
Q12Stage 2Past exam · 2010H

Differentiate the function

f(x)=1x2+x2−1f(x)=\frac{1}{x^2}+\sqrt{x^2-1}

and give the domain where the derivative exists.

Hint

Recall 1x2=x−2\dfrac{1}{x^2}=x^{-2} and x2−1=(x2−1)1/2\sqrt{x^2-1}=(x^2-1)^{1/2}.

Answer

f′(x)=−2x3+xx2−1f'(x)= -\dfrac{2}{x^3}+\dfrac{x}{\sqrt{x^2-1}} is defined for xx in (−∞,1)∪(1,∞)(-\infty,1) \cup (1,\infty).

Full solution
Q13Stage 2Past exam · 1998H

Evaluate the derivative of f(x)=sin⁡5x1+x2f(x)=\dfrac{\sin 5x}{1+x^2}

Answer

f′(x)=(1+x2)(5cos⁡5x)−(sin⁡5x)(2x)(1+x2)2f'(x)=\dfrac{(1+x^2)(5\cos 5x)-(\sin 5x)(2x)}{{(1+x^2)}^2}

Full solution
Q14Stage 2

Evaluate the derivative of f(x)=sec⁡(e2x+7)f(x)=\sec(e^{2x+7}).

Hint

If we let g(x)=sec⁡xg(x)=\sec x and h(x)=e2x+7{h(x)}=e^{2x+7}, then f(x)=g(h(x))f(x)=g(h(x)), so by the chain rule, f′(x)=g′(h(x))⋅h′(x)f'(x)=g'(h(x))\cdot h'(x). However, in order to evaluate h′(x)h'(x), we'll need to use the chain rule again.

Answer

2e2x+7sec⁡(e2x+7)tan⁡(e2x+7)2e^{2x+7}\sec(e^{2x+7})\tan(e^{2x+7})

Full solution
Q15Stage 2

Find the tangent line to the curve y=(tan⁡2x+1)(cos⁡2x)y=\left(\tan^2 x +1\right)\left(\cos^2 x\right) at the point x=π4x=\dfrac{\pi}{4}.

Hint

What trig identity can you use to simplify the first factor in the equation?

Answer

y=1y=1

Full solution
Q16Stage 2

The position of a particle at time tt is given by s(t)=et3−7t2+8ts(t)=e^{t^3-7t^2+8t}. For which values of tt 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)s'(t).

Answer

t=23t=\frac{2}{3} and t=4t=4

Full solution
Q17Stage 2

What is the slope of the tangent line to the curve y=tan⁡(ex2)y=\tan\left(e^{x^2}\right) at the point x=1x=1?

Hint

The slope of the tangent line is the derivative.
You'll need to use the chain rule twice.

Answer

2esec⁡2(e)2e\sec^2(e)

Full solution
Q18Stage 2Past exam · 1997A

Differentiate y=e4xtan⁡xy=e^{4x}\tan x. You do not need to simplify your answer.

Hint

Start with the product rule, then use the chain rule to differentiate e4xe^{4x}.

Answer

y′=4e4xtan⁡x+e4xsec⁡2xy'=4e^{4x}\tan x+e^{4x}\sec^2 x

Full solution
Q19Stage 2Past exam · 1997D

Evaluate the derivative of the following function at x=1x=1: f(x)=x31+e3xf(x)=\dfrac{x^3}{1+e^{3x}}.

Hint

Start with the quotient rule; you'll need the chain rule only to differentiate e3xe^{3x}.

Answer

3(1+e3)2\dfrac{3}{{(1+e^{3})}^2}

Full solution
Q20Stage 2Past exam · 2015Q

Differentiate esin⁡2(x)e^{\sin^2(x)}.

Hint

More than one chain rule needed here.

Answer

2sin⁡(x)⋅cos⁡(x)⋅esin⁡2(x)2 \sin(x) \cdot \cos(x) \cdot e^{\sin^2(x)}

Full solution
Q21Stage 2Past exam · 2015Q

Compute the derivative of y=sin⁡(e5x)y=\sin\left(e^{5x}\right)

Hint

More than one chain rule application is needed here.

Answer

cos⁡(e5x)⋅e5x⋅5\cos\left(e^{5x}\right)\cdot e^{5x}\cdot 5

Full solution
Q22Stage 2Past exam · 2007H

Find the derivative of ecos⁡(x2)e^{\cos(x^2)}.

Hint

More than one chain rule application is needed here.

Answer

−ecos⁡(x2)⋅sin⁡(x2)⋅2x-e^{\cos(x^2)}\cdot \sin(x^2) \cdot 2x

Full solution
Q23Stage 2Past exam · 1997A

Compute the derivative of y=cos⁡(x2+x2+1)y=\cos\big(x^2+\sqrt{x^2+1}\big)

Hint

More than one chain rule application is needed here.

Answer

y′=−sin⁡(x2+x2+1)(2x+xx2+1)y'=-\sin\big(x^2+\sqrt{x^2+1}\big)\left(2x+\dfrac{x}{\sqrt{x^2+1}}\right)

Full solution
Q24Stage 2Past exam · 1996D

Evaluate the derivative.

y=(1+x2)cos⁡2xy=(1+x^2)\cos^2 x
Hint

What rule do you need, besides chain? Also, remember that cos⁡2x=[cos⁡x]2\cos^2x = [\cos x]^2.

Answer

y′=2xcos⁡2x−2(1+x2)sin⁡xcos⁡xy'=2x\cos^2x-2(1+x^2) \sin x\cos x

Full solution
Q25Stage 2Past exam · 1996D

Evaluate the derivative.

y=e3x1+x2y=\frac{e^{3x}}{1+x^2}
Answer

y′=e3x(3x2−2x+3)(1+x2)2y'=\dfrac{e^{3x}(3x^2-2x+3)}{(1+x^2)^2}

Full solution
Q26Stage 2Past exam · 1999H

Find g′(2)g'(2) if g(x)=x3h(x2)g(x)=x^3h(x^2), where h(4)=2h(4)=2 and h′(4)=−2h'(4)=-2.

Answer

−40-40

Full solution
Q27Stage 2Past exam · 1999H

At what points (x,y)(x,y) does the curve y=xe−(x2−1)/2y=xe^{-(x^2-1)/2} have a horizontal tangent?

Hint

The product of two functions is zero exactly when at least one of the functions is zero.

Answer

(1,1)(1,1) and (−1,−1)(-1,-1).

Full solution
Q28Stage 2

A particle starts moving at time t=1t=1, and its position thereafter is given by

s(t)=sin⁡(1t).s(t)=\sin\left(\frac{1}{t}\right).

When is the particle moving in the negative direction?

Hint

If t≥1t \ge 1, then 0<1t≤10<\frac{1}{t} \leq 1.

Answer

Always

Full solution
Q29Stage 2

Compute the derivative of f(x)=excos⁡3(5x−7)f(x)=\dfrac{e^{x}}{\cos^3 (5x-7)}.

Hint

The notation cos⁡3(5x−7)\cos^3(5x-7) means [cos⁡(5x−7)]3\left[\cos(5x-7)\right]^3. So, if g(x)=x3g(x)=x^3 and h(x)=cos⁡(5x−7)h(x)=\cos(5x-7), then g(h(x))=[cos⁡(5x+7)]3=cos⁡3(5x+7)g(h(x))=\left[\cos(5x+7)\right]^3=\cos^3(5x+7).

Answer

exsec⁡3(5x−7)(1+15tan⁡(5x−7))e^x\sec^3(5x-7)(1+15\tan(5x-7))

Full solution
Q30Stage 2Past exam · 2011H

Evaluate ddx{xe2xcos⁡4x}\ds\diff{}{x}\left\{x e^{2x} \cos 4x\right\}.

Hint

In Example 4.1.11, we generalized the product rule to three factors:

ddx{f(x)g(x)h(x)}=f′(x)g(x)h(x)+f(x)g′(x)h(x)+f(x)g(x)h′(x)\diff{}{x}\{f(x)g(x)h(x)\}=f'(x)g(x)h(x)+f(x)g'(x)h(x)+f(x)g(x)h'(x)

This isn't strictly necessary, but it will simplify your computations.

Answer

e2xcos⁡4x+2xe2xcos⁡4x−4xe2xsin⁡4xe^{2x} \cos 4x + 2x e^{2x} \cos 4x -4 x e^{2x} \sin 4x

Full solution

3Stage 3Application

Further than practice: several ideas at once, or an unfamiliar situation.

Q31Stage 3

A particle moves along the Cartesian plane from time t=−π/2t=-\pi/2 to time t=π/2t=\pi/2. The xx-coordinate of the particle at time tt is given by x=cos⁡tx=\cos t, and the yy-coordinate is given by y=sin⁡ty=\sin t, so the particle traces a curve in the plane. When does the tangent line to that curve have slope −1-1?

Hint

At time tt, the particle is at the point (x(t),y(t))\big(x(t),y(t)\big), with x(t)=cos⁡tx(t)=\cos t and y(t)=sin⁡ty(t)=\sin t. Over time, the particle traces out a curve; let's call that curve y=f(x)y=f(x). Then y(t)=f(x(t))y(t) = f\big(x(t)\big), so the slope of the curve at the point (x(t),y(t))\big(x(t),y(t)\big) is f′(x(t))f'\big(x(t)\big). You are to determine the values of tt for which f′(x(t))=−1f'\big(x(t)\big)=-1.

Answer

t=π4t=\dfrac{\pi}{4}

Full solution
Q32Stage 3Past exam · test

Show that, for all x>0x>0, ex+x2>1+xe^{x+x^2}>1+x.

Hint

Set f(x)=ex+x2f(x) = e^{x+x^2} and g(x)=1+xg(x)=1+x. Compare f(0)f(0) and g(0)g(0), and compare f′(x)f'(x) and g′(x)g'(x).

Answer

Let f(x)=ex+x2f(x)=e^{x+x^2} and g(x)=1+xg(x)=1+x. Then f(0)=g(0)=1f(0)=g(0)=1.

f′(x)=(1+2x)ex+x2f'(x)=(1+2x)e^{x+x^2} and g′(x)=1g'(x)=1. When x>0x>0,

f′(x)=(1+2x)ex+x2>1⋅ex+x2=ex+x2>e0+02=1=g′(x).f'(x)=(1+2x)e^{x+x^2}>1\cdot e^{x+x^2}=e^{x+x^2}>e^{0+0^2}=1=g'(x).

Since f(0)=g(0)f(0)=g(0), and f′(x)>g′(x)f'(x)>g'(x) for all x>0x>0, that means ff and gg start at the same place, but ff always grows faster. Therefore, f(x)>g(x)f(x)>g(x) for all x>0x>0.

Full solution
Q33Stage 3

We know that sin⁡(2x)=2sin⁡xcos⁡x\sin (2x) = 2\sin x \cos x. What other trig identity can you derive from this, using differentiation?

Hint

If sin⁡2x\sin 2x and 2sin⁡xcos⁡x2\sin x \cos x are the same, then they also have the same derivatives.

Answer

cos⁡(2x)=cos⁡2x−sin⁡2x\cos(2x)=\cos^2x-\sin^2x

Full solution
Q34Stage 3

Evaluate the derivative of f(x)=ecsc⁡x2x3−9tan⁡x3f(x)=\sqrt[3]{\dfrac{e^{\csc x^2}}{ \sqrt{x^3-9} \tan x }}. 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!

Answer
f′(x)=13(x3−9tan⁡xecsc⁡x2)23⋅ (x3−9tan⁡x(−2x)ecsc⁡x2csc⁡(x2)cot⁡(x2)−ecsc⁡x2(3x2tan⁡x2x3−9+x3−9sec⁡2x)(tan⁡2x)(x3−9))\begin{align*} f'(x)&= \frac{1}{3}\left( \dfrac{ \sqrt{x^3-9} \tan x }{e^{\csc x^2}} \right)^{\frac{2}{3}}\cdot\\ &~\left(\frac{ \sqrt{x^3-9}\tan x {(-2x)e^{\csc x^2}\csc(x^2)\cot(x^2)}-e^{\csc x^2}{\left(\frac{3x^2\tan x}{2\sqrt{{x^3-9}}}+\sqrt{x^3-9}\sec^2 x\right)}}{(\tan^2 x)(x^3-9) }\right) \end{align*}
Full solution
Q35Stage 3

Suppose a particle is moving in the Cartesian plane over time. For any real number t≥0t \geq 0, the coordinate of the particle at time tt is given by (sin⁡t,cos⁡2t)(\sin t, \cos^2 t).

  1. 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.

  2. What is the slope of the curve traced by the particle at time t=10π3t=\dfrac{10\pi}{3}?

Hint

To sketch the curve, you can start by plotting points. Alternately, consider x2+yx^2+y.

Answer

(a)

Figure from prob_s2.9, line 1

Figure from prob_s2.9, line 1

The particle traces the curve y=1−x2y=1-x^2 restricted to domain [−1,1][-1,1]. At t=0t=0, the particle is at the top of the curve, (1,0)(1,0). Then it moves to the right, and goes back and forth along the curve, repeating its path every 2π2\pi units of time.
(b) 3\sqrt{3}

Full solution
Q36Stage 3Past exam · 1999H
f(x)=ex+x2h(x)=1+x+32x2f(x)=e^{x+x^2}\qquad \qquad \qquad h(x)=1+x+\frac{3}{2}x^2
  1. Find the first and second derivatives of both functions

  2. Evaluate both functions and their first and second derivatives at 0.

  3. Show that for all x>0x>0, f(x)>h(x)f(x)>h(x).

Remark: for some applications, we only need to know that a function is “big enough." Since f(x)f(x) is a difficult function to evaluate, it may be useful in some circumstances to know that it is bigger than h(x)h(x) when xx is positive.

Hint

Use a similar method to Question 32, Section 4.3.

Answer

(a) f′(x)=(1+2x)ex+x2f'(x)=(1+2x)e^{x+x^2} f′′(x)=(4x2+4x+3)ex+x2f''(x)=(4x^2+4x+3)e^{x+x^2} h′(x)=1+3xh'(x)=1+3x h′′(x)=3h''(x)=3
(b) f(0)=h(0)=1f(0)=h(0)=1; f′(0)=h′(0)=1f'(0)=h'(0)=1; f′′(0)=h′′(0)=3f''(0)=h''(0)=3
(c) ff and hh “start at the same place," since f(0)=h(0)f(0)=h(0). Also f′(0)=h′(0)f'(0)=h'(0), and f′′(x)=(4x2+4x+3)ex+x2>3ex+x2>3=h′′(x)f''(x)=(4x^2+4x+3)e^{x+x^2} > 3e^{x+x^2}>3=h''(x) when x>0x>0. Since f′(0)=h′(0)f'(0)=h'(0), and since f′f' grows faster than h′h' for positive xx, we conclude f′(x)>h′(x)f'(x)>h'(x) for all positive xx. Now we can conclude that (since f(0)=h(0)f(0)=h(0) and ff grows faster than hh when x>0x>0) also f(x)>h(x)f(x)>h(x) for all positive xx.

Full solution

My list

nothing marked yet

Loading…

Open the whole list →

Your tutor can open this list with you. It follows your account, so it is there on whichever device you study on.

From the UBC Math 100 open textbook project, © Joel Feldman, Andrew Rechnitzer, Elyse Yeager and others. Licensed CC BY-NC-SA 4.0; this HTML adaptation is released under the same licence. Full attribution.