The chain rule
Theorem 1.
Assume that is differentiable at , with total derivative . Let and assume that is differentiable at , with total derivative . Then the composition function is differentiable at and the total derivative is given by
the composition of the linear functions and .
Proof
We will show that a first order Taylor formula exists for .where . Since is differentiable at , we have
where as . Since is differentiable at , we have
where as . Using ,
where and
if . To complete the proof we need to show that as . The first term clearly tends to as , and since as . We will be done if we show that is bounded. From results obtained here,
where . Hence remains bounded as . We therefore obtain the first order Taylor formula
where as . Thus, is differentiable at , with derivative .
The matrix of is given by
If and , then is an matrix, is an matrix, and is an matrix. The above matrix equation is equivalent to the scalar equations
In particular, if , .
Theorem 2.
Let and be continuous on a rectangle . Let and be differentiable on such that for each . Define by
Then exists for each and is given by
Note that continuous functions are integrable, and hence the above integrals are well defined.
Proof
Consider the maps and defined by and . Then, , andWe know from here that
Also,