G4PureStretch

The Chain, Product and Quotient Rules

The power rule alone cannot differentiate (3x+1)5(3x+1)^5, x2sin⁡xx^2\sin x or xx+1\dfrac{x}{x+1} — none of these is a simple power of xx. Three rules extend differentiation to every combination of functions you will meet: composite functions (chain), products (product), and quotients (quotient).

36 min Video by TLMaths Differentiation

The big picture

Almost every "interesting" function in mathematics is built by combining simpler functions — nesting them, multiplying them, or dividing them. The chain rule differentiates a function INSIDE another function; the product rule differentiates two functions MULTIPLIED together; the quotient rule differentiates one function DIVIDED by another. Mastering all three turns differentiation from "a trick for powers of xx" into a tool that works on almost anything.

A-Level Maths G4-01: Introducing the Chain RuleCurated by Kepler, not produced by us. Watch it, then work through the notes below.
Open on YouTube

What you'll be able to do

  • Apply the chain rule to differentiate composite functions
  • Apply the product rule to differentiate a product of two functions
  • Apply the quotient rule to differentiate one function divided by another
  • Choose the correct rule (or combination of rules) for a given expression
1

The chain rule

When a function is "inside" another — like (3x+1)5(3x+1)^5, where 3x+13x+1 is inside the power of 5 — differentiate the OUTER function first (treating the inner function as a single variable), then multiply by the derivative of the INNER function.

dydx=dydu×dudx,where u is the inner function\dfrac{dy}{dx} = \dfrac{dy}{du}\times\dfrac{du}{dx}, \quad \text{where } u \text{ is the inner function}
Differentiate the outer function, multiply by the derivative of the inner.
Example 1Differentiate y=(3x+1)5y=(3x+1)^5.
1Let u=3x+1u=3x+1 (inner function), so y=u5y=u^5.
2dydu=5u4\dfrac{dy}{du}=5u^4 and dudx=3\dfrac{du}{dx}=3.
3Multiply: dydx=5u4×3=15u4\dfrac{dy}{dx}=5u^4\times3=15u^4.
4Substitute back: 15(3x+1)415(3x+1)^4.
Answer
dydx=15(3x+1)4\dfrac{dy}{dx}=15(3x+1)^4

Tip — In practice: differentiate the outside "as if the bracket were just x", then multiply by the derivative of what is inside the bracket.

2

The product rule

When two functions of xx are multiplied together, like x2sin⁡xx^2\sin x, the product rule says: differentiate the first, keep the second; PLUS keep the first, differentiate the second.

y=uv⇒dydx=udvdx+vdudxy = uv \Rightarrow \dfrac{dy}{dx} = u\dfrac{dv}{dx} + v\dfrac{du}{dx}
u and v are both functions of x.
Example 1Differentiate y=x2(2x+1)3y=x^2(2x+1)^3.
1Let u=x2u=x^2, v=(2x+1)3v=(2x+1)^3.
2dudx=2x\dfrac{du}{dx}=2x; using the chain rule, dvdx=3(2x+1)2×2=6(2x+1)2\dfrac{dv}{dx}=3(2x+1)^2\times2=6(2x+1)^2.
3Apply the product rule: dydx=x2×6(2x+1)2+(2x+1)3×2x\dfrac{dy}{dx}=x^2\times6(2x+1)^2+(2x+1)^3\times2x.
4Factorise out common terms 2x(2x+1)22x(2x+1)^2: 2x(2x+1)2[3x+(2x+1)]=2x(2x+1)2(5x+1)2x(2x+1)^2\big[3x+(2x+1)\big]=2x(2x+1)^2(5x+1).
Answer
dydx=2x(2x+1)2(5x+1)\dfrac{dy}{dx}=2x(2x+1)^2(5x+1)
Why this works

Factorising the final answer (pulling out the lowest powers common to both terms) is often expected in exams — it shows the result in its most compact, recognisable form.

3

The quotient rule

When one function is divided by another, like x2x+1\dfrac{x}{2x+1}, use the quotient rule — remember the order in the numerator matters (it is NOT symmetric).

y=uv⇒dydx=vdudx−udvdxv2y = \dfrac{u}{v} \Rightarrow \dfrac{dy}{dx} = \dfrac{v\dfrac{du}{dx} - u\dfrac{dv}{dx}}{v^2}
"Low d-high minus high d-low, over low squared".
Example 1Differentiate y=x2x+1y=\dfrac{x}{2x+1}.
1Let u=xu=x, v=2x+1v=2x+1, so dudx=1\dfrac{du}{dx}=1, dvdx=2\dfrac{dv}{dx}=2.
2Apply the quotient rule: dydx=(2x+1)(1)−x(2)(2x+1)2\dfrac{dy}{dx}=\dfrac{(2x+1)(1)-x(2)}{(2x+1)^2}.
3Simplify the numerator: 2x+1−2x=12x+1-2x=1.
Answer
dydx=1(2x+1)2\dfrac{dy}{dx}=\dfrac{1}{(2x+1)^2}

Tip — A useful mnemonic: "low d-high minus high d-low, over low squared" — where "low" is the denominator vv and "high" is the numerator uu.

Think like an examiner

  • Identify which rule applies BEFORE differentiating: is it one function nested in another (chain), two functions multiplied (product), or one divided by another (quotient)?
  • For the quotient rule, the order in the numerator is critical — udvdx−vdudxu\dfrac{dv}{dx}-v\dfrac{du}{dx} is the wrong way round and a very common error.
  • Always attempt to factorise or simplify your final answer — unsimplified expressions can lose marks even if the method is correct.
  • Many questions combine rules (e.g. the chain rule used to differentiate vv inside a product rule question) — expect to nest them.

Common misconceptions

Forgetting to multiply by the derivative of the inner function in the chain rule.
You must ALWAYS multiply by dudx\dfrac{du}{dx} — differentiating only the outer function is an incomplete chain rule.
Getting the numerator order wrong in the quotient rule.
It is vdudx−udvdxv\dfrac{du}{dx}-u\dfrac{dv}{dx} — the term with dudx\dfrac{du}{dx} comes first, with a MINUS sign, not a plus.
Adding instead of the product rule structure, e.g. writing dydx=dudx×dvdx\dfrac{dy}{dx}=\dfrac{du}{dx}\times\dfrac{dv}{dx}.
The product rule is udvdx+vdudxu\dfrac{dv}{dx}+v\dfrac{du}{dx} — each original function stays attached to the OTHER function's derivative.

Differentiation rules

dydx=dydu×dudx\dfrac{dy}{dx} = \dfrac{dy}{du}\times\dfrac{du}{dx}
Chain rule.
dydx=udvdx+vdudx\dfrac{dy}{dx} = u\dfrac{dv}{dx} + v\dfrac{du}{dx}
Product rule (y = uv).
dydx=vdudx−udvdxv2\dfrac{dy}{dx} = \dfrac{v\frac{du}{dx} - u\frac{dv}{dx}}{v^2}
Quotient rule (y = u/v).

Stretch yourself

Differentiate y=x2(3x−1)2y = \dfrac{x^2}{(3x-1)^2} using the quotient rule, giving your answer as a single fraction.

Hint — Let u=x2u=x^2 and v=(3x−1)2v=(3x-1)^2; you will need the chain rule to differentiate vv.

Reveal solution
Solutiondudx=2x\dfrac{du}{dx}=2x. For v=(3x−1)2v=(3x-1)^2, chain rule gives dvdx=2(3x−1)×3=6(3x−1)\dfrac{dv}{dx}=2(3x-1)\times3=6(3x-1). Quotient rule: dydx=(3x−1)2(2x)−x2×6(3x−1)(3x−1)4\dfrac{dy}{dx}=\dfrac{(3x-1)^2(2x)-x^2\times6(3x-1)}{(3x-1)^4}. Factor out 2x(3x−1)2x(3x-1) from the numerator: 2x(3x−1)[(3x−1)−3x]=2x(3x−1)(−1)=−2x(3x−1)2x(3x-1)\big[(3x-1)-3x\big]=2x(3x-1)(-1)=-2x(3x-1). So dydx=−2x(3x−1)(3x−1)4=−2x(3x−1)3\dfrac{dy}{dx}=\dfrac{-2x(3x-1)}{(3x-1)^4}=\dfrac{-2x}{(3x-1)^3}. ■\blacksquare

Questions students ask

How do I know which rule to use?
Ask what the LAST operation is if you were evaluating the expression: if it is "raise a bracket to a power" or similar nesting, use the chain rule; if the final operation is multiplication of two separate functions of xx, use the product rule; if it is division, use the quotient rule.
Can the rules be combined?
Yes, frequently — for example the product or quotient rule often needs the chain rule just to differentiate one of the two pieces (uu or vv) if that piece is itself a composite function.
Is the quotient rule numerator order important?
Yes — it is NOT symmetric. It must be vdudx−udvdxv\dfrac{du}{dx}-u\dfrac{dv}{dx} (the derivative of the top comes first, then subtract), all over v2v^2.

Key takeaways

  • Chain rule: differentiate the outer function, multiply by the derivative of the inner.
  • Product rule: udvdx+vdudxu\dfrac{dv}{dx}+v\dfrac{du}{dx} for y=uvy=uv.
  • Quotient rule: vdudx−udvdxv2\dfrac{v\frac{du}{dx}-u\frac{dv}{dx}}{v^2} for y=uvy=\dfrac{u}{v} — order matters.
  • Rules often combine: the chain rule is frequently needed inside a product or quotient rule calculation.

How this fits the course

Test yourself

Answer a few questions, then review anything you missed.

Prefer paper? Open the written self-check

Answer each question before opening its answer. This self-check does not record a quiz score.

  1. Differentiating (2x+3)4(2x+3)^4 using the chain rule gives:

    • 8(2x+3)38(2x+3)^3
    • 4(2x+3)34(2x+3)^3
    • (2x+3)3(2x+3)^3
    • 8(2x+3)48(2x+3)^4
    Show answer and explanation

    Answer: 8(2x+3)38(2x+3)^3

    4(2x+3)3×2=8(2x+3)34(2x+3)^3\times2=8(2x+3)^3.

  2. For y=uvy=uv, the product rule gives dydx=\dfrac{dy}{dx}=

    • udvdx+vdudxu\frac{dv}{dx}+v\frac{du}{dx}
    • dudx×dvdx\frac{du}{dx}\times\frac{dv}{dx}
    • ududx+vdvdxu\frac{du}{dx}+v\frac{dv}{dx}
    • uvuv
    Show answer and explanation

    Answer: udvdx+vdudxu\frac{dv}{dx}+v\frac{du}{dx}

    The product rule formula.

  3. The quotient rule for y=u/vy=u/v has denominator:

    • v2v^2
    • uvuv
    • u2u^2
    • u+vu+v
    Show answer and explanation

    Answer: v2v^2

    Always the square of the original denominator.

  4. Which rule is needed to differentiate xsin⁡xx\sin x?

    • Product rule
    • Chain rule only
    • Quotient rule
    • Power rule only
    Show answer and explanation

    Answer: Product rule

    Two functions of xx multiplied together.

  5. In the quotient rule, the correct numerator order is:

    • vdudx−udvdxv\frac{du}{dx}-u\frac{dv}{dx}
    • udvdx−vdudxu\frac{dv}{dx}-v\frac{du}{dx}
    • ududx−vdvdxu\frac{du}{dx}-v\frac{dv}{dx}
    • vdudx+udvdxv\frac{du}{dx}+u\frac{dv}{dx}
    Show answer and explanation

    Answer: vdudx−udvdxv\frac{du}{dx}-u\frac{dv}{dx}

    The derivative of the numerator comes first, minus, then the rest.

Finished this lesson?

Loading your progress…

Next step

Keep practising

Start with the quiz above to check the key ideas. You can also choose another topic from the practice library.

Browse practice topics

Related lessons

All 9 lessons

Put the methods into practice: see how A-Level maths duels work. An account is required to play; the overview and sample are public.