Check out this dialogue between two calculus students (based on a true story):

Devyn
Yo Riley, I was looking at how the product rule works with more than two functions
Riley
What do you mean?
Devyn
Well, look at this:
Riley
So?
Devyn
But, if , then each of the terms looks the same:
Riley
Where are you going with this?
Devyn
Well, I wonder what would happen if you tried to find the derivative of the product of many copies of the same function, would it be the same?
Riley
I’m not sure?
Devyn
Did you notice this: and
Riley
So?
Devyn
Do you think there is some way to use the derivative of to do this problem?
Riley
Maybe? Maybe there is a formula for this, just like there seems to be a formula for everything?

Let’s look at the following function and try to compute its derivative:

Based on what we have seen so far, perhaps we should just perform some algebra first before finding the derivative:

So

Now, let’s make a different computation:

and

So

In other words, if and , then

Is this just a coincidence? No, it is not a coincidence. It turns out that this is a consequence of another rule of differentiation: The Chain Rule.