Derivative of -sin x and the Other Trig Derivatives
If you have ever differentiated and landed on , you already know the derivative of -sin x by heart, even if the phrase looks unusual written out in words. That single result, that the derivative of cosine is negative sine, is one of six trig derivatives worth knowing cold, and it is the one that trips up the most students because of the sign. This guide lays out all six derivatives in one table, explains exactly where that minus sign comes from, and works through two full examples, including one that needs the chain rule.

Key takeaways
- The derivative of is ; the minus sign comes from how cosine and sine move together on the unit circle.
- All six trig derivatives follow a pattern: sine and cosine trade places, and each "co" function, cosine, cotangent, cosecant, picks up a negative sign.
- The constant multiple rule applies to trig derivatives exactly like any other: a coefficient carries straight through, sign and all.
- If appears as its own function rather than as an answer, its derivative is , found the same way you would differentiate any negative multiple of a function.
- The chain rule applies to a trig derivative whenever the angle itself is more than plain , such as .
Why the derivative of cos x is -sin x
On the unit circle, is decreasing over the interval , where is positive. A decreasing function has a negative slope, so the derivative of over that interval has to be negative wherever is positive, which is exactly what gives you. Over , is increasing while is negative, and flips positive there too, matching the increasing slope.
The two functions move in step, with a sign flip built in, and that sign flip is what the minus sign in the derivative is really recording. For a version of this same result built directly from the limit rather than from the graph, see Using the Definition of the Derivative: Limit Method.
The six trig derivatives
Every trig function has a derivative that pairs with one of the other five. Once these are memorized, most trig differentiation is just applying the chain rule or the product rule on top of this table.
| Function | Derivative |
|---|---|
Notice the pattern: sine and cosine trade places, tangent and cotangent trade places with a sign flip, and secant and cosecant trade places with a sign flip. Every "co" function, cosine, cotangent, cosecant, contributes a negative sign to its own derivative.
Differentiating -sin x itself with the constant multiple rule
There is a second question hiding inside this topic: what if is not a derivative you landed on, but the function you are asked to differentiate directly? Treat the negative sign the same way you would treat any constant multiplier. Since , the constant multiple rule says you differentiate and carry the straight through.
So the derivative of the function is , a different result from the derivative of being . Keeping those two straight, which function you started with and which one you ended on, is the single most common point of confusion on this topic.
Worked examples
Example 1: derivative of
- Differentiate each term separately, using the sum rule.
- Apply the constant multiple rule to the sine term: the derivative of is , and the 3 carries through unchanged.
- Apply the constant multiple rule to the cosine term: the derivative of is , and the 2 carries through.
- Combine both pieces into one derivative.
So . Check it by matching each piece against the trig derivative table: the sine term kept its function and picked up no new sign, and the cosine term picked up the negative sign the table predicts.
Example 2: derivative of
- Recognize that this needs the chain rule, since the angle is , not plain . Let the outside function be cosine and the inside function be .
- Differentiate the outside function first, using , then multiply by the derivative of the inside function.
- Find and substitute back in.
So . Check it at : is an even function, so its graph is symmetric about the y-axis, and a smooth curve that is symmetric like that must have a horizontal tangent at . The formula gives , which matches.
Common mistakes
- Mixing up "the derivative of cos x is -sin x" with "the derivative of -sin x is -cos x": they involve the same two functions but are not the same statement.
- Dropping the negative sign entirely when differentiating cosine, cotangent, or cosecant.
- Forgetting the chain rule when the angle inside a trig function is anything other than plain , such as or .
- Treating and as if they shared the same sign pattern as sine and cosine, when their derivatives are and .
- Losing track of a constant multiplier partway through, especially when a negative coefficient and a negative trig derivative land in the same term.
These six derivatives are a small piece of the full rule set covered in How to Do Derivatives: Rules, Examples and Checks. For a variable that shows up in its own exponent, see Derivative of x to the x: Logarithmic Differentiation, and for a clean reciprocal case, see Derivative of 1/t and Other Reciprocals, Step by Step. If you would rather see one of these derivatives built from scratch, Using the Definition of the Derivative: Limit Method works through the limit directly. When you want to check a trig derivative of your own, scan the problem and read every step in AI Math Tutor.
AI Math Tutor is a study aid, not a substitute for a teacher, and it can make mistakes: check every step, not just the answer.
Questions
Why is the derivative of cos x negative sine and not positive sine?
Cosine is decreasing wherever sine is positive, and increasing wherever sine is negative, so its slope always has the opposite sign of sine at that point. Multiplying sine by negative one is exactly what flips the sign to match, which is why .
Is the derivative of -sin x the same thing as the derivative of cos x?
No. The derivative of cos x is -sin x, but the derivative of the function -sin x itself is -cos x. Both statements use sine and cosine, but in opposite roles: one is a derivative you land on, the other is a derivative you start from.
Do all six trig derivatives need the chain rule?
Only when the angle inside the trig function is something other than plain x, such as 3x or x squared. If the angle is just x, you can read the derivative straight from the table with no chain rule needed.
How can I check a trig derivative without redoing the whole problem?
Pick a value of x where you already know the original function's behavior, such as a peak, a horizontal tangent, or a zero, and confirm your derivative gives a slope that matches. An even function like cos(3x) must have a derivative of zero at x = 0, for example.