5.14 Implicit differentiation, related rates and optimisation

5.14 Implicit differentiation, related rates and optimisation

IB Maths: Analysis and Approaches HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Implicit differentiation: differentiate each term with respect to xx; ddx(yn)=nyn−1dydx\dfrac{\mathrm{d}}{\mathrm{d}x}(y^{n})=ny^{n-1}\dfrac{\mathrm{d}y}{\mathrm{d}x}; use the product rule on xyxy.
  • Related rates: link the rates with the chain rule. Differentiate first, substitute second.
  • Use similar triangles or Pythagoras to reduce to one variable.
  • Optimisation on an interval: check the stationary points inside the interval and the end points.
6hrVABPQH
Cone filled to depth h = 2: the surface has radius r = 1.

Implicit differentiation

Differentiate every term with respect to xx, treating yy as a function of xx, then rearrange for dydx\frac{\mathrm{d}y}{\mathrm{d}x}.

When xx and yy are linked by an equation such as x2+xy+y2=7x^{2}+xy+y^{2}=7, use implicit differentiation. By the chain and product rules,

ddx(y2)=2ydydx,ddx(xy)=y+xdydx.\frac{\mathrm{d}}{\mathrm{d}x}(y^{2})=2y\frac{\mathrm{d}y}{\mathrm{d}x},\qquad\frac{\mathrm{d}}{\mathrm{d}x}(xy)=y+x\frac{\mathrm{d}y}{\mathrm{d}x}.

The gradient usually depends on both xx and yy, so you need the coordinates of the point. Tangents and normals then follow as usual.

−4−3−2−11234−4−3−2−11234xy(1, 2)(2, 1)upper halflower half
The curve x² + xy + y² = 7 (drawn as its upper and lower halves). At (1, 2) implicit differentiation gives dy/dx = −4/5.
  • ddx(y2)\dfrac{\mathrm{d}}{\mathrm{d}x}(y^{2})2ydydx2y\dfrac{\mathrm{d}y}{\mathrm{d}x}
  • ddx(xy)\dfrac{\mathrm{d}}{\mathrm{d}x}(xy)y+xdydxy+x\dfrac{\mathrm{d}y}{\mathrm{d}x}

Worked example

Find dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} for x2+xy+y2=7x^{2}+xy+y^{2}=7.

What is ddx(y3)\dfrac{\mathrm{d}}{\mathrm{d}x}(y^{3})?

Removing an extra variable

Use similar triangles to write one variable in terms of the other before differentiating, so that VV depends on one variable only.

Volume often involves two variables, such as rr and hh. For a cone (vertex down) of height 6 and top radius 3, similar triangles give r=h2r=\dfrac{h}{2}, so

V=13πr2h=πh312,dVdh=πh24.V=\frac{1}{3}\pi r^{2}h=\frac{\pi h^{3}}{12},\qquad\frac{\mathrm{d}V}{\mathrm{d}h}=\frac{\pi h^{2}}{4}.

Since r=h2r=\frac{h}{2} always, drdt=12dhdt\frac{\mathrm{d}r}{\mathrm{d}t}=\frac{1}{2}\frac{\mathrm{d}h}{\mathrm{d}t}. You can also differentiate an equation like x2+y2=25x^{2}+y^{2}=25 with respect to tt: 2xdxdt+2ydydt=02x\frac{\mathrm{d}x}{\mathrm{d}t}+2y\frac{\mathrm{d}y}{\mathrm{d}t}=0.

6hrVABPQH
Cone filled to depth h = 2: the surface has radius r = 1.

Worked example

Water enters the cone at 0.8 m30.8\text{ m}^{3} per minute. Find dhdt\dfrac{\mathrm{d}h}{\mathrm{d}t} when h=2h=2.

Why must rr be replaced by h2\dfrac{h}{2} before differentiating VV?

Optimisation with end points

Compare the function at the stationary points inside the interval and at both end points. The optimum can be at an end point.

To optimise f(x)f(x) on a≤x≤ba\le x\le b:

  1. Build the function from the context (for example time == distance ÷\div speed).
  2. Solve f′(x)=0f'(x)=0 and keep only solutions inside the interval.
  3. Compare ff at these points and at the end points aa and bb.

If a boat is fast enough, the time T(x)T(x) is decreasing on the whole interval, so the quickest route is at the end point x=4x=4. The solution of T′(x)=0T'(x)=0 lies outside the domain and must be rejected. Justify with a sign change of f′f', the sign of f′′f'', or a comparison of values.

−112345624681012xy(0, 10)(2, 2) minimum on the domain(3, 1) outsidey = x² − 6x + 10
On the domain 0 ≤ x ≤ 2 the minimum is at the end point (2, 2).

What is the greatest value of f(x)=x2−6x+10f(x)=x^{2}-6x+10 on 0≤x≤50\le x\le5?

Try an exam question

A spherical balloon is inflated at a constant rate of 50 cm3 s−150\text{ cm}^{3}\text{ s}^{-1}. Find the rate at which the radius is increasing when the radius is 5 cm.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find dydx\dfrac{dy}{dx} in terms of xx and yy.

1 mark, marked against the mark scheme

Revision notes