Derivatives: rules and functions

Derivatives of sin x and cos x

The derivative of sinx\sin x is cosx\cos x, and the derivative of cosx\cos x is sinx-\sin x.

(sinx)=cosx,(cosx)=sinx\begin{gathered} (\sin x)'=\cos x, \\[4pt] (\cos x)'=-\sin x \end{gathered}

Differentiating sin\sin gives cos\cos, and differentiating cos\cos gives sin-\sin. The minus sign appears only when you differentiate cos\cos; dropping it is the most common mistake.

sinx  cosx  sinx  cosx  sinx\sin x\ \to\ \cos x\ \to\ -\sin x\ \to\ -\cos x\ \to\ \sin x

Four derivatives bring you back to the start. Both formulas hold only when angles are measured in radians.

xyy = sin x−ππxyy = cos x−ππ
The slope of sin is cos: where sin peaks (slope 0), cos is 0.Drag the dot

Examples

  1. 01Differentiateddxsinx\displaystyle \frac{d}{dx} \sin xAnswerHide
    Answercosx\displaystyle \cos x
  2. 02Differentiateddxcosx\displaystyle \frac{d}{dx} \cos xAnswerHide
    Answersinx\displaystyle -\sin x
  3. 03Differentiateddxsin2x\displaystyle \frac{d}{dx} \sin 2xAnswerHide
    Answer2cos2x\displaystyle 2\cos 2x
  4. 04Differentiateddxcos3x\displaystyle \frac{d}{dx} \cos 3xAnswerHide
    Answer3sin3x\displaystyle -3\sin 3x
  5. 05Differentiateddxsin2x\displaystyle \frac{d}{dx} \sin^{2} xAnswerHide
    Answer2sinxcosx\displaystyle 2\sin x\cos x
  6. 06Differentiateddx(x+cosx)\displaystyle \frac{d}{dx} (x + \cos x)AnswerHide
    Answer1sinx\displaystyle 1 - \sin x

FAQ

Q1Which one gets the minus sign, sin or cos?Show answerHide
A
The derivative of cos: (cosx)=sinx(\cos x)'=-\sin x. There is no minus sign in (sinx)=cosx(\sin x)'=\cos x.

Practice this pattern in the app, 5 problems a day.

Download on the App Store
This topic
Derivatives of sin x and cos x

Published 2026-09-03 · Updated 2026-09-05