nLab
chain rule

Contents

Statement

The chain rule is the statement that differentiation d:DiffDiff is a functor on Diff:

given two smooth functions between smooth manifolds f:XY and g:YZ we have

d(gf):TXdfTYdgTZ.d(g \circ f) : T X \stackrel{d f}{\to} T Y \stackrel{d g}{\to} T Z \,.

If one thinks of a tangent vector vT xX to be an equivalence class of a smooth path γ v:[ϵ,ϵ]X, for some ϵ>0, with γ(0)=x, then the chain rule is the associativity of the composite

[ϵ,ϵ]γ vXfYgZ.[-\epsilon,\epsilon] \stackrel{\gamma_v}{\to} X \stackrel{f}{\to} Y \stackrel{g}{\to} Z \,.

Bracketed as (gf)γ v this represents d(gf)(v). Bracketed as g(fγ v) is represents dg(df(v)).

Alternatively, in a context of synthetic differential geometry where with D being the infinitesimal interval we may identify v with v:DX, the chain rule is the associativity of

DvXfYgZ.D \stackrel{v}{\to} X \stackrel{f}{\to} Y \stackrel{g}{\to} Z \,.

Examples

Let X=Y=Z= the real line. Then the tangent bundle TX is canonically identified with ×.

Given two functions, f,g: their derivatives are traditionally regarded again as functions f,g:, though strictly speaking we are to think of them as the maps

df,dg:×=TT=×d f, d g : \mathbb{R} \times \mathbb{R} = T \mathbb{R} \to T \mathbb{R} = \mathbb{R} \times \mathbb{R}

given by

df:(x,v)(f(x),vf(x))d f : (x,v) \mapsto (f(x), v f'(x))

and

dg:(x,v)(g(x),vg(x)).d g : (x,v) \mapsto (g(x), v g'(x)) \,.

The composite

f(gf):×=TT=×f (g \circ f) : \mathbb{R} \times \mathbb{R} = T \mathbb{R} \to T \mathbb{R} = \mathbb{R} \times \mathbb{R}

is therefore the map

d(gf):(x,v)(f(x),vf(x))(g(f(x)),vf(x)g(f(x))).d(g \circ f) : (x,v) \mapsto (f(x), v f'(x)) \mapsto (g(f(x)), v f'(x) g'(f(x))) \,.

Therefore we have

(gf)(x)=f(x)g(f(x)).(g \circ f)'(x) = f'(x) g'(f(x)) \,.

This is the form in which the chain rule is taught to kids. It’s just a test to see if they understand what’s really going on. One of these tests that are never being graded.

Revised on December 1, 2011 01:12:19 by Zoran Škoda (161.53.130.104)