Sine, cosine, tangent, cosecant, secant, cotangent. These are functions that crop up continuously in mathematics and engineering and have a lot of practical applications. They also appear in more advanced mathematics, particularly when dealing with things such as line integrals with complex numbers and alternate representations of space like spherical and cylindrical coordinate systems.

We use the definition of the derivative, i.e.,

$f'(x)=\lim _{h\to 0}{\frac {f(x+h)-f(x)}{h}}$ ,
to work these first two out.

Let us find the derivative of sin(x ), using the above definition.

$f(x)=\sin(x)$
$f'(x)=\lim _{h\to 0}{\frac {\sin(x+h)-\sin(x)}{h}}$
Definition of derivative
$=\lim _{h\to 0}{\frac {\cos(x)\sin(h)+\cos(h)\sin(x)-\sin(x)}{h}}$
trigonometric identity
$=\lim _{h\to 0}{\frac {\cos(x)\sin(h)+(\cos(h)-1)\sin(x)}{h}}$
factoring
$=\lim _{h\to 0}{\frac {\cos(x)\sin(h)}{h}}+\lim _{h\to 0}{\frac {(\cos(h)-1)\sin(x)}{h}}$
separation of terms
$=\cos(x)\times 1+\sin(x)\times 0$
application of limit
$=\cos(x)$
solution

Now for the case of cos(x ).

$f(x)=\cos(x)$
$f'(x)=\lim _{h\to 0}{\frac {\cos(x+h)-\cos(x)}{h}}$
Definition of derivative
$=\lim _{h\to 0}{\frac {\cos(x)\cos(h)-\sin(h)\sin(x)-\cos(x)}{h}}$
trigonometric identity
$=\lim _{h\to 0}{\frac {\cos(x)(\cos(h)-1)-\sin(x)\sin(h)}{h}}$
factoring
$=\lim _{h\to 0}{\frac {\cos(x)(\cos(h)-1)}{h}}-\lim _{h\to 0}{\frac {\sin(x)\sin(h)}{h}}$
separation of terms
$=\cos(x)\times 0-\sin(x)\times 1$
application of limit
$=-\sin(x)$
solution

Therefore we have established

Derivative of Sine and Cosine
${\frac {d}{dx}}\sin(x)=\cos(x)$
${\frac {d}{dx}}\cos(x)=-\sin(x)$

To find the derivative of the tangent, we just remember that:

$\tan(x)={\frac {\sin(x)}{\cos(x)}}$

which is a quotient. Applying the quotient rule, we get:

${\frac {d}{dx}}\tan(x)={\frac {\cos ^{2}(x)+\sin ^{2}(x)}{\cos ^{2}(x)}}$

Then, remembering that $\cos ^{2}(x)+\sin ^{2}(x)=1$ , we simplify:

${\frac {\cos ^{2}(x)+\sin ^{2}(x)}{\cos ^{2}(x)}}$
$={\frac {1}{\cos ^{2}(x)}}$
$=\sec ^{2}(x)$

Derivative of the Tangent
${\frac {d}{dx}}\tan(x)=\sec ^{2}(x)$

For secants, we again apply the quotient rule.

$\sec(x)={\frac {1}{\cos(x)}}$
${\begin{aligned}{\frac {d}{dx}}\sec(x)&={\frac {d}{dx}}{\frac {1}{\cos(x)}}\\&={\frac {\cos(x){\frac {d1}{dx}}-1{\frac {d\cos(x)}{dx}}}{\cos(x)^{2}}}\\&={\frac {\cos(x)0-1(-\sin(x))}{\cos(x)^{2}}}\end{aligned}}$
Leaving us with:

${\frac {d}{dx}}\sec(x)={\frac {\sin(x)}{\cos ^{2}(x)}}$
Simplifying, we get:

Derivative of the Secant
${\frac {d}{dx}}\sec(x)=\sec(x)\tan(x)$

Using the same procedure on cosecants:

$\csc(x)={\frac {1}{\sin(x)}}$
We get:

Derivative of the Cosecant
${\frac {d}{dx}}\csc(x)=-\csc(x)\cot(x)$

Using the same procedure for the cotangent that we used for the tangent, we get:

Derivative of the Cotangent
${\frac {d}{dx}}\cot(x)=-\csc ^{2}(x)$