Chain rule

In calculus, the chain rule is a formula to compute the derivative of a composite function. That is, if f and g are differentiable functions, then the chain rule expresses the derivative of their composite f ∘ g — the function which maps x to



f
(
g
(
x
)
)


{\displaystyle f(g(x))}
— in terms of the derivatives of f and g and the product of functions as follows:




(
f

g

)


=
(

f



g
)


g


.


{\displaystyle (f\circ g)'=(f'\circ g)\cdot g'.}
Alternatively, by letting h = f ∘ g (equiv., h(x) = f(g(x)) for all x), one can also write the chain rule in Lagrange's notation, as follows:





h


(
x
)
=

f


(
g
(
x
)
)

g


(
x
)
.


{\displaystyle h'(x)=f'(g(x))g'(x).}
The chain rule may also be rewritten in Leibniz's notation in the following way. If a variable z depends on the variable y, which itself depends on the variable x (i.e., y and z are dependent variables), then z, via the intermediate variable of y, depends on x as well. In which case, the chain rule states that:







d
z


d
x



=



d
z


d
y







d
y


d
x



.


{\displaystyle {\frac {dz}{dx}}={\frac {dz}{dy}}\cdot {\frac {dy}{dx}}.}
More precisely, to indicate the point each derivative is evaluated at,









d
z


d
x



|


x


=






d
z


d
y



|


y
(
x
)









d
y


d
x



|


x




{\displaystyle \left.{\frac {dz}{dx}}\right|_{x}=\left.{\frac {dz}{dy}}\right|_{y(x)}\cdot \left.{\frac {dy}{dx}}\right|_{x}}
.
The versions of the chain rule in the Lagrange and the Leibniz notation are equivalent, in the sense that if



z
=
f
(
y
)


{\displaystyle z=f(y)}
and



y
=
g
(
x
)


{\displaystyle y=g(x)}
, so that



z
=
f
(
g
(
x
)
)
=
(
f

g
)
(
x
)


{\displaystyle z=f(g(x))=(f\circ g)(x)}
, then










d
z


d
x



|


x


=
(
f

g

)


(
x
)


{\displaystyle \left.{\frac {dz}{dx}}\right|_{x}=(f\circ g)'(x)}
and










d
z


d
y



|


y
(
x
)









d
y


d
x



|


x


=

f


(
y
(
x
)
)

g


(
x
)
=

f


(
g
(
x
)
)

g


(
x
)
.


{\displaystyle \left.{\frac {dz}{dy}}\right|_{y(x)}\cdot \left.{\frac {dy}{dx}}\right|_{x}=f'(y(x))g'(x)=f'(g(x))g'(x).}
Intuitively, the chain rule states that knowing the instantaneous rate of change of z relative to y and that of y relative to x allows one to calculate the instantaneous rate of change of z relative to x. As put by George F. Simmons: "if a car travels twice as fast as a bicycle and the bicycle is four times as fast as a walking man, then the car travels 2 × 4 = 8 times as fast as the man."In integration, the counterpart to the chain rule is the substitution rule.

View More On Wikipedia.org
  • 473

    Greg Bernhardt

    A PF Singularity From USA
    • Messages
      19,447
    • Media
      227
    • Reaction score
      10,037
    • Points
      1,237
  • 1

    kevman90

    A PF Atom
    • Messages
      3
    • Reaction score
      2
    • Points
      36
  • 1

    P51Mustang

    A PF Quark
    • Messages
      4
    • Reaction score
      0
    • Points
      1
  • 1

    EastWindBreaks

    A PF Molecule From New York
    • Messages
      128
    • Reaction score
      3
    • Points
      53
  • 1

    chwala

    A PF Organism 45 From Nairobi, Kenya.
    • Messages
      2,662
    • Reaction score
      352
    • Points
      167
  • 1

    powerof

    A PF Atom From Romania
    • Messages
      43
    • Reaction score
      0
    • Points
      31
  • 1

    jessieb128

    A PF Electron
    • Messages
      1
    • Reaction score
      0
    • Points
      11
  • 1

    wololo

    A PF Electron
    • Messages
      27
    • Reaction score
      0
    • Points
      11
  • 1

    sams

    A PF Molecule
    • Messages
      84
    • Reaction score
      2
    • Points
      81
  • 1

    karenara

    A PF Atom
    • Messages
      6
    • Reaction score
      1
    • Points
      33
  • 1

    jimjames

    A PF Atom
    • Messages
      9
    • Reaction score
      0
    • Points
      31
  • 1

    Ananthan9470

    A PF Atom
    • Messages
      32
    • Reaction score
      0
    • Points
      31
  • 1

    FreeThinking

    A PF Cell From Ormond Beach, Florida
    • Messages
      32
    • Reaction score
      1
    • Points
      123
  • 1

    strawman

    A PF Atom
    • Messages
      5
    • Reaction score
      0
    • Points
      31
  • 1

    BeeKay

    A PF Atom
    • Messages
      16
    • Reaction score
      0
    • Points
      31
  • 1

    Jess Karakov

    A PF Electron
    • Messages
      11
    • Reaction score
      3
    • Points
      21
  • 1

    Avatrin

    A PF Molecule From Norway
    • Messages
      245
    • Reaction score
      6
    • Points
      96
  • 1

    ScienceMan

    A PF Electron
    • Messages
      12
    • Reaction score
      1
    • Points
      11
  • 1

    Darkmisc

    A PF Molecule
    • Messages
      206
    • Reaction score
      28
    • Points
      93
  • 1

    korialstasz

    A PF Atom
    • Messages
      10
    • Reaction score
      0
    • Points
      36
  • Back
    Top