PRELIMINARY CALCULUS
and using (2.6), we obtain, as before omitting the argument,
df
dx=ud
dx(vw)+du
dxvw.Using (2.6) again to expand the first term on the RHS gives the complete result
d
dx(uvw)=uvdw
dx+udv
dxw+du
dxvw (2.9)or
(uvw)′=uvw′+uv′w+u′vw. (2.10)It is readily apparent that this can be extended to products containing any number
nof factors; the expression for the derivative will then consist ofnterms with
the prime appearing in successive terms on each of thenfactors in turn. This is
probably the easiest way to recall the product rule.
2.1.3 The chain ruleProducts are just one type of complicated function that we may encounter in
differentiation. Another is the function of a function, e.g.f(x)=(3+x^2 )^3 =u(x)^3 ,
whereu(x)=3+x^2 .If∆f,∆uand ∆xare small finite quantities, it follows that
∆f
∆x=∆f
∆u∆u
∆x;As the quantities become infinitesimally small we obtain
df
dx=df
dudu
dx. (2.11)
This is thechain rule, which we must apply when differentiating a function of a
function.
Find the derivative with respect toxoff(x)=(3+x^2 )^3.Rewriting the function asf(x)=u^3 ,whereu(x)=3+x^2 , and applying (2.11) we find
df
dx=3u^2du
dx=3u^2d
dx(3 +x^2 )=3u^2 × 2 x=6x(3 +x^2 )^2 .Similarly, the derivative with respect toxoff(x)=1/v(x) may be obtained byrewriting the function asf(x)=v−^1 and applying (2.11):
df
dx=−v−^2dv
dx=−1
v^2dv
dx. (2.12)
The chain rule is also useful for calculating the derivative of a functionfwithrespect toxwhen bothxandfare written in terms of a variable (or parameter),
sayt.