Implicit differentiation, related rates and optimisation
In a minute
Some equations, such as , don't give as a function of . finds their gradient anyway: differentiate both sides, using the chain rule on every term. The same chain rule links over time and solves harder optimisation problems.
You'll be able to
- Differentiate an equation in and implicitly, and use the gradient to find tangents.
- Link rates of change over time with the chain rule, with the right signs and units.
- Optimise a quantity using the chain rule or implicit differentiation.
- Check the end points of the allowed interval, because the best value can lie there.
Before you start3 quick questions on what this builds on
Revise first: 5.6 Differentiation rules and standard functions and 5.8 Extrema, inflexion and optimisation
Implicit differentiation
In , is given directly in terms of . The curve is different. It is an : and are mixed together, and making the subject is messy or impossible.
You can still find by . Think of as an unknown function of , and differentiate every term with respect to .
Terms in alone differentiate as usual. A term such as is a of , so it needs the from the formula booklet:
A term such as or is a product of a function of and a function of . Use the , and keep the on the part: .
1. Differentiate every term on both sides with respect to . A constant gives .
2. Move the terms containing to one side and everything else to the other.
3. Factorise out and divide.
Your answer will usually contain both and . That is expected: one -value can belong to several points of the curve.
Try it first, then reveal one step at a time.
- (a) Differentiate each term with respect to . The term needs the chain rule, and the constant gives : .
- Rearrange: , so .
- (b) Check the point is on : . It is.
- Substitute and : .
To find a or normal at a point, find implicitly and substitute the point's and . Then use , as in 5.4.
Try it first, then reveal one step at a time.
- (a) Substitute , . The left side is , and the right side is . They agree.
- (b) is a product, so use the product rule: .
- Differentiate the whole equation: .
- Collect and factorise: , so .
- (c) At : .
- Tangent: . Multiply by : , so .
Related rates of change
Pump air into a balloon and its volume and radius both grow with time. Their rates are linked: at a steady flow of air, the radius grows fast at first, then more slowly.
A problem that links two rates like this is a problem. The connects the rates. If depends on , and depends on time :
A rate such as is positive when the quantity increases and negative when it decreases. Its units are per unit of time, such as for or for .
1. Name the variables. Write down each rate you know, with its sign, and the rate you want.
2. Write an equation linking the variables. It must be true at every moment, not just at the instant in the question.
3. Differentiate with respect to . Use the chain rule, or implicit differentiation when several variables change.
4. Only now substitute the values at the instant. Solve for the rate you want, and give its units.
Try it first, then reveal one step at a time.
- Let the radius be cm and the volume at time seconds. You know and want .
- Link them with the volume of a sphere, from the formula booklet: , so .
- Chain rule: , so .
- Substitute : , so .
- Sense check: the rate is positive, so the radius is growing.
When two lengths change together, link them with one equation, then differentiate it implicitly with respect to .
Try it first, then reveal one step at a time.
- You know , positive because is increasing. You want .
- The ladder, the wall and the ground form a right-angled triangle. So at every moment, .
- Differentiate implicitly with respect to : .
- At the instant , the height is .
- Substitute: , so and .
- Interpret: is decreasing, so the top slides down the wall at .
On Paper 2 the instant may be given by a volume, not by the variable you differentiate with. Find that variable first, with your GDC if needed.
Try it first, then reveal one step at a time.
- (a) The water forms a smaller cone, similar to the tank. So , which gives .
- The volume of a cone is , from the formula booklet. Substitute: , as required.
- (b) The instant is given by the volume, not the depth. Write down the equation and solve it on your GDC: gives Store this value; don't round it.
- Differentiate: . Chain rule: .
- Substitute the stored : Sense check: is less than , so the tank is not yet full.
Optimisation with the chain rule and end points
In 5.8 you optimised by writing a quantity in one variable and setting its derivative to zero. HL problems add two things.
First, the quantity is often a , such as a distance with a square root in it. Differentiate it with the .
Second, the variable usually has an allowed interval, such as . The largest or smallest value can then sit at an end point, where need not be zero.
Try it first, then reveal one step at a time.
- A general point on the curve is , with . By Pythagoras, .
- is a square root of a quadratic, so use the chain rule: .
- The denominator is never zero, because has discriminant . So only when , that is .
- Justify the minimum: is negative before and positive after, so falls and then rises. The end point gives , which is larger.
- The shortest distance is .
A shortcut: , so is smallest exactly where is smallest. Minimising avoids the square root. Take the root at the end.
Try it first, then reveal one step at a time.
- (a) By Pythagoras, km, rowed at . Then km, walked at . Time is distance divided by speed, which gives .
- (b) Use the chain rule on the square root: .
- Solve : . Square both sides: , so . Only works in , since the right side is positive.
- But is outside . So has no stationary point in the interval, and the minimum must be at an end point.
- Compare the end points: hours, and hours.
- The minimum is at : Mia should row straight to her house. Note that , not , so solving alone would never find it.
Optimisation with implicit differentiation
The highest and lowest points of an implicit curve are where the tangent is horizontal, so finds them.
1. Differentiate implicitly and write as a fraction.
2. Set the numerator equal to zero. This gives a simple link between and .
3. Substitute it into the curve's equation to find the points. Check the denominator is not zero there.
Try it first, then reveal one step at a time.
- Differentiate implicitly, with the product rule on : .
- So , and .
- At the top of the loop the tangent is horizontal, so . The numerator must be zero: , so .
- Substitute into the curve: , so and or .
- This gives the points and . The denominator is and there, not zero, so both gradients really are .
- The loop has one highest and one lowest point. The highest is the one with the larger : .
Implicit differentiation also handles a constraint. Instead of making one variable the subject, differentiate the constraint implicitly and use directly.
Try it first, then reveal one step at a time.
- The rectangle is wide and tall, so its area is .
- Differentiate with respect to , using the product rule: .
- Differentiate the constraint implicitly: , so .
- Substitute: . Setting this to zero gives .
- Put into the constraint: , so (a length, so positive) and .
- Check the end points: gives , and gives and . So the maximum is at , where .
You could instead write and use the chain rule. Either method is valid.
Common mistakes
- Forgetting the product rule on a term such as . It differentiates to , not just .
- Leaving out the on a term, or keeping a constant. differentiates to , and a constant differentiates to .
- Giving a falling quantity a positive rate. If a volume drops by every second, write .
- Multiplying when you should divide. From , the rate is divided by . Write the chain rule line before you put numbers in.
- Putting a given volume in place of the height. If the instant is "when ", solve for first, then substitute .
- Answering "how fast" with a negative number. The sign shows the direction of change; a speed is the size of the rate, so it is positive.
Exam tips
- "Find in terms of and " means leave both letters in your answer. Do not try to make the subject first.
- In a related rates question, write the chain rule line with every rate named, such as . That line usually earns the method mark, even if a later number slips.
- On Paper 2, write down the equation you solve on your GDC and store the full value. Round only the final answer to 3 s.f., and give its units.
- "Justify" a maximum or minimum with a reason in words: a sign change of the derivative, the second derivative, or a comparison with the end points.
Key takeaways
Practise this
9 past-paper questions on 5.14 in the AA HL bank, each with a mark scheme and a worked explanation.