Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Analysis and Approaches
  3. ›5 Calculus
  4. ›5.14 Implicit differentiation and related rates

IB Mathematics: Analysis and Approaches · Topic 5 · Calculus

5.14 Implicit differentiation and related rates

Differentiate implicitly to find dydx\frac{dy}{dx}dxdy​, and set up and solve related rates problems using derivatives.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
  • HL only
Start a Quick 5 on this topic→Jump to the 10 questions
1/5Some curves link x and y without isolating y
  1. 1Some curves link x and y without isolating y
  2. 2We differentiate both sides, treating y as a function of x
  3. 3Solving for the derivative gives an expression in x and y
  4. 4Related rates connect quantities that change together over time
  5. 5A fixed method solves any related rates problem
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: Some curves link x and y without isolating y

A circle of radius 5 centred at the origin satisfies x2+y2=25x^2+y^2=25x2+y2=25. Solving for yyy gives y=±25−x2y=\pm\sqrt{25-x^2}y=±25−x2​, which is awkward. Each value of xxx then produces two values of yyy.

Here yyy is not written alone on one side. An implicit equation mixes xxx and yyy in a single relationship. By contrast, an explicit equation has the form y=f(x)y=f(x)y=f(x).

Some equations, such as x3+y3=6xyx^3+y^3=6xyx3+y3=6xy, cannot be rearranged to isolate yyy neatly. We still want the gradient of such a curve. Differentiating directly avoids the problem.

Key terms · tap one for its definition

implicit equation

An implicit equation relates xxx and yyy without writing yyy alone on one side, such as x2+y2=25x^2+y^2=25x2+y2=25.

explicit equation

An explicit equation gives yyy directly as a function of xxx, in the form y=f(x)y=f(x)y=f(x).

Part 1 done

2

Part 2 of 5: We differentiate both sides, treating y as a function of x

Now we differentiate such equations exactly as they stand. This is called implicit differentiation. Every term is differentiated with respect to xxx, on both sides.

The key point is that yyy depends on xxx. A term in yyy therefore needs the chain rule. Treating y2y^2y2 as a composite, ddx(y2)=2ydydx\frac{d}{dx}(y^2)=2y\frac{dy}{dx}dxd​(y2)=2ydxdy​.

Differentiating common terms with respect to x

TermDerivative
x2x^2x22x2x2x
y2y^2y22ydydx2y\frac{dy}{dx}2ydxdy​
xyxyxyy+xdydxy+x\frac{dy}{dx}y+xdxdy​
sin⁡y\sin ysinycos⁡ydydx\cos y\frac{dy}{dx}cosydxdy​
Term
x2x^2x2
Derivative
2x2x2x
Term
y2y^2y2
Derivative
2ydydx2y\frac{dy}{dx}2ydxdy​
Term
xyxyxy
Derivative
y+xdydxy+x\frac{dy}{dx}y+xdxdy​
Term
sin⁡y\sin ysiny
Derivative
cos⁡ydydx\cos y\frac{dy}{dx}cosydxdy​

A product such as xyxyxy also needs the product rule. It states that the derivative of uvuvuv is udvdx+vdudxu\frac{dv}{dx}+v\frac{du}{dx}udxdv​+vdxdu​.

Common mistake

Do not write ddx(y2)=2y\frac{d}{dx}(y^2)=2ydxd​(y2)=2y. The factor dydx\frac{dy}{dx}dxdy​ is essential, because yyy changes as xxx changes.

Key terms · tap one for its definition

implicit differentiation

Implicit differentiation finds a derivative by differentiating both sides of an equation relating the variables.

chain rule

The chain rule gives dydx=dydu×dudx\frac{dy}{dx}=\frac{dy}{du}\times\frac{du}{dx}dxdy​=dudy​×dxdu​ for a composite function.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the equation that is written implicitly.
Show answer and explanation

Answer: B · Worked explanation

The equation x2+y2=9x^2+y^2=9x2+y2=9 mixes xxx and yyy without writing yyy alone, so it is implicit. The other three each give yyy directly as a function of xxx, so they are explicit. A curve can look simple and still be implicit.
3

Part 3 of 5: Solving for the derivative gives an expression in x and y

After differentiating every term, collect the terms containing dydx\frac{dy}{dx}dxdy​ on one side. Factorise, then divide. The result usually contains both xxx and yyy. Sign errors are common at this stage, so check each term before collecting.

For the circle x2+y2=25x^2+y^2=25x2+y2=25, differentiating gives 2x+2ydydx=02x+2y\frac{dy}{dx}=02x+2ydxdy​=0. Hence dydx=−xy\frac{dy}{dx}=-\frac{x}{y}dxdy​=−yx​. The curve is vertical where y=0y=0y=0, at the points (5,0)(5,0)(5,0) and (−5,0)(-5,0)(−5,0). At these points the gradient is infinite, not zero.

Exam tip

To find a gradient at a point, substitute both coordinates. One coordinate is not enough, because dydx\frac{dy}{dx}dxdy​ depends on xxx and yyy.

Worked example

Finding a gradient implicitly

Find the gradient of the curve x2+xy+y2=7x^2+xy+y^2=7x2+xy+y2=7 at the point (2,1)(2,1)(2,1).
  1. 1
    Check the point lies on the curve: 4+2+1=74+2+1=74+2+1=7.
  2. 2
    Differentiate each term: 2x+y+xdydx+2ydydx=02x+y+x\frac{dy}{dx}+2y\frac{dy}{dx}=02x+y+xdxdy​+2ydxdy​=0.
  3. 3
    Collect the terms in dydx\frac{dy}{dx}dxdy​: (x+2y)dydx=−(2x+y)(x+2y)\frac{dy}{dx}=-(2x+y)(x+2y)dxdy​=−(2x+y).
  4. 4
    Solve: dydx=−2x+yx+2y\frac{dy}{dx}=-\frac{2x+y}{x+2y}dxdy​=−x+2y2x+y​.
  5. 5
    Substitute x=2x=2x=2 and y=1y=1y=1: −4+12+2=−54-\frac{4+1}{2+2}=-\frac{5}{4}−2+24+1​=−45​.

Answer: The gradient is −54-\frac{5}{4}−45​.

Part 3 done

4

Part 4 of 5: Related rates connect quantities that change together over time

Picture a balloon being inflated. Its volume and its radius both grow, and they grow together. If you know how fast the volume increases, you can find how fast the radius increases.

A rate here is a derivative with respect to time ttt, such as dVdt\frac{dV}{dt}dtdV​ for volume. A related rates problem uses an equation connecting changing quantities to find an unknown rate from a known one.

Take V=43πr3V=\frac{4}{3}\pi r^3V=34​πr3. Both VVV and rrr depend on ttt. Differentiating with respect to ttt uses the chain rule and gives dVdt=4πr2drdt\frac{dV}{dt}=4\pi r^2\frac{dr}{dt}dtdV​=4πr2dtdr​.

A rate carries units, for example cm3 s−1\mathrm{cm^3\,s^{-1}}cm3s−1 for volume or cm s−1\mathrm{cm\,s^{-1}}cms−1 for radius.

Key terms · tap one for its definition

rate

A rate is a derivative that measures how a quantity changes with respect to time.

related rates problem

A related rates problem uses an equation connecting changing quantities to find an unknown rate from a known rate.

Part 4 done

Quick check

One question on the part you just read

Easy

State the derivative of y3y^3y3 with respect to xxx.
Show answer and explanation

Answer: B · Worked explanation

Because yyy depends on xxx, the chain rule gives 3y2dydx3y^2\frac{dy}{dx}3y2dxdy​. The answer 3y23y^23y2 leaves out the factor dydx\frac{dy}{dx}dxdy​, which is the most common slip. The expression 3x23x^23x2 would be correct only for x3x^3x3.
5

Part 5 of 5: A fixed method solves any related rates problem

Now we turn this idea into a method. The same four steps work for every problem of this kind.

  • Define each variable and list the known and wanted rates.
  • Write an equation linking the variables.
  • Differentiate both sides with respect to ttt.
  • Substitute the values at the given instant, then solve.

Common mistake

Do not substitute values for changing quantities before differentiating. A constant has derivative zero, so the rate would vanish.

Figure 1. The ladder length stays fixed while the distances x and y both change over time.

Worked example

A sliding ladder

A ladder 5 m long leans against a vertical wall. Its base slides away from the wall at 0.5 m s−10.5\,\mathrm{m\,s^{-1}}0.5ms−1. Determine how fast the top moves down the wall when the base is 3 m from the wall.
  1. 1
    Let xxx be the distance of the base from the wall and yyy the height of the top, both in metres. Then dxdt=0.5\frac{dx}{dt}=0.5dtdx​=0.5.
  2. 2
    Pythagoras gives x2+y2=25x^2+y^2=25x2+y2=25.
  3. 3
    Differentiate with respect to ttt: 2xdxdt+2ydydt=02x\frac{dx}{dt}+2y\frac{dy}{dt}=02xdtdx​+2ydtdy​=0.
  4. 4
    When x=3x=3x=3, y=4y=4y=4, because 9+16=259+16=259+16=25.
  5. 5
    Substitute: 2(3)(0.5)+2(4)dydt=02(3)(0.5)+2(4)\frac{dy}{dt}=02(3)(0.5)+2(4)dtdy​=0, so 3+8dydt=03+8\frac{dy}{dt}=03+8dtdy​=0.
  6. 6
    Solve: dydt=−38=−0.375\frac{dy}{dt}=-\frac{3}{8}=-0.375dtdy​=−83​=−0.375.

Answer: The top moves down at 0.375 m s−10.375\,\mathrm{m\,s^{-1}}0.375ms−1.

Give a unit and a sign in your answer. A negative rate means the quantity is decreasing.

Note read

Check your recall[15 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Distinguish[2 marks]

    Distinguish between an explicit equation and an implicit equation, giving an example of each.

    Show mark schemeHide mark scheme

    Model answer

    An explicit equation gives yyy directly in terms of xxx, such as y=3x2+1y=3x^2+1y=3x2+1. An implicit equation mixes xxx and yyy without isolating yyy, such as x2+y2=25x^2+y^2=25x2+y2=25.

    • 1 mark for describing an explicit equation as y=f(x)y=f(x)y=f(x) and giving a valid example
    • 1 mark for describing an implicit equation as mixing xxx and yyy and giving a valid example
  2. 2.Write down[2 marks]

    Write down the derivative of xyxyxy with respect to xxx.

    Show mark schemeHide mark scheme

    Model answer

    ddx(xy)=y+xdydx\frac{d}{dx}(xy)=y+x\frac{dy}{dx}dxd​(xy)=y+xdxdy​.

    • 1 mark for obtaining the term yyy
    • 1 mark for obtaining the term xdydxx\frac{dy}{dx}xdxdy​
  3. 3.Calculate[3 marks]

    Calculate the gradient of the curve x2+2y2=22x^2+2y^2=22x2+2y2=22 at the point (2,3)(2,3)(2,3).

    Show mark schemeHide mark scheme

    Model answer

    Differentiating gives 2x+4ydydx=02x+4y\frac{dy}{dx}=02x+4ydxdy​=0, so dydx=−x2y\frac{dy}{dx}=-\frac{x}{2y}dxdy​=−2yx​. At (2,3)(2,3)(2,3) this is −26=−13-\frac{2}{6}=-\frac{1}{3}−62​=−31​.

    • 1 mark for differentiating to obtain 2x+4ydydx=02x+4y\frac{dy}{dx}=02x+4ydxdy​=0
    • 1 mark for rearranging to dydx=−x2y\frac{dy}{dx}=-\frac{x}{2y}dxdy​=−2yx​
    • 1 mark for obtaining −13-\frac{1}{3}−31​
  4. 4.Calculate[3 marks]

    The radius of a circular ripple increases at 3 cm s−13\,\mathrm{cm\,s^{-1}}3cms−1. Calculate the rate at which its area increases when the radius is 10 cm.

    Show mark schemeHide mark scheme

    Model answer

    With A=πr2A=\pi r^2A=πr2, dAdt=2πrdrdt=2π(10)(3)=60π≈188 cm2 s−1\frac{dA}{dt}=2\pi r\frac{dr}{dt}=2\pi(10)(3)=60\pi\approx188\,\mathrm{cm^2\,s^{-1}}dtdA​=2πrdtdr​=2π(10)(3)=60π≈188cm2s−1.

    • 1 mark for differentiating A=πr2A=\pi r^2A=πr2 to obtain dAdt=2πrdrdt\frac{dA}{dt}=2\pi r\frac{dr}{dt}dtdA​=2πrdtdr​
    • 1 mark for substituting r=10r=10r=10 and drdt=3\frac{dr}{dt}=3dtdr​=3
    • 1 mark for obtaining 60π≈188 cm2 s−160\pi\approx188\,\mathrm{cm^2\,s^{-1}}60π≈188cm2s−1 with units
  5. 5.Explain[2 marks]

    Explain why a value of a changing quantity should not be substituted before differentiating in a related rates problem.

    Show mark schemeHide mark scheme

    Model answer

    Substituting a value turns the quantity into a constant. A constant has derivative zero, so the rate of change of that quantity would be lost.

    • 1 mark for stating that substitution makes the quantity a constant
    • 1 mark for stating that a constant has derivative zero, so its rate is lost
  6. 6.Determine[3 marks]

    The side length sss of a cube increases at 0.2 cm s−10.2\,\mathrm{cm\,s^{-1}}0.2cms−1. Determine the rate at which its volume increases when s=6 cms=6\,\mathrm{cm}s=6cm.

    Show mark schemeHide mark scheme

    Model answer

    With V=s3V=s^3V=s3, dVdt=3s2dsdt=3(36)(0.2)=21.6 cm3 s−1\frac{dV}{dt}=3s^2\frac{ds}{dt}=3(36)(0.2)=21.6\,\mathrm{cm^3\,s^{-1}}dtdV​=3s2dtds​=3(36)(0.2)=21.6cm3s−1.

    • 1 mark for writing V=s3V=s^3V=s3 and differentiating to 3s2dsdt3s^2\frac{ds}{dt}3s2dtds​
    • 1 mark for substituting s=6s=6s=6 and 0.2 correctly
    • 1 mark for obtaining 21.6 cm3 s−121.6\,\mathrm{cm^3\,s^{-1}}21.6cm3s−1

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

A quantity has a rate of change of −4 cm3 s−1-4\,\mathrm{cm^3\,s^{-1}}−4cm3s−1. Identify what this means.
Show answer and explanation

Answer: B · Worked explanation

A rate is a derivative with respect to time, so −4 cm3 s−1-4\,\mathrm{cm^3\,s^{-1}}−4cm3s−1 means the quantity loses 4 cm³ every second. The negative sign shows a decrease, not an increase. The units are volume per time, so the rate is not seconds per cm³.
4.

Medium·Calculate[1 mark]

Calculate dydx\frac{dy}{dx}dxdy​ at the point (4,−3)(4,-3)(4,−3) on the curve x2+y2=25x^2+y^2=25x2+y2=25.
Show answer and explanation

Answer: B · Worked explanation

Differentiating gives dydx=−xy\frac{dy}{dx}=-\frac{x}{y}dxdy​=−yx​. At (4,−3)(4,-3)(4,−3) this is −4−3=43-\frac{4}{-3}=\frac{4}{3}−−34​=34​. The value −43-\frac{4}{3}−34​ comes from ignoring the negative yyy-coordinate. The values with 3 on top come from inverting the fraction.
5.

Medium·Calculate[1 mark]

Calculate the gradient of the curve xy=6xy=6xy=6 at the point (2,3)(2,3)(2,3).
Show answer and explanation

Answer: B · Worked explanation

Differentiating gives y+xdydx=0y+x\frac{dy}{dx}=0y+xdxdy​=0, so dydx=−yx\frac{dy}{dx}=-\frac{y}{x}dxdy​=−xy​. At (2,3)(2,3)(2,3) this is −32-\frac{3}{2}−23​. The value 32\frac{3}{2}23​ drops the sign, and −23-\frac{2}{3}−32​ inverts the fraction. The curve falls as xxx increases, so the gradient must be negative.
6.

Medium·Calculate[2 marks]

The side length sss of a square increases at 2 cm s−12\,\mathrm{cm\,s^{-1}}2cms−1. Calculate the rate at which its area increases when s=5 cms=5\,\mathrm{cm}s=5cm.
Show answer and explanation

Answer: D · Worked explanation

With A=s2A=s^2A=s2, dAdt=2sdsdt=2(5)(2)=20 cm2 s−1\frac{dA}{dt}=2s\frac{ds}{dt}=2(5)(2)=20\,\mathrm{cm^2\,s^{-1}}dtdA​=2sdtds​=2(5)(2)=20cm2s−1. The value 10 forgets the rate dsdt\frac{ds}{dt}dtds​, and 50 uses s2s^2s2 rather than 2s2s2s. The value 25 is simply the area at that instant, not a rate.
7.

Medium·Determine[2 marks]

The radius of a sphere increases at 0.5 cm s−10.5\,\mathrm{cm\,s^{-1}}0.5cms−1. Determine the rate at which its volume increases when r=4 cmr=4\,\mathrm{cm}r=4cm.
Show answer and explanation

Answer: C · Worked explanation

With V=43πr3V=\frac{4}{3}\pi r^3V=34​πr3, dVdt=4πr2drdt=4π(16)(0.5)=32π cm3 s−1\frac{dV}{dt}=4\pi r^2\frac{dr}{dt}=4\pi(16)(0.5)=32\pi\,\mathrm{cm^3\,s^{-1}}dtdV​=4πr2dtdr​=4π(16)(0.5)=32πcm3s−1. The value 128π3\frac{128\pi}{3}3128π​ multiplies the volume itself by 0.5. The value 8π8\pi8π forgets to square the radius.
8.

Hard·Determine[2 marks]

Differentiate x2y+sin⁡y=3x^2y+\sin y=3x2y+siny=3 implicitly. Determine dydx\frac{dy}{dx}dxdy​.
Show answer and explanation

Answer: D · Worked explanation

The product rule gives 2xy+x2dydx2xy+x^2\frac{dy}{dx}2xy+x2dxdy​ for the first term, and the chain rule gives cos⁡ydydx\cos y\frac{dy}{dx}cosydxdy​ for the second. So (x2+cos⁡y)dydx=−2xy(x^2+\cos y)\frac{dy}{dx}=-2xy(x2+cosy)dxdy​=−2xy. The result −2xx2+cos⁡y-\frac{2x}{x^2+\cos y}−x2+cosy2x​ forgets the factor yyy that remains when x2x^2x2 is differentiated.
9.

Hard·Determine[2 marks]

A ladder of length 13 m leans against a vertical wall. Its base slides away from the wall at 1 m s−11\,\mathrm{m\,s^{-1}}1ms−1. Determine what happens to the top when the base is 5 m from the wall.
Show answer and explanation

Answer: D · Worked explanation

With x2+y2=169x^2+y^2=169x2+y2=169, x=5x=5x=5 gives y=12y=12y=12. Then 2(5)(1)+2(12)dydt=02(5)(1)+2(12)\frac{dy}{dt}=02(5)(1)+2(12)dtdy​=0, so dydt=−512\frac{dy}{dt}=-\frac{5}{12}dtdy​=−125​, a descent. The value 125\frac{12}{5}512​ inverts the fraction. The value 513\frac{5}{13}135​ uses the ladder length where the height belongs.
10.

Hard·Identify[2 marks]

In a related rates problem, a student substitutes r=5r=5r=5 into V=43πr3V=\frac{4}{3}\pi r^3V=34​πr3 before differentiating with respect to ttt, and finds dVdt=0\frac{dV}{dt}=0dtdV​=0. Identify the error.
Show answer and explanation

Answer: A · Worked explanation

Setting r=5r=5r=5 makes VVV a constant, and a constant has derivative zero. The radius changes with time, so the equation must be differentiated first and the values substituted afterwards. The chain rule works with any changing quantity, not only with yyy.

Keep going

Next topic5.15 Derivatives of further functionsPrevious topic5.13 Limits and L'Hôpital's rule

More in Topic 5 · Calculus

  1. 5.10Indefinite integrals and substitutionNotes · 10 questions
  2. 5.11Definite integrals and areasNotes · 10 questions
  3. 5.12First principles and continuityNotes · 9 questions· HL only
  4. 5.13Limits and L'Hôpital's ruleNotes · 10 questions· HL only
  5. 5.14Implicit differentiation and related ratesNotes · 10 questions· HL only
  6. 5.15Derivatives of further functionsNotes · 10 questions· HL only
  7. 5.16Integration by substitution and partsNotes · 10 questions· HL only
  8. 5.17Volumes of revolutionNotes · 10 questions· HL only
  9. 5.18First-order differential equationsNotes · 10 questions· HL only

All IB Mathematics: Analysis and Approaches topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1Some curves link x and y without isolating y
  2. 2We differentiate both sides, treating y as a function of x
  3. 3Solving for the derivative gives an expression in x and y
  4. 4Related rates connect quantities that change together over time
  5. 5A fixed method solves any related rates problem
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe