When do I use the chain rule and when do I use the product rule in differentiation?

These are two really useful rules for differentiating functions. We use the chain rule when differentiating a 'function of a function', like f(g(x)) in general. We use the product rule when differentiating two functions multiplied together, like f(x)g(x) in general.

Take an example, f(x) = sin(3x). This is an example of a what is properly called a 'composite' function; basically a 'function of a function'. The two functions in this example are as follows: function one takes x and multiplies it by 3; function two takes the sine of the answer given by function one. We have to use the chain rule to differentiate these types of functions.

To the contrary, if the function in question was, say, f(x) = xcos(x), then it's time to use the product rule. This is because we have two separate functions multiplied together: 'x' takes x and does nothing (a nice simple function); 'cos(x)' takes the cosine of x. But note they're separate functions: one doesn't rely on the answer to the other!

MO
Answered by Michael O. Maths tutor

153565 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Integrate the following function by parts and reduce it to it's simplest form. f(x) = ln(x).


Factorise x^3-6x^2+9x.


How do polar coordinate systems work?


The straight line with equation y=3x-7 does not cross or touch the curve with equation y=2px^2-6px+4p, where p is a constant.(a) Show that 4p^2-20p+9<0 (b) Hence find the set of possible values for p.


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2025 by IXL Learning