Chain rule for differentiation

From Calculus
Revision as of 23:34, 15 October 2011 by Vipul (talk | contribs)

This article is about a differentiation rule, i.e., a rule for differentiating a function expressed in terms of other functions whose derivatives are known.
View other differentiation rules

Statement for two functions

The chain rule is stated in many versions:

Version type Statement
specific point, named functions Suppose f and g are functions such that g is differentiable at a point x=x0, and f is differentiable at g(x0). Then the composite fg is differentiable at x0, and we have:
ddx[f(g(x))]|x=x0=f(g(x0))g(x0)
generic point, named functions, point notation Suppose f and g are functions of one variable. Then, we have
ddx[f(g(x))]=f(g(x))g(x) wherever the right side expression makes sense.
generic point, named functions, point-free notation Suppose f and g are functions of one variable. Then,
(fg)=(fg)g where the right side expression makes sense, where denotes the pointwise product of functions.
pure Leibniz notation Suppose u=g(x) is a function of x and v=f(u) is a function of u. Then,
dvdx=dvdududx

MORE ON THE WAY THIS DEFINITION OR FACT IS PRESENTED: We first present the version that deals with a specific point (typically with a

{}0

subscript) in the domain of the relevant functions, and then discuss the version that deals with a point that is free to move in the domain, by dropping the subscript. Why do we do this?
The purpose of the specific point version is to emphasize that the point is fixed for the duration of the definition, i.e., it does not move around while we are defining the construct or applying the fact. However, the definition or fact applies not just for a single point but for all points satisfying certain criteria, and thus we can get further interesting perspectives on it by varying the point we are considering. This is the purpose of the second, generic point version.

One-sided version

A one-sided version of sorts holds, but we need to be careful, since we want the direction of differentiability of f to be the same as the direction of approach of g(x) to g(x0). The following are true:

  • We require g, the function composed first, to be left differentiable at x0 and require f to be differentiable at g(x0). Then, the left hand derivative of fg at x0 is f(g(x0)) times the left hand derivative of g at x0.
  • We require g, the function composed first, to be right differentiable at x0 and require f to be differentiable at g(x0). Then, the right hand derivative of fg at x0 is f(g(x0)) times the right hand derivative of g at x0.
  • We require g to be left differentiable at x0, f to be left differentiable at g(x0), and we require g to be an increasing function. Then, fg is left differentiable at x0 and the left hand derivative is the left hand derivative of f at g(x0) times the left hand derivative of g at x0.
  • We require g to be right differentiable at x0, f to be right differentiable at g(x0), and we require g to be an increasing function. Then, fg is right differentiable at x0 and the right hand derivative is the right hand derivative of f at g(x0) times the left hand derivative of g at x0.
  • We require g to be left differentiable at x0, f to be right differentiable at g(x0), and we require g to be a decreasing function. Then, fg is left differentiable at x0 and the left hand derivative is the right hand derivative of f at g(x0) times the left hand derivative of g at x0.
  • We require g to be right differentiable at x0, f to be left differentiable at g(x0), and we require g to be a decreasing function. Then, fg is right differentiable at x0 and the right hand derivative is the left hand derivative of f at g(x0) times the left hand derivative of g at x0.

Statement for multiple functions

Suppose f1,f2,,fn are functions. Then, the following is true wherever the right side makes sense:

(f1f2f3fn)=(f1f2fn)(f2fn)(fn1fn)fn

For instance, in the case n=3, we get:

(f1f2f3)=(f1f2f3)(f2f3)f3

In point notation, this is:

ddx[f1(f2(f3(x)))]=f1(f2(f3(x))f2(f3(x))f3(x)

Related rules