Derivative of Sin x

The derivative of sin x is cos x, giving the slope of the sine curve; use this rule when differentiating any sine function.

ddxsinx=cosx\frac{d}{dx}\sin x = \cos x

Solve a problem with Derivative of Sin x

Type the problem. The solver will use Derivative of Sin x where Derivative of Sin 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 Sin x takes
xx
Derivative of Sin x
SymbolMeaning
xxThe independent variable, measured in radians (not degrees) — the input to the sine function. If xx is in degrees instead of radians, this rule does not apply and you must convert or use a different form of the derivative rule.

When to use it

Use this rule whenever you need to find the instantaneous rate of change of a sine function.

Level

Usually taught in: Calculus I

Worked examples

1. Find the derivative of sin x and evaluate it at x = 0

Problem

Find the derivative of f(x)=sinxf(x) = \sin x and then evaluate f(0)f'(0).
  1. f(x)=sinxf(x) = \sin x

    We are given the function f(x)=sinxf(x) = \sin x and need to find its derivative.

  2. f(x)=cosxf'(x) = \cos x

    By the sine derivative rule, the derivative of sinx\sin x is cosx\cos x.

  3. f(0)=cos(0)=1f'(0) = \cos(0) = 1

    We evaluate the derivative at x=0x = 0 by substituting into cosx\cos x, which gives cos(0)=1\cos(0) = 1.

Answer: f(x)=cosxf'(x) = \cos x

This example demonstrates both finding the general derivative formula and evaluating it at a specific point. The derivative cosx\cos x represents the instantaneous slope of the sine curve at every point, and at x=0x = 0 (where the sine curve crosses zero with steepest positive slope), that slope is exactly 1.

2. Differentiate a combination of sine and a linear term

Problem

Find ddx[3sinx2x]\frac{d}{dx}[3\sin x - 2x].
  1. ddx[3sinx2x]\frac{d}{dx}[3\sin x - 2x]

    We need to find the derivative of the entire expression, which contains two separate terms.

  2. =3ddx[sinx]2ddx[x]= 3\frac{d}{dx}[\sin x] - 2\frac{d}{dx}[x]

    We apply the constant multiple rule and sum/difference rule to handle each term separately: the derivative of 3sinx3\sin x is 33 times the derivative of sinx\sin x, and the derivative of 2x2x is 22 times the derivative of xx.

  3. =3cosx2= 3\cos x - 2

    We apply the sine derivative rule to get cosx\cos x and the power rule to get 11, giving us 3cosx21=3cosx23\cos x - 2 \cdot 1 = 3\cos x - 2.

Answer: 3cosx23\cos x - 2

This problem requires combining the sine derivative rule with other derivative rules. The constant multiple rule and sum rule allow us to handle each term independently before applying the appropriate derivative formula to each one.

3. Find the rate of change of daily revenue modeled by sine

Problem

A coffee shop's daily revenue is modeled by R(t)=300+150sin(t)R(t) = 300 + 150\sin(t) dollars, where tt is the number of days since opening. Find dRdt\frac{dR}{dt}, the rate of change of revenue with respect to time.
  1. R(t)=300+150sin(t)R(t) = 300 + 150\sin(t)

    We are given the revenue function: a constant baseline of 300300 plus a sinusoidal oscillation term 150sin(t)150\sin(t).

  2. dRdt=ddt[300]+ddt[150sin(t)]\frac{dR}{dt} = \frac{d}{dt}[300] + \frac{d}{dt}[150\sin(t)]

    We apply the sum rule to split the derivative into two separate parts: the derivative of the constant 300300 and the derivative of the term 150sin(t)150\sin(t).

  3. =0+150cos(t)=150cos(t)= 0 + 150\cos(t) = 150\cos(t)

    The derivative of a constant is 00, and the derivative of 150sin(t)150\sin(t) is 150150 times the derivative of sin(t)\sin(t), which is cos(t)\cos(t).

Answer: dRdt=150cos(t) dollars per day\frac{dR}{dt} = 150\cos(t) \text{ dollars per day}

In this real-world context, the derivative tells us how fast the revenue is changing at each moment. The sine term creates a periodic fluctuation around the $300 baseline, and the derivative 150cos(t)150\cos(t) oscillates between +150+150 and 150-150 dollars per day, showing when revenue is increasing and decreasing most rapidly.

Common mistakes

Where Derivative of Sin x usually goes wrong
Answer came out wrong
Writing ddx[sinx]=cosx\frac{d}{dx}[\sin x] = -\cos x with a negative sign
Remember: ddx[sinx]=cosx\frac{d}{dx}[\sin x] = \cos x (positive), and ddx[cosx]=sinx\frac{d}{dx}[\cos x] = -\sin x (negative). Write these two rules side by side to keep them straight.
For ddx[sin(3x)]\frac{d}{dx}[\sin(3x)], writing cos(3x)\cos(3x) instead of 3cos(3x)3\cos(3x)
When differentiating sin(f(x))\sin(f(x)) for any function f(x)f(x), use the chain rule: ddx[sin(f(x))]=cos(f(x))f(x)\frac{d}{dx}[\sin(f(x))] = \cos(f(x)) \cdot f'(x). For sin(3x)\sin(3x), multiply: cos(3x)3=3cos(3x)\cos(3x) \cdot 3 = 3\cos(3x).
For ddx[xsinx]\frac{d}{dx}[x \sin x], writing cosx\cos x instead of sinx+xcosx\sin x + x\cos x
Use the product rule: ddx[xsinx]=1sinx+xcosx=sinx+xcosx\frac{d}{dx}[x \sin x] = 1 \cdot \sin x + x \cdot \cos x = \sin x + x\cos x. The sine derivative rule must be combined with the product rule for multiplied expressions.
The mistakeWhy it is wrongThe fix
Writing ddx[sinx]=cosx\frac{d}{dx}[\sin x] = -\cos x with a negative signStudents often confuse the sine derivative with the cosine derivative, which does include a negative sign: ddx[cosx]=sinx\frac{d}{dx}[\cos x] = -\sin x.Remember: ddx[sinx]=cosx\frac{d}{dx}[\sin x] = \cos x (positive), and ddx[cosx]=sinx\frac{d}{dx}[\cos x] = -\sin x (negative). Write these two rules side by side to keep them straight.
For ddx[sin(3x)]\frac{d}{dx}[\sin(3x)], writing cos(3x)\cos(3x) instead of 3cos(3x)3\cos(3x)Students apply the sine rule to get cos(3x)\cos(3x) but forget to use the chain rule and multiply by the derivative of the inside function, which is 33.When differentiating sin(f(x))\sin(f(x)) for any function f(x)f(x), use the chain rule: ddx[sin(f(x))]=cos(f(x))f(x)\frac{d}{dx}[\sin(f(x))] = \cos(f(x)) \cdot f'(x). For sin(3x)\sin(3x), multiply: cos(3x)3=3cos(3x)\cos(3x) \cdot 3 = 3\cos(3x).
For ddx[xsinx]\frac{d}{dx}[x \sin x], writing cosx\cos x instead of sinx+xcosx\sin x + x\cos xStudents see sine and apply only the sine derivative rule, but fail to recognize that xx and sinx\sin x are multiplied together and the product rule must be used.Use the product rule: ddx[xsinx]=1sinx+xcosx=sinx+xcosx\frac{d}{dx}[x \sin x] = 1 \cdot \sin x + x \cdot \cos x = \sin x + x\cos x. The sine derivative rule must be combined with the product rule for multiplied expressions.

Tips and when to use something else

  • Remember that ddx[sinx]=cosx\frac{d}{dx}[\sin x] = \cos x but ddx[cosx]=sinx\frac{d}{dx}[\cos x] = -\sin x — note the negative sign on the cosine derivative.
  • Whenever the argument of sine is not exactly xx (like sin(2x)\sin(2x) or sin(x2)\sin(x^2)), use the Chain Rule to multiply by the derivative of the inside function.
  • If xx and sine are multiplied together, such as xsinxx\sin x or x2sinxx^2\sin x, use the Product Rule, not just the sine derivative rule.
  • The sine derivative rule applies only when sine's argument is exactly xx; all other cases require combining it with other differentiation rules.

Frequently asked questions

What is the derivative of sin x?
The derivative of sinx\sin x is cosx\cos x. This is one of the fundamental trigonometric derivatives in calculus, and it comes from applying the formal limit definition of the derivative combined with trigonometric identities.
Why is the derivative of sin x equal to cos x?
This result comes from the limit definition of the derivative and trigonometric properties. When you work through limh0sin(x+h)sinxh\lim_{h \to 0} \frac{\sin(x + h) - \sin x}{h} using the sine addition formula and limit algebra, you end up with cosx\cos x. Geometrically, the slope of the sine curve at any point equals the height of the cosine curve at that same point.
How do you find the derivative of sin(2x)?
You use the chain rule combined with the sine derivative rule. Differentiate the outside function (sine) to get cosine, then multiply by the derivative of the inside function (2x2x). This gives: ddx[sin(2x)]=cos(2x)2=2cos(2x)\frac{d}{dx}[\sin(2x)] = \cos(2x) \cdot 2 = 2\cos(2x).
Is the derivative of sin x the same as the derivative of cos x?
No, they are different. The derivative of sinx\sin x is cosx\cos x, but the derivative of cosx\cos x is sinx-\sin x (note the negative sign). A common mistake is to forget this negative sign on the cosine derivative, so keep these two rules clearly separated.

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