Skip to content

· Grade 12 lesson · 4 min read

Lesson: The Chain Rule, Product Rule and Quotient Rule (Grade 12)

Chain rule: take the derivative of the outside and leave the inside alone. Then multiply by the derivative of the inside.

You already know the power rule: the derivative of x⁵ is 5x⁴. But what about (3x + 1)⁵? Multiplying it out would take ages. The chain rule does it in one line.

Outside and inside

3x + 1 ()⁵ outsideinside 5(3x + 1)⁴ × 3 = 15(3x + 1)⁴
Outside: something to the 5th. Inside: 3x + 1. Derivative of the outside times derivative of the inside.
  1. Spot the inside. It's whatever sits inside the brackets, the root or the function: here 3x + 1.
  2. Derivative of the outside, inside unchanged. "Something⁵" becomes 5(something)⁴. So 5(3x + 1)⁴.
  3. Times the derivative of the inside. The derivative of 3x + 1 is 3.

Answer: 15(3x + 1)⁴

Why multiply? Think of gears

Gear A turns 3 times as fast as gear B. Gear B turns 2 times as fast as gear C. So A turns 3 × 2 = 6 times as fast as C.

Rates of change in a chain multiply. That's all the chain rule says:

d/dx f(g(x)) = f′(g(x)) × g′(x)

More chain rule examples

Function Outside′, inside kept × inside′ Derivative
(x² + 4)³ 3(x² + 4)² × 2x 6x(x² + 4)²
√(2x + 1) = (2x + 1)^½ ½(2x + 1)^−½ × 2 1/√(2x + 1)
e^(5x) e^(5x) × 5 5e^(5x)
sin(x²) cos(x²) × 2x 2x cos(x²)

Product rule: two things multiplied

(f × g)′ = f′g + fg′

Say it as: "derivative of the first times the second, plus the first times the derivative of the second."

Example: x² sin x → 2x · sin x + x² · cos x = 2x sin x + x² cos x

Why not just multiply the two derivatives? Test it on x · x = x². The derivative should be 2x.

  • Multiplying derivatives: 1 × 1 = 1 ✘
  • Product rule: 1 · x + x · 1 = 2x ✔

Quotient rule: one thing divided by another

(f/g)′ = (f′g − fg′) / g²

A rhyme to remember it: "low d-high minus high d-low, over the square of what's below."

Example: x² / (x + 1)

  • high = x², d-high = 2x
  • low = x + 1, d-low = 1

(2x(x + 1) − x² · 1) / (x + 1)² = (x² + 2x) / (x + 1)²

Which rule do I need?

You see Use
two pieces multiplied product rule
one piece divided by another quotient rule
one function inside another chain rule

Bigger problems mix them. For x²(3x + 1)⁵, use the product rule, and the chain rule for the (3x + 1)⁵ part.

Easy mistakes

  • Forgetting the inside's derivative. (3x + 1)⁵ → 5(3x + 1)⁴ is missing the × 3.
  • Changing the inside. In step 2, copy the inside exactly as it is.
  • Multiplying the two derivatives instead of using the product rule.
  • Swapping the order in the quotient rule. It's low d-high minus high d-low. Swap them and the sign flips.

Try it

  1. (2x − 5)⁴
  2. (x³ + 1)²
  3. e^(x²)
  4. x³eˣ
  5. x / (x + 2)
Show the answers

1. 4(2x − 5)³ × 2 = 8(2x − 5)³

2. 2(x³ + 1) × 3x² = 6x²(x³ + 1)

3. e^(x²) × 2x = 2x e^(x²)

4. 3x²eˣ + x³eˣ = x²eˣ(3 + x)

5. ((x + 2) − x) / (x + 2)² = 2 / (x + 2)²

Practice

Worksheets for this lesson

Free printable worksheets with answer keys. Solve them online and check your answers, or print them.

Looking for something else? Choose a grade

More Grade 12 lessons

The Unit Circle Without Memorizing It

Learn three points and the signs of four quadrants, and you can work out the whole unit circle. With a diagram, a simple pattern and worked examples.

4 min read

← All Grade 12 lessons