Chain Rule
Composition of Functions
We define a composite (or
compound) function of x as a function that is "composed" of two
functions; one function depends on the other function that
depends on x, namely y=f(g(x)). The notation you
may have seen before is y=(f∘g)(x)=f(g(x)). Suppose
that we have variables x, y, and u, and that y=f(u) and u=g(x). (Previously we called u=g(x) the inside part of f(g(x)).) Then f
is a composite function of x.
DO: Find f and g
and write as f(g(x)) in the following examples in order to
familiarize yourself with the notation. Determine the
inside part and outside part of each.
Examples
- y=sin(x2) is a composite function with u=x2 and
y=sin(u).
- y=sin2(x) is a composite function with u=sin(x) and
y=u2.
- y=e3x is a composite function with u=3x and y=eu.
- y=(x2+4x+7)5 is a composite function with u=x2+4x+7 and y=u5.
Version 2 of the chain rule says that
Note that dydx is the same as
ddx(f(g(x))), that
dydu=f′(u)=f′(g(x)), and that
dudx is the same thing as g′(x). So
Version 2 says the exact same thing as Version 1.
Let's see how it applies to our examples above.
DO: After looking at
the first example, try to do others before looking at the
solutions. You will learn much more by trying and doing
than by reading. While you read, write down what you are
thinking and what is happening.
Example 1: If y=sin(x2), then u=x2 so that
y=sin(u).
Then dudx=2x, and dydu=cos(u). All
together, we have dydx=dydududx=cos(u)⋅2x=cos(x2)⋅2x.
Example 2: If y=sin2(x), then u=sin(x) so that
y=u2.
Then dudx=cos(x), and dydu=2u. All
together, we have dydx=dydududx=2u⋅cos(x)=2sin(x)cos(x).
Example 3: If y=e3x, then u=3x so that y=eu.
Then dudx=3, and dydu=eu. All together, we
have dydx=dydududx=eu⋅3=3e3x.
Example 4: If y=(x2+4x+7)5, then u=x2+4x+7 so
that y=u5.
Then dudx=2x+4, and dydu=5u4. All
together we have dydx=dydududx=5u4(2x+4)=5(x2+4x+7)4(2x+4).
DO: Try all these examples
using version 1, (f(g(x)))′=f′(g(x))g′(x), just for
practice.
|