The Chain Rule
The chain rule allows us to take the derivative of compound
functions like sin(x2) or (sin(x))2. If f(x)=sin(x) and
g(x)=x2, then sin(x2)=f(g(x)) and (sin(x))2=g(f(x)).
Version 1 of the chain rule says:
ddx(f(g(x)))=f′(g(x))⋅g′(x)
|
So the derivative of sin(x2) is cos(x2)⋅2x, or 2xcos(x2), while the derivative of sin2(x) is 2sin(x)⋅cos(x).
It's often useful to let u=g(x), so our rule becomes
Combining this with our derivatives
of basic functions, we get:
ddx(un)=nun−1dudx
ddx(eu)=eududx
ddx(ln(u))=1ududx
ddx(sin(u))=cos(u)dudx
ddx(cos(u))=−sin(u)dudx
|
In particular, when taking the derivative of sin(x2), just let
u=x2, so we get the derivative of sin(u) being cos(u)⋅2x=2xcos(x2). When taking the derivative of sin2(x), take
u=sin(x), so the derivative of u2 is 2ududx=2sin(x)cos(x).
Version 2 of the chain rule comes from taking y=f(u), where
u=g(x), so we have dydx=dydududx.
Recall that dydu is another name for f′(u)=f′(g(x)), while dudx is another
name for g′(x).
|