Tutelage

Lessons › math · taught by Ada

Chain rule explained: function inside another

Learn how to differentiate nested functions by taking the outside derivative and multiplying by the inside derivative.

Learn this with Ada, freeA voiced lesson with a live whiteboard, quizzes and a tutor you can call, at tutelage.app

A function inside another

The chain rule is for a function wrapped inside another function.

Think: inside first, then outside.

Big idea: outside times inside

If y = f(g(x)), then differentiate the outside first, and multiply by the derivative of the inside.

You do not just take one derivative. You do the outside part, then multiply by the inside part.

That little multiply is the whole chain rule.

Predict the next move

If y = (3x + 1)^5, what do you do first?

  1. Differentiate 5 as if it were the whole answer
  2. Bring down 5 and keep the inside the same
  3. Expand everything first
Show answer

Bring down 5 and keep the inside the same: Yes. The outside is the power 5, so bring down 5 first.

Worked example: y = (3x+1)^5

Let’s build it one step at a time.

First, the outside power drops down to 5, and the power goes down by one.

Now multiply by the derivative of the inside. The derivative of 3x plus 1 is 3.

So the final answer is 15 times three x plus one to the fourth.

Quick check: what comes next?

After differentiating (2x - 7)^4 as 4(2x - 7)^3, what should you do next?

  1. Multiply by 2
  2. Add 2 to the exponent
  3. Expand the parentheses
Show answer

Multiply by 2: Right. The inside derivative is 2, so you multiply by 2.

Why the inside matters

The inside changes how fast the outside changes.

That is why we multiply by the inside derivative every time.

Chain rule formula

A useful memory line is: derivative of outside, times derivative of inside.

For nested functions, this is the rule to trust.

Your turn

Find dy/dx for y = (x^2 + 4)^3.

  1. 3(x^2 + 4)^2 · 2x
  2. (x^2 + 4)^2
  3. 6x(x^2 + 4)^3
Show answer

3(x^2 + 4)^2 · 2x: Good. Outside first gives 3(x squared plus 4) squared, then multiply by 2x.

Watch out for the missing factor

The most common mistake is forgetting the extra factor from the inside.

If you remember outside first, then inside, you stay on track.

Chain rule recap

Use this checklist every time you see parentheses raised to a power, or a function inside another function.

Inside function. Outside derivative. Multiply by inside derivative. Then simplify.

Learn this with Ada, freeA voiced lesson with a live whiteboard, quizzes and a tutor you can call, at tutelage.app