Derivatives of trigonometric functions · Exercise-DERIVATIVES-OF-TRIG-FUNCTIONS-005

Step-by-step solved exercise: Derivatives

Differentiate \(\displaystyle f(x)=\cos {x}\).

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Write the difference quotient from the definition of the derivative.

    \[\displaystyle \frac{d}{dx}\cos x=\lim_{h\to 0}\frac{\cos(x+h)-\cos x}{h}\]
  2. Expand \(\displaystyle \cos(x+h)\) using the cosine of a sum formula and group terms.

    \[\displaystyle \frac{\cos(x+h)-\cos x}{h}=\cos x\cdot\frac{\cos h-1}{h}-\sin x\cdot\frac{\sin h}{h}\]
  3. Use the known limits: \(\displaystyle \frac{\cos h-1}{h}\to 0\) and \(\displaystyle \frac{\sin h}{h}\to 1\).

    \[\displaystyle \cos x\cdot 0-\sin x\cdot 1=-\sin x\]
  4. Conclude: the derivative of cosine is the negative of sine.

    \[\displaystyle (\cos x)'=-\sin x\]

Answer

\(\displaystyle -\sin {x}\)

🎯 Build my path to this exercise