# The Chain Rule

With our current derivative rules, there are still some functions that we can’t take the derivative of. Take for example . We know how to take the derivate of sin(x), but when we create a composite function out of it, we have no strategy to solve the problem.

The chain rule is a way of taking derivatives of composite functions. It will enable us to determine derivates for functions such as .

The Chain Rule: If g is differentiable at x and f is differentiable at g(x), then the composite function, f(g(x)) is differentiable at x, and is defined as: .

Essentially, what we are doing is taking the derivative of the first function in the composition, then multiplying by the derivative of the second function in composition. The proof of chain rule involves some concepts that we have not covered yet, and is rather complicated. For those reasons, we will focus more on the application of the rule for this section.

Let’s take a look at some examples of where chain rule is helpful for us.

Example: Suppose . Find f'(x)

For this problem, it is useful to identify f(x) and g(x) before trying to apply the chain rule. The function f(x) is the outside function, and g(x) is the inside function. In this case, and . We can confirm this is true by calculating .

From here we can apply the chain rule: Example: Suppose . Find f'(x)

In this case, and ). Chain rule not only makes it possible to calculate new derivatives, but also makes some other derivatives significantly easier to calculate.

Example: Suppose . Find f'(x)

This is a problem we could solve without chain rule, however, that involves expanding out the 10th power, which is very time-consuming.

Instead of doing that, we can apply chain rule. Let and let . You will see that doing this, Now we can apply chain rule. 