🏠 Home › ♾️ Calculus › Lesson 6

🌟 The Rules Toolkit — Product, Quotient, Chain

📖 Lesson 6 of 12

📌 Key idea of this section

product rule:  (f·g)' = f'·g + f·g'
quotient rule: (f/g)' = (f'·g − f·g') ÷ g²
chain rule:    dy/dx = (dy/du) × (du/dx)   — rates multiply
None of these is "the obvious guess" — each has a derivation.

The product rule, derived

Guess check: is the derivative of a product just the product of the derivatives? Test on x²·x³ = x⁵: the guess gives 2x × 3x² = 6x³, but the power rule gives 5x⁴. The guess FAILS — 6x³ ≠ 5x⁴. So products need their own rule. Here is where it comes from. Start the difference quotient for the product f·g:

[ f(x + h)·g(x + h) − f(x)·g(x) ] ÷ h

Now the classic trick: add and subtract f(x)·g(x + h) in the numerator (adding zero — legal, and it lets us factor):

Step 1: numerator = f(x + h)g(x + h) − f(x)g(x + h) + f(x)g(x + h) − f(x)g(x)
Step 2: factor in pairs:
        = g(x + h)·[ f(x + h) − f(x) ]  +  f(x)·[ g(x + h) − g(x) ]
Step 3: divide by h and let h → 0: the first bracket becomes f'(x)
        (with g(x + h) → g(x)); the second becomes g'(x).
Result:  (f·g)' = f'·g + f·g'

Read it as a story: the two factors take turns changing — first f changes while g holds still, then g changes while f holds still.

Worked example — the lie detector passes. d/dx of (x²·x³):

= (2x)(x³) + (x²)(3x²) = 2x⁴ + 3x⁴ = 5x⁴ ✅  — matches the power rule on x⁵!

Worked example — f(x) = (3x + 1)(x² − 4):

Step 1: f' = 3·(x² − 4) + (3x + 1)·(2x)      (first derivative×second + first×second derivative)
Step 2: = 3x² − 12 + 6x² + 2x                 (expand both products)
Step 3: = 9x² + 2x − 12                       (collect like terms)
Check by expanding first: (3x + 1)(x² − 4) = 3x³ + x² − 12x − 4,
and its derivative is 9x² + 2x − 12 ✅. Two roads, same city.

The reciprocal, from scratch — d/dx of 1/x:

Step 1: difference quotient: [ 1/(x + h) − 1/x ] ÷ h
Step 2: common denominator on top: [ x − (x + h) ] ÷ [ x(x + h) ] ÷ h
Step 3: the top is −h: [ −h ÷ (x(x + h)) ] ÷ h = −1 ÷ [ x(x + h) ]
Step 4: limit as h → 0: −1 ÷ x²

So d/dx of x⁻¹ is −x⁻² — the power rule works for the negative exponent n = −1 too! (It works for ALL real n, in fact.)

The quotient rule

Division is multiplication by a reciprocal, so the product rule plus the reciprocal rule gives (the full derivation is challenge problem 80):

(f/g)' = (f'·g − f·g') ÷ g²      ("low dee-high minus high dee-low, over low squared")

Worked example — d/dx of x²/(x + 1):

Step 1: = [ 2x·(x + 1) − x²·1 ] ÷ (x + 1)²     (f'g − fg', over g²)
Step 2: top = 2x² + 2x − x² = x² + 2x          (expand, then collect)
Step 3: answer: (x² + 2x) ÷ (x + 1)²

The chain rule — rates multiply

Suppose y depends on u, and u depends on x. If y changes 3 times as fast as u (dy/du = 3), and u changes 2 times as fast as x (du/dx = 2), then y changes 3 × 2 = 6 times as fast as x. A gear train! That is the chain rule:

dy/dx = (dy/du) × (du/dx)

In practice: differentiate the OUTSIDE, leaving the inside untouched, then multiply by the derivative of the INSIDE.

Worked example — two ways, same answer. h(x) = (2x + 3)²:

Chain rule way: outside is (something)², derivative 2×(something);
inside is 2x + 3, derivative 2.
        h'(x) = 2(2x + 3) × 2 = 4(2x + 3) = 8x + 12
Expand-first way: (2x + 3)² = 4x² + 12x + 9 → h'(x) = 8x + 12 ✅

Worked example — where expanding would be a nightmare. h(x) = (5x² − 2x + 1)³:

Step 1: outside: (stuff)³ → 3(stuff)²
Step 2: inside: 5x² − 2x + 1 → 10x − 2
Step 3: h'(x) = 3(5x² − 2x + 1)²(10x − 2)     (one line — the chain rule's power)

Bonus derivation — d/dx of √x (the conjugate trick):

Step 1: difference quotient: [ √(x + h) − √x ] ÷ h
Step 2: multiply top and bottom by √(x + h) + √x (the conjugate):
        top becomes (x + h) − x = h   [since (A − B)(A + B) = A² − B²]
Step 3: = h ÷ [ h·(√(x + h) + √x) ] = 1 ÷ (√(x + h) + √x)
Step 4: limit as h → 0: 1 ÷ (2√x)

And the power rule with n = 1/2 predicts exactly that: (1/2)x⁻¹ᐟ² = 1/(2√x) ✅. The pattern survives even fractional exponents.

✏️ Your Turn!

Differentiate f(x) = (x² + 1)(x − 2) by the product rule, then check by expanding.

👀 Show the answers

Answer: product rule: 2x(x − 2) + (x² + 1)(1) = 2x² − 4x + x² + 1 = 3x² − 4x + 1. Expanding: (x² + 1)(x − 2) = x³ − 2x² + x − 2, whose derivative is 3x² − 4x + 1 ✅.

V.3.1