Derivatives of Compositions

Example:
C(x) = tan(x3 - 8*x2 - 1)

The first thing to notice when finding the derivative of this function is that it is a composition of two functions, as shown below:

C(x) = tan([])
  where  [] = x3 - 8*x2 - 1

The Chain Rule (Derivative Rule for Compositions):

The derivative of a composition is the product of the derivative of the outer function (with the inner function plugged in) and the derivative of the inner function.
If
  z = f( g(x) )
then the derivative of z is
  z' = ( f(g(x)) )'
    = f '(g(x)) g '(x)
Or, if
  z = f( [] ), where [] = g(x)
then the derivative of z is
  z' = ( f( [] ) )'
    = f '( [] ) ( [] )'
    = f '( [] ) g '(x)

So our example,

C(x) = tan([])
  where  [] = x3 - 8*x2 - 1
we can think of as
C(x) = f( [] ) , where  [] = g(x) = x3 - 8*x2 - 1
So the derivative is
C '(x) = ( f( [] ) )'
  = f '( [] ) ( [] )'  
  = ( tan([]) )' ( x3 - 8*x2 - 1 )'
and we just need to know each of the derivatives on the right-hand side of the equation. In this case these are
( tan([]) )' = 1 / (cos([]))2 (by the derivative rules for basic functions)
( x3 - 8*x2 - 1 )' = ( 3*x2 - 8*2*x - 0 ) (by the derivative rule for sums, power rule, rule for constant multiples, and the derivative rule for constants)
so the finished derivative is
C '(x) = 1 / (cos([]))2 ( 3*x2 - 8*2*x - 0 )
  = 1 / (cos(x3 - 8*x2 - 1))2 ( 3*x2 - 8*2*x - 0 )
  = (1 / (cos(x3 - 8*x2 - 1))2) (3*x2 - 16*x)
[]


additional explanation for the chain rule
see another chain rule example
practice gateway test
previous page
Page Generated: Sat Apr 19 13:28:53 2025
Comments to Gavin LaRose
glarose@umich.edu
©2001 Gavin LaRose, University of Michigan Math Dept.