Monkey Rule 8 Part 2
Here's your derivative from the previous activity. It shows us that the derivative of
noah
is noah'(x)=5cos(5x+2)
.Quick Check: Use the applet to calculate noah'(2).
I'll be the first to admit that
noah
and his derivative aren't the prettiest functions. However, noah
and his derivative offer us an excellent opportunity to see the 8th and final monkey rule. To help us get there, let's think about the functions that are joined by composition to form noah
. To do so, think about noah
like the computer program as he is, and ask yourself: what's the first thing that's done to the input, x, by noah
?
The answer is, that the first thing that's done to the inputs of noah
is they're multiplied by 5, and then 2 is added to that. So, if we were to break noah
into two phases, say g
and f
, we might say phase one is the linear function g(x)=5x+2
.
After phase 1, or g as we are calling it, phase 2 is to apply sine to the outputs of g. So phase two is simply the function f(x)=sin(x)
.
Noah is the composite of phases 1 and 2, first g(x)=5x+2
and then f(x)=sin(x)
. With these phases picked apart, we see that we can really declare noah
as the composite function
noah(x)=f(g(x))
The reason for picking apart the phases of noah is to now look back at noah'(x) and realize that noah'(x) is a conglomeration of the derivatives of his phases. Indeed, since g(x)=5x+2 and f(x)=sin(x)
, we can use earlier Monkey rules to calculate the derivatives g'(x)=5
and f'(x)=cos(x)
. Now you can see that
noah'(x)=5*cos(5x+2)=cos(5x+2)*5=f'(g(x))*g'(x)
The only reason I switched the order of the multiplication was so that g'(x) would appear at the end of the equation to match the standard phrasing of our final Monkey Rule:
Monkey Rule 8 (AKA "Chain Rule"): The derivative of a composite function can be calculated with the following rule:
It's not uncommon to think that this rule "blows up" f(g(x))
in the process of calculating the derivative. This isn't a bad way to think about this, and we'll come back to this idea later when we study integrals.
For now though, move to the next activity to get a bit of practice with the Chain Rule and the other Monkey Rules.