-
The product rule states that if y=f(x)g(x) is the product of two functions f(x) and g(x) then
- dxdy=f′(x)g(x)+f(x)g′(x)
-
This is not given on the exam formula sheet, so you need to remember it
-
This is sometimes written as y=uv where u and v are both functions of x
-
Then y′=u′v+uv′
- where y′=dxdy, u′=dxdu and v′=dxdv
-
For your final answer make sure you match the notation used in the question
-
The product rule is used to differentiate a product of two functions
-
This can easily be confused with a 'function of a function' (see the Chain Rule note)
- sin(cosx) is a function of a function, “sin of cos of x”
- sinxcosx is a product of two functions, “sin x times cos x”
-
To differentiate y=f(x)g(x)
-
you'll need to make it clear what f(x),g(x),f′(x) and g′(x) are
- Arranging them in a square can help
-
STEP 1
Identify the two functions, f(x) and g(x)
- Then differentiate each one with respect tox to find f′(x) and g′(x)
-
STEP 2
Obtain dxdy by applying the product rule formula
-
If y=f(x)g(x), then dxdy=f′(x)g(x)+f(x)g′(x)
-
Simplify the answer if
- it is straightforward to do so
- or if the question requires a particular form
-
In trickier problems chain rule may have to be used when finding u′ and v′
Worked Example
Find the derivative of y=5x2cos3x.
We'll use y=uv form
Identify the functions u and v
u=5x2v=cos3x
Differentiate those to find u′ and v′
u′=10xv′=−3sin3x
Put the pieces together using y′=u′v+uv′
dxdy=(10x)(cos3x)+(5x2)(−3sin3x)
Expand the brackets
dxdy=10xcos3x−15x2sin3x
-
The quotient rule states if y=g(x)f(x) is the quotient of two functions f(x) and g(x) then
-
dxdy=[g(x)]2f′(x)g(x)−f(x)g′(x)
- This is given on the exam formula sheet, so you don't need to remember it
-
This is sometimes written as y=vu where u and v are both functions of x
-
Then y′=v2u′v−uv′
- where y′=dxdy, u′=dxdu and v′=dxdv
-
For your final answer make sure you match the notation used in the question
-
The quotient rule is used to differentiate a quotient of two functions
-
If the numerator is a constant, negative powers can be used
- e.g g(x)k=k(g(x))−1
- The chain rule can be used here
- Note that (g(x))−1 is different from the inverse function g−1(x)
-
If the denominator is a constant, treat it as a factor of the expression
- kf(x)=k1f(x)
-
The quotient rule will still work for both those cases
- But it might not be the quickest method
-
To differentiate y=g(x)f(x)
-
you'll need to make it clear what f(x),g(x),f′(x) and g′(x) are
- Arranging them in a square can help
-
STEP 1
Identify the two functions, f(x) and g(x)
- Then differentiate each one with respect tox to find f′(x) and g′(x)
-
STEP 2
Obtain dxdy by applying the quotient rule formula
-
If y=g(x)f(x), then dxdy=[g(x)]2f′(x)g(x)−f(x)g′(x)
-
Simplify the answer if
- it is straightforward to do so
- or if the question requires a particular form
-
In trickier problems chain rule may have to be used when finding u′ and v′
Worked Example
Given the function f(x)=3x+2cos2x, find f′(x).
We'll use y=g(x)f(x) form
Identify the functions f(x) and g(x)
f(x)=cos2xg(x)=3x+2
Differentiate those to find f′(x) and g′(x)
f′(x)=−2sin2xg′(x)=3
Put the pieces together using dxd(g(x)f(x))=[g(x)]2f′(x)g(x)−f(x)g′(x) from the exam formula sheet
f′(x)=(3x+2)2(−2sin2x)(3x+2)−(cos2x)(3)
Simplify the numerator
(The denominator is simplest left as it is)
f′(x)=(3x+2)2−2(3x+2)sin2x−3cos2x
-
The chain rule is used to differentiate a composite function
-
The chain rule is given by the formula
-
dxdy=dudy×dxdu
- where y is a function of u
- and u is a function of x
- (Of course this ultimately makes y a function of x as well!)
-
It can also be written in function notation as
- If y=f(g(x)), then dxdy=f′(g(x))g′(x)
-
The chain rule makes it possible to differentiate a function of a function
-
For example y=(5x4−2x)7
- y=u7
- u=5x4−2x
-
Or y=cos(3x2−1)
- y=cosu
- u=3x2−1
-
The chain rule can be used to differentiate a 'power of a function'
-
This can save you a lot of work
- e.g. finding the derivative of y=(x2−5x+7)7
- The other option would require trying to expand (x2−5x+7)7 first!
-
You may need to use laws of indices
- e.g. finding the derivative of y=2x−31
- Rewrite first as y=(2x−3)−121
-
A power of a function can be differentiated using this special case of the chain rule:
-
If y=[f(x)]n
- i.e. if y is the function f(x) raised to the power n
-
then dxdy=nf′(x)[f(x)]n−1
- i.e. n times the derivative of f(x), times f(x) to the power of n−1
- compare dxd(xn)=nxn−1
-
n can be any power (including fractional and negative powers)
-
This formula is not on the exam formula sheet, so you need to remember it
-
The power of a function may also be differentiated using the general chain rule method in the next section
- But remembering the 'special case' formula is a lot quicker
-
STEP 1
Identify y and u
-
e.g. y=cos(3x2−1)
- y=cosu
- u=3x2−1
-
STEP 2
Find dudy and dxdu
- dudy=−sinu
- dxdu=6x
-
STEP 3
Substitute into dxdy=dudy×dxdu
- dxdy=(−sinu)×(6x)
-
STEP 4
Substitute the expression for u back in
-
This gets dxdy entirely in terms of x
- dxdy=(−sin(3x2−1))×(6x)=−6xsin(3x2−1)
Worked Example
(a) Find the derivative ofy=(x2−5x+7)7.
This is y=[f(x)]n with n=7 and f(x)=x2−5x+7
Start by finding the derivative of f(x)
dxd(x2−5x+7)=2x−5
Now use dxdy=nf′(x)[f(x)]n−1
dxdy=7(2x−5)(x2−5x+7)7−1
dxdy=7(2x−5)(x2−5x+7)6
(b) Find the derivative of y=sinx.
First use laws of indices to write as a power
y=(sinx)121
This is y=[f(x)]n with n=21 and f(x)=sinx
Find the derivative of f(x)
dxd(sinx)=cosx
Now use dxdy=nf′(x)[f(x)]n−1
dxdy=2cosx(sinx)−121=(121)(cosx)(sinx)121−1
And by laws of indices (sinx)−121=(sinx)1211=sinx1
dxdy=2sinxcosx
(c) Find the derivative of y=ecosx.
This is not a 'power of a function', so we need to use the general chain rule method
Start by identifying y and u
y=euu=cosx
Differentiate
dudy=eudxdu=−sinx
Substitute into dxdy=dudy×dxdu
dxdy=(eu)×(−sinx)
Substitute the expression for u back in
dxdy=(ecosx)×(−sinx)
dxdy=−(sinx)ecosx