Calculus/Derivatives of Trigonometric Functions

< Calculus
← Product and Quotient Rules Calculus Chain Rule →
Derivatives of Trigonometric Functions

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)=\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)=\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


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


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


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)}

Derivative of the Tangent


For secants, we again apply the quotient rule.

&=\frac{\cos(x)\frac{d 1}{dx}-1\frac{d\cos(x)}{dx}}{\cos(x)^2}\\

Leaving us with:


Simplifying, we get:

Derivative of the Secant


Using the same procedure on cosecants:


We get:

Derivative of the Cosecant


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

Derivative of the Cotangent


← Product and Quotient Rules Calculus Chain Rule →
Derivatives of Trigonometric Functions