Derivative of Cos x

The derivative of cosine x equals negative sine x, the fundamental rule for finding rates of change of oscillating cosine functions.

ddxcosx=sinx\frac{d}{dx}\cos x = -\sin x

Solve a problem with Derivative of Cos x

Type the problem. The solver will use Derivative of Cos x where Derivative of Cos x is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Derivative of Cos x takes
xx
Derivative of Cos x
SymbolMeaning
xxx is the angle measured in radians; if you use degrees instead, the formula does not apply directly and your answer will be wrong by a scaling factor.

When to use it

Use this when you need the instantaneous rate of change of a cosine function or must find where a cosine curve stops increasing or starts decreasing.

Level

Usually taught in: Calculus I

Worked examples

1. Evaluate the derivative of cosine at a special angle

Problem

Find the derivative of f(x)=cosxf(x) = \cos x and then evaluate it at x=π2x = \frac{\pi}{2}.
  1. f(x)=cosxf(x) = \cos x

    Write down the original function.

  2. f(x)=sinxf'(x) = -\sin x

    Apply the derivative rule for cosine: the derivative equals negative sine.

  3. f(π2)=sin(π2)=1f'\left(\frac{\pi}{2}\right) = -\sin\left(\frac{\pi}{2}\right) = -1

    Substitute x=π2x = \frac{\pi}{2} into the derivative and evaluate sin(π2)=1\sin(\frac{\pi}{2}) = 1.

Answer: f(π2)=1f'\left(\frac{\pi}{2}\right) = -1

At the top of a cosine curve, the slope is most negative because the function is decreasing fastest. This is why we get 1-1.

2. Differentiate a linear combination with cosine

Problem

Find the derivative of f(x)=3cosx2xf(x) = 3\cos x - 2x and evaluate it at x=0x = 0.
  1. f(x)=3cosx2xf(x) = 3\cos x - 2x

    Write the original function as a sum of two terms.

  2. f(x)=3(sinx)2f'(x) = 3 \cdot (-\sin x) - 2

    Differentiate each term: the derivative of 3cosx3\cos x is 3sinx-3\sin x, and the derivative of 2x-2x is 2-2.

  3. f(x)=3sinx2f'(x) = -3\sin x - 2

    Simplify by combining the terms.

  4. f(0)=3sin(0)2=02=2f'(0) = -3\sin(0) - 2 = 0 - 2 = -2

    Substitute x=0x = 0 and use sin(0)=0\sin(0) = 0 to get the final value.

Answer: f(0)=2f'(0) = -2

Combining cosine with other terms requires using the sum rule alongside the cosine derivative rule. The constant term 2x-2x contributes a flat slope of 2-2 regardless of where we evaluate.

3. Find the rate of change of oscillating health in a game

Problem

In a video game, a character's health during a special attack oscillates as H(t)=100cos(t)H(t) = 100\cos(t) where tt is time in seconds. How fast is the health changing at t=π4t = \frac{\pi}{4} seconds?
  1. H(t)=100cos(t)H(t) = 100\cos(t)

    The health function is 100 times the cosine of time.

  2. H(t)=100(sint)H'(t) = 100 \cdot (-\sin t)

    Apply the derivative rule to cosine and multiply by the constant 100.

  3. H(t)=100sintH'(t) = -100\sin t

    Simplify the expression.

  4. H(π4)=100sin(π4)=10022H'\left(\frac{\pi}{4}\right) = -100\sin\left(\frac{\pi}{4}\right) = -100 \cdot \frac{\sqrt{2}}{2}

    Substitute t=π4t = \frac{\pi}{4} and use the exact value sin(π4)=22\sin(\frac{\pi}{4}) = \frac{\sqrt{2}}{2}.

  5. H(π4)=10022=50270.7H'\left(\frac{\pi}{4}\right) = \frac{-100\sqrt{2}}{2} = -50\sqrt{2} \approx -70.7

    Simplify the fraction and compute the decimal approximation.

Answer: H(π4)=502 health per secondH'\left(\frac{\pi}{4}\right) = -50\sqrt{2} \text{ health per second}

The negative value tells us the health is decreasing at that instant, losing about 70.7 points per second. Real-world applications like game mechanics, pendulums, and sound waves all use cosine derivatives.

Common mistakes

Where Derivative of Cos x usually goes wrong
Answer came out wrong
Writing ddxcosx=sinx\frac{d}{dx}\cos x = \sin x (without the negative sign).
Always write ddxcosx=sinx\frac{d}{dx}\cos x = -\sin x with the negative sign in front.
Assuming the derivative of sine is also cosx-\cos x because cosine has a negative.
Remember: ddxsinx=cosx\frac{d}{dx}\sin x = \cos x (positive), but ddxcosx=sinx\frac{d}{dx}\cos x = -\sin x (negative).
Writing ddx(2cosx)=2cosx\frac{d}{dx}(2\cos x) = 2\cos x instead of 2sinx-2\sin x.
Multiply the coefficient by the derivative: ddx(Acosx)=A(sinx)=Asinx\frac{d}{dx}(A\cos x) = A \cdot (-\sin x) = -A\sin x.
The mistakeWhy it is wrongThe fix
Writing ddxcosx=sinx\frac{d}{dx}\cos x = \sin x (without the negative sign).The cosine rule must include a negative sign, and this is the most frequently forgotten part.Always write ddxcosx=sinx\frac{d}{dx}\cos x = -\sin x with the negative sign in front.
Assuming the derivative of sine is also cosx-\cos x because cosine has a negative.Students confuse which trig derivative gets the negative; they are not symmetric.Remember: ddxsinx=cosx\frac{d}{dx}\sin x = \cos x (positive), but ddxcosx=sinx\frac{d}{dx}\cos x = -\sin x (negative).
Writing ddx(2cosx)=2cosx\frac{d}{dx}(2\cos x) = 2\cos x instead of 2sinx-2\sin x.When a coefficient multiplies cosine, students sometimes forget to apply the derivative rule or drop the negative.Multiply the coefficient by the derivative: ddx(Acosx)=A(sinx)=Asinx\frac{d}{dx}(A\cos x) = A \cdot (-\sin x) = -A\sin x.

Tips and when to use something else

  • The negative sign is the hardest part to remember—visualize a cosine curve at its peak (where the slope is most negative) until sinx-\sin x feels natural.
  • If cosine has a coefficient, a chain (like cos(2x)\cos(2x)), or appears with other terms, apply the constant multiple rule, Chain Rule, or sum rule alongside the cosine derivative rule.
  • To find where a cosine function reaches a maximum or minimum, set the derivative sinx-\sin x equal to zero and solve for xx—this locates critical points.
  • For the second derivative (curvature), apply the rule twice: d2dx2cosx=ddx(sinx)=cosx\frac{d^2}{dx^2}\cos x = \frac{d}{dx}(-\sin x) = -\cos x, which cycles back to the original function with a negative sign.

Frequently asked questions

What is the derivative of cos x?
The derivative of cosx\cos x is sinx-\sin x. This means if you have a function that contains cosine, you replace it with negative sine when you differentiate. The negative sign is part of the rule and cannot be dropped.
How do I find where a cosine function is increasing or decreasing?
Take the derivative sinx-\sin x and analyze its sign. Where sinx>0-\sin x > 0 (equivalently, sinx<0\sin x < 0), the original cosine function is increasing; where sinx<0-\sin x < 0, it is decreasing. To find exact transition points, solve sinx=0-\sin x = 0, which gives x=0,π,2π,x = 0, \pi, 2\pi, \ldots
Is the derivative of cos x the same as cos x?
No. The derivative of cosx\cos x is sinx-\sin x, which is a completely different function with a different shape and values. Cosine and negative sine are shifted versions of each other, separated by a π2\frac{\pi}{2} phase lag.
What is the difference between the derivative of sin x and cos x?
The derivative of sinx\sin x is cosx\cos x (no negative), while the derivative of cosx\cos x is sinx-\sin x (with a negative). They are not symmetric: one is positive, the other negative. This asymmetry comes from how the functions slope at different points on the circle.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18