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[sinx]=cosx\frac{d}{dx}[\sin x] = \cos x and ddx[cosx]=sinx\frac{d}{dx}[\cos x] = -\sin x. By applying the Quotient Rule, the remaining four derivatives are ddx[tanx]=sec2x\frac{d}{dx}[\tan x] = \sec^2 x, ddx[cotx]=csc2x\frac{d}{dx}[\cot x] = -\csc^2 x, ddx[secx]=secxtanx\frac{d}{dx}[\sec x] = \sec x \tan x, and ddx[cscx]=cscxcotx\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)$Derivative $f'(x)$Domain RestrictionsKey Trigonometric Identity Link
$\sin x$$\cos x$All real $x$$\sin^2 x + \cos^2 x = 1$
$\cos x$$-\sin x$All real $x$$\cos(-x) = \cos x$
$\tan x$$\sec^2 x$$x \neq \frac{\pi}{2} + k\pi$$1 + \tan^2 x = \sec^2 x$
$\csc x$$-\csc x \cot x$$x \neq k\pi$$\csc x = \frac{1}{\sin x}$
$\sec x$$\sec x \tan x$$x \neq \frac{\pi}{2} + k\pi$$\sec x = \frac{1}{\cos x}$
$\cot x$$-\csc^2 x$$x \neq k\pi$$1 + \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$, $\csc x$, $\cot x$) has a derivative that starts with a negative sign: ddx[cosx]=sinx,ddx[cscx]=cscxcotx,ddx[cotx]=csc2x\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: tanxsec2x,cotxcsc2x\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: secxsecxtanx,cscxcscxcotx\sec x \longrightarrow \sec x \tan x, \qquad \csc x \longrightarrow -\csc x \cot x

3. Formal Proofs and Foundations

Proof of $\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[sinx]=limh0sin(x+h)sinxh\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 x \cos h + \cos x \sin h$: ddx[sinx]=limh0sinxcosh+cosxsinhsinxh\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$: ddx[sinx]=limh0[sinx(cosh1h)+cosx(sinhh)]\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[sinx]=sinx(0)+cosx(1)=cosx\frac{d}{dx}[\sin x] = \sin x \cdot (0) + \cos x \cdot (1) = \cos x \quad \blacksquare

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

Express $\tan x = \frac{\sin x}{\cos x}$ and apply the Quotient Rule: ddx[tanx]=ddx[sinxcosx]=(cosx)(cosx)(sinx)(sinx)cos2x\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[tanx]=cos2x+sin2xcos2x\frac{d}{dx}[\tan x] = \frac{\cos^2 x + \sin^2 x}{\cos^2 x} Using the Pythagorean identity $\cos^2 x + \sin^2 x = 1$: ddx[tanx]=1cos2x=sec2x\frac{d}{dx}[\tan x] = \frac{1}{\cos^2 x} = \sec^2 x \quad \blacksquare

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

Express $\sec x = \frac{1}{\cos x}$: ddx[secx]=ddx[1cosx]=(0)(cosx)(1)(sinx)cos2x=sinxcos2x=1cosxsinxcosx=secxtanx\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$ and $\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 $n$Derivative of $\sin x$: $f^{(n)}(x)$Derivative of $\cos x$: $g^{(n)}(x)$Remainder $n \pmod 4$
$0$$\sin x$$\cos x$$0$
$1$$\cos x$$-\sin x$$1$
$2$$-\sin x$$-\cos x$$2$
$3$$-\cos x$$\sin x$$3$
$4$$\sin x$$\cos x$$0$ (Cycle repeats)

Formula for the $n$-th Derivative: To find the $n$-th derivative of $\sin x$ or $\cos x$, divide $n$ by $4$ and find the remainder $r = n \pmod 4$. The $n$-th derivative matches the $r$-th derivative.

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

  1. Divide $103$ by $4$: $103 = 4 \times 25 + 3$. The remainder is $r = 3$.
  2. $f^{(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 \to 0} \frac{\sin x}{x} = 1$ relies directly on the geometric definition of radian arc length ($s = r\theta$). If $x$ is measured in degrees:

limx0sinxx=π1800.017453\lim_{x \to 0} \frac{\sin x^\circ}{x} = \frac{\pi}{180} \approx 0.017453

Consequently, the derivative in degrees would be $\frac{d}{dx}[\sin x^\circ] = \frac{\pi}{180}\cos x^\circ$. The clean formula $\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)$ for $f(x) = x^3 \tan x$.

  • Using the Product Rule with $u = x^3$ and $v = \tan x$: u=3x2,v=sec2xu' = 3x^2, \quad v' = \sec^2 x f(x)=uv+uv=3x2tanx+x3sec2x=x2(3tanx+xsec2x)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 = \frac{\cos x}{1 - \sin x}$ at $x = 0$.

  1. Apply the Quotient Rule: y=(sinx)(1sinx)(cosx)(cosx)(1sinx)2y' = \frac{(-\sin x)(1 - \sin x) - (\cos x)(-\cos x)}{(1 - \sin x)^2}
  2. Simplify the numerator: y=sinx+sin2x+cos2x(1sinx)2y' = \frac{-\sin x + \sin^2 x + \cos^2 x}{(1 - \sin x)^2} Since $\sin^2 x + \cos^2 x = 1$: y=1sinx(1sinx)2=11sinxy' = \frac{1 - \sin x}{(1 - \sin x)^2} = \frac{1}{1 - \sin x}
  3. Evaluate at $x = 0$: y(0)=11sin0=110=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 = 2\sec x$ at $x = \frac{\pi}{4}$.

  1. Find the $y$-coordinate: $y\left(\frac{\pi}{4}\right) = 2\sec\left(\frac{\pi}{4}\right) = 2(\sqrt{2}) = 2\sqrt{2}$. Point is $\left(\frac{\pi}{4}, 2\sqrt{2}\right)$.
  2. Find the derivative: $y' = 2\sec x \tan x$.
  3. Evaluate the slope at $x = \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: y22=22(xπ4)    y=22x2π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 $\frac{d}{dx}[\sin x] = +\cos x$ and $\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$, $\csc x$, and $\cot x$ has an explicit leading minus sign.
  • Pitfall 3: Not factoring Pythagorean identities. Expressions like $\sin^2 x + \cos^2 x$ or $\sec^2 x - \tan^2 x$ appear repeatedly in quotient rule simplifications. Always replace them with $1$ 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
B
C
D
Test Your Knowledge

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

A
B
C
D
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
B
C
D
Test Your Knowledge

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

A
B
C
D