Rules of Differentiation

Stage 19 of 23 Strand 1 of 5 19 lessons

19 illustrated lessons, each teaching the why before the how.

Revise Rules of Differentiation with flashcards →

Jump to a lesson

The Derivative As a Limit

Where the chord gradient settles.

The derivative is defined as a limit, not as an approximation to one

A chord through two points has an ordinary rise-over-run gradient.

Slide one end closer to the other and the chord swings toward the tangent.

The derivative is where that swinging settles: a limit, not an approximation.

Now you

For y = x², what is the chord gradient from 6 to 7?

For y = x², what is the chord gradient from 4 to 5?

Derivative Notation

Three ways to write one idea.

One gradient function, three ways to write it — f'(x), dy/dx and d/dx

The gradient of y = x² is itself a function, 2x. That function needs a name.

Lagrange’s mark: f'(x), read f prime — the derivative of the function f.

Leibniz’s fraction: dy/dx — a tiny rise over a tiny run, the limit the chords reached.

And d/dx on its own is an instruction: differentiate whatever follows it.

Differentiate twice and each style keeps count: f'′(x), or d²y/dx².

Now you

The second derivative in Leibniz's style is

Which symbol means the derivative of f?

Differentiating From First Principles

Expand, divide by h, then let h vanish.

Expanding the difference quotient and letting h vanish gives the derivative

Every first-principles derivation starts here: the rise over a step h, divided by h.

Write the difference out in full before dividing by anything.

Only now let h vanish. Dividing by h first, then letting h go to 0, is the method.

Now you

From first principles, differentiate

From first principles, differentiate

Where a Derivative Fails to Exist

A corner, a cusp, a vertical tangent, a break.

A derivative needs a smooth unbroken point, so differentiable forces continuous

The two sides of this corner have gradients −1 and +1, so no single value fits.

A cusp is sharper still: the gradients on the two sides run to −∞ and +∞.

y = ∛x stands vertical at 0, and a vertical tangent has no gradient value.

Where the curve jumps there is no chord to shrink, so no derivative exists.

So differentiating needs an unbroken curve: differentiable forces continuous.

The reverse fails — a corner is unbroken and still has no gradient there.

Now you

f is differentiable at 3. Must f be continuous at 3?

f is continuous at 3. Must f be differentiable at 3?

Differentiating Linear Functions

A straight line has one gradient everywhere.

A straight line has one gradient everywhere, so its derivative is a constant

y = 3x + 1 climbs 3 for every 1 across, at every single point along it.

Its derivative is 3: the constant lifts the line without tilting it.

A flat line has gradient 0, which is why the derivative of a constant is 0.

Now you

Differentiate 9x + 2

Differentiate 4x + 1

The Power Rule

Multiply by the power and drop the power by one.

The same two moves carry the power rule to negative powers and to roots

First principles gave 2x and 3x². Both times the power came down, then dropped.

The power comes down to the front and multiplies. The exponent has not changed yet.

Now the power itself drops by one. Two moves, in that order: 3x squared.

Test a negative power: first principles takes x⁻¹ to −x⁻², by the same two moves.

So negative powers take the same two moves: the power comes down to the front, then drops by one.

Roots are powers in disguise: √x is x to the half, and the same two moves run.

Now you

Differentiate 6x^2

Differentiate √x

The Constant Multiple and Sum Rules

Term by term, with constants along for the ride.

Differentiate a sum term by term, and a constant coefficient is left untouched

The constant multiple rule: differentiate , then multiply by the coefficient.

The sum rule: differentiate each term separately; the terms do not affect each other.

A constant term differentiates to zero: its graph is horizontal.

Now you

Differentiate 6x² + 6x + 7

Differentiate 4x² + 2x + 5

The Product Rule

Differentiate each factor in turn, then add.

Differentiate each factor in turn and add the two results

Grow a u by v rectangle a little and it gains a strip along each side.

Multiply out: two strips and a corner. The corner vanishes, leaving two terms.

The derivative of a product is never just the product of the two derivatives.

Now you

d/dx of x·x³

d/dx of x·x², using the product rule

The Quotient Rule

The same idea, over the denominator squared.

The product rule with a subtraction, all over the denominator squared

It is the product rule in disguise: write u over v as u times 1 over v.

The product rule needs the derivative of 1 / v, and that step is what brings in the minus sign.

Over the common denominator that reads u'v − uv', all over the denominator squared.

Unlike the product rule, swapping the two terms changes the sign of the answer.

Now you

The quotient rule denominator is

The quotient rule numerator is

The Chain Rule

A function inside a function multiplies rates.

A function inside a function multiplies the two rates of change together

Read the bracket as a single expression: everything inside travels together.

Now the power rule runs on that object: the power comes down to the front, then drops by one.

The inside changes 3 times as fast as x, so a gradient in u is 3 times steeper in x.

Finally multiply by the inside’s own derivative, which is 3. That gives 15.

Now you

Differentiate sin(3x)

Differentiate (3x + 1)^3

Differentiating Trigonometric Functions

Sine to cosine, and round again in four.

Sine differentiates to cosine, and the pattern repeats after four steps

Where sine is steepest cosine peaks, and where sine peaks cosine crosses zero.

Four differentiations bring you back to where you started: one closed cycle.

The cycle needs radians: in degrees every derivative picks up a factor of 0.0175.

Now you

Differentiate −sin x

Differentiate sin x

Differentiating tan x and the Reciprocal Ratios

The quotient rule turns sin over cos into sec².

The quotient rule turns tan into sec squared, and the same moves cover the reciprocal ratios

tan x is sin x over cos x — a quotient, so the quotient rule runs on it.

The quotient rule leaves cos²x + sin²x as the numerator, over cos²x.

The numerator is 1 by Pythagoras, and 1 over cos²x has a name: sec²x.

sec x is cos x to the −1, so the chain rule gives sin over cos² — sec x tan x.

The same moves run for cosec and cot, and each co-function carries a minus.

Now you

Differentiate cot x

Differentiate cosec x

The Number E

The one base whose curve is its own gradient.

e is the one base whose exponential curve has a gradient equal to its own height

y = 2ˣ climbs, but its gradient is a little less than its height at every point.

y = 3ˣ overshoots: its gradient is greater than its height. So try a base between 2 and 3.

Somewhere near 2.718 the two match exactly. That number is called e.

Now you

The gradient of at any point equals

Differentiate

Differentiating Exponentials and Logarithms

E to the x differentiates to itself.

e to the x differentiates to itself, and the natural log differentiates to one over x

By the definition of e, is its own derivative — only and its multiples are.

Undo the log: e to the y is x, so differentiating both sides gives 1 over x.

The graphs agree: ln x flattens as x grows, and 1 over x falls toward 0 with it.

With the chain rule, the k inside the exponent comes out to the front as a factor.

Now you

Differentiate ln x

Differentiate

Differentiating aˣ and logₐ x

Every base is e in disguise.

Any exponential differentiates to itself times the log of its base

Any positive base is e in disguise: is e to the x ln a.

Differentiate as a chain: the inside x ln a changes at rate ln a.

Write it back with base a: the derivative of is times ln a.

ln 2 is less than 1, so the gradient of is less than its height — climbs more slowly than .

Check with a = e: ln e is 1, and being its own derivative comes back.

Change of base turns logₐ x into a multiple of ln x: its gradient is 1 over x ln a.

Now you

Differentiate log₂ x

Differentiate

Implicit Differentiation

Differentiate both sides and attach dy/dx.

Implicit differentiation differentiates both sides, attaching dy/dx to every y

x² + y² = 25 is a circle, and no rearranging writes y as a single function of x.

Differentiate y-terms as usual, then multiply by dy/dx — that is the chain rule.

Now collect the dy/dx terms and solve for it like any other unknown.

Now you

3x² + y² = 4. What is dy/dx?

4x² + y² = 7. What is dy/dx?

The Derivative of an Inverse Function

Reflect in y = x and the gradient turns over.

Reflecting a graph in y = x turns each gradient into its reciprocal

Start with y = x²/2, and put the mirror line y = x beside it.

Reflect in that line and the inverse appears: the same curve with x and y swapped.

The reflection swaps the rise with the run, so every gradient becomes its reciprocal.

So when f(a) = b, (f⁻¹)'(b) is 1 / f'(a) — read f' at a, never at b.

It follows from the chain rule: undoing then doing returns x, whose derivative is 1.

With f(3) = 7 and f'(3) = 5, the inverse has gradient 1/5 at the point 7.

Now you

(f⁻¹)'(b) = 1 / f'(a) holds when

The inverse-derivative rule comes from differentiating

Differentiating sin⁻¹ x and tan⁻¹ x

Undo the inverse, then differentiate both sides.

Undoing the inverse and differentiating both sides gives the inverse trig derivatives

Undo the inverse first: y = sin⁻¹ x says exactly that sin y = x.

Differentiate both sides: cos y times dy/dx equals 1. Divide both sides by cos y.

The answer should be in terms of x: Pythagoras replaces cos y with √(1 − x²).

The same three moves on tan y = x give 1 over 1 + x², using 1 + tan²y = sec²y.

The graphs agree: tan⁻¹ x flattens as x grows, and 1 over 1 + x² falls toward 0.

Now you

Differentiate tan⁻¹ x

For y = tan⁻¹ x, sec²y equals

Higher Derivatives

How fast the gradient itself is changing.

Differentiating a derivative measures how fast the gradient itself is changing

The gradient of this curve is 2x, which is itself changing as you move along.

Differentiating again gives 2: the gradient grows at a steady rate.

A positive second derivative means the curve bends upwards, like a bowl.

Now you

Differentiate 2x³ twice

Differentiate 5x³ twice

Continue your journey in the app — save your progress