2.10 Finding the Derivatives of Tangent, Cotangent, Secant, and/or Cosecant Functions

Syllabus
2020
Topic
2.10
Level

Derivatives of $\tan x$, $\cot x$, $\sec x$, and $\csc x$

Rewrite tangent, cotangent, secant, and cosecant in terms of sine and cosine; then the quotient rule and known sine/cosine derivatives produce their formulas. Angles are measured in radians.

Function identity Derivative
tanx=sinxcosx\tan x=\dfrac{\sin x}{\cos x} sec2x\sec^2 x
cotx=cosxsinx\cot x=\dfrac{\cos x}{\sin x} csc2x-\csc^2 x
secx=1cosx\sec x=\dfrac{1}{\cos x} secxtanx\sec x\tan x
cscx=1sinx\csc x=\dfrac{1}{\sin x} cscxcotx-\csc x\cot x

For tangent, the quotient rule gives ddx(tanx)=(cosx)(cosx)(sinx)(sinx)cos2x=cos2x+sin2xcos2x=sec2x.\frac{d}{dx}(\tan x)=\frac{(\cos x)(\cos x)-(\sin x)(-\sin x)}{\cos^2 x}=\frac{\cos^2 x+\sin^2 x}{\cos^2 x}=\sec^2 x. The Pythagorean identity turns the numerator into 11.

The tangent/secant pair has positive derivatives. The cotangent/cosecant pair has negative derivatives. Identities explain these results; they are not four unrelated facts.

Apply each formula only where the original function is defined: tanx\tan x and secx\sec x require cosx0\cos x\ne0, while cotx\cot x and cscx\csc x require sinx0\sin x\ne0. Composite inputs require the chain rule, which belongs to the next Topic.