How Does the Chain Rule for Differentiation Work?

The chain rule looks a bit complex in its theoretic form, but it is easy to use as soon as you understand the logic of it. The chain rule is used to differentiate composite functions, which are functions that have another function as an argument.

Formula

The Chain Rule

[f(g)] = f(g) g,

where f(g) = f(g(x)) and g = g(x)

The derivative of a composite function is equal to the derivative of the outer function multiplied by the derivative of the inner function.

This is how you use the chain rule:

1.
Identify what the inner function and the outer function. To put it simply, the inner function is the one you can cover with a finger, while the outer function is the function that is visible around your finger.
2.
Call the inner function g(x). When you differentiate, everything becomes a bit clearer if you write just g instead of g(x).
3.
Differentiate the outer function.
4.
Differentiate the inner function.
5.
Multiply the two functions.
6.
Clean up the expression.

Example 1

Differentiate f(x) = (2x2 + 2x + 4) 5

Hold your finger over what is inside the parentheses. You can see that the “power of 5” is on the outside. That means

g = 2x2 + 2x + 4

is the inner function and (g)5 is the outer function. That gives you f(g) = (g)5 and g = 2x2 + 2x + 4, and

f(g) = 5(g)4 g = 4x + 2.

Then you get

[f(g)] = 5(g)4 g = 5 (2x2 + 2x + 4) 4(4x + 2)

Example 2

Differentiate f(x) = ex3+2x

You hold your finger over the stuff in the exponent and see that “e” is on the outside. That gives you that g = x3 + 2x is the inner function and eg is the outer function. This means that f(g) = eg and g = x3 + 2x, and

f(g) = eg g = 3x2 + 2

Then you get

[f(g)] = eg g = ex3+2x (3x2 + 2) = (3x2 + 2) ex3+2x

Example 3

Differentiate f(x) = ln (4x2 3x + 2)

Put your finger over what’s in the parentheses and see that ln(g) is on the outside. That gives you that g = 4x2 3x + 2 is the inner function and ln(g) is the outer function, and

f(g) = 1 g g g = 8x 3

Then you get

[f(g)] = 1 g g = 1 4x2 3x + 2 (8x 3) = 8x 3 4x2 3x + 2
Want to know more?Sign UpIt's free!