DerivativesTopic #6 of 32

Derivatives of Trigonometric Functions

Derivatives of sine, cosine, tangent, and other trigonometric functions.

Basic Trigonometric Derivatives

FunctionDerivative
sin⁡(x)\sin(x)cos⁡(x)\cos(x)
cos⁡(x)\cos(x)−sin⁡(x)-\sin(x)
tan⁡(x)\tan(x)sec⁡2(x)\sec^2(x)
cot⁡(x)\cot(x)−csc⁡2(x)-\csc^2(x)
sec⁡(x)\sec(x)sec⁡(x)tan⁡(x)\sec(x)\tan(x)
csc⁡(x)\csc(x)−csc⁡(x)cot⁡(x)-\csc(x)\cot(x)

Memory Aids

  • Derivatives of "co" functions (cos⁡\cos, cot⁡\cot, csc⁡\csc) have negative signs
  • sin⁡\sin and cos⁡\cos cycle: sin⁡→cos⁡→−sin⁡→−cos⁡→sin⁡\sin \to \cos \to -\sin \to -\cos \to \sin
  • tan⁡\tan and sec⁡\sec are related: (tan⁡)′=sec⁡2(\tan)' = \sec^2, (sec⁡)′=sec⁡⋅tan⁡(\sec)' = \sec \cdot \tan
  • cot⁡\cot and csc⁡\csc are related: (cot⁡)′=−csc⁡2(\cot)' = -\csc^2, (csc⁡)′=−csc⁡⋅cot⁡(\csc)' = -\csc \cdot \cot

With Chain Rule

For u=u(x)u = u(x):

FunctionDerivative
sin⁡(u)\sin(u)cos⁡(u)⋅u′\cos(u) \cdot u'
cos⁡(u)\cos(u)−sin⁡(u)⋅u′-\sin(u) \cdot u'
tan⁡(u)\tan(u)sec⁡2(u)⋅u′\sec^2(u) \cdot u'
cot⁡(u)\cot(u)−csc⁡2(u)⋅u′-\csc^2(u) \cdot u'
sec⁡(u)\sec(u)sec⁡(u)tan⁡(u)⋅u′\sec(u)\tan(u) \cdot u'
csc⁡(u)\csc(u)−csc⁡(u)cot⁡(u)⋅u′-\csc(u)\cot(u) \cdot u'

Proofs Using Limit Definition

Derivative of sin(x)

ddx[sin⁡(x)]=lim⁡h→0sin⁡(x+h)−sin⁡(x)h\frac{d}{dx}[\sin(x)] = \lim_{h \to 0} \frac{\sin(x + h) - \sin(x)}{h}

Using sin⁡(A+B)=sin⁡(A)cos⁡(B)+cos⁡(A)sin⁡(B)\sin(A + B) = \sin(A)\cos(B) + \cos(A)\sin(B):

=lim⁡h→0sin⁡(x)cos⁡(h)+cos⁡(x)sin⁡(h)−sin⁡(x)h= \lim_{h \to 0} \frac{\sin(x)\cos(h) + \cos(x)\sin(h) - \sin(x)}{h}

=lim⁡h→0sin⁡(x)cos⁡(h)−1h+cos⁡(x)sin⁡(h)h= \lim_{h \to 0} \sin(x)\frac{\cos(h) - 1}{h} + \cos(x)\frac{\sin(h)}{h}

=sin⁡(x)⋅0+cos⁡(x)⋅1=cos⁡(x)= \sin(x) \cdot 0 + \cos(x) \cdot 1 = \cos(x)

Examples

Example 1: Basic derivatives

f(x)=3sin⁡(x)−2cos⁡(x)f(x) = 3\sin(x) - 2\cos(x)

f′(x)=3cos⁡(x)+2sin⁡(x)f'(x) = 3\cos(x) + 2\sin(x)

Example 2: With chain rule

f(x)=sin⁡(3x2+1)f(x) = \sin(3x^2 + 1)

f′(x)=cos⁡(3x2+1)⋅6x=6xcos⁡(3x2+1)f'(x) = \cos(3x^2 + 1) \cdot 6x = 6x \cos(3x^2 + 1)

Example 3: Product rule with trig

f(x)=x2tan⁡(x)f(x) = x^2 \tan(x)

f′(x)=x2⋅sec⁡2(x)+tan⁡(x)⋅2x=x2sec⁡2(x)+2xtan⁡(x)f'(x) = x^2 \cdot \sec^2(x) + \tan(x) \cdot 2x = x^2 \sec^2(x) + 2x \tan(x)

Example 4: Quotient with trig

f(x)=sin⁡(x)xf(x) = \frac{\sin(x)}{x}

f′(x)=x⋅cos⁡(x)−sin⁡(x)⋅1x2=xcos⁡(x)−sin⁡(x)x2f'(x) = \frac{x \cdot \cos(x) - \sin(x) \cdot 1}{x^2} = \frac{x \cos(x) - \sin(x)}{x^2}

Example 5: Nested trig functions

f(x)=cos⁡(sin⁡(x))f(x) = \cos(\sin(x))

f′(x)=−sin⁡(sin⁡(x))⋅cos⁡(x)f'(x) = -\sin(\sin(x)) \cdot \cos(x)

Example 6: sec and tan

f(x)=sec⁡(2x)tan⁡(2x)f(x) = \sec(2x) \tan(2x)

f′(x)=sec⁡(2x)⋅sec⁡2(2x)⋅2+tan⁡(2x)⋅sec⁡(2x)tan⁡(2x)⋅2f'(x) = \sec(2x) \cdot \sec^2(2x) \cdot 2 + \tan(2x) \cdot \sec(2x)\tan(2x) \cdot 2

=2sec⁡3(2x)+2sec⁡(2x)tan⁡2(2x)= 2\sec^3(2x) + 2\sec(2x)\tan^2(2x)

=2sec⁡(2x)[sec⁡2(2x)+tan⁡2(2x)]= 2\sec(2x)[\sec^2(2x) + \tan^2(2x)]