What is the derivative of #cos(pi x)#?

1 Answer
Aug 30, 2016

#-pisin(pix)#

Explanation:

Here, we have a function inside another function (function composition). The outside function is #cos(x)#, and the inside function is #pix#.

That means we can view #cos(pix)# as a function composition in the form #f(g(x))#, where #f(x)=cos(x)# and #g(x)=pix#.

In order to find the derivative of a function composition, we must use the chain rule, which states if we have a function #y=f(g(x))#, its derivative is #y'=f'(g(x))*g'(x)#.

Another way of "reading" this is to say that when differentiating, first differentiate the outside function while leaving the inside function intact, and then multiply that by the derivative of the inside function.

Here, we see that the derivative of the outside function, #cos(x)#, is #-sin(x)#. So, we will write #-sin(x)# but keep the inside function intact, giving us a #-sin(pix)#. We then multiply that by the derivative of #pix#, which is just #pi#, giving the full derivative of #-pisin(pix)#.

Or, we can use #f# and #g#:

  • #f(x)=cos(x)=>f'(x)=-sin(x)#
  • #g(x)=pix=>g'(x)=pi#,

So if #y=f(g(x))# then

#y'=f'(g(x))*g'(x)=-sin(pix)*pi=-pisin(pix)#.