IB Maths AI HL Further Differentiation Paper 1 & 2 ~6 min read

Product Rule

When two functions are multiplied together — like ex sin x — you can’t just differentiate each and multiply the results. The product rule gives the right answer: differentiate each function in turn while leaving the other one alone, then add. Two functions, two terms.

📘 What you need to know

Product or composite?

The product rule is for two functions multiplied. Don’t confuse it with a composite (chain rule) — the difference is whether one function is inside the other or just sitting next to it.

product — product rule sin x · cos x “sin x times cos x” — two functions multiplied.
composite — chain rule sin(cos x) “sin of cos of x” — one function inside another.
The product rule y = uvdydx = udvdx + vdudx   (or y = uv + vu) ✓ given in the formula booklet

🧠 “Leave one, differentiate the other — then swap”

First term: keep u, differentiate v. Second term: keep v, differentiate u. Add them. Each function gets its turn being differentiated exactly once.

Using the product rule

🧭 Recipe — the “square” method

  1. Identify u and v, the two functions being multiplied.
  2. Differentiate each to get u and v (the chain rule may be needed here).
  3. Apply the formula y = uv + vu.
  4. Simplify if it’s straightforward or if the question wants a particular form (often by factoring).
The “square” tip: lay u, v, u, v out in a 2×2 grid. The pairs you multiply sit on opposite diagonalsu with v, and v with u — which stops you pairing the wrong terms.

🤔 Why two terms, not one?

In a product, both functions are changing as x changes, and each contributes to how the product grows. Holding v steady and nudging u gives one effect (vu); holding u steady and nudging v gives another (uv). The total rate of change is the sum of both — which is why simply multiplying the two derivatives is wrong.

Worked examples

WE 1

Differentiate y = ex sin x

A product of ex and sin x. Identify u, v and differentiate.

u = eˣ, v = sin x u′ = eˣ, v′ = cos x y′ = uv′ + vu′ = eˣ cos x + sin x · eˣ y′ = eˣ(cos x + sin x)
WE 2

Differentiate y = 5x2 cos 3x2

Product of 5x2 and cos 3x2 — and the chain rule is needed to differentiate the cosine.

u = 5x², v = cos 3x² u′ = 10x, v′ = −sin 3x² × 6x = −6x sin 3x² (chain rule) y′ = 5x²(−6x sin 3x²) + cos 3x²(10x) y′ = −30x³ sin 3x² + 10x cos 3x² y′ = 10x(cos 3x² − 3x² sin 3x²)
WE 3

Differentiate y = x ln x

A product of x and ln x.

u = x, v = ln x u′ = 1, v′ = 1/x y′ = x·1x + ln x · 1 = 1 + ln x y′ = 1 + ln x
WE 4

Differentiate y = x2 e3x

Product of x2 and e3x (chain rule on the exponential).

u = x², v = e³ˣ u′ = 2x, v′ = 3e³ˣ y′ = x²(3e³ˣ) + e³ˣ(2x) y′ = x e³ˣ(3x + 2)
WE 5

Differentiate y = (2x + 1) sin x

Product of (2x+1) and sin x.

u = 2x + 1, v = sin x u′ = 2, v′ = cos x y′ = (2x + 1)cos x + sin x · 2 y′ = (2x + 1)cos x + 2 sin x

💡 Top tips

⚠ Common mistakes

Next up — Quotient Rule. The product rule handles two functions multiplied; the quotient rule handles one function divided by another, like cos 2x3x + 2. It looks similar but has a crucial difference: a minus sign in the numerator means the order matters, so you’ll need to be careful which function goes where.

Need help with Further Differentiation?

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

Book Free Session →