Most curves you meet in SL are written as y = f(x). In AA HL you are also given relations such as x² + xy + y² = 7, where y cannot be pulled out neatly, and problems where two quantities change with time and you need one rate from the other. Implicit differentiation handles the first; related rates handle the second. Both rest on one idea: the chain rule, applied to a variable that depends on something else.
This guide shows where the two skills sit in the course, how to set out each one so that method marks are safe, and four worked examples checked step by step. If you would like a tutor to work through HL calculus with you, see our one-to-one IB Maths AA HL tutoring.
Where this sits in the AA HL course
Implicit differentiation and related rates of change belong to the HL calculus content of IB Mathematics: Analysis and Approaches. AA SL students do not need them. The current course (first assessment 2021) has its final assessment in November 2028, and the exam structure for AA HL is:
| Paper | Time | Calculator | Weight |
|---|---|---|---|
| Paper 1 | 120 minutes | Not allowed | 30% |
| Paper 2 | 120 minutes | GDC required | 30% |
| Paper 3 | 60 minutes | GDC required | 20% |
The internal assessment makes up the other 20%. Implicit differentiation is pure algebra, so it is a natural fit for Paper 1. Related rates often appear in Paper 2 inside a modelling context, where the GDC handles the final arithmetic. For the wider map of SL and HL calculus, our AA calculus overview lists every skill in order.
The one rule behind implicit differentiation
When you differentiate a term in y with respect to x, treat y as a function of x and use the chain rule:
- d/dx (y²) = 2y × dy/dx
- d/dx (sin y) = cos y × dy/dx
- d/dx (e^y) = e^y × dy/dx
- d/dx (xy) = y + x × dy/dx, by the product rule
Then collect every dy/dx term on one side and factorise. That is the whole method. The same idea proves the derivative of arcsin x: if y = arcsin x, then sin y = x, so cos y × dy/dx = 1 and dy/dx = 1/cos y = 1/√(1 − x²). Our sibling guide on compound angles and inverse trig functions explains why cos y is positive here.
Worked example 1: gradient, tangent and horizontal tangents
The curve C has equation x² + xy + y² = 7. (a) Show that the point (1, 2) lies on C. (b) Find the equation of the tangent at (1, 2). (c) Find the coordinates of the points where the tangent to C is horizontal.
(a) 1 + 2 + 4 = 7, so (1, 2) is on C.
(b) Differentiate every term with respect to x:
2x + (y + x dy/dx) + 2y dy/dx = 0
Collect the dy/dx terms: dy/dx (x + 2y) = −(2x + y), so
dy/dx = −(2x + y)/(x + 2y)
At (1, 2): dy/dx = −4/5. The tangent is y − 2 = −(4/5)(x − 1), which simplifies to 4x + 5y = 14.
(c) A horizontal tangent needs dy/dx = 0, so the numerator is zero: 2x + y = 0, giving y = −2x. Substitute into the curve:
x² − 2x² + 4x² = 7, so 3x² = 7 and x = ±√(7/3).
The points are (√(7/3), −2√(7/3)) and (−√(7/3), 2√(7/3)), about (1.53, −3.06) and (−1.53, 3.06).
The key step in (c) is going back to the original equation. The condition 2x + y = 0 alone describes a line, not a point.
Worked example 2: a second derivative found implicitly
A curve satisfies e^y + xy = e. Find dy/dx and d²y/dx² at the point (0, 1).
First derivative. e^y dy/dx + y + x dy/dx = 0. At (0, 1): e × dy/dx + 1 + 0 = 0, so dy/dx = −1/e.
Second derivative. Do not rearrange first. Differentiate the line above again, term by term:
- e^y dy/dx becomes e^y (dy/dx)² + e^y d²y/dx² (product rule and chain rule)
- y becomes dy/dx
- x dy/dx becomes dy/dx + x d²y/dx²
So e^y (dy/dx)² + e^y d²y/dx² + 2 dy/dx + x d²y/dx² = 0.
Substitute x = 0, y = 1 and dy/dx = −1/e:
e(1/e²) + e d²y/dx² − 2/e = 0, so e d²y/dx² = 1/e and d²y/dx² = 1/e².
Substituting numbers before the second differentiation would be wrong, because x, y and dy/dx all still vary. Substituting after it, as here, saves pages of algebra.
The related rates method in four steps
- Name the variables and write down the rate you know and the rate you want, with units.
- Find an equation linking the quantities at a general moment, using geometry or the context. Remove any variable you are not given a rate for.
- Differentiate with respect to t, or use the chain rule in the form dA/dt = dA/dx × dx/dt.
- Substitute the values at the given instant only now, then answer with units and a sign that matches the story.
Worked example 3: filling a cone
Water is poured at 0.5 m³ per minute into a tank shaped like an inverted cone. The tank has height 6 m and top radius 3 m. Find the rate at which the depth is rising when the water is 2 m deep.
Variables. Let h be the depth and r the radius of the water surface. Known: dV/dt = 0.5. Wanted: dh/dt when h = 2.
Link. Similar triangles give r/h = 3/6, so r = h/2. Then
V = (1/3)πr²h = (1/3)π(h²/4)h = πh³/12
Differentiate. dV/dh = πh²/4, and dV/dt = dV/dh × dh/dt.
Substitute. At h = 2, dV/dh = π, so 0.5 = π × dh/dt and
dh/dt = 0.5/π ≈ 0.159 m per minute.
Removing r before differentiating is the move that makes this short. With r left in, you would need dr/dt as well.
Worked example 4: a changing angle
A drone rises vertically at 3 m s⁻¹ from a point 40 m from an observer on level ground. Find the rate at which the angle of elevation is increasing when the drone is 30 m high.
Let h be the height and θ the angle of elevation. Then tan θ = h/40.
Differentiate with respect to t: sec²θ × dθ/dt = (1/40) × dh/dt.
When h = 30, tan θ = 3/4, so sec²θ = 1 + 9/16 = 25/16. With dh/dt = 3:
dθ/dt = (3/40) × (16/25) = 48/1000 = 0.048 radians per second.
The answer is in radians because calculus with trig functions always is. You could also write θ = arctan(h/40) and differentiate directly; both routes give 0.048.
Common mistakes our tutors see
- Dropping dy/dx on a y term. d/dx (y³) is 3y² dy/dx, not 3y².
- Missing the product rule on xy. It gives two terms, y + x dy/dx.
- Substituting the instant too early in related rates, for example putting h = 2 into V before differentiating. The derivative of a constant is zero, and the method collapses.
- Sign of the rate. "Decreasing at 2 cm s⁻¹" means the rate is −2. A final answer for a leaking tank should be negative, or worded as "falling at".
- Forgetting units, or giving an angle rate in degrees.
- Stopping at a condition. dy/dx = 0 gives a relation such as 2x + y = 0; you still need to solve with the curve.
Exam technique
- Paper 1: set out implicit differentiation in three lines: differentiate, collect, divide. Show the substitution of the point clearly; "show that" questions award marks for the line before the answer.
- Paper 2: in related rates, write the chain rule you are using in words or symbols before you calculate. The GDC can evaluate dV/dh at a value, but the setup marks come from your equation.
- Paper 3: long questions sometimes build a curve defined implicitly and ask for tangents, then areas or limits. Limits that need L'Hôpital's rule or series are covered in our guide to Maclaurin series and limits.
- Check: a gradient at a point can be checked on the GDC by solving for y near that point and using the numerical derivative.
Self-check (answers below)
- For x³ + y³ = 6xy, find dy/dx at (3, 3).
- The radius of a sphere grows at 0.2 cm s⁻¹. How fast is the volume growing when r = 5 cm?
- For x² + y² = 25, show that d²y/dx² = −25/y³.
- A 5 m ladder rests against a wall. The foot slides away at 0.4 m s⁻¹. How fast does the top slide down when the foot is 3 m from the wall?
Answers. 1: dy/dx = (2y − x²)/(y² − 2x) = −1. 2: dV/dt = 4πr² dr/dt = 20π ≈ 62.8 cm³ s⁻¹. 3: dy/dx = −x/y, then d²y/dx² = −(y² + x²)/y³ = −25/y³. 4: x² + y² = 25 gives dy/dt = −x(dx/dt)/y = −0.3, so the top slides down at 0.3 m s⁻¹.
Where this leads next
Implicit differentiation feeds into optimisation, differential equations and the volumes you will meet in integration. Our sibling post on solids formed by rotating a region uses the same "rewrite x in terms of y" thinking. For the complete list of HL content and how it fits together, see the AA HL topics and syllabus guide. Students heading for a US university may also like our comparison of AA HL with AP Calculus BC.
How Maths Bodhi helps
In a free demo we ask a student to differentiate two short relations aloud, which shows quickly whether the chain rule is secure. The tutor is matched to AA HL, and progress is tracked through written method on original exam-style questions. For HL students who want senior one-to-one support in calculus, Ajay Vatsyayan's AA HL sessions are an option.
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
- Is implicit differentiation in IB maths AA SL?
- No. Implicit differentiation and related rates of change are part of the AA HL calculus content, so AA SL students do not need them.
- How do you do implicit differentiation step by step?
- Differentiate every term with respect to x, writing dy/dx each time you differentiate a y term, then collect the dy/dx terms on one side, factorise and divide.
- How do I find the second derivative using implicit differentiation?
- Differentiate the first-derivative equation again with respect to x, using the product and chain rules, then substitute the point and the value of dy/dx.
- What is the method for related rates questions in IB maths HL?
- Name the variables and rates, write an equation linking the quantities at a general time, differentiate with respect to t, then substitute the values at the given instant.
- Why is my related rates answer zero?
- You probably substituted the given value before differentiating, which turns a variable into a constant. Substitute only after you have differentiated.
- Can related rates questions come on IB maths AA HL Paper 1?
- Yes. Paper 1 has no calculator, so questions there use neat values; Paper 2 questions may have awkward numbers that the GDC can evaluate.
