A Swing With No Ending
Galileo timed a chandelier swinging during mass in 1583 and noticed something odd — the swing took the same time whether the arc was wide or narrow. That observation became calculus's first physical example of position $\to$ velocity $\to$ acceleration under sine and cosine. The reason the derivative of $\sin x$ is $\cos x$ isn't a notation trick. It's that velocity always sits one quarter-period ahead of position in any oscillating system.
What Is Differentiation of Trigonometric Functions?
Differentiation of trigonometric functions is the process of finding the derivative — the instantaneous rate of change — of $\sin x$, $\cos x$, $\tan x$, and their reciprocal partners. The derivatives come in clean pairs: each function's derivative is closely related to another trig function (or its negative). All six rules are proved from two foundational limits and the quotient rule.
The Six Derivative Rules
Function | Derivative |
|---|---|
$\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$ |
Pattern to lock in. Every "co-" function (cosine, cotangent, cosecant) has a negative sign in its derivative. The three "non-co" functions don't. That single rule recovers half the table on exam day if memory fails.
These rules assume $x$ is measured in radians. If $x$ is in degrees, every derivative picks up a factor of $\pi/180$ — which is why no calculus textbook works in degrees. We come back to this in the mistakes section.
Proof From First Principles — Derivative of $\sin x$
Starting from the limit definition:
$$\frac{d}{dx}\sin x = \lim_{h \to 0} \frac{\sin(x+h) - \sin x}{h}$$
Apply the sum identity $\sin(x+h) = \sin x \cos h + \cos x \sin h$:
$$= \lim_{h \to 0} \frac{\sin x \cos h + \cos x \sin h - \sin x}{h}$$
$$= \lim_{h \to 0} \left[\sin x \cdot \frac{\cos h - 1}{h} + \cos x \cdot \frac{\sin h}{h}\right]$$
Two foundational limits do the rest:
$$\lim_{h \to 0} \frac{\sin h}{h} = 1, \qquad \lim_{h \to 0} \frac{\cos h - 1}{h} = 0$$
So:
$$\frac{d}{dx}\sin x = \sin x \cdot 0 + \cos x \cdot 1 = \cos x$$
The proof for $\cos x$ is mechanically identical with $\cos(x+h)$ in place of $\sin(x+h)$. The other four derivatives — tan, cot, sec, csc — follow by writing each as a sine/cosine quotient and applying the quotient rule.
Quick derivation of $\tan x$
$$\frac{d}{dx}\tan x = \frac{d}{dx}!\left(\frac{\sin x}{\cos x}\right) = \frac{\cos x \cdot \cos x - \sin x \cdot (-\sin x)}{\cos^2 x} = \frac{\cos^2 x + \sin^2 x}{\cos^2 x} = \frac{1}{\cos^2 x} = \sec^2 x$$
The numerator collapses by the Pythagorean identity $\sin^2 x + \cos^2 x = 1$. That's why the trig derivatives are so tidy — Pythagoras is doing background work the whole time.
The Chain Rule for Trigonometric Functions
When the argument is a function $u(x)$, each derivative picks up $u'(x)$:
$$\frac{d}{dx}\sin(u) = \cos(u) \cdot u' \qquad \frac{d}{dx}\cos(u) = -\sin(u) \cdot u'$$
$$\frac{d}{dx}\tan(u) = \sec^2(u) \cdot u' \qquad \frac{d}{dx}\sec(u) = \sec(u)\tan(u) \cdot u'$$
The chain rule is where most exam mistakes happen — and it's also where most of the action is. Almost every physics or engineering derivative involves $\sin(\omega t)$ or $\cos(\omega t)$ — the chain rule pulls the angular-frequency $\omega$ out front.
Three Worked Examples — Quick, Standard, Stretch
Quick
Differentiate $f(x) = 3\sin x + 2\cos x$.
By linearity:
$$f'(x) = 3\cos x + 2 \cdot (-\sin x) = 3\cos x - 2\sin x$$
Done in one line. The negative sign on cosine is the only thing to watch.
Where Students Lose the Mark — A Worked Standard Example
Differentiate $g(x) = \sin(3x^2)$.
The wrong path. A student writes:
$$g'(x) = \cos(3x^2) \quad \text{❌}$$
They've remembered "the derivative of sine is cosine" and stopped there. The argument $3x^2$ wasn't $x$, so the chain rule applies — but it got skipped.
Sanity check. At $x = 0$, this answer gives $g'(0) = \cos(0) = 1$. But $g(x) = \sin(3x^2)$ is even (symmetric about $y$-axis) — its derivative must be odd, and an odd function must satisfy $g'(0) = 0$. The answer $1$ contradicts that. Something's missing.
The correct path. Apply the chain rule. Let $u = 3x^2$, so $u' = 6x$:
$$g'(x) = \cos(3x^2) \cdot \frac{d}{dx}(3x^2) = 6x \cos(3x^2)$$
Now $g'(0) = 0$, which matches the symmetry. In a recent Grade 11 cohort I sat with, about half the room dropped the chain factor on this problem the first time — the most common single mistake on the entire chapter test.
Stretch
A particle's position at time $t$ seconds is $s(t) = 4\sin(2\pi t / 5)$ metres. Find its velocity and the maximum speed.
Velocity is $s'(t)$. With $u = 2\pi t / 5$, $u' = 2\pi/5$:
$$v(t) = 4 \cdot \cos!\left(\frac{2\pi t}{5}\right) \cdot \frac{2\pi}{5} = \frac{8\pi}{5}\cos!\left(\frac{2\pi t}{5}\right)$$
Maximum speed is the amplitude of the cosine — the term in front:
$$v_{\max} = \frac{8\pi}{5} \approx 5.03 \text{ m/s}$$
The particle moves fastest when crossing the equilibrium point ($s = 0$), and stops momentarily at the extremes ($s = \pm 4$ m). Same pattern Galileo watched in his chandelier.
Where These Derivatives Show Up in the Real World
The trig derivatives aren't just calculus furniture — they're how every oscillating system in physics gets analysed.
Simple harmonic motion. Springs, pendulums, and tuning forks all satisfy $s'' = -\omega^2 s$ — and the only functions that solve that equation are $\sin(\omega t)$ and $\cos(\omega t)$. The reason the Tacoma Narrows Bridge collapsed in 1940 was that wind-induced vibrations matched the bridge's natural frequency — a calamity diagnosed afterward using exactly these derivatives.
AC electrical circuits. Voltage in your wall outlet is $V(t) = V_0 \sin(2\pi \cdot 60, t)$ (in the US, McKinney TX included). Current through a capacitor is the derivative of voltage — a cosine wave. That phase shift of $90°$ between voltage and current is just $\frac{d}{dt}\sin = \cos$.
Sound and music. Every musical note is a superposition of sine waves. The derivative — the rate at which air pressure changes — is what your eardrum actually senses.
Robotics and animation. When an animated character bobs up and down, the animator usually scripts position as a sine wave; the velocity (used for momentum-based blending) is the cosine derivative.
Tripping Points to Avoid
Four mistakes account for nearly every lost mark on this topic.
Mistake 1: Forgetting the negative sign on the "co-" derivatives
Where it slips in: Anywhere $\cos$, $\cot$, or $\csc$ appears in a longer expression.
Don't do this: Writing $\frac{d}{dx}\cos(3x) = \sin(3x) \cdot 3 = 3\sin(3x)$. The negative is missing.
The correct way: $\frac{d}{dx}\cos(3x) = -\sin(3x) \cdot 3 = -3\sin(3x)$. The "co-" memory rule above is built for exactly this slip. The memoriser archetype gets caught here most often — they remember the derivative exists but forget which one carries the sign.
Mistake 2: Skipping the chain rule when the argument isn't $x$
Where it slips in: Composite arguments like $\sin(3x^2)$, $\cos(x^3)$, $\tan(\ln x)$ — exactly the Standard example above.
Don't do this: Writing $\frac{d}{dx}\sin(3x^2) = \cos(3x^2)$ and walking away.
The correct way: Identify $u = 3x^2$, find $u' = 6x$, then multiply: $6x \cos(3x^2)$. The rusher's classic mistake — they remember the rule for $\sin x$ and apply it without checking what's inside the parentheses.
Mistake 3: Working in degrees instead of radians
Where it slips in: Calculator-heavy problems where the student forgets to switch the mode.
Don't do this: Computing $\frac{d}{dx}\sin x$ at $x = 30$ with the calculator in degree mode and getting $\cos(30°) = 0.866$ — looks fine, but it's wrong if the problem assumed radians.
The correct way: Calculus formulas assume radians always. If a problem genuinely needs degrees, $\frac{d}{dx}\sin(x°) = \frac{\pi}{180}\cos(x°)$ — the conversion factor lives forever. This is the silent understander's mistake: they know the math but trust the calculator's last setting.
Mistake 4: Confusing the derivative of $\sec x$ with $\sec^2 x$
Where it slips in: Tangent and secant problems mixing up which one yields which derivative.
Don't do this: Writing $\frac{d}{dx}\sec x = \sec^2 x$.
The correct way: $\frac{d}{dx}\tan x = \sec^2 x$, and $\frac{d}{dx}\sec x = \sec x \tan x$. They look similar; they aren't the same. The real-world cost: in the 1996 Ariane 5 maiden flight, a sign and conversion error in a control routine sent a rocket into a fireball 37 seconds after launch — a different mistake on paper, but the same family (units and identity confusion in a derivative-driven control system).
Key Takeaways
The differentiation of trigonometric functions rests on $\frac{d}{dx}\sin x = \cos x$ and $\frac{d}{dx}\cos x = -\sin x$ — everything else is the quotient rule.
"Co-" functions (cos, cot, csc) get a negative sign; the other three don't.
The chain rule isn't optional when the argument is anything other than $x$ alone.
All rules assume radians — degrees introduce a $\pi/180$ factor that's silently lost on calculators.
The Pythagorean identity does background work in every quotient-rule simplification.
Try It Yourself — Three Problems
Differentiate the following without looking back at the table:
$f(x) = \cos(5x)$
$g(x) = \tan(x^2 + 1)$
$h(x) = x \sin x$ (this one needs the product rule on top of the trig derivative)
If you got the first two but stumbled on the third, that's the product-rule chapter, not this one. If you missed the negative sign in problem 1, re-read the "co- rule" above.
Want your child to lock in calculus fundamentals — trig derivatives, chain rule, integration — through a live trainer who walks through wrong paths first? Try a free Bhanzu class — our trainers in McKinney, TX and worldwide use the proof-first approach shown in the Standard example here.
Was this article helpful?
Your feedback helps us write better content