If #f(x)= cos(-2 x -1) # and #g(x) = 3x^2 -5 #, how do you differentiate #f(g(x)) # using the chain rule?

1 Answer
May 10, 2016

#12xsin(-6x^2+9)#

Explanation:

The chain rule says that the derivative of a compound function like #f(g(x))# is

#f(g(x))'=g'(x)*f'(g(x))#,

or, the derivative of the whole thing is the derivative of the inside times by the derivative of the outside (with the inside left the same).

The question gives us the functions, so differentiate them normally, like so

#d/dx cos(-2x-1)=-2*-sin(-2x-1)#

#=2sin(-2x-1)# (this we also get from chain rule, by multiplying the derivative of the inside function by the derivative of the outside, the latter with the inside left alone)

#d/dx 3x^2-5=6x-0=6x#

We can put these functions into the chain rule equation,

#f(g(x))'=g'(x)*f'(g(x))#

#=6x*2sin(-2*g(x)-1)#

#=12xsin(-2(3x^2-5)-1)=12xsin(-6x^2+9)#