James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
IB Diploma › Maths AI HL › Calculus › Further differentiation

Further differentiation & related rates

At HL you can differentiate far more than polynomials: trig, exponential and log functions, and any product, quotient or composite of them. Related rates then link how fast different quantities change, such as the radius and the area of a spreading oil spill.

AHL 5.9HL onlyPaper 1Paper 2GDC allowed≈ 55 min to work through
Before you start: differentiating powers and finding gradients (Introduction to differentiation) and stationary points (Stationary points & optimisation).

1What you need to know

Tick these off as you go. By the end of the page you should be able to do all of them without notes.

  • Differentiate sinx, cosx, tanx, ex, lnx and xn for rational nAHL 5.9
  • Use the chain rule for composite functionsAHL 5.9
  • Use the product ruleAHL 5.9
  • Use the quotient ruleAHL 5.9
  • Set up and solve related rates problems using dydt=dydx×dxdtAHL 5.9
  • Use these derivatives to find stationary points and tangentsAHL 5.9

2Notes & worked examples

Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.

The big idea

Every function on this page is built from a few standard pieces, combined by multiplying, dividing or putting one inside another. Learn the standard derivatives, then recognise which rule the combination needs: inside another function means chain, multiplied means product, divided means quotient.

2.1 Standard derivatives

Standard derivatives and rules In formula booklet
ddxsinx=cosxddxcosx=−sinxddxtanx=1cos2xddxex=exddxlnx=1xChain: dydx=dydu×dudxProduct: ddx(uv)=udvdx+vdudxQuotient: ddx(uv)=vdudx−udvdxv2

Angles are in radians: these derivatives are only true in radians.

Worked example 1Paper 1
Differentiate y=3sin(2x)+e−x+ln(4x).
dydx=6cos(2x)−e−x+1x
Chain rule each time: the inside derivatives are 2, −1 and 4, and 44x=1x.

2.2 The chain, product and quotient rules

Worked example 2Paper 1
Differentiate (a) y=(3x2−1)5; (b) y=1+x2.
(a) 5(3x2−1)4×6x=30x(3x2−1)4
(b) y=(1+x2)1/2⇒dydx=12(1+x2)−1/2×2x=x1+x2
Worked example 3Paper 1
Differentiate y=x2e3x.
u=x2, v=e3x: u′=2x, v′=3e3x
dydx=3x2e3x+2xe3x=x(3x+2)e3x
Worked example 4Paper 1
Find the stationary point of y=lnxx, x>0.
dydx=x·1x−lnx·1x2=1−lnxx2
1−lnx=0⇒x=e
Stationary point (e, 1e)≈(2.72, 0.368)
Worked example 5 (faded)Paper 1
Differentiate y=tan(3x).
dydx= 3cos2(3x)  ← you work this out

2.3 Related rates

When two quantities are linked and both change with time, the chain rule links their rates: dAdt=dAdr×drdt. Write down what you know (with units), the equation linking the quantities, then differentiate and substitute the values at the instant you are asked about, only at the end.

Worked example 6Paper 2
An oil spill stays circular. Its radius grows at 0.4 m per minute. Find the rate at which its area is increasing when the radius is 10 m.
A=πr2⇒dAdr=2πr
dAdt=2πr×0.4
At r=10: 8π≈25.1 m² per minute
Worked example 7Paper 2
A 5 m ladder leans against a wall. The bottom slides away from the wall at 0.3 m s⁻¹. How fast is the top sliding down when the bottom is 3 m from the wall?
x2+y2=25; when x=3, y=4
Differentiate with respect to t: 2xdxdt+2ydydt=0
Or write y = √(25 − x²) and use the chain rule.
dydt=−xydxdt=−34(0.3)=−0.225
The top slides down at 0.225 m s⁻¹.
On your TI-Nspire Calculator tricks →

The TI-Nspire can check a derivative at a point: menu → Calculus → Numerical Derivative at a Point, or in a Graphs page use menu → Analyze Graph → dy/dx. The CAS models also give ddx exactly, but non-CAS calculators do not, so learn the rules. To solve f′(x)=0, graph the derivative and find its zeros.

3Explore it

Choose a function and move the point along it. The red line is the tangent; its gradient is the derivative at that point. The dashed curve is the derivative function: where it crosses the x-axis, the original curve has a stationary point.

4Common mistakes & exam tips

Common mistakes

  • Forgetting to multiply by the derivative of the inside function (the chain rule).
  • Writing the quotient rule numerator the wrong way round: it is vu′−uv′.
  • Differentiating ln(4x) as 14x. The chain rule gives 44x=1x.
  • Using degree mode with trig derivatives.
  • In related rates, substituting the values before differentiating.

Exam tips

  • Before differentiating, rewrite roots and fractions as powers: 3x=3x−1/2.
  • Give units with a rate: "m² per minute".
  • A negative rate means decreasing: say so in words.
  • "Hence find the stationary point" means set your derivative equal to 0 and solve.

5Practice

Fluency questions build the basics. Problem-solving questions make you think about which method to use.

FluencyP1
Differentiate y=5e2x−4cosx.
10e2x+4sinx
FluencyP2
Differentiate y=ln(x2+1).
2xx2+1
FluencyP3
Differentiate y=xsinx.
sinx+xcosx
FluencyP4
Differentiate y=exx+1.
(x+1)ex−ex(x+1)2=xex(x+1)2
Problem solvingP5
A cube’s edge grows at 0.2 cm s⁻¹. Find how fast its volume grows when the edge is 5 cm.
dVdt=3x2(0.2)=15 cm³ s⁻¹
Problem solvingP6
Find the gradient of y=e−xsinx at x=0 and at x=π4.
y′=e−x(cosx−sinx): 1 and 0.

6Exam-style questions

Original questions in the style of the IB Maths AI HL exam, with full markschemes. Your GDC is allowed throughout: use it, but write down what you entered and what it gave you. Give yourself about 1 minute per mark.

Question 1Paper 1[6 marks]

Let f(x)=x2lnx, for x>0.

  • (a)Find f′(x).[2]
  • (b)Find the exact value of x for which f′(x)=0.[2]
  • (c)Find the gradient of the curve at x=e.[2]
(a)
2xlnx+x2·1xM1
2xlnx+xA1
(b)
x(2lnx+1)=0⇒lnx=−12(M1)
x=e−1/2A1
(c)
2e+e(M1)
3e≈8.15A1
Question 2Paper 1[6 marks]

Water is poured into a cone-shaped tank, vertex down, at a rate of 2 m³ per minute. The radius of the water surface is always half the depth of the water, h metres.

  • (a)Show that the volume of water is V=πh312.[2]
  • (b)Find the rate at which the depth is increasing when the depth is 3 m.[4]
(a)
V=13πr2h with r=h2M1
13πh24h=πh312A1AG
(b)
dVdh=πh24A1
dhdt=dVdt÷dVdh(M1)
2÷9π4(A1)
0.283 m per minuteA1
Question 3Paper 2[8 marks]

A company’s weekly profit, P thousand euros, when it spends x thousand euros on advertising is modelled by P(x)=50xe−0.2x, x≥0.

  • (a)Find P′(x).[2]
  • (b)Find the advertising spend that maximises the profit, and the maximum profit.[3]
  • (c)The advertising spend is increasing at 0.5 thousand euros per week. Find the rate of change of profit when x=3.[3]
(a)
50e−0.2x−10xe−0.2xM1A1
(b)
50e−0.2x(1−0.2x)=0(M1)
x=5 (€5000)A1
P(5)=92.0 (€92 000)A1
(c)
dPdt=P′(x)×dxdt(M1)
P′(3)=10.98(A1)
5.49 thousand euros per weekA1

7Check yourself

Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.

8Past-paper practice

Once you are scoring well above, try these real IB Maths AI HL questions on this topic. Your school or teacher will have the papers.

PaperQuestionFocusDifficulty
May 2023 · TZ2 · Paper 1Q12A balloon being inflated: related rates★★☆
May 2025 · TZ2 · Paper 1Q9A growing ice sheet: rates of change of area★★☆
May 2023 · TZ1 · Paper 1Q17An airplane passing a tracking station: rate of change of an angle★★★
May 2022 · TZ1 · Paper 1Q8Differentiating y=2x(4−ex) and its second derivative★★☆
Spotted a mistake on this page?Tell me and I'll fix it. The button opens an email with this page already named, or write to jamesashtonmaths@gmail.com.
Report a mistake