KS Maths
AA Topic 5.6 · Analysis and Approaches, SL and HL

Chain, product and quotient rules

Three rules, and a decision before you use them

Differentiating combinations, the standard derivatives, and the index that has quietly become a fraction.

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

product
The answer when you multiply.The product of 3 and 5 is 15.
quotient
The answer when you divide.The quotient of 12 and 4 is 3.
derivative
A function that gives the gradient of a curve at each point.The derivative of x squared is 2x.
sine
A ratio in a right-angled triangle: opposite side over hypotenuse.Sine of 30 degrees is one half.
differentiate
Find how fast something is changing. Find the derivative.Differentiate x squared to get 2x.
function
A rule that gives exactly one output for each input.f(x) = x plus 2 is a function.
cosine
A ratio in a right-angled triangle: adjacent side over hypotenuse.Cosine of 60 degrees is one half.
gradient
How steep a line is. Up divided by across.A line going up 2 for each 1 across has gradient 2.
factor
A whole number that divides another number exactly.The factors of 6 are 1, 2, 3 and 6.
power
A small raised number that shows how many times to multiply a number by itself.2 to the power 3 is 8.

Warm-up

Four quick ones from earlier work. Try each on paper before you open the answer.

  1. Differentiate y = 4x³ − 5x + 2, and find the gradient at x = 2.
    Answer

    dy/dx = 12x² − 5, so at x = 2 the gradient is 12(4) − 5 = 43. Bring the power down, then reduce it by one; the constant disappears.

  2. Write 3/x² as a power of x, then differentiate it.
    Answer

    3/x² = 3x⁻², so the derivative is −6x⁻³, which is −6/x³. Rewriting as a power first is the step that lets the power rule work.

  3. Expand the bracket (2x + 1)² and differentiate the result. Keep your answer: once you have met the chain rule below, use it on (2x + 1)² and check that it agrees.
    Answer

    (2x + 1)² = 4x² + 4x + 1, so the derivative is 8x + 4 = 4(2x + 1). The chain rule must also give this, and it is a check on the factor of 2 that people forget.

  4. Using radians, write down the exact values of cos π and sin(π/2).
    Answer

    cos π = −1 and sin(π/2) = 1. Both come from the unit circle; they matter because every derivative of sin and cos in this topic assumes radians.

Words used in this lesson
differentiate
find the derivative of a function. For example: differentiate x⁴ to get 4x³.
composite function
a function placed inside another function. For example: in cos(x²) the function x² sits inside cos.
inside function
the part that is nested; its derivative is the extra factor in the chain rule. For example: in (5x + 2)⁶ the inside function is 5x + 2.
product
two expressions multiplied together. For example: x·ln x is the product of x and ln x.
quotient
one expression divided by another. For example: (x + 1)/x is a quotient.
gradient
how steep a curve is at a point; the value of the derivative there. For example: the line y = 3x + 1 has gradient 3 everywhere.
with respect to
naming the variable you are differentiating by. For example: d/dx means differentiate with respect to x.
radians
the angle unit calculus needs, where a half turn is π. For example: π radians is the same angle as 180 degrees.
hence
use the result you have just found. For example: “Factorise, and hence solve” means solve using your factorised form.
show that
give every step so the result is proved, not just reached. For example: to show that 2(x + 3) = 2x + 6, expand the bracket line by line.

Predict first. Before you use the checker: the √x function has a gradient of 1/(2√x). As x gets larger, will the gradient of the curve get larger, get smaller, or stay the same? Decide, and say why in one sentence.

Then check

Now choose √x in the checker and drag x from small values to large ones, watching the “from the rule” readout. Does it do what you said? If not, look at the shape of the curve and say what it is doing.

Everything so far has been one power at a time. Real functions are built by nesting, multiplying and dividing, and each of those has its own rule. The hard part is not the rules. It is deciding which one you are looking at.

inside→ chain One function wrapped in another, like sin(3x − 1). Differentiate the outside, keep the inside, multiply by the inside's derivative.
beside→ product Two functions multiplied, like x²sin x. Each takes a turn: u′v + uv′.
over→ quotient One divided by another. Top derivative first, all over the bottom squared.
inside → chain  ·  beside → product  ·  over → quotient
Read the shape first. The letters tell you nothing.

Check any derivative you produce

Pick a function and move x. The left readout is the rule applied; the right is the gradient measured from a tiny chord, the way 5.1 defined it. If your rule is right they agree everywhere.

y = sin(3x − 1)

x = 0.50
–from the rule
–from a tiny chord
they agreeverdict

The standard derivatives

f(x)xnsin xcos xexln x
f′(x)nxn−1cos x−sin xex1x

n is now a fraction, not just a whole number. At 5.3 the index had to be an integer. Here it does not, so √x = x½ differentiates to 1⁄2√x, which is ⅝ at x = 9. Rewrite every root and every fraction as a power before you start.

Radians only. The derivative of sin x is cos x only when x is in radians. A calculator left in degrees produces wrong gradients silently, through an entire question.

One of each

sin(3x − 1)→ cos(3x − 1) × 3 = 3cos(3x − 1) chain. At x = 0 that is 3cos(−1) ≈ 1.6209 ex²+2→ ex²+2 × 2x = 2xex²+2 chain. At x = 1 that is 2e³ ≈ 40.171 x²sin x→ 2x sin x + x²cos x product. At x = π/2 that is π sin xx→ x cos x − sin xx² quotient. At x = π that is −1/π

A second example, finished by you

The same decision, on a new function. The first three steps come with a reason; the last step is yours. Cover the reasons and say them yourself before reading.

Differentiate y = x e3x, then find the gradient when x = 0.5.

  1. The two factors are x and e3x, side by side, so this is a product: u = x and v = e3x.Read the shape first: beside means product. The letters tell you nothing.
  2. u′ = 1, and v′ = 3e3x by the chain rule, because the inside function 3x has derivative 3.A chain rule is hiding inside the product. Without the factor 3, v′ is wrong and everything after it is too.
  3. dy/dx = u′v + uv′ = e3x + 3x e3x = e3x(1 + 3x)Each factor takes a turn. Taking out e3x as a common factor makes the substitution short.
  4. Put x = 0.5 into e3x(1 + 3x). Work out the exponent first, then the bracket, then multiply.Your step. Write it out in full before you type the answer below.

Your answer. Find the gradient at x = 0.5, to 3 decimal places.

Check before you go on

One question that tells you whether the main idea has landed. Each wrong option is a common slip, and the reply names it.

To differentiate y = x² sin(3x), which statement is correct?

To differentiate y = x² sin(3x), which statement is correct?

Where the rules decide something

After a dose, the concentration of a medicine in the blood t hours later is modelled by c = 8t e−0.5t mg per litre. A nurse wants to know whether the concentration is still going up at t = 3, because a second dose should only be given once it has started to fall. The rate of change is dc/dt, found with a product rule that has a chain rule inside it.

Find dc/dt at t = 3, to 3 decimal places. Then say whether the concentration is rising or falling.

Your turn

1. Differentiate y = √x and find the gradient at x = 12. Give it as a decimal to 4 places.

2. Which rule does y = exx² need first?

3. Differentiate y = sin(4x + 1). What is the gradient at x = 0.5, to 4 decimal places?

Where the marks go

Rewriting roots and fractions as powers before differentiating. It is often an explicit method mark and it is what makes the rest possible.

The inside derivative on a chain rule. Forgetting it is the commonest error on this sub-topic, and because the missing factor is usually a small number the answer still looks plausible.

Quotient rule order: u′v comes first. Getting it backwards flips the sign of the whole answer.

Something to think about

The quotient rule can look like a separate idea, but is it? Differentiate (sin x)/x twice: once with the quotient rule, and once by writing it as x⁻¹ sin x and using the product rule with the power rule. Do the two answers agree? What does that say about when you really need the quotient rule?

One way to think about it

Write both results in full, then put the product-rule version over the common denominator x². Compare the numerators term by term. Then ask: which route had fewer places to slip a sign?

Climb to an exam question

Five steps, each a little harder than the last, building to an exam question at the end. The exam is a non-calculator paper, so exact values are wanted; where a decimal is typed here, the box says how many places.

Step 1 of 5: the chain rule. Differentiate y = (3x − 1)⁴ and find the gradient at x = 1.

Step 2 of 5: a product with a chain inside. Differentiate y = x(x + 2)³ and find the gradient at x = 2.

Step 3 of 5: factorise the derivative. For y = x(x − 3)³, which is the derivative written as a product of factors?

For y = x(x − 3)³, which is the derivative written as a product of factors?

Step 4 of 5: solve for the stationary points. Using the factorised derivative from the step before, find the smaller of the two x-values where the derivative is zero.

Step 5 of 5: the tangent at a point. For the same curve y = x(x − 3)³, the tangent at the point where x = 4 has equation y = mx + c. Use the factorised derivative to find m, then find c.

The exam question

Written for this site in the style of the real papers. Do it on paper first, as you would in the exam, and show your working: most of the marks are for method. There is no calculator on this paper, so give exact answers (fractions, surds, multiples of π) unless the question says otherwise. Then check each part below.

Paper 1 style · no calculator · 10 marks · about 11 minutes

The function f is defined by f(x) = x(2x − 1)³ for all real x.

(a) Find f′(x), giving your answer as a product of factors. [3]

(b) Hence find the x-coordinates of the stationary points of the graph of f. [3]

(c) The tangent to the graph of f at the point where x = 1 meets the x-axis at the point P. Find the x-coordinate of P. [4]

Check (a). Your factorised derivative gives a whole number when x = 1. Type that number.

Check (b). The two x-coordinates are fractions. Type the smaller one as a decimal.

Check (c). The x-coordinate of P is a fraction. Type it as a decimal to 2 decimal places.

Want the rest of this topic?

This is a free sample lesson. The IB Diploma plan opens every other Diploma lesson, AA and AI, SL and HL, and every lesson from Year 7 for the refreshers. It covers every child in the family and includes all seven revision packs.

$99 for 12 months, or $149 for 2 years

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

That is $8.25 a month for the whole family.

Student without a card? in one tap.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Already paid? Type the email you paid with in the sign-in box, then click the link we send. See every price, including $19 revision packs.

Teaching this lesson?

Every lesson here has a teacher page beside it: worked answers, what each common wrong answer tells you about a student's thinking, and questions at three levels for the board. Every unit has a free sample lesson for students, and a plan opens every other lesson.

See the teacher pages