Ⅶ Logic, Analysis & Beyond · Stage 36 — Limits & Derivatives · 36.4 The Differentiation ToolboxAll lessons →
Stage 36 · Limits & Derivatives

The Differentiation Toolbox: Formulas and Rules

Stop taking limits one point at a time — look up the basics, then combine them with sum, product, quotient, and the chain.

Ages 15–19 · Reasoning, one step at a time
The toolbox. Blue is a basic function f; green is its derivative f′ — the slope at every point, read straight off the table once you know the rules.

For three lessons you computed every slope the hard way — set up the difference quotient, let Δx shrink, take the limit, one point at a time. That was the right way to build the idea, but no one differentiates like that forever. Calculus has a toolbox: a short table of derivatives for the basic functions, and a handful of rules for snapping them together. Learn the table — (xⁿ)′ = n xⁿ⁻¹, (eˣ)′ = eˣ, (ln x)′ = 1/x, (sin x)′ = cos x — and learn how a sum, a product, a quotient, and a composite each differentiate. After that, finding f′ is bookkeeping, not a limit. The one factor everybody forgets is the inner derivative of the chain rule — so we will dwell on it.

36.4.1 Derivatives of the basic functions

Every slope you found from the definition was really one entry in a small lookup table. Here is the table — the seven derivatives that the rest of calculus is built on. Read each row as "the derivative of the left thing is the right thing."

The basic-derivative table — the toolbox
function fderivative f′in words
c (a constant)0a flat line has slope 0
xnn xn−1drop the power, subtract one
exexits own slope everywhere
axax ln aex is the case a = e (ln e = 1)
ln x1/xsteep near 0, flat far out
sin xcos xslope of sine is cosine
cos x−sin xnote the minus sign

You don't have to take the table on faith. Pick a basic function below and we overlay f and its f′. Watch how the green curve reports the slope of the blue one: where f flattens out, f′ crosses zero; where f rises steeply, f′ is high.

Try it THE SLOPE-CURVE OF A BASIC FUNCTION
Pick f. The green curve is f′ from the table — its height is the slope of the blue curve right above it.
Key idea

These are facts to know, the way you know your times tables. The rules in the next four sections never produce a brand-new basic derivative — they only tell you how to combine the ones in this table.

36.4.2 The sum and difference rule

The easiest rule comes free from the way limits add. The derivative of a sum is the sum of the derivatives, and a constant multiplier just rides along:

(u ± v)′ = u′ ± v′   and   (c·u)′ = c·u′

So you differentiate a polynomial term by term. Each xⁿ uses the power rule; each coefficient stays put. There is no special "polynomial rule" — it is just the table plus this one.

Worked example

Differentiate f(x) = 3x⁴ − 5x² + 7x − 2.

Term by term: (3x⁴)′ = 12x³, (−5x²)′ = −10x, (7x)′ = 7, (−2)′ = 0. Add them:

f′(x) = 12x³ − 10x + 7.

At x = 1 that is f′(1) = 12 − 10 + 7 = 9 — the slope of the curve there.

The power rule is the workhorse, so let's dial the exponent and watch f and f′ move together. The widget builds f = xⁿ from a coefficient list and takes f′ exactly with the power rule — no numbers are read off the picture.

Try it THE POWER RULE, n = 1 … 5
Step n. The blue curve is f = xn; the green dashed curve is f′ = n·xn−1, computed exactly.
exponent n 3

36.4.3 The product rule

Here is where the table stops being enough. The derivative of a product is not the product of the derivatives — the tempting u′v′ is wrong. Think of a rectangle of width u and height v: when both sides grow a little, the new area comes from the height growing (u·v′) and from the width growing (u′·v). Add both contributions:

(u·v)′ = u′·v + u·v′

Let each factor change in turn, holding the other still, then sum. "Derivative of the first times the second, plus the first times the derivative of the second."

Worked example

Differentiate f(x) = x·eˣ. Take u = x and v = eˣ, so u′ = 1 and v′ = eˣ.

(x·eˣ)′ = (1)(eˣ) + (x)(eˣ) = (1 + x)eˣ.

At x = 1: f′(1) = (1 + 1)·e = 2e ≈ 5.437. (A numerical check with the definition gives the same 5.437 — the rule is honest.)

Watch out

Multiplying the derivatives is the classic slip: (x·eˣ)′ is not (1)(eˣ) = eˣ. If that were true, the slope at x = 1 would be e ≈ 2.718 — but the true slope is 2e ≈ 5.437. The cross-terms matter.

36.4.4 The quotient rule

A quotient u/v differentiates with a partner rule. The denominator gets squared, and the numerator subtracts in a fixed order — "low d-high minus high d-low, over low squared":

(u/v)′ = u′·v − u·v′

The order in the numerator is not symmetric — swap the two products and you flip the sign of the whole derivative, so keep u′v first.

Worked example

Differentiate f(x) = x ⁄ (x + 1). Here u = x (u′ = 1) and v = x + 1 (v′ = 1).

f′(x) = (1)(x+1) − (x)(1)(x+1)² = 1(x+1)² = 1 ⁄ (x + 1)².

At x = 2: f′(2) = 1 ⁄ 3² = 1/9 ≈ 0.111. Always positive — the curve never stops rising, which the formula tells you at a glance.

36.4.5 Composite functions and the chain rule

Most functions you meet are not basic at all — they are composites, one function fed into another: y = sin(), y = (2x + 1)⁵, y = e3x. There is an outer function and an inner function tucked inside it, like gears in a chain. The chain rule says: differentiate the outer (leaving the inner alone), then multiply by the derivative of the inner.

If y = f(g(x)),   then   y′ = f′(g(x)) · g′(x)   — outer′ at the inner, times inner′.

Worked example — sin(x²)

Outer is sin( ), inner is g = x². So outer′ = cos( ) and inner′ = 2x.

y′ = cos() · 2x = 2x·cos(x²). The ·2x is the inner derivative — drop it and you are wrong.

Watch out — the most forgotten factor

The number-one chain-rule error is writing sin(x²)′ = cos(x²) and stopping. That misses the ·2x. The inner derivative is the whole point of the chain rule: cos(x²) is not the slope; cos(x²)·2x is.

Build a composite below and the widget assembles f′ in two pieces — outer′ at the inner, then ·inner′ — and confirms the result against a direct numerical derivative at one x. When the rule and the machine agree, you've nailed it.

Try it THE CHAIN-RULE BUILDER
Pick a composite. We show outer′(inner) · inner′ and check it against a direct slope at one x.

36.4.6 Mixed practice: name the structure first

The hardest part of differentiating is not the rules — it is reading the function correctly. Before you write a single derivative, name the outermost structure: is this a sum, a product, a quotient, or a composite? That decides which rule fires first.

Spot the structure → fire the rule
looks likestructurerule to use first
x³ − 2x + sin xsumterm by term
x² · sin xproductu′v + uv′
(sin x) / xquotient(u′v − uv′)/v²
sin(x²), e3x, (2x+1)⁵compositechain: outer′·inner′
Worked example — a nested case

Differentiate f(x) = x²·sin x. The outermost structure is a product (u = x², v = sin x), so the product rule fires first:

f′(x) = (x²)′·sin x + x²·(sin x)′ = 2x·sin x + x²·cos x.

Neither piece needed the chain rule here — but if the inner had been sin(x²), you'd have reached for the chain inside the product. Name the structure, then descend.

What to carry forward

The differentiation toolbox at a glance
toolruleremember
power(xⁿ)′ = n xⁿ⁻¹drop the power, subtract one
exp / log(eˣ)′ = eˣ, (ln x)′ = 1/xeˣ is its own derivative
trig(sin x)′ = cos x, (cos x)′ = −sin xcosine carries the minus
sum(u ± v)′ = u′ ± v′differentiate term by term
product(uv)′ = u′v + uv′not u′v′
quotient(u/v)′ = (u′v − uv′)/v²low d-high − high d-low, keep order
chain[f(g(x))]′ = f′(g(x))·g′(x)never forget the inner ·g′(x)

With these seven rules you can differentiate almost anything you'll meet. Next, in 36.5, the sign of f′ becomes a spotlight on the shape of a curve — where it rises, where it falls, and where its peaks and valleys hide. (If you want to revisit how a derivative was born from a limit, look back at 36.3.)

Exercises

  1. Differentiate f(x) = 2x³ − 4x² + x − 9.
    Show answer
    Term by term with the power rule: (2x³)′ = 6x², (−4x²)′ = −8x, (x)′ = 1, (−9)′ = 0. So f′(x) = 6x² − 8x + 1.
  2. Use the product rule to differentiate f(x) = x²·eˣ, and find f′(0).
    Show answer
    u = x² (u′ = 2x), v = eˣ (v′ = eˣ). f′ = 2x·eˣ + x²·eˣ = (2x + x²)eˣ. At x = 0: (0 + 0)·1 = 0 — the curve has a flat spot at the origin.
  3. Differentiate f(x) = (3x − 1)/(x + 2) with the quotient rule.
    Show answer
    u = 3x − 1 (u′ = 3), v = x + 2 (v′ = 1). f′ = [3(x+2) − (3x−1)(1)] / (x+2)² = [3x + 6 − 3x + 1]/(x+2)² = 7 ⁄ (x + 2)². Always positive, so f always increases.
  4. Differentiate y = (2x + 1)⁵ with the chain rule, and evaluate y′ at x = 1.
    Show answer
    Outer u⁵ → 5u⁴; inner 2x + 1 → 2. So y′ = 5(2x+1)⁴·2 = 10(2x + 1)⁴. At x = 1: 10·3⁴ = 10·81 = 810.
  5. Differentiate y = sin(x²) and explain which factor students most often drop.
    Show answer
    Outer sin → cos; inner x² → 2x. So y′ = cos(x²)·2x = 2x·cos(x²). The dropped factor is the inner derivative ·2x — writing just cos(x²) is the chain-rule error.
  6. f(x) = x²·sin x is a product whose factors are basic. Find f′(x), naming the structure first.
    Show answer
    Outermost structure: a product. u = x² (u′ = 2x), v = sin x (v′ = cos x). f′ = 2x·sin x + x²·cos x = 2x·sin x + x²·cos x.

🎯 Quick check

Six questions to lock it in. Tap the answer you think is right.

§ For teachers and parents

This lesson assembles the standard differentiation rules — power, exponential, logarithmic, and trigonometric derivatives, plus the sum, product, quotient, and chain rules — the core computational toolkit of AP Calculus AB. It builds on the formal definition (HSF-IF.B.6, rate of change) by replacing limit computations with reusable formulas, and it foregrounds the two misconceptions that cost the most points: that (uv)′ equals u′v′, and that the chain rule's inner derivative can be skipped. Every derivative quoted in a figure or readout is computed by an exact polynomial-derivative routine or checked against a numerical derivative, so the pictures never assert a slope they cannot back up.

eastmath.com · Stage 36 · 36.4 The Differentiation Toolbox · Reasoning, one step at a time