Product, chain and quotient rules and related rates AI HL
This page starts with the power rule and the standard derivatives, then adds the product, quotient and chain rules for products, fractions and functions of a function. The last section uses the chain rule to link the rates at which connected quantities change with time, such as the volume and the radius of a growing pile of sand. Work through the sections in order, because each rule builds on the one before, and use the calculator to check an answer, never to replace the method.
Formulas at a glance
The power rule, the standard derivatives (including the derivative of ), the chain rule, and the product and quotient rules are all in the formula booklet, as are the area and volume formulas used for related rates. The chain rule written as a link between rates, such as the rate of change of a volume in terms of the rate of change of a radius, is a method rather than a booklet formula.
Power rule, for any real power
In the bookletStandard derivatives
In the bookletChain rule
In the bookletProduct rule
In the bookletQuotient rule
In the bookletRelated rates (chain rule with time)
Not in the bookletArea of a circle, volume of a sphere, volume of a cone
In the bookletWhich method to use
Look at the structure of the expression before differentiating: a sum of terms, a product, a fraction or a function of a function each need a different rule, and a question about rates with time needs a linking equation.
| The question has | Use | Notes |
|---|---|---|
| A sum of powers of , including roots and fractions | The power rule on each term: | Rewrite roots and fractions as powers first. The rule holds for any real |
| , , , or of plain | The standard derivatives from the booklet | If the argument is anything other than , the chain rule is needed as well |
| Two functions of multiplied together | The product rule, | Write down , , and before substituting |
| One function of divided by another | The quotient rule, | The numerator order matters: comes first |
| A function of a function, such as , or | The chain rule, | Differentiate the outside, then multiply by the derivative of the inside |
| A product or quotient with a composite factor | The product or quotient rule, with the chain rule for the composite factor | Find the derivative of each factor separately before combining |
| Quantities linked by an equation and a rate of change with time | Write the linking equation, differentiate with respect to , then substitute | Substitute the known values only after differentiating |
| Two changing lengths in one formula, such as a radius and a height | Use the shape of the figure to write one length in terms of the other, then differentiate | The formula must have a single variable before it is differentiated with respect to |
Basic differentiation
Basic differentiation uses the power rule: the derivative of is , applied to each term of a function separately. Alongside it you need the standard derivatives of , , , and , after rewriting any roots and fractions as powers of .
The rules you need
The power rule is introduced at SL5.3 for integer powers, and extended at AHL5.9 to every real power , alongside the standard derivatives of , , , , and . All of these are in the formula booklet.
Power rule
Works for any real , including negative and fractional powers - rewrite roots and fractions in index form first, then differentiate term by term.
✓ In the formula bookletStandard derivatives
These only apply directly when the argument is plain - anything more complicated, like , needs the chain rule as well.
✓ In the formula bookletKey terms
What is a derivative?
The derivative , also written , gives the gradient of the curve at any point . It is the rate of change of with respect to .
e.g. For , , so the gradient at is .
How do you differentiate a root or a fraction?
Rewrite it as a power first: and , then use the power rule.
e.g. has derivative .
What is the derivative of a constant?
A constant has derivative because it does not change with . A constant multiplier stays in place when you differentiate.
e.g. For , .
How do you differentiate a sum of terms?
Differentiate each term separately and add the results. A product or fraction of several parts may first need to be expanded or simplified.
e.g. gives .
Worked example, step by step
The question Calculator needed (radian mode) [5 marks]
The concentration mg per litre of a chemical in a pond, hours after it is added, is modelled by where the angle in the sine term is in radians.
(a) Find .
(b) Find the rate of change of the concentration when .
(c) Hence state whether the concentration is increasing or decreasing when , giving a reason.
Worked solution: worked example
Answer: (a) (b) mg per litre per hour (c) decreasing, because the rate of change is negative
Step 1 - Rewrite as powers of .
Why? The power rule needs each term as a power of , so the root and the fraction are rewritten first. The sine term already has a standard derivative.
Step 2 - Differentiate term by term.
M1 - Apply the power rule to at least one term A1 - (or equivalent)
Why? The power rule gives with the power reduced by one, and with the power reduced to . The derivative of is .
Step 3 - Substitute with the calculator in radian mode.
With the calculator in radian mode, , so M1 - Substitute into their derivative A1 -
Why? The sine term was given in radians, so the angle mode must be radians. In degree mode would be a different number and the accuracy mark would be lost.
Step 4 - Interpret the sign.
The rate of change is negative, so the concentration is decreasing when . R1 - Negative rate of change, so decreasing
Why? A negative derivative means the quantity is falling as increases. Quote the value as evidence.
Step 5 - Check with the numerical derivative.
Enter into the numerical derivative at , in radian mode. The calculator gives , which agrees.
Why? A numerical derivative is a check on the algebra and is not a replacement for it, because the question asks for as an expression.
M1 Apply the power rule to at least one term
A1 (or equivalent)
M1 Substitute into their derivative
A1
R1 Negative rate of change, so decreasing
Now you try: enter your answers to be marked
These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 10 marks
Calculator steps: Numerical derivative at a point, Enter a calculation on the home screen
Common mistakes
- Not converting roots and fractions to index form first. and need to become and before the power rule can be applied - trying to differentiate the original form directly leads to errors.
- Dropping the negative sign in the power rule. Differentiating gives , not - the exponent itself is negative, so makes it more negative still.
- Treating a constant term as if it had a derivative. The constant in differentiates to - a constant on its own has no to vary, so it simply disappears.
Section 2 of 4 AHL5.9
Product and quotient rule
The product rule differentiates two functions of multiplied together, and the quotient rule differentiates one divided by another. For , , and for , . Choose the rule from the structure of the expression, apply the chain rule to any composite factor, then simplify the result.
Choosing the rule
The product rule and the quotient rule are in the formulas at the top of the page and in the formula booklet. The skill is spotting which structure you are looking at, a product or a quotient, before you start writing.
Key terms
What is the product rule?
For , differentiate one factor at a time and add: .
e.g. For , take and , giving .
How do you label the parts of a product or quotient?
Name the two parts first and write down and before substituting. In a quotient, is the numerator and is the denominator.
e.g. For , and , so and .
How do you simplify the result?
Factorise common factors, such as a power of or a bracket, to give a tidy final answer. In the quotient rule, expand and collect the numerator.
e.g. For , .
What happens when one factor is a composite function?
Use the chain rule to find that factor's derivative, then place it in the product rule or quotient rule.
e.g. For , , so .
Worked example, step by step
The question Calculator needed [5 marks]
The concentration mg per litre of a drug in a patient's blood, hours after an injection, is modelled by
(a) Use the quotient rule to show that .
(b) Find the rate of change of the concentration when .
(c) Find the time at which the concentration stops increasing and starts to fall.
Worked solution: worked example
Answer: (b) mg per litre per hour (c) hours
Step 1 - Label the parts.
The numerator is and the denominator is , so and .
Why? Writing , , and first keeps the signs and the order in the formula under control.
Step 2 - Apply the quotient rule.
M1 - Substitute , , and into
Why? The numerator is , in that order, and the denominator is squared, not .
Step 3 - Simplify to the given form.
The numerator is , so A1 - Simplify to
Why? This is the form stated in the question, reached from the working above.
Step 4 - Find the rate when .
Substituting on the home screen, A1 -
Why? The negative value means the concentration is already falling at . The numerical derivative of at gives the same value as a check.
Step 5 - Find when the concentration stops increasing.
The concentration stops increasing when . The denominator is never zero, so , giving hours (the value is rejected because ). M1 - Set A1 -
Why? At a turning point the gradient is zero. The numerator is positive for and negative for , so the concentration rises and then falls. The graph of crossing the -axis at confirms it with the calculator's zero tool.
M1 Substitute , , and into
A1 Simplify to
A1
M1 Set
A1
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 8 marks
Calculator steps: Numerical derivative at a point
Common mistakes
- Multiplying the derivatives together instead of using the product rule. is not differentiated as - you must form and add the two pieces.
- Getting the quotient rule's numerator order backwards. It's , not - swapping the order flips the sign of the whole answer.
- Forgetting the chain rule inside a product or quotient. If or is itself a composite function, such as , differentiate it correctly with the chain rule before slotting it into the product or quotient rule.
Section 3 of 4 AHL5.9
Chain rule
The chain rule differentiates a composite function as : the derivative of the outer function, evaluated at the inner function, multiplied by the derivative of the inner function. Use it whenever the argument is not simply , such as in or .
Spotting the composite function
The chain rule is in the formulas at the top of the page and in the formula booklet. The skill is recognising a composite function, one wrapped around another, before you differentiate.
Key terms
What is a composite function?
A composite function applies one function to the result of another, written . The function is the inner function and is the outer function.
e.g. In , the inner function is and the outer function is raising to the power 4.
How does the substitution form of the chain rule work?
Let be the inner function, find and , then multiply them.
e.g. For , let , so .
How do you differentiate a power of e or a sine of an expression?
The derivative of is , and the derivative of is .
e.g. and .
How do you differentiate a root of an expression?
Write the root as a power of , apply the chain rule, then write the answer back with a root if you wish.
e.g. gives .
Worked example, step by step
The question Calculator needed [4 marks]
The number of people, hundred, inside a shopping centre hours after it opens is modelled by
(a) Find .
(b) Find the value of at which the number of people inside is increasing at a rate of people per hour.
Worked solution: worked example
Answer: (a) (b) hours
Step 1 - Identify the inner and outer functions.
The exponential has the inner function , so , and .
Why? The power of is not plain , so the chain rule is needed. The inner function is itself a function of a function, and its derivative uses the chain rule too.
Step 2 - Apply the chain rule.
M1 - Apply the chain rule with the inner derivative A1 -
Why? The derivative of is , multiplied by the derivative of the inner function.
Step 3 - Set up the equation in the right units.
is in hundreds, so people per hour is a rate of : M1 - Set their
Why? The units of the rate must match the units of the model. Setting the derivative equal to would give an equation with no solution.
Step 4 - Solve with the calculator.
Graph and for and use the intersection tool. There is one intersection, at , so hours. A1 -
Why? An equation with the unknown both outside and inside an exponential cannot be rearranged by hand, so the calculator solves it. The derivative is positive only for , before the busiest time, so the one solution lies there.
Step 5 - Check.
At , , which is people per hour.
Why? Substituting the unrounded value back confirms the solution.
M1 Apply the chain rule with the inner derivative
A1
M1 Set their
A1
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 7 marks
Calculator steps: Numerical derivative at a point, Find where two graphs meet (intersection)
Common mistakes
- Forgetting the chain rule on composite functions. Differentiating as instead of drops the "multiply by the derivative of the inside" step - always check whether the argument of the function is anything other than plain .
- Not converting roots to fractional powers first. needs to become before the chain rule can be applied - trying to differentiate a square-root symbol directly usually goes wrong.
- Leaving the inner derivative out of the final answer. is only half the answer for - it still needs multiplying by to give .
Section 4 of 4 AHL5.9
Related rates of change
A related rates question links quantities that change with time. An equation joins them, such as a volume in terms of a radius, and differentiating that equation with respect to time with the chain rule joins their rates of change. Differentiate first, then substitute the known values, then solve for the rate that is wanted.
The method
Related rates is the chain rule applied to quantities that all depend on time. The shape formulas, such as the area of a circle and the volumes of a sphere and a cone, are in the formula booklet.
Related rates of change
Write an equation linking the quantities, differentiate both sides with respect to time , then substitute the known values and solve for the unknown rate.
The link between the rates, such as , is the chain rule and is not a separate booklet formula.
Two changing lengths
If the linking equation contains two changing lengths, use the geometry of the figure, for example similar triangles, to write one in terms of the other. The formula then has one variable and can be differentiated with respect to .
Do this before differentiating, not afterwards.
Key terms
Why does appear when you differentiate with respect to time?
The radius, side or height changes with time, so it is a function of . Differentiating a formula in it uses the chain rule: .
e.g. For , .
When do you substitute the known values?
After differentiating, never before. Substituting a value first turns the quantity into a constant, and a constant has a rate of change of zero.
e.g. For with , writing first loses the rate. Differentiate to get , then put in.
What does a negative rate of change mean?
The quantity is decreasing. The sign of the rate shows whether the quantity is growing or shrinking, so a tank that is draining has a negative rate of change of volume.
e.g. A tank losing 5 litres each minute has .
What is a rate of change with respect to time?
A rate such as says how fast a quantity changes each unit of time. In related rates, connect the quantities by an equation, then differentiate with respect to .
e.g. If , then .
Worked example, step by step
The question Calculator needed [6 marks]
Sand is poured onto level ground at a constant rate of m per minute and forms a pile in the shape of a cone. The height of the pile is always times the radius of its base.
(a) Show that the volume of the pile is , where m is the radius of the base.
(b) Find the rate at which the radius is increasing when the radius is m.
(c) Find the rate at which the height is increasing at this instant.
Worked solution: worked example
Answer: (b) m per minute (c) m per minute
Step 1 - Write the volume in one variable.
The volume of a cone is . With , M1 - Substitute into A1 -
Why? The cone formula is in the booklet, but it has two changing lengths. The fixed ratio between them replaces , so depends on only.
Step 2 - Differentiate with respect to time.
M1 - Differentiate with respect to :
Why? This is the chain rule, because is a function of . The values are not substituted yet.
Step 3 - Substitute the known values.
With and :
Why? The radius is only put in after differentiating. Putting it in first would turn the volume into a constant.
Step 4 - Solve for the rate.
On the home screen, , so the radius is increasing at m per minute. A1 - m per minute
Why? The calculator evaluates the quotient. The unrounded value is kept in memory for part (c).
Step 5 - Find the rate for the height.
The height is , so M1 - A1 - m per minute
Why? Differentiating the link between the two lengths with respect to links their rates, using the unrounded from part (b).
M1 Substitute into
A1
M1 Differentiate with respect to :
A1 m per minute
M1
A1 m per minute
Now you try: enter your answers to be marked
Find the rate at which the area is increasing when the radius is cm.
Worked solution: practice question 1
Find the rate the water level falls when the depth is cm.
Worked solution: practice question 2
Find the rate of change of the area when the side is cm.
Worked solution: practice question 3
Your score so far: 0 out of 13 marks
Calculator steps: Enter a calculation on the home screen
Common mistakes
- Substituting the known values before differentiating. Putting a value for the radius into the formula first makes the quantity a constant, so its rate of change comes out as zero. Differentiate with respect to first, then substitute.
- Leaving out the rate of the other quantity. Differentiating with respect to gives , not . The radius changes with time, so the chain rule brings in .
- Not matching units of time in related rates. If a radius grows in cm/s but the question asks for the rate in a different unit, or gives a diameter instead of a radius, convert before substituting - the chain rule step is often right but the numbers going in are wrong.
Using your GDC
The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.
Numerical derivative at a point
Used in: Basic differentiation, Product and quotient rule, Chain rule
How to find a numerical derivative at a point on a TI-84 Plus CE
The nDeriv( template on the home screen | |
Press 2nd mode (QUIT) to reach the home screen. Press math and choose 8:nDeriv(. In MathPrint mode this pastes a template with a box for the expression and a box for the x-value. |
|
In the first box type the function: X,T,θ,n x² ln X,T,θ,n ). Press ▶ to move to the x-value box and type 2. |
d/dx(X²ln(X))|x=2 |
Press enter. The screen shows the value of the derivative at . to 6 significant figures, which is to 3 significant figures. The answer is a numerical estimate, so the last digits can differ slightly from the exact value. |
d/dx(X²ln(X))|x=2 4.77259 |
Another way: type the command | |
If your calculator shows the command form (Classic mode, or you prefer typing), enter | |
Another way: from the graph | |
With the function graphed, 2nd trace (CALC) and 6:dy/dx read the gradient at a typed x-value, and the DRAW menu can draw the tangent. The steps are in draw a tangent and read its gradient. | |
The variable in the command must match the letter in the expression: use X in both. If the template does not appear, check the calculator is in MathPrint mode, or type the command form.
The full guide: Numerical derivative at a point
Enter a calculation on the home screen
Used in: Basic differentiation, Related rates of change
How to enter a calculation on a TI-84 Plus CE
Type a calculation and press enter | |
Go to the home screen: press 2nd mode (QUIT) from any menu or app. Press clear if the entry line is not empty. |
|
Type the calculation as you would write it, then press enter. For press 3 ( 2 . 4 ) x² − 5 × 1 . 8 enter. The calculator understands a number next to a bracket as a multiplication, so × is not needed in . If a fraction, square root or power template is on the screen, press ▶ to move out of it before you carry on typing. |
3(2.4)²-5*1.8 8.28 |
Use the last answer in the next calculation | |
To increase the answer by 15%, press × 1 . 1 5 enter on a blank line. The calculator puts Ans, the last answer, in front of the operator for you. You can also type Ans yourself, anywhere in a calculation: press 2nd (−) (ANS), for example 2nd (−) (ANS) × 1 . 1 5 enter. , which is to 3 significant figures. |
Ans*1.15 9.522 |
To use an earlier entry or answer, press ▲ to move up through the history, then enter to paste the highlighted one on the entry line. Press 2nd enter (ENTRY) to bring back your last entry and change it. |
|
Ans always holds the last answer that was worked out, so if you do a different calculation in between, Ans changes. Type a number you need later, or keep it on the screen, rather than relying on Ans for many steps.
The full guide: Enter a calculation on the home screen
Find where two graphs meet (intersection)
Used in: Chain rule
How to find where two graphs meet on a TI-84 Plus CE
Graph both and use intersect | |
Press Y=, clear any old functions with clear, then type X,T,θ,n x² − 3 next to Y1=. Press ▼ and type 2 X,T,θ,n + 1 next to Y2=. |
Plot1 Plot2 Plot3 \Y1=X²-3 \Y2=2X+1 \Y3= |
Press window and set Xmin = −3, Xmax = 5, Ymin = −4, Ymax = 10. For a negative number use the (−) key, not the subtraction key. Press graph. Both curves should show, with two crossing points on the screen. |
WINDOW Xmin=-3 Xmax=5 Xscl=1 Ymin=-4 Ymax=10 Yscl=1 |
Press 2nd trace (CALC) and choose 5:intersect. First curve? appears with the cursor on one graph: press enter. Second curve? appears: press enter again. If more than two graphs are drawn, use ▲ or ▼ to put the cursor on the right graph before pressing enter. |
|
Guess? appears. Use ◀ or ▶ to move the cursor close to the right-hand crossing, then press enter. The screen shows Intersection with and . |
|
For the other crossing, repeat 2nd trace 5:intersect, enter, enter, and this time move the guess close to the left-hand crossing before pressing enter. and . |
|
The guess decides which crossing the calculator finds, so give a guess near the point you want. A crossing outside the window cannot be found, so check WINDOW first.
The full guide: Find where two graphs meet (intersection)
See the full list of GDC guides for every calculator task.
Syllabus content covered
| Code | Syllabus content |
|---|---|
| SL5.3 | The derivative of is , for functions of the form where all exponents are integers. |
| AHL5.9 | The derivatives of , , , , , where . The chain rule, product rule and quotient rule. Related rates of change. |
Official IB source: Mathematics: applications and interpretation subject brief (PDF, ibo.org).
Quick questions
What is the power rule for differentiation?
If , then . This holds for any real exponent , including negative and fractional powers, and you differentiate a sum of such terms one term at a time.
When do I use the product rule instead of the quotient rule?
Use the product rule when two functions of are multiplied together, e.g. . Use the quotient rule when one function of is divided by another, e.g. .
What is the chain rule?
The chain rule differentiates a composite function: . Differentiate the outer function, keep the inner function unchanged, then multiply by the derivative of the inner function.
What is a related rates question?
Two or more quantities that change with time are linked by an equation, such as a volume formula. Differentiate the equation with respect to using the chain rule, substitute the known values and rates, then solve for the unknown rate.
What are the standard derivatives I need to know at HL?
The derivatives of , , , , , and for real . These are all given in the formula booklet, and every other differentiation technique builds on applying them correctly.
What is the quotient rule formula?
For , the derivative is . The order of the numerator matters, and you always divide by .
How do I know when a question needs the chain rule?
Whenever the argument of a function is anything other than plain - such as , , or - you need the chain rule, because you're differentiating a function of a function.
Why is the answer to a related rates question sometimes negative?
A negative rate means the quantity is decreasing, for example the depth of water in a tank that is draining. Keep the sign through the working and say in words whether the quantity is increasing or decreasing.
How do I simplify a logarithm before differentiating?
Use the laws of logarithms first. For example, , so its derivative is .
Is the derivative of a product the product of the derivatives?
No. Since , the derivative is , but multiplying the derivatives and gives . Use instead.
Ready to practise properly?
Practice questions on every section, marked instantly like the real exam.