Calculus I › Differentiation rules › full formula sheet

d/dx [sin x] = cos xSay it: the derivative of sine of x is cosine of x.

The derivative of sin x

The sine wave’s slope pattern is the cosine wave — no minus sign, and the limit proof shows exactly why.

Notation: x is in radians (calculus always uses radians). d/dx[sin(u)] = cos(u)·u′ when there’s something inside.

Before this lesson: Definition of the derivative · Key trig limit

Where it comes from

Picture the sine wave. At x = 0 it crosses the axis heading up at 45° — slope +1. Which candidate matches? cos(0) = 1, while −cos(0) = −1. So the derivative can’t carry a minus sign — the graph kills −cos instantly. The slope pattern of sine (1 at 0, 0 at π/2, −1 at π, …) traces out exactly the cosine wave.

The intuition: sine and cosine are the same wave shifted. Where sine climbs fastest, cosine peaks; where sine peaks, cosine crosses zero. The derivative “shifts” the wave by a quarter period — and shifting sine by a quarter period gives cosine:

Before reading on: sine climbs through x = 0 at 45°, so its slope there is +1. Which candidate — cos x or −cos x — matches, and what does that rule out?

slope of sin at 0
=
+1 = cos(0)
Rising through the origin at 45°. No minus sign possible.
slope of sin at π/2
=
0 = cos(π/2)
Sine peaks there — flat tangent, zero slope.

This is the plus trig derivative — the minus sign belongs to cosine’s derivative, not sine’s. Keep them straight and half the chapter’s sign errors vanish.

Derivation

Apply the definition to f(x) = sin x, using the angle-sum formula sin(x+h) = sin x cos h + cos x sin h and two famous limits:

d/dx [sin x]
=
limh→0 [sin(x+h) − sin x] / h
Step 1 — the definition.
=
limh→0 [sin x cos h + cos x sin h − sin x] / h
Step 2 — angle-sum formula. Expand sin(x+h); the −sin x waits to cancel part of it.
=
limh→0 [ sin x · (cos h−1)/h  +  cos x · sin h/h ]
Step 3 — regroup. Collect sin x’s pieces and cos x’s pieces. Two classic limits now stare at us.
=
sin x · 0  +  cos x · 1 = cos x
Step 4 — the two key limits: limh→0 sin h/h = 1 and limh→0 (cos h−1)/h = 0. ∎

Where do those limits come from? lim sin h/h = 1 is proved with the squeeze theorem on a unit-circle wedge (it’s on the Limits sheet as the key trig limit); lim (cos h−1)/h = 0 follows from it with a half-angle identity. Everything rests on geometry, not magic.

How to use it

The procedure:

  1. Plain sin x → cos x. No minus sign. Ever.
  2. Something inside? Chain rule: d/dx [sin(u)] = cos(u)·u′. Example: d/dx [sin(5x)] = 5 cos(5x).
  3. Constant multiples ride along: d/dx [3 sin x] = 3 cos x.
  4. Products need the product rule: x² sin x is multiplied, not composed — don’t chain it.

Judgment calls

sin²x means (sin x)² — a composition, so chain: 2 sin x cos x. Radians only: this formula assumes x in radians; in degrees an extra π/180 factor appears (calculus always uses radians, so you’ll rarely meet this).

Common mistake: writing d/dx [sin x] = −cos x. The minus belongs to cosine’s derivative. Graph check: sine rises at 0, so its slope there is positive — −cos(0) = −1 contradicts the picture.

Worked examples

Four problems, easiest first. Watch where the chain rule fires.

Example 1 — d/dx [3 sin x]

  1. Pull out the 3 (constant multiple): = 3·d/dx [sin x].
  2. Sine rule: = 3 cos x = 3 cos x.
Common mistake: 3 sin x → −3 cos x. Say it once more: sine’s derivative has NO minus.
Your turn: d/dx [−4 sin x]

Answer: −4 cos x

Pull out the −4: −4·d/dx [sin x] = −4 cos x. No minus appears — sine is the plus one.

Example 2 — d/dx [sin(2x)] (chain)

  1. Layers: outer sin u, inner u = 2x.
  2. Outside: cos(2x). Inside’s derivative: 2.
  3. Multiply: = 2 cos(2x).
Common mistake: answering cos(2x) — the forgotten ×2. The 2x inside oscillates twice as fast; slopes double.
Your turn: d/dx [sin(7x)] (chain)

Answer: 7 cos(7x)

Layers: outer sin u, inner u = 7x. Outside: cos(7x). Inside’s derivative: 7. Multiply: 7 cos(7x).

Example 3 — d/dx [x² sin x] (product)

  1. Structure: multiplied, not composed — product rule: f = x², g = sin x.
  2. Derivatives: f′ = 2x, g′ = cos x.
  3. Assemble f′g + fg′: = 2x sin x + x² cos x.
Common mistake: chaining it as 2x cos x (differentiating “through” a product). Product → product rule; composition → chain rule. Different structures!
Your turn: d/dx [x sin x] (product)

Answer: sin x + x cos x

Multiplied, not composed — product rule: f = x, g = sin x. f′ = 1, g′ = cos x. Assemble: 1·sin x + x·cos x.

Example 4 — d/dx [sin²x] (power of sine)

  1. Rewrite: (sin x)² — outer u², inner sin x.
  2. Outside: 2 sin x. Inside’s derivative: cos x.
  3. Multiply: = 2 sin x cos x (= sin 2x by the double-angle identity).
Common mistake: writing 2 sin x (power rule without the chain). The inside is sin x, not x — its derivative cos x must multiply.
Your turn: d/dx [sin³x] (power of sine)

Answer: 3 sin²x cos x

Rewrite: (sin x)³ — outer u³, inner sin x. Outside: 3 sin²x. Inside’s derivative: cos x. Multiply: 3 sin²x cos x.

Memorization tips

  • Sine is the PLUS one: d/dx [sin] = +cos. The minus belongs to cosine. Mix them and every trig derivative flips.
  • Graph check in 2 seconds: sine rises at 0 → slope positive → cos(0) = +1 confirms no minus. Run it whenever you doubt.
  • Quarter-period shift: differentiating shifts the wave left by π/2; sine shifted is cosine. The picture is the formula.
  • Inside? Chain: sin(2x), sin(x²), sin²x all need ×u′. Plain sin x is the only one that doesn’t.
  • Radians, always: the proof’s key limit sin h/h → 1 holds for radian h. In calculus, trig means radians — no exceptions.
  • Pair it with cosine: learn both as one chant — “sine to cosine, cosine to negative sine.” Two facts, one breath.

Final challenge

Five mixed questions — the minus-sign trap, chain versions, and products. Score 5/5 and it’s yours.

← Back to the Calculus I formula sheet

How to learn a formula here

  1. Read each section in order — every section ends with a short quiz. Take it before moving on; the questions test exactly what you just read.
  2. Work the examples with the answers covered, then uncover one step at a time and compare.
  3. Finish with the final challenge — five mixed questions including the classic traps.
  4. Retake what you miss — every quiz reshuffles each attempt, and every answer explains itself.

Frequently asked questions

What is the derivative of sin x?

d/dx[sin x] = cos x — with no minus sign. The slope pattern of the sine wave (1 at 0, 0 at π/2, −1 at π) traces out exactly the cosine wave.

Why is there no minus sign?

The graph forbids it: sine rises through x = 0, so its slope there is positive (+1), matching cos(0) = 1. A minus would give −1, contradicting the picture. (The minus belongs to cosine’s derivative.)

How is d/dx[sin x] = cos x proved?

From the limit definition with sin(x+h) = sin x·cos h + cos x·sin h. Regrouping exposes the two key limits lim(sin h/h) = 1 and lim((cos h−1)/h) = 0, leaving sin x·0 + cos x·1 = cos x.

What is d/dx[sin(2x)]?

2cos(2x) — the chain rule. Differentiate the outside (cos, keeping 2x), then multiply by the inside’s derivative 2. Forgetting the ×2 is the classic error.

Does x have to be in radians?

Yes. The proof depends on lim(sin h/h) = 1, which holds only for radian measure. Calculus always uses radians for trig functions — in degrees an extra π/180 factor would appear.

More from the codex