Chain rule

From Maths
Jump to: navigation, search

Definition

1 dimensional case

Here [ilmath]f(x)[/ilmath] and [ilmath]g(t)[/ilmath] are functions:

[math]\frac{d}{dt}\Big[f\circ g\Big]=\left.\frac{df}{dx}\right|_{g(t)}\frac{dg}{dt}[/math]

Then:

[math]\frac{d^2}{dt^2}\Big[f\circ g\Big]=\frac{d}{dt}\Big[\left.\frac{df}{dx}\right|_{g(t)}\frac{dg}{dt}\Big][/math] [math]=\left.\frac{df}{dx}\right|_{g(t)}\cdot\frac{d}{dt}\Big[\frac{dg}{dt}\Big]+\frac{dg}{dt}\cdot\frac{d}{dt}\Big[\left.\frac{df}{dx}\right|_{g(t)}\Big][/math] [math]=\left.\frac{df}{dx}\right|_{g(t)}\cdot\frac{d^2g}{dt^2}+\frac{dg}{dt}\cdot\frac{d}{dt}\Big[\left.\frac{df}{dx}\right|_{g(t)}\Big][/math]


That is: [math]\frac{d^2}{dt^2}\Big[f\circ g\Big]=\left.\frac{df}{dx}\right|_{g(t)}\cdot\frac{d^2g}{dt^2}+\frac{dg}{dt}\cdot\frac{d}{dt}\Big[\left.\frac{df}{dx}\right|_{g(t)}\Big][/math]

Little can be done about [math]\frac{d}{dt}\Big[\left.\frac{df}{dx}\right|_{g(t)}\Big][/math] at this point. It is "the change in the rate of change of f with respect to x taken at g(t) with respect to t" which has little to do with [math]\frac{d^2f}{dx^2}[/math] computationally.