## Higher Differentials and Composite Functions

Last time we saw an example of what can go wrong when we try to translate higher differentials the way we did the first-order differential. Today I want to identify exactly what goes wrong, and I’ll make use of the summation convention to greatly simplify the process.

So, let’s take a function of variables and a collection of functions , each depending on variables . We can think of these as the components of a vector-valued function which has continuous second partial derivatives on some region . If the function has continuous second partial derivatives on some region containing the image , then we can compose the two functions to give a single function , and we’re going to investigate the second differential of with respect to the variables .

To that end, we want to calculate the second partial derivative

First, we take the derivative in terms of , and we use the chain rule to write

Now we have to take the derivative in terms of . Luckily, this operation is linear, so we don’t have to worry about the hidden summations in the notation. We do, however, have to use the product rule to handle the multiplications

where we’ve used the chain rule again to convert a derivative in terms of into one in terms of .

And here we’ve come to the problem itself. For we can write out the second differential in terms of the

The first term here is the second differential in terms of the . If there were an analogue of Cauchy’s invariant rule, this would be all there is to the formula. But we’ve got another term — one due to the product rule — based on the second differentials of the functions themselves. This is the term that ruins the nice transformation properties of higher differentials, and which makes them unsuitable for many of our purposes.

Notice, though, that we have *not* contradicted Clairaut’s theorem here. Indeed, as long as and all the have continuous second partial derivatives, then so will . Further, the formula we derived for the second partial derivatives of is manifestly symmetric between the two derivatives, and so the mixed partials commute.