3.5.2 Derivatives of Trigonometric Functions

Derivative of Tangent ( (\tan x) )

  • Rewrite the function in a form that is easy to differentiate:
    • tanx=sinxcosx\tan x = \frac{\sin x}{\cos x}
  • Apply the Quotient Rule (fg)=fgfgg2\left( \frac{f}{g} \right)' = \frac{f'g - fg'}{g^2} with
    • Numerator: (f = \sin x) ⇒ (f' = \cos x)
    • Denominator: (g = \cos x) ⇒ (g' = -\sin x)
  • Substitute and simplify:
    • tanx=cosx(cosx)    sinx(sinx)(cosx)2\tan' x = \frac{\cos x\,(\cos x)\; - \;\sin x\,(-\sin x)}{(\cos x)^2}
    • =cos2x+sin2xcos2x= \frac{\cos^2 x + \sin^2 x}{\cos^2 x}
    • =1cos2x= \frac{1}{\cos^2 x} (using (\sin^2 x + \cos^2 x = 1))
    • =sec2x= \sec^2 x
  • Result: ddx[tanx]=sec2x\boxed{\dfrac{d}{dx}[\tan x] = \sec^2 x}

Standard First-Order Trigonometric Derivatives (Reference)

  • ddx[sinx]=cosx\frac{d}{dx}[\sin x] = \cos x
  • ddx[cosx]=sinx\frac{d}{dx}[\cos x] = -\sin x
  • ddx[tanx]=sec2x\frac{d}{dx}[\tan x] = \sec^2 x (derived above)
  • ddx[cotx]=csc2x\frac{d}{dx}[\cot x] = -\csc^2 x
  • ddx[secx]=secxtanx\frac{d}{dx}[\sec x] = \sec x\tan x
  • ddx[cscx]=cscxcotx\frac{d}{dx}[\csc x] = -\csc x\cot x

(The instructor notes you may re-derive each one with similar sine–cosine rewrites plus product/quotient rules.)


Worked Example 1: Derivative of (\sec x \;\csc x)

  • Recognize a product ⇒ use the Product Rule (uv)=uv+uv(uv)' = u'v + uv'
  • Identify components:
    • (u = \sec x) ⇒ (u' = \sec x\tan x)
    • (v = \csc x) ⇒ (v' = -\csc x\cot x)
  • Assemble derivative:
    • ddx[secxcscx]=secxtanx(cscx)+secx(cscxcotx)\frac{d}{dx}[\sec x\,\csc x] = \sec x\tan x\,(\csc x) + \sec x\,(-\csc x\cot x)
  • Rewrite every trig function in sine–cosine form to expose cancellations:
    • secx=1cosx,tanx=sinxcosx,cscx=1sinx,cotx=cosxsinx\sec x = \frac{1}{\cos x}, \quad \tan x = \frac{\sin x}{\cos x}, \quad \csc x = \frac{1}{\sin x}, \quad \cot x = \frac{\cos x}{\sin x}
    • First term: 1cosxsinxcosx1sinx=1cos2x\frac{1}{\cos x} \cdot \frac{\sin x}{\cos x} \cdot \frac{1}{\sin x} = \frac{1}{\cos^2 x}
    • Second term (carry out the minus sign):
      (1cosx)!(1sinx)!(cosxsinx)=1sin2x-\left( \frac{1}{\cos x}\right) !\left( \frac{1}{\sin x}\right) !\left( \frac{\cos x}{\sin x}\right) = -\frac{1}{\sin^2 x}
  • Convert back to standard trig functions:
    • 1cos2x=sec2x\frac{1}{\cos^2 x} = \sec^2 x
    • 1sin2x=csc2x\frac{1}{\sin^2 x} = \csc^2 x
  • Final result:
    • ddx[secxcscx]=sec2xcsc2x\boxed{\frac{d}{dx}[\sec x\,\csc x] = \sec^2 x - \csc^2 x}

Worked Example 2: Second Derivative of (y = \csc x)

  1. First derivative (already known rule):
    • y=ddx[cscx]=cscxcotxy' = \frac{d}{dx}[\csc x] = -\csc x\,\cot x
  2. Second derivative: differentiate (-\csc x\,\cot x) via the Product Rule.
    • Let (u = -\csc x) and (v = \cot x)
    • Derivatives:
      • u=(cscx)=(cscxcotx)=cscxcotxu' = -(\csc x)' = -( -\csc x\cot x ) = \csc x\cot x
      • v=(cotx)=csc2xv' = (\cot x)' = -\csc^2 x
    • Combine:
      y=uv+uv=(cscxcotx)(cotx)+(cscx)(csc2x)y'' = u'v + uv' = (\csc x\cot x)(\cot x) + (-\csc x)(-\csc^2 x)
      =cscxcot2x+cscxcsc2x= \csc x\,\cot^2 x + \csc x\,\csc^2 x
  3. Factor common (\csc x):
    • y=cscx(cot2x+csc2x)y'' = \csc x\,(\cot^2 x + \csc^2 x)
  4. Final compact form:
    • y=cscx(cot2x+csc2x)\boxed{y'' = \csc x\left( \cot^2 x + \csc^2 x \right)}

Key Take-Aways & Study Hints

  • Memorize the six first-order trig derivatives; they appear frequently and save time during exams.
  • When proofs or simplifications are needed, convert unfamiliar products/quotients into sine–cosine form to expose cancellations and Pythagorean identities.
  • Product Rule and Quotient Rule are the backbone for building higher-order trig derivatives.
  • Pythagorean identities (e.g.
    sin2x+cos2x=1,  1+tan2x=sec2x,  1+cot2x=csc2x\sin^2 x + \cos^2 x = 1,\; 1 + \tan^2 x = \sec^2 x,\; 1 + \cot^2 x = \csc^2 x)
    are essential tools for simplification.
  • Higher-order derivatives often factor nicely; look for common factors such as (\csc x) or (\sec x) when cleaning up results.