Jump to content

Course:MATH200/HigherOrderChainRule

From UBC Wiki

Chain rule for second order partial derivatives

Using the chain rule to compute second-order partial derivatives can be a little bit confusing. It helps to see an example to clarify it. This example is part of a problem in our text.

Example

Let z=f(x,y) be a function with continuous second-order partial derivatives. Suppose that

x=escost,y=essint

Compute 2zs2.

Solution

By the chain rule we have

zs=zxxs+zyys=escostzx+essintzy.

Now we have

 2zs2=szs=escostzx+escostszx+essintzy+essintszy.

We have to expand out the second and fourth terms now. We start by expanding

szx=2zx2xs+2zyxys=escost2zx2+essint2zyx.

Similarly

szy=2zxyxs+2zy2ys=escost2zxy+essint2zy2.

Now we substitute to get

2zs2=escostzx+e2scos2t2zx2+e2scostsint2zyx+essintzy+e2ssintcost2zxy+e2ssin2t2zy2.

Finally, we can simplify this a little bit using Clairaut's formula to

2zs2=escostzx+essintzy+e2scos2t2zx2+e2ssin2t2zy2+2e2ssintcost2zxy.