Google Classroom
GeoGebraGeoGebra Classroom

Monkey Rule 6

We'll now discuss how to calculate the derivative of a function that is one function times another function, like x2 times sin(x), which I've lovingly called karl, and graphed below. See if you can guess it by calculating the derivative of karl(x)=x^2*sin(x) with the code derivative(karl). It's fine if you can't.
Clearly, it's not as easy as just the product of the derivatives. I hate to say it, but to talk about this with you more easily, I need to introduce a little standard notation found in other calculus courses. The notation isn't hard, but it often leads to confusion, so try not to think about it too much. Here it is: the symbol "d/dx" is just shorthand for "the derivative of". So, for example "d/dx x2" just means "the derivative of x2" which you know is 2x from Monkey Rule 1. Not so bad, right? With this new notation we can express the Monkey Rule 6 about the product of two functions a bit more easily. Monkey Rule 6 (AKA "Product Rule"): Use the following to calculate the derivative of the product of two functions Notice, the left side can be translated to plain English as "the derivative of the product of two functions". The right side can also be translated, but it's cumbersome and unsexy to do so, so let's just leave it in equation-form. For instance, in the Geogebra app above, f(x) is x2 and g(x) is sin(x). So Monkey Rule 6/the Product Rule says the derivative of the product of the two is 2xsin(x)+x2cos(x). Before we move on, try a practice one below. The function sylvan(x) is the product of x^3 and cos(x). Use the Product Rule to calculate the derivative. Then check it with Geogebra by just typing derivative(sylvan). The two functions should be identical. If not, check what Geogebra did, and see what you did wrong.
There is one special case of the Product Rule that's worth mentioning: when one of the two functions is a constant function as in h(x)=5*sin(x). In this case, h is the product of f(x)=5 and g(x)=sin(x). The Product Rule says the derivative of h will be: The thing to notice is that because one of the product functions (in this case f(x)=5) is a constant, its derivative is 0 and always "kills" one of the two terms on the right of the product rule. The result is that we really only need to deal with the non-constant part as shown by the fact that the above calculation simplifies to just one term. This is summarized in the following special case of Monkey Rule 6. Monkey Rule 6b (AKA "Constant Product Rule"): The derivative of a function which is a constant c times a non constant f(x) can be calculated with the following rule With this rule, the derivative of h(x)=5*sin(x) is much easier; just cut right to the last step: h'(x)=5*cos(x).