3.4 Derivatives of Trigonometric Functions

Key Takeaways

  • The six trigonometric derivatives are: d/dx[sin x] = cos x, d/dx[cos x] = -sin x, d/dx[tan x] = sec^2 x, d/dx[csc x] = -csc x cot x, d/dx[sec x] = sec x tan x, and d/dx[cot x] = -csc^2 x.

  • The 'Co-Rule' mnemonic: The derivative of every trigonometric function starting with 'co-' (cosine, cosecant, cotangent) contains a negative sign.

  • The derivative of sin x is derived from the fundamental geometric limits lim_{θ -> 0} (sin θ)/θ = 1 and lim_{θ -> 0} (cos θ - 1)/θ = 0.

  • Higher-order derivatives of sine and cosine are periodic with period 4: f^(n+4)(x) = f^(n)(x).

  • All calculus formulas for trigonometric functions require angle inputs to be measured in radians; differentiation formulas fail in degrees.

Last updated: August 2026

3.4 Derivatives of Trigonometric Functions

Quick Answer: The fundamental trigonometric derivatives are ddx[sin⁡x]=cos⁡x\frac{d}{dx}[\sin x] = \cos x and ddx[cos⁡x]=−sin⁡x\frac{d}{dx}[\cos x] = -\sin x. By applying the Quotient Rule, the remaining four derivatives are ddx[tan⁡x]=sec⁡2x\frac{d}{dx}[\tan x] = \sec^2 x, ddx[cot⁡x]=−csc⁡2x\frac{d}{dx}[\cot x] = -\csc^2 x, ddx[sec⁡x]=sec⁡xtan⁡x\frac{d}{dx}[\sec x] = \sec x \tan x, and ddx[csc⁡x]=−csc⁡xcot⁡x\frac{d}{dx}[\csc x] = -\csc x \cot x. All "co-" functions produce negative derivatives. Trigonometric calculus requires angle arguments to be in radians.


1. The Six Standard Trigonometric Derivatives

You must memorize the exact derivatives of all six trigonometric functions for the CLEP exam:

Function f(x)f(x)Derivative f′(x)f'(x)Domain RestrictionsKey Trigonometric Identity Link
sin⁡x\sin xcos⁡x\cos xAll real xxsin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1
cos⁡x\cos x−sin⁡x-\sin xAll real xxcos⁡(−x)=cos⁡x\cos(-x) = \cos x
tan⁡x\tan xsec⁡2x\sec^2 xx≠π2+kπx \neq \frac{\pi}{2} + k\pi1+tan⁡2x=sec⁡2x1 + \tan^2 x = \sec^2 x
csc⁡x\csc x−csc⁡xcot⁡x-\csc x \cot xx≠kπx \neq k\picsc⁡x=1sin⁡x\csc x = \frac{1}{\sin x}
sec⁡x\sec xsec⁡xtan⁡x\sec x \tan xx≠π2+kπx \neq \frac{\pi}{2} + k\pisec⁡x=1cos⁡x\sec x = \frac{1}{\cos x}
cot⁡x\cot x−csc⁡2x-\csc^2 xx≠kπx \neq k\pi1+cot⁡2x=csc⁡2x1 + \cot^2 x = \csc^2 x

2. Structural Patterns and Memory Mnemonics

Three structural patterns simplify memorization of these six formulas:

  1. The "Co-" Sign Rule: Every trigonometric function beginning with "co-" (cos⁡x\cos x, csc⁡x\csc x, cot⁡x\cot x) has a derivative that starts with a negative sign: ddx[cos⁡x]=−sin⁡x,ddx[csc⁡x]=−csc⁡xcot⁡x,ddx[cot⁡x]=−csc⁡2x\frac{d}{dx}[\cos x] = -\sin x, \quad \frac{d}{dx}[\csc x] = -\csc x \cot x, \quad \frac{d}{dx}[\cot x] = -\csc^2 x
  2. The Squared Tangent/Cotangent Pattern: Tangent and cotangent differentiate into squared reciprocal partners: tan⁡x⟶sec⁡2x,cot⁡x⟶−csc⁡2x\tan x \longrightarrow \sec^2 x, \qquad \cot x \longrightarrow -\csc^2 x
  3. The Product Secant/Cosecant Pattern: Secant and cosecant differentiate into a product of themselves and their natural partner: sec⁡x⟶sec⁡xtan⁡x,csc⁡x⟶−csc⁡xcot⁡x\sec x \longrightarrow \sec x \tan x, \qquad \csc x \longrightarrow -\csc x \cot x

3. Formal Proofs and Foundations

Proof of ddx[sin⁡x]=cos⁡x\frac{d}{dx}[\sin x] = \cos x Using the Limit Definition

Recall the two special trigonometric limits:

lim⁡θ→0sin⁡θθ=1andlim⁡θ→0cos⁡θ−1θ=0\lim_{\theta \to 0} \frac{\sin \theta}{\theta} = 1 \quad \text{and} \quad \lim_{\theta \to 0} \frac{\cos \theta - 1}{\theta} = 0

Applying the difference quotient limit definition:

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

Using the angle sum identity sin⁡(x+h)=sin⁡xcos⁡h+cos⁡xsin⁡h\sin(x+h) = \sin x \cos h + \cos x \sin h:

ddx[sin⁡x]=lim⁡h→0sin⁡xcos⁡h+cos⁡xsin⁡h−sin⁡xh\frac{d}{dx}[\sin x] = \lim_{h \to 0} \frac{\sin x \cos h + \cos x \sin h - \sin x}{h}

Grouping terms containing sin⁡x\sin x:

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

Evaluating the limits:

ddx[sin⁡x]=sin⁡x⋅(0)+cos⁡x⋅(1)=cos⁡x■\frac{d}{dx}[\sin x] = \sin x \cdot (0) + \cos x \cdot (1) = \cos x \quad \blacksquare

Derivation of ddx[tan⁡x]=sec⁡2x\frac{d}{dx}[\tan x] = \sec^2 x via the Quotient Rule

Express tan⁡x=sin⁡xcos⁡x\tan x = \frac{\sin x}{\cos x} and apply the Quotient Rule:

ddx[tan⁡x]=ddx[sin⁡xcos⁡x]=(cos⁡x)(cos⁡x)−(sin⁡x)(−sin⁡x)cos⁡2x\frac{d}{dx}[\tan x] = \frac{d}{dx}\left[\frac{\sin x}{\cos x}\right] = \frac{(\cos x)(\cos x) - (\sin x)(-\sin x)}{\cos^2 x} ddx[tan⁡x]=cos⁡2x+sin⁡2xcos⁡2x\frac{d}{dx}[\tan x] = \frac{\cos^2 x + \sin^2 x}{\cos^2 x}

Using the Pythagorean identity cos⁡2x+sin⁡2x=1\cos^2 x + \sin^2 x = 1:

ddx[tan⁡x]=1cos⁡2x=sec⁡2x■\frac{d}{dx}[\tan x] = \frac{1}{\cos^2 x} = \sec^2 x \quad \blacksquare

Derivation of ddx[sec⁡x]=sec⁡xtan⁡x\frac{d}{dx}[\sec x] = \sec x \tan x via the Quotient Rule

Express sec⁡x=1cos⁡x\sec x = \frac{1}{\cos x}:

ddx[sec⁡x]=ddx[1cos⁡x]=(0)(cos⁡x)−(1)(−sin⁡x)cos⁡2x=sin⁡xcos⁡2x=1cos⁡x⋅sin⁡xcos⁡x=sec⁡xtan⁡x■\frac{d}{dx}[\sec x] = \frac{d}{dx}\left[\frac{1}{\cos x}\right] = \frac{(0)(\cos x) - (1)(-\sin x)}{\cos^2 x} = \frac{\sin x}{\cos^2 x} = \frac{1}{\cos x} \cdot \frac{\sin x}{\cos x} = \sec x \tan x \quad \blacksquare

4. Higher-Order Derivatives of Sine and Cosine (Periodicity Mod 4)

Successive derivatives of sin⁡x\sin x and cos⁡x\cos x form repeating 4-step cycles:

               Periodic Cycle of Derivatives for f(x) = sin x

                         f(x) = sin x
                             ▲  │
       f'''(x) = -cos x      │  │      f'(x) = cos x
             (d/dx)          │  │         (d/dx)
                             │  ▼
                        f''(x) = -sin x
Order nnDerivative of sin⁡x\sin x: f(n)(x)f^{(n)}(x)Derivative of cos⁡x\cos x: g(n)(x)g^{(n)}(x)Remainder n(mod4)n \pmod 4
00sin⁡x\sin xcos⁡x\cos x00
11cos⁡x\cos x−sin⁡x-\sin x11
22−sin⁡x-\sin x−cos⁡x-\cos x22
33−cos⁡x-\cos xsin⁡x\sin x33
44sin⁡x\sin xcos⁡x\cos x00 (Cycle repeats)

Formula for the nn-th Derivative: To find the nn-th derivative of sin⁡x\sin x or cos⁡x\cos x, divide nn by 44 and find the remainder r=n(mod4)r = n \pmod 4. The nn-th derivative matches the rr-th derivative.

Example: Finding the 103rd Derivative of f(x)=sin⁡xf(x) = \sin x

  1. Divide 103103 by 44: 103=4×25+3103 = 4 \times 25 + 3. The remainder is r=3r = 3.
  2. f(103)(x)=f(3)(x)=−cos⁡xf^{(103)}(x) = f^{(3)}(x) = -\cos x.

5. Radian Mode Requirement in Calculus

All formulas in calculus involving trigonometric functions are valid only when angles are measured in radians.

Why Radians are Mandatory

The fundamental limit lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = 1 relies directly on the geometric definition of radian arc length (s=rθs = r\theta). If xx is measured in degrees:

lim⁡x→0sin⁡x∘x=π180≈0.017453\lim_{x \to 0} \frac{\sin x^\circ}{x} = \frac{\pi}{180} \approx 0.017453

Consequently, the derivative in degrees would be ddx[sin⁡x∘]=π180cos⁡x∘\frac{d}{dx}[\sin x^\circ] = \frac{\pi}{180}\cos x^\circ. The clean formula ddx[sin⁡x]=cos⁡x\frac{d}{dx}[\sin x] = \cos x exists solely because radians are the natural unit of angular measure.

CLEP Calculator Strategy: For Section 2 of the CLEP Calculus exam (where the TI-84 Plus CE is enabled), verify that your calculator is permanently set to RADIAN MODE. Evaluating trigonometric values in Degree mode will cause errors on numerical and graphing problems.


6. Step-by-Step Worked Examples

Example 1: Combining Trigonometric Rules with the Product Rule

Find f′(x)f'(x) for f(x)=x3tan⁡xf(x) = x^3 \tan x.

  • Using the Product Rule with u=x3u = x^3 and v=tan⁡xv = \tan x: u′=3x2,v′=sec⁡2xu' = 3x^2, \quad v' = \sec^2 x f′(x)=u′v+uv′=3x2tan⁡x+x3sec⁡2x=x2(3tan⁡x+xsec⁡2x)f'(x) = u'v + uv' = 3x^2 \tan x + x^3 \sec^2 x = x^2(3\tan x + x\sec^2 x)

Example 2: Combining Trigonometric Rules with the Quotient Rule

Find the slope of the tangent line to y=cos⁡x1−sin⁡xy = \frac{\cos x}{1 - \sin x} at x=0x = 0.

  1. Apply the Quotient Rule: y′=(−sin⁡x)(1−sin⁡x)−(cos⁡x)(−cos⁡x)(1−sin⁡x)2y' = \frac{(-\sin x)(1 - \sin x) - (\cos x)(-\cos x)}{(1 - \sin x)^2}
  2. Simplify the numerator: y′=−sin⁡x+sin⁡2x+cos⁡2x(1−sin⁡x)2y' = \frac{-\sin x + \sin^2 x + \cos^2 x}{(1 - \sin x)^2} Since sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1: y′=1−sin⁡x(1−sin⁡x)2=11−sin⁡xy' = \frac{1 - \sin x}{(1 - \sin x)^2} = \frac{1}{1 - \sin x}
  3. Evaluate at x=0x = 0: y′(0)=11−sin⁡0=11−0=1y'(0) = \frac{1}{1 - \sin 0} = \frac{1}{1 - 0} = 1

Example 3: Tangent Line Equation to a Secant Curve

Find the equation of the line tangent to y=2sec⁡xy = 2\sec x at x=π4x = \frac{\pi}{4}.

  1. Find the yy-coordinate: y(π4)=2sec⁡(π4)=2(2)=22y\left(\frac{\pi}{4}\right) = 2\sec\left(\frac{\pi}{4}\right) = 2(\sqrt{2}) = 2\sqrt{2}. Point is (π4,22)\left(\frac{\pi}{4}, 2\sqrt{2}\right).
  2. Find the derivative: y′=2sec⁡xtan⁡xy' = 2\sec x \tan x.
  3. Evaluate the slope at x=π4x = \frac{\pi}{4}: m=y′(π4)=2sec⁡(π4)tan⁡(π4)=2(2)(1)=22m = y'\left(\frac{\pi}{4}\right) = 2\sec\left(\frac{\pi}{4}\right)\tan\left(\frac{\pi}{4}\right) = 2(\sqrt{2})(1) = 2\sqrt{2}
  4. Write the tangent line equation: y−22=22(x−π4)  ⟹  y=22x−2π2+22y - 2\sqrt{2} = 2\sqrt{2}\left(x - \frac{\pi}{4}\right) \implies y = 2\sqrt{2}x - \frac{\sqrt{2}\pi}{2} + 2\sqrt{2}

7. CLEP Pitfalls and Strategies

  • Pitfall 1: Sign confusion between derivatives and antiderivatives. Remember ddx[sin⁡x]=+cos⁡x\frac{d}{dx}[\sin x] = +\cos x and ddx[cos⁡x]=−sin⁡x\frac{d}{dx}[\cos x] = -\sin x. Many students swap these signs by confusing differentiation with integration.
  • Pitfall 2: Neglecting the Co-Rule. Always check that every derivative of cos⁡x\cos x, csc⁡x\csc x, and cot⁡x\cot x has an explicit leading minus sign.
  • Pitfall 3: Not factoring Pythagorean identities. Expressions like sin⁡2x+cos⁡2x\sin^2 x + \cos^2 x or sec⁡2x−tan⁡2x\sec^2 x - \tan^2 x appear repeatedly in quotient rule simplifications. Always replace them with 11 to match multiple-choice options.
Test Your Knowledge

What is the derivative of the function f(x) = x^2 cos x - 2x sin x?

A

-x^2 sin x

B

2x cos x - 2 sin x

C

x^2 sin x - 2x cos x

D

-x^2 sin x - 2 sin x

Test Your Knowledge

What is the 75th derivative of f(x) = sin x, denoted f^(75)(x)?

A

-cos x

B

cos x

C

-sin x

D

sin x

Test Your Knowledge

What is the slope of the line tangent to the graph of f(x) = sin x / (1 + cos x) at x = π/3?

A

1/3

B

2/3

C

1

D

sqrt(3)

Test Your Knowledge

What is the derivative of g(x) = cot x csc x?

A

-csc^3 x

B

-cot^2 x csc x

C

-csc x (csc^2 x + cot^2 x)

D

csc^3 x - cot^2 x csc x

Sections you finish are checked off in the contents.