Product, chain and quotient rules and related rates AI HL

This page starts with the power rule and the standard derivatives, then adds the product, quotient and chain rules for products, fractions and functions of a function. The last section uses the chain rule to link the rates at which connected quantities change with time, such as the volume and the radius of a growing pile of sand. Work through the sections in order, because each rule builds on the one before, and use the calculator to check an answer, never to replace the method.

Formulas at a glance

The power rule, the standard derivatives (including the derivative of tan⁡x\tan x), the chain rule, and the product and quotient rules are all in the formula booklet, as are the area and volume formulas used for related rates. The chain rule written as a link between rates, such as the rate of change of a volume in terms of the rate of change of a radius, is a method rather than a booklet formula.

Power rule, for any real power nn

ddx(xn)=nxn−1\dfrac{d}{dx}(x^n)=nx^{n-1}

In the booklet

Standard derivatives

ddx(sin⁡x)=cos⁡x, ddx(cos⁡x)=−sin⁡x, ddx(tan⁡x)=1cos2⁡x, ddx(ex)=ex, ddx(ln⁡x)=1x\dfrac{d}{dx}(\sin x)=\cos x,\ \dfrac{d}{dx}(\cos x)=-\sin x,\ \dfrac{d}{dx}(\tan x)=\dfrac{1}{\cos^2x},\ \dfrac{d}{dx}(e^x)=e^x,\ \dfrac{d}{dx}(\ln x)=\dfrac1x

In the booklet

Chain rule

dydx=dydu⋅dudx\dfrac{dy}{dx}=\dfrac{dy}{du}\cdot\dfrac{du}{dx}

In the booklet

Product rule

(uv)′=u′v+uv′(uv)'=u'v+uv'

In the booklet

Quotient rule

(uv)′=u′v−uv′v2\left(\dfrac{u}{v}\right)'=\dfrac{u'v-uv'}{v^2}

In the booklet

Related rates (chain rule with time)

dVdt=dVdr×drdt\dfrac{dV}{dt}=\dfrac{dV}{dr}\times\dfrac{dr}{dt}

Not in the booklet

Area of a circle, volume of a sphere, volume of a cone

A=πr2, V=43πr3, V=13πr2hA=\pi r^2,\ V=\tfrac43\pi r^3,\ V=\tfrac13\pi r^2h

In the booklet

Which method to use

Look at the structure of the expression before differentiating: a sum of terms, a product, a fraction or a function of a function each need a different rule, and a question about rates with time needs a linking equation.

The question hasUseNotes
A sum of powers of xx, including roots and fractionsThe power rule on each term: ddx(axn)=anxn−1\dfrac{d}{dx}(ax^n)=anx^{n-1}Rewrite roots and fractions as powers first. The rule holds for any real nn
sin⁡x\sin x, cos⁡x\cos x, tan⁡x\tan x, exe^x or ln⁡x\ln x of plain xxThe standard derivatives from the bookletIf the argument is anything other than xx, the chain rule is needed as well
Two functions of xx multiplied togetherThe product rule, (uv)′=u′v+uv′(uv)'=u'v+uv'Write down uu, vv, u′u' and v′v' before substituting
One function of xx divided by anotherThe quotient rule, u′v−uv′v2\dfrac{u'v-uv'}{v^2}The numerator order matters: u′vu'v comes first
A function of a function, such as (3x+1)n(3x+1)^n, ekxe^{kx} or sin⁡(kx)\sin(kx)The chain rule, dydx=dydu⋅dudx\dfrac{dy}{dx}=\dfrac{dy}{du}\cdot\dfrac{du}{dx}Differentiate the outside, then multiply by the derivative of the inside
A product or quotient with a composite factorThe product or quotient rule, with the chain rule for the composite factorFind the derivative of each factor separately before combining
Quantities linked by an equation and a rate of change with timeWrite the linking equation, differentiate with respect to tt, then substituteSubstitute the known values only after differentiating
Two changing lengths in one formula, such as a radius and a heightUse the shape of the figure to write one length in terms of the other, then differentiateThe formula must have a single variable before it is differentiated with respect to tt

Section 1 of 4 SL5.3 AHL5.9

Basic differentiation

Basic differentiation uses the power rule: the derivative of axnax^n is anxn−1anx^{n-1}, applied to each term of a function separately. Alongside it you need the standard derivatives of sin⁡x\sin x, cos⁡x\cos x, tan⁡x\tan x, exe^x and ln⁡x\ln x, after rewriting any roots and fractions as powers of xx.

The rules you need

The power rule is introduced at SL5.3 for integer powers, and extended at AHL5.9 to every real power nn, alongside the standard derivatives of sin⁡x\sin x, cos⁡x\cos x, tan⁡x\tan x, exe^x, and ln⁡x\ln x. All of these are in the formula booklet.

Power rule

ddx(axn)=anxn−1\dfrac{d}{dx}(ax^n)=anx^{n-1}

Works for any real nn, including negative and fractional powers - rewrite roots and fractions in index form first, then differentiate term by term.

✓ In the formula booklet

Standard derivatives

ddx(sin⁡x)=cos⁡x,ddx(cos⁡x)=−sin⁡x,ddx(tan⁡x)=1cos2⁡x,ddx(ex)=ex,ddx(ln⁡x)=1x\dfrac{d}{dx}(\sin x)=\cos x,\quad \dfrac{d}{dx}(\cos x)=-\sin x,\quad \dfrac{d}{dx}(\tan x)=\dfrac{1}{\cos^2x},\quad \dfrac{d}{dx}(e^x)=e^x,\quad \dfrac{d}{dx}(\ln x)=\dfrac{1}{x}

These only apply directly when the argument is plain xx - anything more complicated, like sin⁡(5x)\sin(5x), needs the chain rule as well.

✓ In the formula booklet

Key terms

What is a derivative?

The derivative f′(x)f'(x), also written dydx\dfrac{dy}{dx}, gives the gradient of the curve at any point xx. It is the rate of change of yy with respect to xx.

e.g. For f(x)=x2f(x)=x^2, f′(x)=2xf'(x)=2x, so the gradient at x=4x=4 is 88.

How do you differentiate a root or a fraction?

Rewrite it as a power first: x=x12\sqrt{x}=x^{\frac12} and 1xn=x−n\dfrac{1}{x^n}=x^{-n}, then use the power rule.

e.g. 3x2=3x−2\dfrac{3}{x^2}=3x^{-2} has derivative −6x−3-6x^{-3}.

What is the derivative of a constant?

A constant has derivative 00 because it does not change with xx. A constant multiplier stays in place when you differentiate.

e.g. For y=5x3+7y=5x^3+7, dydx=15x2\dfrac{dy}{dx}=15x^2.

How do you differentiate a sum of terms?

Differentiate each term separately and add the results. A product or fraction of several parts may first need to be expanded or simplified.

e.g. y=x3+5x−4y=x^3+5x-4 gives dydx=3x2+5\dfrac{dy}{dx}=3x^2+5.

Worked example, step by step

The question Calculator needed (radian mode) [5 marks]

The concentration CC mg per litre of a chemical in a pond, tt hours after it is added, is modelled by C=5t+12t+3sin⁡t,1≤t≤10,C=5\sqrt{t}+\dfrac{12}{t}+3\sin t,\qquad 1\le t\le10, where the angle in the sine term is in radians.

(a) Find dCdt\dfrac{dC}{dt}.

(b) Find the rate of change of the concentration when t=4t=4.

(c) Hence state whether the concentration is increasing or decreasing when t=4t=4, giving a reason.

Worked solution: worked example

Answer: (a) dCdt=52t−12t2+3cos⁡t\dfrac{dC}{dt}=\dfrac{5}{2\sqrt t}-\dfrac{12}{t^2}+3\cos t (b) −1.46-1.46 mg per litre per hour (c) decreasing, because the rate of change is negative

Step 1 - Rewrite as powers of tt.

C=5t12+12t−1+3sin⁡t.C=5t^{\frac12}+12t^{-1}+3\sin t.

Why? The power rule needs each term as a power of tt, so the root and the fraction are rewritten first. The sine term already has a standard derivative.

Step 2 - Differentiate term by term.

dCdt=52t−12−12t−2+3cos⁡t.\dfrac{dC}{dt}=\tfrac52t^{-\frac12}-12t^{-2}+3\cos t. M1 - Apply the power rule to at least one term A1 - dCdt=52t−12t2+3cos⁡t\dfrac{dC}{dt}=\dfrac{5}{2\sqrt t}-\dfrac{12}{t^2}+3\cos t (or equivalent)

Why? The power rule gives 12×5=52\tfrac12\times5=\tfrac52 with the power reduced by one, and −1×12=−12-1\times12=-12 with the power reduced to −2-2. The derivative of sin⁡t\sin t is cos⁡t\cos t.

Step 3 - Substitute t=4t=4 with the calculator in radian mode.

dCdt=524−1242+3cos⁡4=1.25−0.75+3cos⁡4.\dfrac{dC}{dt}=\dfrac{5}{2\sqrt4}-\dfrac{12}{4^2}+3\cos4=1.25-0.75+3\cos4. With the calculator in radian mode, 3cos⁡4=−1.9609…3\cos4=-1.9609\ldots, so dCdt=−1.46 mg per litre per hour.\dfrac{dC}{dt}=-1.46\text{ mg per litre per hour}. M1 - Substitute t=4t=4 into their derivative A1 - −1.46-1.46

Why? The sine term was given in radians, so the angle mode must be radians. In degree mode cos⁡4\cos4 would be a different number and the accuracy mark would be lost.

Step 4 - Interpret the sign.

The rate of change is negative, so the concentration is decreasing when t=4t=4. R1 - Negative rate of change, so decreasing

Why? A negative derivative means the quantity is falling as tt increases. Quote the value as evidence.

Step 5 - Check with the numerical derivative.

Enter 5x+12x+3sin⁡x5\sqrt{x}+\dfrac{12}{x}+3\sin x into the numerical derivative at x=4x=4, in radian mode. The calculator gives −1.46-1.46, which agrees.

Why? A numerical derivative is a check on the algebra and is not a replacement for it, because the question asks for dCdt\dfrac{dC}{dt} as an expression.

Marks (5):
M1 Apply the power rule to at least one term
A1 dCdt=52t−12t2+3cos⁡t\dfrac{dC}{dt}=\dfrac{5}{2\sqrt t}-\dfrac{12}{t^2}+3\cos t (or equivalent)
M1 Substitute t=4t=4 into their derivative
A1 −1.46-1.46
R1 Negative rate of change, so decreasing

Now you try: enter your answers to be marked

These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.

1
Easy
No calc
[2 marks]
Differentiate y=ex+x.y = e^{x} + x.
[2]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
Calculator
[4 marks]
Differentiate y=e2x+sin⁡(3x).y = e^{2x} + \sin(3x).
[4]
Fractions & powers
Trig
Other

Worked solution: practice question 2

3
Hard
Calculator
[4 marks]
Differentiate y=ln(xx+1)y=\ln\!\left(\dfrac{x}{x+1}\right), simplifying first.
[4]
Fractions & powers
Logs
Other

Worked solution: practice question 3

Your score so far: 0 out of 10 marks

Common mistakes

  • Not converting roots and fractions to index form first. x\sqrt{x} and 2x2\dfrac{2}{x^2} need to become x1/2x^{1/2} and 2x−22x^{-2} before the power rule can be applied - trying to differentiate the original form directly leads to errors.
  • Dropping the negative sign in the power rule. Differentiating 5x−25x^{-2} gives −10x−3-10x^{-3}, not 10x−310x^{-3} - the exponent itself is negative, so n−1n-1 makes it more negative still.
  • Treating a constant term as if it had a derivative. The constant 77 in y=3x4−2x2+7y=3x^4-2x^2+7 differentiates to 00 - a constant on its own has no xx to vary, so it simply disappears.

Try some questions on basic differentiation

Section 2 of 4 AHL5.9

Product and quotient rule

The product rule differentiates two functions of xx multiplied together, and the quotient rule differentiates one divided by another. For y=uvy=uv, dydx=u′v+uv′\dfrac{dy}{dx}=u'v+uv', and for y=uvy=\dfrac{u}{v}, dydx=u′v−uv′v2\dfrac{dy}{dx}=\dfrac{u'v-uv'}{v^2}. Choose the rule from the structure of the expression, apply the chain rule to any composite factor, then simplify the result.

Choosing the rule

The product rule and the quotient rule are in the formulas at the top of the page and in the formula booklet. The skill is spotting which structure you are looking at, a product or a quotient, before you start writing.

Key terms

What is the product rule?

For y=uvy=uv, differentiate one factor at a time and add: dydx=u′v+uv′\dfrac{dy}{dx}=u'v+uv'.

e.g. For y=x3ln⁡xy=x^3\ln x, take u=x3u=x^3 and v=ln⁡xv=\ln x, giving dydx=3x2ln⁡x+x2\dfrac{dy}{dx}=3x^2\ln x+x^2.

How do you label the parts of a product or quotient?

Name the two parts first and write down u′u' and v′v' before substituting. In a quotient, uu is the numerator and vv is the denominator.

e.g. For y=x2exy=\dfrac{x^2}{e^x}, u=x2u=x^2 and v=exv=e^x, so u′=2xu'=2x and v′=exv'=e^x.

How do you simplify the result?

Factorise common factors, such as a power of ee or a bracket, to give a tidy final answer. In the quotient rule, expand and collect the numerator.

e.g. For y=x3exy=x^3e^x, dydx=3x2ex+x3ex=x2ex(3+x)\dfrac{dy}{dx}=3x^2e^x+x^3e^x=x^2e^x(3+x).

What happens when one factor is a composite function?

Use the chain rule to find that factor's derivative, then place it in the product rule or quotient rule.

e.g. For y=x2sin⁡(4x)y=x^2\sin(4x), v′=4cos⁡(4x)v'=4\cos(4x), so dydx=2xsin⁡(4x)+4x2cos⁡(4x)\dfrac{dy}{dx}=2x\sin(4x)+4x^2\cos(4x).

Worked example, step by step

The question Calculator needed [5 marks]

The concentration CC mg per litre of a drug in a patient's blood, tt hours after an injection, is modelled by C=8tt2+4,t≥0.C=\dfrac{8t}{t^2+4},\qquad t\ge0.

(a) Use the quotient rule to show that dCdt=8(4−t2)(t2+4)2\dfrac{dC}{dt}=\dfrac{8(4-t^2)}{(t^2+4)^2}.

(b) Find the rate of change of the concentration when t=3t=3.

(c) Find the time at which the concentration stops increasing and starts to fall.

Worked solution: worked example

Answer: (b) −0.237-0.237 mg per litre per hour (c) t=2t=2 hours

Step 1 - Label the parts.

The numerator is u=8tu=8t and the denominator is v=t2+4v=t^2+4, so u′=8u'=8 and v′=2tv'=2t.

Why? Writing uu, vv, u′u' and v′v' first keeps the signs and the order in the formula under control.

Step 2 - Apply the quotient rule.

dCdt=u′v−uv′v2=8(t2+4)−8t×2t(t2+4)2.\dfrac{dC}{dt}=\dfrac{u'v-uv'}{v^2}=\dfrac{8(t^2+4)-8t\times2t}{(t^2+4)^2}. M1 - Substitute uu, vv, u′u' and v′v' into u′v−uv′v2\dfrac{u'v-uv'}{v^2}

Why? The numerator is u′v−uv′u'v-uv', in that order, and the denominator is vv squared, not v′v'.

Step 3 - Simplify to the given form.

The numerator is 8t2+32−16t2=32−8t2=8(4−t2)8t^2+32-16t^2=32-8t^2=8(4-t^2), so dCdt=8(4−t2)(t2+4)2.\dfrac{dC}{dt}=\dfrac{8(4-t^2)}{(t^2+4)^2}. A1 - Simplify to 8(4−t2)(t2+4)2\dfrac{8(4-t^2)}{(t^2+4)^2}

Why? This is the form stated in the question, reached from the working above.

Step 4 - Find the rate when t=3t=3.

Substituting on the home screen, dCdt=8(4−9)(9+4)2=−40169=−0.237 mg per litre per hour.\dfrac{dC}{dt}=\dfrac{8(4-9)}{(9+4)^2}=\dfrac{-40}{169}=-0.237\text{ mg per litre per hour}. A1 - −0.237-0.237

Why? The negative value means the concentration is already falling at t=3t=3. The numerical derivative of 8xx2+4\dfrac{8x}{x^2+4} at x=3x=3 gives the same value as a check.

Step 5 - Find when the concentration stops increasing.

The concentration stops increasing when dCdt=0\dfrac{dC}{dt}=0. The denominator is never zero, so 4−t2=04-t^2=0, giving t=2t=2 hours (the value t=−2t=-2 is rejected because t≥0t\ge0). M1 - Set dCdt=0\dfrac{dC}{dt}=0 A1 - t=2t=2

Why? At a turning point the gradient is zero. The numerator 8(4−t2)8(4-t^2) is positive for 0≤t<20\le t<2 and negative for t>2t>2, so the concentration rises and then falls. The graph of dCdt\dfrac{dC}{dt} crossing the tt-axis at t=2t=2 confirms it with the calculator's zero tool.

Marks (5):
M1 Substitute uu, vv, u′u' and v′v' into u′v−uv′v2\dfrac{u'v-uv'}{v^2}
A1 Simplify to 8(4−t2)(t2+4)2\dfrac{8(4-t^2)}{(t^2+4)^2}
A1 −0.237-0.237
M1 Set dCdt=0\dfrac{dC}{dt}=0
A1 t=2t=2

Now you try: enter your answers to be marked

1
Medium
Calculator
[2 marks]
Differentiate y=x2e3x.y=x^2e^{3x}.
[2]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
Calculator
[4 marks]
Differentiate.
(a) y=sin⁡(3x)y=\sin(3x)
[2]
(b) y=xcos⁡xy=x\cos x
[2]
Fractions & powers
Trig
Other

Worked solution: practice question 2

3
Medium
No calc
[2 marks]
Differentiate y=ln⁡(3x2+7)y = \ln(3x^2 + 7).
[2]
Fractions & powers
Logs
Other

Worked solution: practice question 3

Your score so far: 0 out of 8 marks

Common mistakes

  • Multiplying the derivatives together instead of using the product rule. y=xsin⁡xy=x\sin x is not differentiated as 1×cos⁡x1 \times \cos x - you must form u′v+uv′u'v+uv' and add the two pieces.
  • Getting the quotient rule's numerator order backwards. It's u′v−uv′u'v-uv', not uv′−u′vuv'-u'v - swapping the order flips the sign of the whole answer.
  • Forgetting the chain rule inside a product or quotient. If uu or vv is itself a composite function, such as sin⁡(5x)\sin(5x), differentiate it correctly with the chain rule before slotting it into the product or quotient rule.

Try some questions on product and quotient rule

Section 3 of 4 AHL5.9

Chain rule

The chain rule differentiates a composite function f(g(x))f(g(x)) as f′(g(x))×g′(x)f'(g(x))\times g'(x): the derivative of the outer function, evaluated at the inner function, multiplied by the derivative of the inner function. Use it whenever the argument is not simply xx, such as in (7x+1)4(7x+1)^4 or cos⁡(5x)\cos(5x).

Spotting the composite function

The chain rule is in the formulas at the top of the page and in the formula booklet. The skill is recognising a composite function, one wrapped around another, before you differentiate.

Key terms

What is a composite function?

A composite function applies one function to the result of another, written f(g(x))f(g(x)). The function gg is the inner function and ff is the outer function.

e.g. In (7x+1)4(7x+1)^4, the inner function is 7x+17x+1 and the outer function is raising to the power 4.

How does the substitution form of the chain rule work?

Let uu be the inner function, find dydu\dfrac{dy}{du} and dudx\dfrac{du}{dx}, then multiply them.

e.g. For y=(5x+2)3y=(5x+2)^3, let u=5x+2u=5x+2, so dydx=3u2×5=15(5x+2)2\dfrac{dy}{dx}=3u^2\times5=15(5x+2)^2.

How do you differentiate a power of e or a sine of an expression?

The derivative of eg(x)e^{g(x)} is g′(x)eg(x)g'(x)e^{g(x)}, and the derivative of sin⁡(g(x))\sin(g(x)) is g′(x)cos⁡(g(x))g'(x)\cos(g(x)).

e.g. ddxe5x=5e5x\dfrac{d}{dx}e^{5x}=5e^{5x} and ddxsin⁡(4x)=4cos⁡(4x)\dfrac{d}{dx}\sin(4x)=4\cos(4x).

How do you differentiate a root of an expression?

Write the root as a power of 12\dfrac12, apply the chain rule, then write the answer back with a root if you wish.

e.g. y=2x+1=(2x+1)12y=\sqrt{2x+1}=(2x+1)^{\frac12} gives dydx=12(2x+1)−12×2=12x+1\dfrac{dy}{dx}=\dfrac12(2x+1)^{-\frac12}\times2=\dfrac{1}{\sqrt{2x+1}}.

Worked example, step by step

The question Calculator needed [4 marks]

The number of people, NN hundred, inside a shopping centre tt hours after it opens is modelled by N=30e−0.02(t−5)2,0≤t≤12.N=30e^{-0.02(t-5)^2},\qquad 0\le t\le12.

(a) Find dNdt\dfrac{dN}{dt}.

(b) Find the value of tt at which the number of people inside is increasing at a rate of 200200 people per hour.

Worked solution: worked example

Answer: (a) dNdt=−1.2(t−5)e−0.02(t−5)2\dfrac{dN}{dt}=-1.2(t-5)e^{-0.02(t-5)^2} (b) t=3.22t=3.22 hours

Step 1 - Identify the inner and outer functions.

The exponential has the inner function u=−0.02(t−5)2u=-0.02(t-5)^2, so N=30euN=30e^{u}, and dudt=−0.02×2(t−5)=−0.04(t−5)\dfrac{du}{dt}=-0.02\times2(t-5)=-0.04(t-5).

Why? The power of ee is not plain tt, so the chain rule is needed. The inner function is itself a function of a function, and its derivative uses the chain rule too.

Step 2 - Apply the chain rule.

dNdt=30eu×dudt=30e−0.02(t−5)2×(−0.04(t−5))=−1.2(t−5)e−0.02(t−5)2.\dfrac{dN}{dt}=30e^{u}\times\dfrac{du}{dt}=30e^{-0.02(t-5)^2}\times\big(-0.04(t-5)\big)=-1.2(t-5)e^{-0.02(t-5)^2}. M1 - Apply the chain rule with the inner derivative −0.04(t−5)-0.04(t-5) A1 - dNdt=−1.2(t−5)e−0.02(t−5)2\dfrac{dN}{dt}=-1.2(t-5)e^{-0.02(t-5)^2}

Why? The derivative of eue^{u} is eue^{u}, multiplied by the derivative of the inner function.

Step 3 - Set up the equation in the right units.

NN is in hundreds, so 200200 people per hour is a rate of 22: −1.2(t−5)e−0.02(t−5)2=2.-1.2(t-5)e^{-0.02(t-5)^2}=2. M1 - Set their dNdt=2\dfrac{dN}{dt}=2

Why? The units of the rate must match the units of the model. Setting the derivative equal to 200200 would give an equation with no solution.

Step 4 - Solve with the calculator.

Graph y=−1.2(x−5)e−0.02(x−5)2y=-1.2(x-5)e^{-0.02(x-5)^2} and y=2y=2 for 0≤x≤120\le x\le12 and use the intersection tool. There is one intersection, at x=3.22x=3.22, so t=3.22t=3.22 hours. A1 - t=3.22t=3.22

Why? An equation with the unknown both outside and inside an exponential cannot be rearranged by hand, so the calculator solves it. The derivative is positive only for t<5t<5, before the busiest time, so the one solution lies there.

Step 5 - Check.

At t=3.2249t=3.2249, −1.2(3.2249−5)e−0.02(3.2249−5)2=2.00-1.2(3.2249-5)e^{-0.02(3.2249-5)^2}=2.00, which is 200200 people per hour.

Why? Substituting the unrounded value back confirms the solution.

Marks (4):
M1 Apply the chain rule with the inner derivative −0.04(t−5)-0.04(t-5)
A1 dNdt=−1.2(t−5)e−0.02(t−5)2\dfrac{dN}{dt}=-1.2(t-5)e^{-0.02(t-5)^2}
M1 Set their dNdt=2\dfrac{dN}{dt}=2
A1 t=3.22t=3.22

Now you try: enter your answers to be marked

1
Easy
No calc
[2 marks]
Differentiate y=(2x−1)3.y = (2x - 1)^3.
[2]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
Calculator
[2 marks]
Differentiate y=(5x2−2)3.y = (5x^2 - 2)^3.
[2]
Fractions & powers
Other

Worked solution: practice question 2

3
Hard
Calculator
[3 marks]
Differentiate y=4x3+1.y = \sqrt{4x^3 + 1}.
[3]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 7 marks

Common mistakes

  • Forgetting the chain rule on composite functions. Differentiating sin⁡(4x)\sin(4x) as cos⁡(4x)\cos(4x) instead of 4cos⁡(4x)4\cos(4x) drops the "multiply by the derivative of the inside" step - always check whether the argument of the function is anything other than plain xx.
  • Not converting roots to fractional powers first. x2+9\sqrt{x^2+9} needs to become (x2+9)1/2(x^2+9)^{1/2} before the chain rule can be applied - trying to differentiate a square-root symbol directly usually goes wrong.
  • Leaving the inner derivative out of the final answer. dydx=2(3x+4)\dfrac{dy}{dx}=2(3x+4) is only half the answer for y=(3x+4)2y=(3x+4)^2 - it still needs multiplying by u′=3u'=3 to give 6(3x+4)6(3x+4).

Try some questions on chain rule

Section 4 of 4 AHL5.9

Related rates of change

A related rates question links quantities that change with time. An equation joins them, such as a volume in terms of a radius, and differentiating that equation with respect to time tt with the chain rule joins their rates of change. Differentiate first, then substitute the known values, then solve for the rate that is wanted.

The method

Related rates is the chain rule applied to quantities that all depend on time. The shape formulas, such as the area of a circle and the volumes of a sphere and a cone, are in the formula booklet.

Related rates of change

Write an equation linking the quantities, differentiate both sides with respect to time tt, then substitute the known values and solve for the unknown rate.

The link between the rates, such as dVdt=dVdr×drdt\dfrac{dV}{dt}=\dfrac{dV}{dr}\times\dfrac{dr}{dt}, is the chain rule and is not a separate booklet formula.

Two changing lengths

If the linking equation contains two changing lengths, use the geometry of the figure, for example similar triangles, to write one in terms of the other. The formula then has one variable and can be differentiated with respect to tt.

Do this before differentiating, not afterwards.

Key terms

Why does drdt\dfrac{dr}{dt} appear when you differentiate with respect to time?

The radius, side or height changes with time, so it is a function of tt. Differentiating a formula in it uses the chain rule: ddtf(r)=f′(r)drdt\dfrac{d}{dt}f(r)=f'(r)\dfrac{dr}{dt}.

e.g. For C=2πrC=2\pi r, dCdt=2πdrdt\dfrac{dC}{dt}=2\pi\dfrac{dr}{dt}.

When do you substitute the known values?

After differentiating, never before. Substituting a value first turns the quantity into a constant, and a constant has a rate of change of zero.

e.g. For S=6x2S=6x^2 with x=5x=5, writing S=150S=150 first loses the rate. Differentiate to get dSdt=12xdxdt\dfrac{dS}{dt}=12x\dfrac{dx}{dt}, then put x=5x=5 in.

What does a negative rate of change mean?

The quantity is decreasing. The sign of the rate shows whether the quantity is growing or shrinking, so a tank that is draining has a negative rate of change of volume.

e.g. A tank losing 5 litres each minute has dVdt=−5\dfrac{dV}{dt}=-5.

What is a rate of change with respect to time?

A rate such as drdt\dfrac{dr}{dt} says how fast a quantity changes each unit of time. In related rates, connect the quantities by an equation, then differentiate with respect to tt.

e.g. If V=x3V=x^3, then dVdt=3x2dxdt\dfrac{dV}{dt}=3x^2\dfrac{dx}{dt}.

Worked example, step by step

The question Calculator needed [6 marks]

Sand is poured onto level ground at a constant rate of 22 m3^3 per minute and forms a pile in the shape of a cone. The height of the pile is always 0.60.6 times the radius of its base.

(a) Show that the volume of the pile is V=0.2πr3V=0.2\pi r^3, where rr m is the radius of the base.

(b) Find the rate at which the radius is increasing when the radius is 1.51.5 m.

(c) Find the rate at which the height is increasing at this instant.

Worked solution: worked example

Answer: (b) 0.4720.472 m per minute (c) 0.2830.283 m per minute

Step 1 - Write the volume in one variable.

The volume of a cone is V=13πr2hV=\tfrac13\pi r^2h. With h=0.6rh=0.6r, V=13πr2(0.6r)=0.2πr3.V=\tfrac13\pi r^2(0.6r)=0.2\pi r^3. M1 - Substitute h=0.6rh=0.6r into V=13πr2hV=\tfrac13\pi r^2h A1 - V=0.2πr3V=0.2\pi r^3

Why? The cone formula is in the booklet, but it has two changing lengths. The fixed ratio between them replaces hh, so VV depends on rr only.

Step 2 - Differentiate with respect to time.

dVdt=dVdr×drdt=0.6πr2drdt.\dfrac{dV}{dt}=\dfrac{dV}{dr}\times\dfrac{dr}{dt}=0.6\pi r^2\dfrac{dr}{dt}. M1 - Differentiate with respect to tt: dVdt=0.6πr2drdt\dfrac{dV}{dt}=0.6\pi r^2\dfrac{dr}{dt}

Why? This is the chain rule, because rr is a function of tt. The values are not substituted yet.

Step 3 - Substitute the known values.

With dVdt=2\dfrac{dV}{dt}=2 and r=1.5r=1.5: 2=0.6π(1.5)2drdt=1.35πdrdt.2=0.6\pi(1.5)^2\dfrac{dr}{dt}=1.35\pi\dfrac{dr}{dt}.

Why? The radius is only put in after differentiating. Putting it in first would turn the volume into a constant.

Step 4 - Solve for the rate.

On the home screen, drdt=21.35π=0.47157…\dfrac{dr}{dt}=\dfrac{2}{1.35\pi}=0.47157\ldots, so the radius is increasing at 0.4720.472 m per minute. A1 - 0.4720.472 m per minute

Why? The calculator evaluates the quotient. The unrounded value is kept in memory for part (c).

Step 5 - Find the rate for the height.

The height is h=0.6rh=0.6r, so dhdt=0.6drdt=0.6(0.47157…)=0.283 m per minute.\dfrac{dh}{dt}=0.6\dfrac{dr}{dt}=0.6(0.47157\ldots)=0.283\text{ m per minute}. M1 - dhdt=0.6drdt\dfrac{dh}{dt}=0.6\dfrac{dr}{dt} A1 - 0.2830.283 m per minute

Why? Differentiating the link between the two lengths with respect to tt links their rates, using the unrounded drdt\dfrac{dr}{dt} from part (b).

Marks (6):
M1 Substitute h=0.6rh=0.6r into V=13πr2hV=\tfrac13\pi r^2h
A1 V=0.2πr3V=0.2\pi r^3
M1 Differentiate with respect to tt: dVdt=0.6πr2drdt\dfrac{dV}{dt}=0.6\pi r^2\dfrac{dr}{dt}
A1 0.4720.472 m per minute
M1 dhdt=0.6drdt\dfrac{dh}{dt}=0.6\dfrac{dr}{dt}
A1 0.2830.283 m per minute

Now you try: enter your answers to be marked

1
Medium
Calculator
[3 marks]
The radius of a circular ripple increases at 33 cm/s.

Find the rate at which the area is increasing when the radius is 44 cm.
[3]
Fractions & powers
Other

Worked solution: practice question 1

2
Hard
Calculator
[6 marks]
Water drains from an inverted cone (height 1212 cm, top radius 66 cm) at 33 cm3^{3}/s.
diagram not to scale6 cm12 cm

Find the rate the water level falls when the depth is 44 cm.
[6]
Fractions & powers
Other

Worked solution: practice question 2

3
Medium
Calculator
[4 marks]
The side of a square increases at 0.20.2 cm/s.

Find the rate of change of the area when the side is 1010 cm.
[4]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 13 marks

Common mistakes

  • Substituting the known values before differentiating. Putting a value for the radius into the formula first makes the quantity a constant, so its rate of change comes out as zero. Differentiate with respect to tt first, then substitute.
  • Leaving out the rate of the other quantity. Differentiating V=43πr3V=\tfrac43\pi r^3 with respect to tt gives 4πr2drdt4\pi r^2\dfrac{dr}{dt}, not 4πr24\pi r^2. The radius changes with time, so the chain rule brings in drdt\dfrac{dr}{dt}.
  • Not matching units of time in related rates. If a radius grows in cm/s but the question asks for the rate in a different unit, or gives a diameter instead of a radius, convert before substituting - the chain rule step is often right but the numbers going in are wrong.

Try some questions on related rates of change

Using your GDC

The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.

Numerical derivative at a point

Used in: Basic differentiation, Product and quotient rule, Chain rule

How to find a numerical derivative at a point on a TI-84 Plus CE

The nDeriv( template on the home screen

Press 2nd mode (QUIT) to reach the home screen. Press math and choose 8:nDeriv(. In MathPrint mode this pastes a template with a box for the expression and a box for the x-value.

In the first box type the function: X,T,θ,n x² ln X,T,θ,n ). Press ▶ to move to the x-value box and type 2.

d/dx(X²ln(X))|x=2

Press enter. The screen shows the value of the derivative at x=2x = 2.

f′(2)=4.77259f'(2) = 4.77259 to 6 significant figures, which is 4.774.77 to 3 significant figures.

The answer is a numerical estimate, so the last digits can differ slightly from the exact value.

d/dx(X²ln(X))|x=2
4.77259
Another way: type the command

If your calculator shows the command form (Classic mode, or you prefer typing), enter nDeriv(X²ln(X),X,2): the expression, then the variable, then the x-value, separated by ,. To differentiate a function stored in Y1, paste Y1 from the Y-VARS menu (see evaluating a function at a point) in place of the expression.

Another way: from the graph

With the function graphed, 2nd trace (CALC) and 6:dy/dx read the gradient at a typed x-value, and the DRAW menu can draw the tangent. The steps are in draw a tangent and read its gradient.

The variable in the command must match the letter in the expression: use X in both. If the template does not appear, check the calculator is in MathPrint mode, or type the command form.

The full guide: Numerical derivative at a point

Enter a calculation on the home screen

Used in: Basic differentiation, Related rates of change

How to enter a calculation on a TI-84 Plus CE

Type a calculation and press enter

Go to the home screen: press 2nd mode (QUIT) from any menu or app. Press clear if the entry line is not empty.

Type the calculation as you would write it, then press enter. For 3(2.4)2−5×1.83(2.4)^2 - 5 \times 1.8 press 3 ( 2 . 4 ) x² − 5 × 1 . 8 enter.

The calculator understands a number next to a bracket as a multiplication, so × is not needed in 3(2.4)3(2.4). If a fraction, square root or power template is on the screen, press ▶ to move out of it before you carry on typing.

8.288.28

3(2.4)²-5*1.8
8.28
Use the last answer in the next calculation

To increase the answer by 15%, press × 1 . 1 5 enter on a blank line. The calculator puts Ans, the last answer, in front of the operator for you.

You can also type Ans yourself, anywhere in a calculation: press 2nd (−) (ANS), for example 2nd (−) (ANS) × 1 . 1 5 enter.

9.5229.522, which is 9.529.52 to 3 significant figures.

Ans*1.15
9.522

To use an earlier entry or answer, press ▲ to move up through the history, then enter to paste the highlighted one on the entry line. Press 2nd enter (ENTRY) to bring back your last entry and change it.

Ans always holds the last answer that was worked out, so if you do a different calculation in between, Ans changes. Type a number you need later, or keep it on the screen, rather than relying on Ans for many steps.

The full guide: Enter a calculation on the home screen

Find where two graphs meet (intersection)

Used in: Chain rule

How to find where two graphs meet on a TI-84 Plus CE

Graph both and use intersect

Press Y=, clear any old functions with clear, then type X,T,θ,n x² − 3 next to Y1=. Press ▼ and type 2 X,T,θ,n + 1 next to Y2=.

Plot1 Plot2 Plot3
\Y1=X²-3
\Y2=2X+1
\Y3=

Press window and set Xmin = −3, Xmax = 5, Ymin = −4, Ymax = 10. For a negative number use the (−) key, not the subtraction key. Press graph. Both curves should show, with two crossing points on the screen.

WINDOW
Xmin=-3
Xmax=5
Xscl=1
Ymin=-4
Ymax=10
Yscl=1

Press 2nd trace (CALC) and choose 5:intersect. First curve? appears with the cursor on one graph: press enter. Second curve? appears: press enter again. If more than two graphs are drawn, use ▲ or ▼ to put the cursor on the right graph before pressing enter.

Second curve?

Guess? appears. Use ◀ or ▶ to move the cursor close to the right-hand crossing, then press enter.

The screen shows Intersection with x=3.24x = 3.24 and y=7.47y = 7.47.

Intersection X=3.236068 Y=7.472136

For the other crossing, repeat 2nd trace 5:intersect, enter, enter, and this time move the guess close to the left-hand crossing before pressing enter.

x=−1.24x = -1.24 and y=−1.47y = -1.47.

Intersection X=-1.236068 Y=-1.472136

The guess decides which crossing the calculator finds, so give a guess near the point you want. A crossing outside the window cannot be found, so check WINDOW first.

The full guide: Find where two graphs meet (intersection)

See the full list of GDC guides for every calculator task.

Syllabus content covered

CodeSyllabus content
SL5.3The derivative of f(x)=axnf(x)=ax^n is f′(x)=anxn−1f'(x)=anx^{n-1}, for functions of the form f(x)=axn+bxn−1+…f(x)=ax^n+bx^{n-1}+\dots where all exponents are integers.
AHL5.9The derivatives of sin⁡x\sin x, cos⁡x\cos x, tan⁡x\tan x, exe^x, ln⁡x\ln x, xnx^n where n∈Rn\in\mathbb{R}. The chain rule, product rule and quotient rule. Related rates of change.

Official IB source: Mathematics: applications and interpretation subject brief (PDF, ibo.org).

Quick questions

What is the power rule for differentiation?

If f(x)=axnf(x) = ax^n, then f′(x)=anxn−1f'(x) = anx^{n-1}. This holds for any real exponent nn, including negative and fractional powers, and you differentiate a sum of such terms one term at a time.

When do I use the product rule instead of the quotient rule?

Use the product rule when two functions of xx are multiplied together, e.g. y=xln⁡xy = x\ln x. Use the quotient rule when one function of xx is divided by another, e.g. y=2x+1x−3y = \frac{2x+1}{x-3}.

What is the chain rule?

The chain rule differentiates a composite function: dydx=dydu⋅dudx\dfrac{dy}{dx}=\dfrac{dy}{du}\cdot\dfrac{du}{dx}. Differentiate the outer function, keep the inner function unchanged, then multiply by the derivative of the inner function.

What is a related rates question?

Two or more quantities that change with time are linked by an equation, such as a volume formula. Differentiate the equation with respect to tt using the chain rule, substitute the known values and rates, then solve for the unknown rate.

What are the standard derivatives I need to know at HL?

The derivatives of sin⁡x\sin x, cos⁡x\cos x, tan⁡x\tan x, exe^x, ln⁡x\ln x, and xnx^n for real nn. These are all given in the formula booklet, and every other differentiation technique builds on applying them correctly.

What is the quotient rule formula?

For y=uvy=\dfrac{u}{v}, the derivative is u′v−uv′v2\dfrac{u'v-uv'}{v^2}. The order of the numerator matters, and you always divide by v2v^2.

How do I know when a question needs the chain rule?

Whenever the argument of a function is anything other than plain xx - such as (7x+1)4(7x+1)^4, cos⁡(5x)\cos(5x), or e−xe^{-x} - you need the chain rule, because you're differentiating a function of a function.

Why is the answer to a related rates question sometimes negative?

A negative rate means the quantity is decreasing, for example the depth of water in a tank that is draining. Keep the sign through the working and say in words whether the quantity is increasing or decreasing.

How do I simplify a logarithm before differentiating?

Use the laws of logarithms first. For example, ln⁡(x3)=3ln⁡x\ln(x^3)=3\ln x, so its derivative is 3x\dfrac{3}{x}.

Is the derivative of a product the product of the derivatives?

No. Since x×x=x2x\times x=x^2, the derivative is 2x2x, but multiplying the derivatives 11 and 11 gives 11. Use u′v+uv′u'v+uv' instead.

Ready to practise properly?

Practice questions on every section, marked instantly like the real exam.