How do you differentiate y= sin 3x + cos 4xy=sin3x+cos4x?

1 Answer
Jul 14, 2016

(dy)/(dx) = 3cos3x - 4sin4xdydx=3cos3x4sin4x

Explanation:

We need to use the chain rule here. It states that for a function y(u(x))y(u(x))

(dy)/(dx) = (dy)/(du)*(du)/(dx)dydx=dydududx

For the first term:

dy/(du) = cos3x, (du)/(dx) = 3 implies dy/(dx) = 3cos3xdydu=cos3x,dudx=3dydx=3cos3x

Similarly for the second term:

(dy)/(du) = -sin4x, (du)/(dx) = 4 implies (dy)/(dx) = -4sin4xdydu=sin4x,dudx=4dydx=4sin4x

therefore (dy)/(dx) = 3cos3x - 4sin4x