IB Maths AI SL Differentiation Paper 1 & 2 f′(x) = anxn−1 ~6 min read

Differentiating Powers of x

Differentiation is the process of finding a function’s derivative — its gradient function — from a formula. For powers of x a single rule does the whole job. Learn it, add the two special cases, and you can differentiate any sum of powers term by term.

📘 What you need to know

The power rule

Differentiation is the process of finding a formula for the derivative — the gradient function — of a function. For a power of x, one rule does it: multiply by the power, then reduce the power by 1. Any constant multiplier rides along unchanged.

The power rule f(x) = axn  ⇒  f′(x) = anxn−1 multiply by the power, then reduce the power by 1 · n is an integer
The power rule: two simple moves a xn a n xn a n xn−1 multiply bythe power reduce thepower by 1 −4x5 −20x5 −20x4
To differentiate axn: multiply the term by the power, then subtract 1 from the power. Below, −4x5 becomes −20x4.

This rule is given in the formula booklet, so you don’t need to memorise it — but you do need to apply it quickly and accurately.

Special cases and negative powers

Two short cases are worth knowing on sight. A term like 6x is really 6x1, and the rule turns it into 6x0 = 6. A constant on its own has no x to vary, so its gradient is 0.

Two special cases f(x) = axf′(x) = a f(x) = af′(x) = 0 a straight-line term ax has constant gradient a · a constant has gradient 0

The power rule also works for negative powers — but a fraction has to be rewritten first. A term like 4/x becomes 4x−1, and 5/x2 becomes 5x−2. Then differentiate as normal, taking care with the subtraction: reducing −2 by 1 gives −3.

Sums, products and quotients

An expression that is a sum or difference of powers is differentiated term by term — handle each piece separately, then add the results. For instance, the derivative of 5x4 + 2x3 − 3x + 4 is 20x3 + 6x2 − 3.

Products and quotients cannot be differentiated term by term as they stand. Expand a product of brackets, or simplify a quotient by dividing through, so that every term is a single power of x — only then does the power rule apply.

🧭 Recipe — differentiating an expression

  1. Rewrite every term as a power of x: turn a/xn into axn, and expand any brackets.
  2. Take one term at a time — a sum or difference is differentiated piece by piece.
  3. Apply the power rule: for each axn, multiply the coefficient by the power, then reduce the power by 1.
  4. Use the special cases: a term ax becomes a; a constant becomes 0.
  5. Write the derivative as the sum of the differentiated terms — convert negative powers back to fractions if asked.

Worked examples

WE 1

A single power-rule term

Find the derivative of y = 7x4.

multiply by the power 4, then reduce the power by 1 dy/dx = 7 × 4 × x3 dy/dx = 28x3 the coefficient 7 just rides along — 7 × 4 = 28, and the power drops from 4 to 3.
WE 2

A polynomial, term by term

Differentiate f(x) = 3x5 − 6x2 + 9x − 11.

differentiate each term separately 3x5 → 3×5 x4 = 15x4 −6x2 → −6×2 x = −12x 9x → 9  ·  −11 → 0 f′(x) = 15x4 − 12x + 9 the +9 comes from the 9x term, and the −11 vanishes — every constant differentiates to 0.
WE 3

A negative power from a fraction

Find f′(x) for f(x) = 2x3 + 5/x2.

rewrite the fraction as a negative power: 5/x2 = 5x−2 f(x) = 2x3 + 5x−2 2x3 → 6x2 5x−2 → 5×(−2) x−3 = −10x−3 f′(x) = 6x2 − 10x−3 = 6x2 − 10/x3 5/x2 must become 5x−2 before differentiating. Reducing the power −2 by 1 gives −3.
WE 4

Mixed: negative power and constant

Find dy/dx for y = 4x − 3/x + 6.

rewrite: 4x − 3x−1 + 6 4x → 4  ·  6 → 0 −3x−1 → −3×(−1) x−2 = 3x−2 dy/dx = 4 + 3x−2 = 4 + 3/x2 −3 × (−1) = +3, so the sign flips — a common slip when differentiating negative powers.
WE 5

A product — expand first

Find f′(x) for f(x) = (x + 4)(2x − 1).

a product — expand before differentiating (x + 4)(2x − 1) = 2x2 − x + 8x − 4 f(x) = 2x2 + 7x − 4 f′(x) = 4x + 7 you cannot multiply the derivatives of the two brackets — expand to a sum of powers first.
WE 6

Full question: quotient, then a gradient

A curve has equation y = (4x3 + 2x)/(2x). (a) Show that y = 2x2 + 1. (b) Find dy/dx. (c) Find the gradient of the curve at x = 3.

(a) divide each term of the numerator by 2x 4x3 ÷ 2x = 2x2  ·  2x ÷ 2x = 1 ⇒ y = 2x2 + 1 (b) differentiate: 2x2 → 4x,  1 → 0 dy/dx = 4x (c) gradient at x = 3: substitute into dy/dx dy/dx = 4 × 3 (a) y = 2x2+1 · (b) dy/dx = 4x · (c) gradient = 12 a quotient must be simplified to a sum of powers first. The gradient at a point comes from substituting that x-value into the derivative.

💡 Top tips

âš  Common mistakes

Next up: Gradients, Tangents & Normals — putting the power rule to work to find the gradient at a point and the equations of tangent and normal lines. The golden rule before you differentiate anything: get every term into the form axn first. Expand brackets, split fractions — then the power rule does the rest.

Need help with AI SL Differentiation?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session →