C.2 Chain Rule - Basic Practice

The goal of this page is for you to practice using the Chain Rule on some beginning problems (all free, of course!), each with a complete solution. We'll move to more complex problems on the next page, but you'll probably find that you make some mistakes here, as have we all when first learning this stuff. If so, great! There's no penalty, and most importantly, the only way to learn is through practice, so go ahead and do your early learning right here.

And even though we're calling these "beginning problems," you'll find some toward the bottom that are from past exams at some of the world's best-known science and engineering universities.

We'll start by seeing how the Chain Rule works with the Power Rule, Exponentials, Trig Functions, and then the Product and Quotient Rules.

Chain Rule and Power Rule

Chain Rule and Power Rule

If𝑓(𝑥)=(stuff)𝑛,then𝑑𝑓𝑑𝑥=𝑛(that stuff)𝑛1𝑑𝑑𝑥(that stuff) You'll usually see this written as 𝑑𝑑𝑥(𝑢𝑛)=𝑛𝑢𝑛1𝑑𝑢𝑑𝑥 The following problems illustrate and let you practice.

Chain Rule and Power Rule Problem #1
Given 𝑓(𝑥) =(3𝑥24𝑥+5)8, 𝑓(𝑥) =
(A) 8(3𝑥24𝑥+5)7(B) 8(3𝑥24𝑥+5)7(6𝑥4)(C) 8(6𝑥4)7
 (D) (3𝑥24𝑥+5)8(E) none of these
Chain Rule and Power Rule Problem #2

Given 𝑓(𝑥) =tan3𝑥, 𝑓(𝑥) =

Hint: Recall tan3𝑥 =[tan𝑥]3. Also recall that 𝑑𝑑𝑥tan𝑥 =sec2𝑥.

(A) 3sec4𝑥(B) 3tan2𝑥(C) tan3𝑥sec2𝑥 (D) 3tan2𝑥sec2𝑥(E) none of these
Chain Rule and Power Rule Problem #3

Given 𝑓(𝑥) =𝑥2+1, 𝑓(𝑥) =

(A) 121𝑥2+1(2𝑥)(B) 121𝑥2+1(C) 1212𝑥 (D) 12𝑥2+1(E) none of these

View/Hide Solution

Solution 1 (quick, the way most people reason).

Think something like: "The function is stuff. So the derivative is 121that same stuff, times the derivative of that stuff."

𝑑𝑓𝑑𝑥=[𝑑𝑓𝑑(stuff), with the same stuff inside]×𝑑𝑑𝑥(stuff) 𝑓(𝑥)=stuff;stuff=𝑥2+1Then𝑓(𝑥)=𝑑𝑓𝑑𝑥=121stuff(𝑑𝑑𝑥(stuff))=121𝑥2+1(2𝑥) (A)

We could of course cancel the 2's, but we're leaving the result as-is so you can easily see how we applied the Chain rule.

Solution 2 (more formal).

Let's use the first form of the Chain rule above:

[𝑓(𝑔(𝑥))]=𝑓(𝑔(𝑥))𝑔(𝑥)=[derivative of the outer function, evaluated at the inner function] × [derivative of the inner function]

We have the outer function 𝑓(𝑢) =𝑢 and the inner function 𝑢 =𝑔(𝑥) =𝑥2 +1.

Then (𝑢) =121𝑢, and (𝑥2+1) =2𝑥.
Chain Rule and Power Rule Problem #4
Given 𝑓(𝑥) =sin𝑥, 𝑓(𝑥) =
(A) 121sin𝑥(B) 12sin𝑥cos𝑥(C) 121sin𝑥cos𝑥
(D) 121sin𝑥cos𝑥(E) none of these

Chain Rule and Exponentials

Chain Rule and Exponentials

If𝑓(𝑥)=𝑒(stuff),then𝑑𝑓𝑑𝑥=𝑒(that stuff)𝑑𝑑𝑥(that stuff) You'll usually see this written as 𝑑𝑑𝑥𝑒𝑢=𝑒𝑢𝑑𝑢𝑑𝑥 The following problems illustrate and let you practice.

Chain Rule and Exponentials Problem #1

Given 𝑓(𝑥) =𝑒sin𝑥, 𝑓(𝑥) =

(A) 𝑒cos𝑥cos𝑥(B) 𝑒(sin𝑥1)𝑒cos𝑥(C) 𝑒sin𝑥cos𝑥 (D) 𝑒sin𝑥cos𝑥(E) none of these

Chain Rule and Exponentials Problem #2
Given 𝑓(𝑥) =𝑒𝑥2, 𝑓(𝑥) =
(A) 𝑒𝑥2𝑒2𝑥(B) 𝑒𝑥22𝑥(C) 𝑒𝑥2(D) 𝑒2𝑥(E) none of these

Chain Rule and Trig Functions

Chain Rule and Trig Functions

If𝑓(𝑥)=sin(stuff),then𝑑𝑓𝑑𝑥=cos(that stuff)𝑑𝑑𝑥(that stuff) You'll usually see this written as 𝑑𝑑𝑥sin𝑢=cos𝑢𝑑𝑢𝑑𝑥


If𝑓(𝑥)=cos(stuff),then𝑑𝑓𝑑𝑥=sin(that stuff)𝑑𝑑𝑥(that stuff) You'll usually see this written as 𝑑𝑑𝑥cos𝑢=sin𝑢𝑑𝑢𝑑𝑥
If𝑓(𝑥)=tan(stuff),then𝑑𝑓𝑑𝑥=sec2(that stuff)𝑑𝑑𝑥(that stuff) You'll usually see this written as 𝑑𝑑𝑥tan𝑢=sec2𝑢𝑑𝑢𝑑𝑥 The following problems illustrate and let you practice.

Chain Rule and Trig Functions Problem #1
Given 𝑓(𝑥) =sin(2𝑥), 𝑓(𝑥) =
(A) cos(2𝑥)(2)(B) sin(2𝑥)(2)(C) cos(2𝑥)(2) (D) cos(2)(E) none of these
Chain Rule and Trig Functions Problem #2

Given 𝑓(𝑥) =tan(𝑒𝑥), 𝑓(𝑥) = (A) sec(𝑒𝑥)tan(𝑒𝑥)𝑒𝑥(B) sec(𝑒𝑥)𝑒𝑥(C) sec2(𝑒𝑥) (D) sec2(𝑒𝑥)𝑒𝑥(E) none of these

Chain Rule and Product or Quotient Rule

The next few problems require using the Chain rule with the Product rule or with the Quotient rule.

Chain & Product, Quotient Rule Problem #1

This problem combines the Product Rule with the Chain Rule.

Given 𝑓(𝑥) =(𝑥2+1)7(3𝑥 7)4, 𝑓(𝑥) =

(A) 28(𝑥2+1)6(3𝑥 7)3

(B) 28(𝑥2+1)6(3𝑥 7)3 (2𝑥) (3)

(C) [7(𝑥2+1)6(2𝑥)](3𝑥 7)4 +(𝑥2+1)7[4(3𝑥7)3(3)]

(D) 7(𝑥2+1)6(3𝑥 7)4 +4(𝑥2+1)7(3𝑥 7)3

(E) none of these

Chain & Product, Quotient Rule Problem #2

This problem combines the Quotient rule with the Chain rule.

Given (𝑥) =𝑒2𝑥1𝑥2, 𝑓(𝑥) =
 

(A) (𝑒2𝑥2)(1𝑥2)(𝑒2𝑥)(2𝑥)(1𝑥2)2(2𝑥)

(B) (𝑒2𝑥2)(1𝑥2)(𝑒2𝑥)(2𝑥)(1𝑥2)2

(C) (𝑒2𝑥2)(1𝑥2)2(𝑒2𝑥)(1𝑥2)2

(D) (𝑒2𝑥2)(1𝑥2)+(𝑒2𝑥)(2𝑥)(1𝑥2)2

(E) none of these

Other Routine Chain Rule Problems

We'll end this screen with some other typical Chain Rule problems you're likely to encounter on an exam — including a few from actual university exams, which we hope will seem routine after the work you've done above. If they don't seem routine yet, they will soon, as long as you keep practicing!

Chain Rule General Problem #1
Given that 𝑓(2) =1, 𝑓(4) =5, 𝑔(2) =4, and 𝑔(2) =8, find [𝑓(𝑔(2))].

(A) 5(B) 10(C) 40(D) 8(E) 32

Chain Rule General Problem #2
Graphs of piecewise functions f and g, each of which consists of line segments. The graph of f has junction points at (-3.5, 3.5), (-1.5, -0.5), (1.5, 2.5), and (3, -2). The graph of g has junction points at (-3, -2), (-1, 2), (1, 2), and (5, -2). If 𝑓(𝑥) and 𝑔(𝑥) are represented in the graph, find [𝑓(𝑔(𝑥))] at 𝑥 =0. (A) 0(B) 1(C) 1(D) 32(E) 12
Chain Rule General Problem #3

Let 𝑓 and 𝑔 be differentiable functions and let the values of 𝑓,𝑔,𝑓 and 𝑔 at 𝑥 =1 and 𝑥 =2 be given by the table.

𝑥𝑓(𝑥)𝑔(𝑥)𝑓(𝑥)𝑔(𝑥)1532722146

Find lim0𝑓(𝑔(2+))𝑓(𝑔(2)).

Chain Rule General Problem #4

[This problem appeared on an exam at a well-known science and engineering university.]

Differentiate 𝑓(𝑥) =sin(2𝑥)𝑥.

Chain Rule General Problem #5

[This problem appeared on an exam at a well-known science and engineering university.]

Differentiate 𝑔(𝑥) =𝑥21𝑥.

This next problem is a little different, since you're given 𝑓(𝑥) and then asked to find the derivative of 𝑓(𝑥2). You may encounter a similar problem in your homework or on an exam; this problem was taken, in fact, from an exam at a well-known university.

Chain Rule General Problem #6 (prior uni exam question)
If 𝑦 =𝑓(𝑥2) and 𝑓(𝑥) =3𝑥+5, show that 𝑑𝑦𝑑𝑥 =2𝑥3𝑥2+5.

On the next screen we'll introduce problems that require using the Chain Rule more than once. It's a small step from what we've done above. Since for the rest of the course you're going to need to take such derivatives quickly and correctly, please proceed there to practice as soon as you can.

Do you have questions about any of the problems on this screen, or other Chain Rule problems you're working on? If you post on the Forum, we'll do our best to assist!