WhatsApp us
IB DP Maths29 Nov 2026

IB Maths AA Differentiation: Chain, Product and Quotient Rules with Worked Examples

How to choose between the chain, product and quotient rules in IB Maths AA, with four fully worked examples, the table-of-values question type, the slips that cost marks and a self-check with answers.

IB Maths AA Differentiation: Chain, Product and Quotient Rules with Worked Examples

Three rules do almost all of the differentiation in IB Maths AA. Use the chain rule when one function sits inside another, the product rule when two functions are multiplied, and the quotient rule when one is divided by another. Most lost marks come from picking the wrong rule, or from picking the right one and dropping a factor on the way.

This guide shows how to decide quickly, then works through four original examples step by step, including the "table of values" question that examiners like because it tests the rules without any algebra to hide behind.

Where differentiation sits in AA

Calculus is the largest topic in the current AA course: the IB guide suggests 28 teaching hours at SL and 55 at HL. The basic derivatives (x^n, sin x, cos x, e^x and ln x) and the three combining rules are SL content, so HL students need them too. HL then adds more functions, such as tan x and the inverse trig functions, and techniques such as implicit differentiation.

You meet these rules on both papers. AA Paper 1 is 90 minutes with no calculator at SL, so every derivative there must be done by hand and simplified cleanly. Paper 2 requires a GDC, but the calculator only gives numerical derivatives at a point; if a question asks for f′(x) as an expression, you still differentiate by hand. Students who want structured weekly practice on this can work with our one-to-one IB Maths AA SL tuition, where differentiation is drilled until it is automatic.

Choosing the rule: a thirty-second test

Look at the last operation you would do if you were evaluating the function for a number. That operation tells you the rule.

The function looks likeLast operationRule
(3x² − 5)⁴, e^(sin x), ln(x² + 4)Apply an outer function to an inner oneChain
x² e^(3x), x sin xMultiply two functions of xProduct
(2x + 1)/(x² + 3), sin x / xDivide one function of x by anotherQuotient
x√(4x + 1)Multiply, but one factor is itself compositeProduct, with the chain rule inside

The three rules in Leibniz notation:

  • Chain: if y = g(u) and u = f(x), then dy/dx = dy/du × du/dx.
  • Product: if y = uv, then dy/dx = u dv/dx + v du/dx.
  • Quotient: if y = u/v, then dy/dx = (v du/dx − u dv/dx) / v².

A useful check before you start: a constant multiplied by a function never needs the product rule. 5 sin x differentiates to 5 cos x directly.

Worked example 1: the chain rule, twice

(a) Differentiate f(x) = (3x² − 5)⁴.

The inner function is u = 3x² − 5, so du/dx = 6x. The outer function is u⁴, with derivative 4u³.

f′(x) = 4(3x² − 5)³ × 6x = 24x(3x² − 5)³.

Do not expand the bracket. A factorised answer is accepted and is far easier to use if the next part asks where f′(x) = 0.

(b) Find the gradient of y = ln(x² + 4) at x = 2.

The derivative of ln u is (1/u) × du/dx. Here u = x² + 4 and du/dx = 2x, so

dy/dx = 2x / (x² + 4).

At x = 2: dy/dx = 4/8 = 1/2.

A quick pattern worth knowing: the derivative of ln(g(x)) is always g′(x)/g(x).

Worked example 2: the product rule and stationary points

Differentiate y = x² e^(3x) and find where dy/dx = 0.

Let u = x², so du/dx = 2x. Let v = e^(3x), so dv/dx = 3e^(3x) by the chain rule.

dy/dx = x² × 3e^(3x) + e^(3x) × 2x = e^(3x)(3x² + 2x) = x e^(3x)(3x + 2).

Since e^(3x) is never zero, dy/dx = 0 only when x = 0 or 3x + 2 = 0. So x = 0 or x = −2/3.

Factorising out e^(3x) is the step that makes the solving easy. Students who leave the answer as two separate terms often cannot see the solutions. Classifying these points as maxima or minima is the subject of our sibling guide on tangents, normals and stationary points.

Worked example 3: the quotient rule

Find dy/dx for y = (2x + 1)/(x² + 3), and its value at x = 1.

Let u = 2x + 1, so du/dx = 2. Let v = x² + 3, so dv/dx = 2x.

dy/dx = [(x² + 3)(2) − (2x + 1)(2x)] / (x² + 3)²

Expand the top carefully: 2x² + 6 − 4x² − 2x = −2x² − 2x + 6.

So dy/dx = −2(x² + x − 3)/(x² + 3)².

At x = 1: −2(1 + 1 − 3)/16 = 2/16 = 1/8.

The order on the top matters. "v du/dx − u dv/dx" is the formula; reversing it flips the sign of every answer. A memory line some of our students use: "bottom times derivative of top, minus top times derivative of bottom, all over bottom squared".

Worked example 4: the table-of-values question

This type gives you no formulas for the functions, only values, and asks for derivatives of combinations.

The functions f and g are differentiable, and:

xf(x)f′(x)g(x)g′(x)
14−132
37506

(a) h(x) = f(g(x)). Find h′(1).

Chain rule: h′(x) = f′(g(x)) × g′(x). So h′(1) = f′(g(1)) × g′(1) = f′(3) × 2 = 5 × 2 = 10.

(b) p(x) = f(x)g(x). Find p′(1).

Product rule: p′(1) = f′(1)g(1) + f(1)g′(1) = (−1)(3) + (4)(2) = 5.

(c) q(x) = f(x)/g(x). Find q′(1).

Quotient rule: q′(1) = [g(1)f′(1) − f(1)g′(1)] / g(1)² = [(3)(−1) − (4)(2)] / 9 = −11/9.

The common error in (a) is writing f′(1) × g′(1). The outer derivative is evaluated at the inner value, g(1) = 3, not at x = 1. Composite notation causes this slip often; our guide to composite and inverse functions is worth a read if f(g(x)) still feels slippery.

Mistakes our tutors see

  1. Dropping the inner derivative. Writing the derivative of e^(3x) as e^(3x) instead of 3e^(3x). This one error is behind a large share of lost calculus marks.
  2. Using the product rule on a constant multiple. It still works, but it wastes time and invites slips.
  3. Reversing the quotient rule numerator, so every answer has the wrong sign.
  4. Expanding when you should factorise. A factorised derivative is easier to set to zero and easier to check.
  5. Differentiating ln(x² + 4) as 1/(x² + 4). The 2x on top is the chain rule, and it is not optional.
  6. Simplifying wrongly after correct calculus. On Paper 1 the algebra after the derivative is where marks often go.

Exam technique

  • Write the parts first. "u = x², du/dx = 2x; v = e^(3x), dv/dx = 3e^(3x)" takes ten seconds and earns method marks even if the final simplification slips. The IB guide notes that full marks are not necessarily given for a correct answer with no working.
  • "Show that" parts. If the question gives you the derivative, work towards it line by line. The given answer itself earns nothing; the working does.
  • On Paper 2, check with the GDC. Evaluate the numerical derivative at one point and compare it with your expression. If they disagree, look for a missing chain-rule factor first. Our Paper 1 no-calculator guide covers how to check by hand when there is no GDC.
  • Radians. Calculus with sin and cos uses radians; set the calculator accordingly before you check anything.

Self-check

  1. Differentiate y = sin³x.
  2. Find the gradient of y = e^(−x) cos 2x at x = 0.
  3. Differentiate y = x√(4x + 1) and simplify. Find dy/dx at x = 2.
  4. Differentiate y = (ln x)/x and find where the gradient is zero.

Answers.

1: Chain rule with u = sin x: dy/dx = 3 sin²x cos x.

2: Product rule: dy/dx = −e^(−x) cos 2x − 2e^(−x) sin 2x. At x = 0 this is −1 − 0 = −1.

3: dy/dx = √(4x + 1) + 2x/√(4x + 1) = (6x + 1)/√(4x + 1). At x = 2: 13/√9 = 13/3.

4: Quotient rule: dy/dx = (1 − ln x)/x², which is zero when ln x = 1, so x = e.

Where differentiation leads next

Once these rules are reliable, the same derivative becomes a tool: setting it to zero for optimisation problems in context, finding tangents and normals, and building velocity and acceleration in kinematics. For the full map of what AA calculus contains at each level, read our overview of SL and HL calculus topics. HL students then extend the chain rule to curves defined implicitly, covered in our guide to implicit differentiation and related rates.

How Maths Bodhi helps

A tutor watches how a student differentiates, not just whether the answer is right, so the missing factor or reversed numerator is caught early. Sessions mix short no-calculator drills with longer exam-style questions. For extra calculus support across courses there is also our calculus tutoring. Families who would like the senior tutor can choose AA SL classes with Ajay Vatsyayan.

Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.

Written and checked by the Maths Bodhi team. Facts checked against official IB sources, November 2026.

Frequently asked questions

How do I know whether to use the chain rule, product rule or quotient rule?
Ask what the last operation would be if you evaluated the function: applying an outer function to an inner one means the chain rule, multiplying two functions of x means the product rule, and dividing one by another means the quotient rule.
Are the chain, product and quotient rules in IB Maths AA SL?
Yes. All three rules are part of the SL calculus content, so both AA SL and AA HL students need them for Paper 1 without a calculator and for Paper 2.
Do I need to simplify my derivative in IB maths?
Unless the question asks for a particular form, an equivalent correct form is accepted, but factorising usually makes the next step, such as solving f′(x) = 0, much easier.
Can I use the quotient rule or should I rewrite as a product?
Either is fine. Writing u/v as u × v⁻¹ and using the product and chain rules gives the same answer, but the quotient rule is often quicker and less error-prone in exams.
Can my GDC differentiate for me on Paper 2?
The GDC can find the numerical value of a derivative at a point, which is useful for checking, but if a question asks for f′(x) as an expression you must differentiate by hand.
IB maths AA differentiationchain ruleproduct and quotient rulesIB maths AA SL calculusIB tutor Gurgaon

Related guides

Keep exploring this maths topic

IB DP Maths18 Oct 2026

IB Maths AA Calculus: SL vs HL Topics, Common Mistakes and How to Master It

Calculus is the biggest topic in IB Maths Analysis and Approaches. What SL and HL students must know, the mistakes that cost the most marks, and a step-by-step plan to make calculus a strength – with or without a calculator.

IB maths AA calculusIB math HL calculusIB math SL calculusIB calculus tutor Gurgaon

By Maths Bodhi Team

Read guide

IB DP Maths14 Jul 2026

Algebra for IB Maths: The 12 Skills Every DP AA and AI Topic Assumes

The 12 algebra skills that IB DP maths AA and AI take for granted, from expanding brackets and factorising to logarithms, inequalities and hidden quadratics. Each skill comes with where the DP uses it and a worked example, plus a 12-question self-check, a mistakes table and FAQs.

IB maths algebraalgebra skills for IB DP mathsIB maths AA SLIB maths AI SL

By Maths Bodhi Team

Read guide

IB DP Maths17 Nov 2026

IB Maths AA HL Differentiation: Implicit Differentiation and Related Rates, with Worked Examples

Implicit differentiation and related rates are the two HL differentiation skills that most often decide a calculus question. How to differentiate when y is tangled up with x, how to find second derivatives implicitly, and a reliable four-step method for related rates, with four worked examples and a self-check.

IB maths AA HL differentiationimplicit differentiation IBrelated rates of change IBIB maths HL calculus

By Maths Bodhi Team

Read guide

IB DP Maths29 Nov 2026

IB Maths AA Trig Equations in an Interval: Find Every Solution, Step by Step

How to solve trigonometric equations in a given interval for IB Maths AA SL and HL: stretching the interval for sin 2x, quadratics in sin x, double angle substitutions, an HL sec² equation on the calculator paper, the mistakes that lose roots, and a self-check with answers.

IB maths trig equationssolving trig equations in an intervalIB maths AA trigonometrydouble angle equations

By Maths Bodhi Team

Read guide

IB DP Maths29 Nov 2026

IB Maths Discrete Random Variables and Expected Value: Tables, Unknowns and Fair Games (AA)

A discrete random variable lists outcomes with probabilities that add to 1, and E(X) is the probability-weighted average. Four original worked examples (finding k, two unknowns from E(X), a fair game, building a table from an experiment), the HL variance extension, common slips and a self-check.

IB maths discrete random variablesexpected valuefair gamesIB maths AA SL probability

By Maths Bodhi Team

Read guide

IB DP Maths29 Nov 2026

IB Maths AA Normal Distribution Questions: Inverse Normal, Unknown Mean and Standard Deviation

The four types of normal distribution question in IB Maths AA, from a straight probability to finding an unknown mean and standard deviation with z-values, each with an original worked example, plus the calculator-free symmetry type and a self-check.

IB maths AA normal distributioninverse normalz-valuesIB maths AA SL statistics

By Maths Bodhi Team

Read guide