James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
IB Diploma › Maths AA HL › Topic 5: Calculus › Implicit differentiation

Implicit differentiation & related rates

Differentiating curves that are not written as y=f(x), finding tangents, normals and turning points on them, and using the chain rule to link rates of change in real situations.

AHL 5.14HL onlyPaper 1Paper 2≈ 75 min to work through
Before you start: the chain, product and quotient rules, tangents and normals. See Differentiation rules.

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 an equation in x and y implicitlyAHL 5.14
  • Find tangents and normals to an implicitly defined curveAHL 5.14
  • Find points where the tangent is horizontal or verticalAHL 5.14
  • Find a second derivative implicitlyAHL 5.14
  • Solve related rates problems using the chain ruleAHL 5.14

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

A circle x2+y2=25 is not the graph of a function, yet it has a tangent at every point. Instead of solving for y, differentiate the whole equation with respect to x, treating y as an unknown function of x. Every time you differentiate something involving y, the chain rule leaves a factor dydx. The same chain rule, applied to time, links how fast different quantities change.

2.1 Differentiating implicitly

The key step Not in booklet: learn it
ddx(g(y))=g′(y)dydxe.g. ddx(y2)=2ydydx,ddx(ey)=eydydx

Products such as xy need the product rule: ddx(xy)=y+xdydx.

Worked example 1Paper 1
Find the gradient of x2+y2=25 at (3,4), and the equation of the tangent there.
2x+2ydydx=0⇒dydx=−xy
At (3,4): dydx=−34
Tangent: y−4=−34(x−3), i.e. 3x+4y=25
The tangent is perpendicular to the radius, whose gradient is 43.
Worked example 2Paper 1
The curve C has equation x2+xy+y2=7. Find dydx, and the equation of the normal at (1,2).
2x+(y+xdydx)+2ydydx=0
Product rule on xy.
dydx(x+2y)=−(2x+y)⇒dydx=−2x+yx+2y
At (1,2): −45. Normal gradient 54.
Normal: y−2=54(x−1), i.e. 5x−4y+3=0
Worked example 3Paper 1
The curve ey+xy=e passes through (0,1). Find the gradient there.
eydydx+y+xdydx=0⇒dydx=−yey+x
At (0,1): −1e

2.2 Horizontal and vertical tangents

If dydx=ND, the tangent is horizontal where N=0 and vertical where D=0 (with N≠0). In each case, solve that condition together with the equation of the curve.

Worked example 4Paper 1
Find the points on x2+xy+y2=7 where the tangent is horizontal.
dydx=0⇒2x+y=0⇒y=−2x
Substitute into the curve: x2−2x2+4x2=7⇒3x2=7⇒x=±73
A point must lie on the curve, so use the curve equation.
Points (213,−2213) and (−213,2213)

2.3 Second derivatives

Worked example 5Paper 1
For x2+y2=25, show that d2ydx2=−25y3.
dydx=−xy. Quotient rule: d2ydx2=−y−xdydxy2
Substitute dydx=−xy: −y+x2yy2=−y2+x2y3
Always substitute the first derivative back in.
Using the curve, x2+y2=25: d2ydx2=−25y3

2.4 Related rates

When two quantities are linked by an equation and both change with time, their rates are linked by the chain rule. For example, if V depends on r and r depends on t:

Related rates Not in booklet: learn it
dVdt=dVdr×drdt
Method
  1. Draw a diagram and name the variables. Write down the given rate and the rate you want, with units and signs (decreasing means negative).
  2. Find an equation linking the variables. If there are too many variables, use the geometry (similar triangles, Pythagoras) to remove one.
  3. Differentiate with respect to t (or use the chain rule).
  4. Substitute the values at the instant asked about only after differentiating.
Worked example 6Paper 1
The radius of a sphere increases at 2 cm s−1. Find the rate of increase of the volume when r=5 cm.
V=43πr3⇒dVdr=4πr2
dVdt=4π(5)2×2=200π cm3 s−1
Worked example 7Paper 1
A 5 m ladder leans against a wall. The foot slides away from the wall at 0.5 m s−1. How fast is the top sliding down when the foot is 3 m from the wall?
x2+y2=25. Differentiate with respect to t: 2xdxdt+2ydydt=0
When x=3, y=4. So 3(0.5)+4dydt=0⇒dydt=−0.375
Find y from Pythagoras at that instant.
The top slides down at 0.375 m s−1.
Worked example 8Paper 2
A conical tank with its vertex at the bottom has height 10 cm and top radius 5 cm. Water flows in at 3 cm3 s−1. Find the rate at which the depth is rising when the depth is 4 cm.
Similar triangles: rh=510⇒r=h2
This removes r, so V depends on h only.
V=13πr2h=πh312⇒dVdh=πh24
At h=4: dVdh=4π. So dhdt=34π=0.239 cm s−1
Worked example 9 (faded)Paper 1
The side of a square increases at 0.2 cm s−1. Find the rate of increase of its area when the side is 6 cm.
A=x2, dAdt=2xdxdt=2(6)(0.2)= 2.4 cm² s⁻¹  ← you work this out
On your TI-Nspire Calculator tricks →

A GDC cannot differentiate implicitly on its own, but you can check a gradient: solve the curve for y near the point (e.g. nSolve(x^2+x·y+y^2=7, y)|x=1.001) and compare with the value at x=1. For related rates on Paper 2, use the calculator for the arithmetic only.

3Explore it

Move the point around the curve. The green line is the tangent, with gradient from the implicit derivative. Look for where the tangent is horizontal or vertical.

4Common mistakes & exam tips

Common mistakes

  • Differentiating y2 as 2y without the factor dydx.
  • Forgetting the product rule on terms like xy or x2y3.
  • Finding where dydx=0 but not using the curve equation to find actual points.
  • Substituting values before differentiating in related rates, which makes a variable look constant.
  • Sign errors: a decreasing quantity has a negative rate.

Exam tips

  • Collect all dydx terms on one side, then factorise.
  • In "show that" questions, write the line before the given answer clearly.
  • Include units in related rates answers, e.g. cm3 s−1.
  • For cones, use similar triangles to remove the radius before differentiating.

5Practice

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

FluencyP1
Find dydx for x3+y3=6xy.
dydx=2y−x2y2−2x
FluencyP2
Find the gradient of x2−3xy+y2=−1 at (1,2).
2x−3y−3xy′+2yy′=0: y′=3y−2x2y−3x=41=4
FluencyP3
Find dydx for siny=x2.
2xcosy
FluencyP4
A circle’s radius grows at 3 cm s−1. Find the rate of increase of area when r=10.
2π(10)(3)=60π cm2 s−1
Problem solvingP5
Find the points on x2+y2−2x=3 where the tangent is vertical.
y′=1−xy; vertical when y=0: x2−2x−3=0, (3,0) and (−1,0).
Problem solvingP6
The area of an equilateral triangle increases at 6 cm2 s−1. Find the rate of increase of the side when the side is 4 cm.
A=34x2, dAdx=23: dxdt=623=3 cm s−1

6Exam-style questions

Original questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.

Question 1Paper 1[7 marks]

A curve has equation x3+y3=9xy.

  • (a)Find an expression for dydx in terms of x and y.[4]
  • (b)Verify that (2,4) lies on the curve, and find the equation of the normal at this point.[3]
(a)
3x2+3y2dydxA1
=9y+9xdydxM1A1
dydx=3y−x2y2−3xA1
(b)
8+64=72 ✓; dydx=810=45A1
normal gradient −54M1
y−4=−54(x−2)A1
Question 2Paper 2[6 marks]

An inverted conical container has height 12 cm and top radius 4 cm. Water leaks out at a constant rate of 2 cm3 s−1. At time t the depth of water is h cm.

  • (a)Show that the volume of water is V=πh327.[2]
  • (b)Find the rate of change of the depth when h=6.[4]
(a)
r=h3 (similar triangles)A1
V=13π(h3)2h=πh327AG A1
(b)
dVdh=πh29A1
−2=π(36)9dhdtM1A1
dhdt=−0.159 cm s−1A1
Question 3Paper 1[5 marks]

Find the coordinates of the points on the curve x2+xy+y2=7 at which the tangent is horizontal.

2x+y+xy′+2yy′=0M1A1
y′=0⇒y=−2xM1
3x2=7A1
(±213,∓2213)A1

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're scoring well above, try real IB questions. Your school or teacher will have these papers.

PaperQuestionFocusDifficulty
May 2024 · TZ1 · Paper 2Q11A curve defined by ex+y=x2+y2: implicit differentiation★★★
May 2025 · TZ2 · Paper 2Q12Implicit differentiation on a conic★★
Nov 2024 · Paper 1Q11Implicit differentiation within a longer question★★★
May 2023 · TZ1 · Paper 1Q6Related rates: an equilateral triangle★★
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