Trigonometric functions

When we differentiate trigonometric functions, the result is another trig function. The first few derivatives in the list below are worth memorizing. Don’t forget that chain rule & friends apply for all functions, not just polynomials. Given the first two rows below, you should be able to derive the rest using just the power rule and the chain rule.

Function Derivative
sinx cosx
cosx −sinx
sin2x 2cos2x
cos2x −2sin2x
sin2⁡x sin2x
cos2⁡x −sin2x
cscx −cscxcotx
secx secxtanx
tanx sec2⁡x
cotx −csc2⁡x

Example

Let’s differentiate 7cos2⁡(x2−3). Using the constant rule, we have

ddx7cos2⁡(x2−3)=7⋅ddx(cos⁡(x2−3))2,

and using the power rule and chain rule, we have

7⋅2cos⁡(x2−3)⋅ddxcos⁡(x2−3).

Now we must keep using the chain rule:

7⋅2cos⁡(x2−3)⋅−sin⁡(x2−3)⋅ddxx2−3.

This simplifies to

−7sin⁡(2x2−3)⋅ddxx2−3,

but we aren’t done with the chain rule:

−7sin⁡(2x2−3)⋅12x2−3⋅ddx(x2−3).

There is finally nothing left to differentiate. We have

−7sin⁡(2x2−3)⋅12x2−3⋅2x,

and this simplifies to our final answer:

−14xsin⁡(2x2−3)2x2−3.