Derivatives of \(\tan\)
& Other Trig
Master the derivatives of tangent, cotangent, secant, and cosecant: the rules, the proofs, and the patterns that tie them together.
Why These Derivatives Matter
You already know \(\frac{d}{dx}[\sin x] = \cos x\) and \(\frac{d}{dx}[\cos x] = -\sin x\). But real-world models, from pendulum motion to signal processing, often involve \(\tan x\), \(\sec x\), \(\csc x\), and \(\cot x\). To differentiate expressions containing them, you need their derivative formulas.
Quick Recap: Quotient Rule
Since \(\tan x = \frac{\sin x}{\cos x}\), the quotient rule is the key tool. For any functions \(u\) and \(v\):
We will apply this rule to each of the four remaining trig functions, using only the known derivatives of \(\sin x\) and \(\cos x\).
The Six Trig Functions
Deriving \(\frac{d}{dx}[\,\)\(\tan x\)\(\,]\)
The Other Three Formulas
Using the same quotient rule technique on the remaining functions gives:
The Sign-Flip Pattern
Notice that the "co-" partner always introduces a negative sign. This is the single most useful memorization trick:
| Function | Derivative | Co-partner Derivative |
|---|---|---|
| \(\tan x\) | \(+\sec^2 x\) | \(-\csc^2 x\) for \(\cot x\) |
| \(\sec x\) | \(+\sec x\tan x\) | \(-\csc x\cot x\) for \(\csc x\) |
| \(\sin x\) | \(+\cos x\) | \(-\sin x\) for \(\cos x\) |
Visualizing \(\tan x\) and \(\sec^2 x\)
How to Apply These Rules
Example 1: Basic Derivative
Find \(\frac{d}{dx}[3\tan x + 5\sec x]\).
Example 2: Chain Rule
Find \(\frac{d}{dx}[\tan(3x^2)]\).
Example 3: Product Rule
Find \(\frac{d}{dx}[x^2 \csc x]\).
Example 4: Combining Rules
Find \(\frac{d}{dx}\!\left[\frac{\sec x}{x}\right]\).
Common Mistakes
Complete Derivative Table
| \(f(x)\) | \(f'(x)\) |
|---|---|
| \(\sin x\) | \(\cos x\) |
| \(\cos x\) | \(-\sin x\) |
| \(\tan x\) | \(\sec^2 x\) |
| \(\cot x\) | \(-\csc^2 x\) |
| \(\sec x\) | \(\sec x \tan x\) |
| \(\csc x\) | \(-\csc x \cot x\) |
Question 1 of 5
What is \(\frac{d}{dx}[\tan x]\)?
Question 2 of 5
What is \(\frac{d}{dx}[\csc x]\)?
Question 3 of 5
Find \(\frac{d}{dx}[\tan(4x)]\).
Question 4 of 5
Find \(\frac{d}{dx}[x \cdot \sec x]\).
Question 5 of 5
Which statement about the sign-flip pattern is correct?