Skip to main content

Section 2.5 The Chain Rule (DF5)

Subsection 2.5.1 Activities

Note 2.5.1.

When we consider the consider the composition fg of the function f with the function g, we mean the composite function f(g(x)), where the function g is applied first and then f is applied to the output of g. We also call f the outside function whilst g is the inside function.

Activity 2.5.2.

(a)
Consider the function f(x)=x2+5 and g(x)=2x1. Which of the following is a formula for f(g(x))?
  1. 4x2+4x+4
  2. 4x24x+5
  3. 2x2+9
  4. 2x2+4
(b)
One of the options above is a formula for g(f(x)). Which one?

Activity 2.5.3.

(a)
Consider the composite function f(g(x))=ex. Which function is the outside function f(x) and which one is the inside function g(x)?
  1. f(x)=x2,g(x)=ex
  2. f(x)=x,g(x)=ex
  3. f(x)=ex,g(x)=x
  4. f(x)=ex,g(x)=x2
(b)
Using properties of exponents, we can rewrite the original function as ex2. Using this new expression, what is your new inside function and your new outside function?
(c)
Consider the function ex. In this case, what are the inside and outside functions?

Activity 2.5.4.

In this activity we will build the intuition for the chain rule using a real-world scenario and differential notation for derivatives. Consider the following scenario.
My neighborhood is being invaded! The squirrel population grows based on acorn availability, at a rate of 2 squirrels per bushel of acorns. Acorn availability grows at a rate of 100 bushels of acorns per week. How fast is the squirrel population growing per week?
(a)
The scenario gives you information regarding the rate of growth of s(a), the squirrel population as a function of acorn availability (measured in bushels). What is the current value of dsda?
  1. 2
  2. 100
  3. 200
  4. 50
(b)
The scenario gives you information regarding the rate of growth of a(t), the acorn availability as a function of time (measured in weeks). What is the current value of dadt?
  1. 2
  2. 100
  3. 200
  4. 50
(c)
Given all the information provided, what is your best guess for the value of dsdt, the rate at which the squirrel population is growing per week?
  1. 2
  2. 100
  3. 200
  4. 50
(d)
Given your answers above, what is the relationship between dsda,dadt,dsdt?

Warning 2.5.6.

It is important to consider the input of a function when taking the derivative! In fact, f(g(x)) and f(x) are different functions... So computing dvdx gives a different result than computing dvdu.

Activity 2.5.7.

(a)
Consider the function f(x)=x2+5 and g(x)=2x1. Notice that f(g(x))=4x2+4x+4. Which of the following is the derivative function of the composite function f(g(x))?
  1. 8x+4
  2. 4x
  3. 2x
  4. 2
(b)
One of the options above is a formula for f(x)g(x). Which one? Notice that this is not the same as the derivative of f(g(x))!

Activity 2.5.8.

Consider the composite function h(x)=ex=ex2. For each of the two expressions, find the derivative using the chain rule. Which of the following expressions are equal to h(x)? Select all!
  1. 12(ex)12ex
  2. 12(ex)32ex
  3. 12ex2
  4. ex212
  5. 12ex
  6. exex

Activity 2.5.9.

Below you are given the graphs of two functions: a(x) and b(x). Use the graphs to compute vaules of composite functions and of their derivatives, when possible (there are points where the derivative of these functions is not defined!). Notice that to compute the derivative at a point, you first want to find the derivative as a function of x and then plug in the input you want to study.
Figure 52. The graphs of a(x) and b(x)
(a)
Notice that the derivative of ab is given by a(b(x))b(x), so the derivative of ab at x=4 is given by the quantity a(b(4))b(4)=a(2)b(4), because b(4)=2. Using the graphs to compute slopes, what is the derivative of ab at x=4?
  1. 0
  2. 1
  3. 1
  4. -2
  5. 2
  6. The derivative does not exist at this point.
(b)
Which of the following values is the derivative of ab at x=2?
  1. 0
  2. 1
  3. 1
  4. -2
  5. 2
  6. The derivative does not exist at this point.
(c)
Which of the following values is the derivative of ba (different order!) at x=2?
  1. 0
  2. 1
  3. 1
  4. -2
  5. 2
  6. The derivative does not exist at this point.

Activity 2.5.10.

In this activity you will study the derivative of cosn(x) for different powers n.
(a)
Consider the function cos2(x)=(cos(x))2. Combining power and chain rule, what do you get if you differentiate cos2(x)?
  1. cos2(x)sin(x)
  2. cos2(x)sin(x)
  3. 2cos(x)sin(x)
  4. 2cos(x)sin(x)
(b)
Consider the function cos3(x). Find its derivative.
(c)
Consider the function cosn(x), for n any number. Find the general formula for its derivative.

Activity 2.5.11.

In this activity you will study the derivative of bcos(x) for different bases b.
(a)
Consider the function ecos(x). Combining exponential and chain rule, what do you get if you differentiate ecos(x)?
  1. ecos(x)
  2. ecos(x)sin(x)
  3. esin(x)
  4. ecos(x)sin(x)
(b)
Consider the function 2cos(x). Find its derivative.
(c)
Consider the function bcos(x), for b any positive number. Find the general formula for its derivative.

Remark 2.5.12.

Remember that exponential and power functions obey very different differentiation rules. This behavior continues when we consider composite function. The composite power function f(x)3 has derivative
3[f(x)]2f(x)
but the composite exponential function 3f(x) has derivative
ln(3)3f(x)f(x)

Activity 2.5.13.

Demonstrate and explain how to find the derivative of the following functions. Be sure to explicitly denote which derivative rules (chain, product, quotient, sum/difference, etc.) you are using in your work.
  1. f(x)=(4x3ex+4)3
  2. k(w)=9cos(w75)
  3. h(y)=3sin(5y2+2y5)
  4. g(t)=9cos(t)75
Answer.
  1. f(x)=3(4x3ex+4)2(3ex4)
  2. k(w)=635w25sin(w75)
  3. h(y)=6(5y1)cos(5y2+2y5)
  4. g(t)=635cos(t)25sin(t)

Activity 2.5.14.

Notice that
(f(x)g(x))=(f(x)g(x)1)
Use this observation, the chain rule, the product rule, and the power rule (plus some fraction algebra) to deduce the quotient rule in a new way!

Activity 2.5.15.

Remember my neighborhood squirrel invasion? The squirrel population grows based on acorn availability, at a rate of 2 squirrels per bushel of acorns. Acorn availability grows at a rate of 100 bushels of acorns per week. Considering this information as pertaining to the moment t=0, you are given the following possible model for the squirrel:
s(a(t))=2a(t)+10=2(50sin(2t)+60)+10.
(a)
Check that the model satisfies the data dsda=2 and dadt|t=0=100
(b)
Find the derivative function dsdt and check that dsdt|t=0=200.
(c)
According to this model, what is the maximum and minimum squirrel population? What is the fastest rate of increase and decrease of the squirrel population? When will these extremal scenarions occur?

Activity 2.5.16.

Suppose that a fish population at t months is approximated by
P(t)=10040.05t
(a)
Find P(10) and use units to explain what this value tells us about the population.
(b)
Find P(10) and use units to explain what this value tells us about the population. (If you want to avoid using a calculator, you can use the approximation ln(4)=1.4.)

Subsection 2.5.2 Videos

Figure 53. Video for DF5

Subsection 2.5.3 Exercises