example of chain rule


Suppose we wanted to differentiate

h⁢(x)=sin⁡(x).

Here, h⁢(x) is given by the compositionMathworldPlanetmathPlanetmath

h⁢(x)=f⁢(g⁢(x)),

where

f⁢(x)=x and g⁢(x)=sin⁡(x).

Then chain rule says that

h′⁢(x)=f′⁢(g⁢(x))⁢g′⁢(x).

Since

f′⁢(x)=12⁢x,and g′⁢(x)=cos⁡(x),

we have by chain rule

h′⁢(x)=(12⁢sin⁡x)⁢cos⁡x=cos⁡x2⁢sin⁡x

Using the Leibniz formalism, the above calculation would have the following appearance. First we describe the functional relation as

z=sin⁡(x).

Next, we introduce an auxiliary variable y, and write

z=y,y=sin⁡(x).

We then have

d⁢zd⁢y=12⁢y,d⁢yd⁢x=cos⁡(x),

and hence the chain rule gives

d⁢zd⁢x =12⁢y⁢cos⁡(x)
=12⁢cos⁡(x)sin⁡(x)
Title example of chain rule
Canonical name ExampleOfChainRule
Date of creation 2013-03-22 12:35:32
Last modified on 2013-03-22 12:35:32
Owner rmilson (146)
Last modified by rmilson (146)
Numerical id 4
Author rmilson (146)
Entry type Example
Classification msc 26A06