The derivatives of the six trigonometric functions follow from two fundamental limits and the Quotient Rule. The three "co-" functions (cosine, cotangent, cosecant) always carry a minus sign in their derivatives.
| Function | Derivative |
|---|---|
Prerequisites
Before computing these derivatives, recall:
\lim_{x\to0}\frac{\sin x}{x}=1\tag{a}\lim_{x\to0}\frac{\cos x-1}{x}=0\tag{b}Proof of (b):
\begin{aligned} \lim_{x\to0}\frac{\cos x-1}{x}&=\lim_{x\to0}\frac{2\sin^2(x/2)}{x}=\lim_{x\to0}\frac{\sin(x/2)}{x/2}\cdot\sin\frac{x}{2}=1\times0=0 \end{aligned}Also recall the angle-addition formulas:
Derivative of
\begin{aligned} \frac{dy}{dx}&=\lim_{h\to0}\frac{\sin(x+h)-\sin x}{h}\\ &=\lim_{h\to0}\frac{\sin x\cos h+\cos x\sin h-\sin x}{h}\\ &=\sin x\cdot\lim_{h\to0}\frac{\cos h-1}{h}+\cos x\cdot\lim_{h\to0}\frac{\sin h}{h}\\ &=\sin x\cdot0+\cos x\cdot1=\cos x \end{aligned}\frac{d}{dx}\sin x=\cos x\tag{c}Derivative of
Method (a): limit definition.
\begin{aligned} \frac{dy}{dx}&=\lim_{h\to0}\frac{\cos x\cos h-\sin x\sin h-\cos x}{h}\\ &=\cos x\cdot\lim_{h\to0}\frac{\cos h-1}{h}-\sin x\cdot\lim_{h\to0}\frac{\sin h}{h}\\ &=\cos x\cdot0-\sin x\cdot1=-\sin x \end{aligned}Method (b): using the Chain Rule and :
\frac{d}{dx}\cos x=-\sin x\tag{d}- Both and are differentiable everywhere.
- You must memorize the derivatives of sine and cosine.
Derivative of
Write and apply the Quotient Rule:
\begin{aligned} \frac{d}{dx}\tan x&=\frac{\cos x\cdot\cos x-(-\sin x)\cdot\sin x}{\cos^2 x}=\frac{\cos^2 x+\sin^2 x}{\cos^2 x}=\frac{1}{\cos^2 x}=\sec^2 x \end{aligned}Because :
Derivative of
\begin{aligned} \frac{d}{dx}\cot x&=\frac{d}{dx}\frac{\cos x}{\sin x}=\frac{-\sin x\cdot\sin x-\cos x\cdot\cos x}{\sin^2 x}=-\frac{1}{\sin^2 x}=-\csc^2 x \end{aligned}Because :
Derivative of
\begin{aligned} \frac{d}{dx}\sec x&=\frac{d}{dx}\frac{1}{\cos x}=\frac{0\cdot\cos x-(-\sin x)\cdot1}{\cos^2 x}=\frac{\sin x}{\cos^2 x}=\tan x\sec x \end{aligned}Derivative of
\begin{aligned} \frac{d}{dx}\csc x&=\frac{d}{dx}\frac{1}{\sin x}=\frac{-\cos x}{\sin^2 x}=-\cot x\csc x \end{aligned}The three "co-" functions (cosine, cotangent, cosecant) have minus signs in front of their derivatives.
Worked Examples
Differentiate: (a) , (b) , (c) .
Solution
(a) Let . Then and by the Chain Rule: (b) Similarly, . (c) .Differentiate .
Solution
**Method (a):** Write with : **Method (b):** Write : Both are the same since .Differentiate .
Solution
Let , , . Then:If , find .