Differentiation of Trigonometric Functions
The sine curve's slope traces out the cosine wave exactly — a beautiful geometric fact that becomes a powerful differentiation rule. Once you know $\frac{d}{dx}\sin x = \cos x$, the chain rule extends that to any trig function of any expression. Rates of change in oscillating systems — pendulums, waves, tides — all flow from these three rules.
The graph of $\sin x$ is a smooth wave. At $x = 0$ it crosses zero and rises steeply. At $x = \tfrac{\pi}{2}$ it hits a peak and levels off. At $x = \pi$ it crosses zero again, falling steeply.
Without using any formula — sketch both $y = \sin x$ and its gradient function on the same axes and name the gradient function. What do you notice?
Three trig derivatives — everything else in this lesson is an application of these combined with the chain rule you already know.
CRITICAL: all results assume $x$ is in radians. Using degrees gives wrong answers. Every HSC trig differentiation question uses radian measure.
Memory cycle: sin differentiates to cos (stay positive), cos differentiates to -sin (go negative), -sin differentiates to -cos, and -cos back to sin. A four-step cycle.
Key facts
- $\dfrac{d}{dx}\sin x = \cos x$ and $\dfrac{d}{dx}\cos x = -\sin x$ (from graph inspection)
- $\dfrac{d}{dx}\tan x = \sec^2 x$ (derived via quotient rule on $\frac{\sin x}{\cos x}$)
- All trig derivatives assume $x$ in radians
Concepts
- Why the slope of $\sin x$ traces out $\cos x$ geometrically
- How the chain rule extends all three rules to composite functions
- Why $\sec^2 x \geq 1$ implies $\tan x$ never has a stationary point on its domain
Skills
- Derive and state derivatives of $\sin x$, $\cos x$ and $\tan x$
- Apply chain rule to $\sin(f(x))$, $\cos(f(x))$, $\tan(f(x))$
- Solve tangent, normal, rate-of-change and stationary-point problems with trig functions
Before any formula, the derivative of $\sin x$ can be read directly from the curve. The slope of $y = \sin x$ is exactly what $y = \cos x$ describes at each point.
Reading the slope of $y = \sin x$:
- At $x = 0$: the sine curve crosses zero and is rising steeply — slope is at its maximum, +1. And $\cos(0) = 1$. Match!
- At $x = \tfrac{\pi}{2}$: the curve is at its peak — it flattens to a slope of 0. And $\cos(\tfrac{\pi}{2}) = 0$. Match!
- At $x = \pi$: the curve crosses zero and is falling steeply — slope is at its minimum, -1. And $\cos(\pi) = -1$. Match!
- At $x = \tfrac{3\pi}{2}$: the curve is at its trough — it flattens again, slope = 0. And $\cos(\tfrac{3\pi}{2}) = 0$. Match!
Reading the slope of $y = \cos x$: starts flat (slope 0 at $x=0$), then decreases (negative slope) reaching minimum at $x = \tfrac{\pi}{2}$. This matches $-\sin x$ exactly.
Radians only. These results follow from the limit definition and are verified graphically. In degrees, an extra factor of $\frac{\pi}{180}$ appears.
$\dfrac{d}{dx}\sin x = \cos x$ — read from the graph: slope of sin matches the cos curve; $\dfrac{d}{dx}\cos x = -\sin x$ — the negative sign: cos starts flat then slopes down
Pause — copy the two foundational trig derivatives $\dfrac{d}{dx}\sin x = \cos x$ and $\dfrac{d}{dx}\cos x = -\sin x$ — radians only — into your book.
Quick check: At $x = \dfrac{\pi}{2}$, the gradient of $y = \sin x$ is:
We just saw that $\dfrac{d}{dx}\sin x = \cos x$ and $\dfrac{d}{dx}\cos x = -\sin x$. That raises a question: $\tan x = \dfrac{\sin x}{\cos x}$ — so can we derive its derivative from these two results? This card answers it → applying the quotient rule to $\dfrac{\sin x}{\cos x}$, then using $\sin^2 x + \cos^2 x = 1$ to arrive at $\sec^2 x$.
Since $\tan x = \dfrac{\sin x}{\cos x}$, we can derive its derivative using the quotient rule — the same rule from earlier in this topic.
Full derivation:
Key steps: apply quotient rule with $u = \sin x$, $v = \cos x$; then use the Pythagorean identity $\cos^2 x + \sin^2 x = 1$.
- Result: $\dfrac{d}{dx}\tan x = \sec^2 x$ where $\sec x = \dfrac{1}{\cos x}$
- Domain: defined everywhere except $x = \dfrac{\pi}{2} + k\pi$ (where $\cos x = 0$)
- Sign: $\sec^2 x = \dfrac{1}{\cos^2 x} \geq 1 > 0$ always — so $\tan x$ is always increasing on its domain
- HSC tip: write $\sec^2 x$, not $\dfrac{1}{\cos^2 x}$ or $1 + \tan^2 x$ (all equivalent, but $\sec^2 x$ is the standard form)
$\dfrac{d}{dx}\tan x = \sec^2 x$ — derived via quotient rule on $\tfrac{\sin x}{\cos x}$; Proof steps: quotient rule → $\dfrac{\cos^2 x + \sin^2 x}{\cos^2 x}$ → use identity $\sin^2+\cos^2=1$ → $\dfrac{1}{\cos^2 x} = \sec^2 x$
Pause — copy the result $\dfrac{d}{dx}\tan x = \sec^2 x$ and its proof sketch (quotient rule on $\frac{\sin x}{\cos x}$, then Pythagorean identity) into your book.
True or false: Since $\sec^2 x \geq 1 > 0$ for all defined $x$, the function $y = \tan x$ has no stationary points on its domain.
We just saw the three basic trig derivatives: $\sin x \to \cos x$, $\cos x \to -\sin x$, $\tan x \to \sec^2 x$. That raises a question: what happens when the argument is $ax + b$ instead of just $x$? This card answers it → the chain rule multiplies each result by $a$, the derivative of the inner linear function.
The chain rule — differentiate the outer function, keep the inner, multiply by the inner derivative — extends all three trig rules to any composite expression. For linear inner functions $ax + b$, the pattern is clean and systematic.
Chain rule for trig: Let $u = ax + b$, so $\dfrac{du}{dx} = a$.
Pattern: derivative of outer trig function (with inner unchanged) × derivative of inner function. The $a$ multiplies out the front.
Three worked examples:
- $\dfrac{d}{dx}\sin(3x) = 3\cos(3x)$ — outer: sin → cos; inner derivative: 3
- $\dfrac{d}{dx}\cos(2x - \pi) = -2\sin(2x - \pi)$ — outer: cos → -sin; inner derivative: 2
- $\dfrac{d}{dx}\tan(5x) = 5\sec^2(5x)$ — outer: tan → sec²; inner derivative: 5
$\dfrac{d}{dx}\sin(ax+b) = a\cos(ax+b)$ — the $a$ comes from the inner derivative; $\dfrac{d}{dx}\cos(ax+b) = -a\sin(ax+b)$ — the negative is from the outer (cos → -sin), the $a$ from the inner
Pause — copy the three chain rule forms $\dfrac{d}{dx}\sin(ax+b) = a\cos(ax+b)$, $\dfrac{d}{dx}\cos(ax+b) = -a\sin(ax+b)$, $\dfrac{d}{dx}\tan(ax+b) = a\sec^2(ax+b)$ into your book.
Fill the blanks:
$\dfrac{d}{dx}\sin(4x) =$
$\dfrac{d}{dx}\cos(3x + 1) =$
$\dfrac{d}{dx}\tan(2x) =$
We just saw that for linear inner functions $ax+b$, the chain rule simply multiplies by $a$. That raises a question: what if the inner function is $x^2$, $\sqrt{x}$, or $e^x$ — where the inner derivative is no longer a constant? This card answers it → the general chain rule: $\dfrac{d}{dx}\sin(f(x)) = f'(x)\cos(f(x))$, and the same pattern for cos and tan.
When the inner function is more complex than $ax + b$ — a polynomial, an exponential, a square root — the chain rule still applies. The outer trig rule stays the same; the inner derivative just gets more interesting.
General forms:
Three examples with non-linear inner functions:
- $\dfrac{d}{dx}\sin(x^2)$: inner $u = x^2$, $u' = 2x$. Answer: $2x\cos(x^2)$
- $\dfrac{d}{dx}\cos(\sqrt{x})$: inner $u = x^{1/2}$, $u' = \dfrac{1}{2\sqrt{x}}$. Answer: $-\dfrac{\sin(\sqrt{x})}{2\sqrt{x}}$
- $\dfrac{d}{dx}\tan(e^x)$: inner $u = e^x$, $u' = e^x$. Answer: $e^x\sec^2(e^x)$
Step-by-step method:
- Identify the outer trig function (sin, cos, or tan)
- Write down the inner function $u = f(x)$ and find $u' = f'(x)$
- Write the derivative of the outer trig function (with inner unchanged)
- Multiply by $f'(x)$
$\dfrac{d}{dx}\sin(f(x)) = f'(x)\cos(f(x))$ — the $f'(x)$ multiplier is the chain rule; Example: $\dfrac{d}{dx}\sin(x^2) = 2x\cos(x^2)$ — inner derivative $2x$ multiplies out front
Pause — copy the general chain rule $\dfrac{d}{dx}\sin(f(x)) = f'(x)\cos(f(x))$ and the worked example $\dfrac{d}{dx}\sin(x^2) = 2x\cos(x^2)$ into your book.
Odd one out: Three of these are correct derivatives. Which one is wrong?
We just saw how to differentiate any composite trig expression using the general chain rule. That raises a question: how do you deploy these derivatives in HSC problem types — finding tangent lines, computing rates in oscillating systems, and solving $y' = k$? This card answers it → a systematic method using point-slope form $y - y_1 = m(x - x_1)$ after substituting the differentiated trig expression.
Trig derivatives unlock three families of HSC problems: finding tangent (and normal) lines at points on trig curves, computing rates of change in oscillating systems, and locating where gradients equal a given value.
1. Tangent to a trig curve. Find the equation of the tangent to $y = \sin(2x)$ at $x = \dfrac{\pi}{4}$.
The tangent is horizontal at the point $\left(\tfrac{\pi}{4},\, 1\right)$: equation $y = 1$.
2. Rate of change — oscillating system. A pendulum has displacement $x(t) = 0.1\cos(2t)$ metres. Find its velocity and speed at $t = \dfrac{\pi}{3}$.
At $t = \tfrac{\pi}{3}$: $v = -0.2\sin\!\left(\tfrac{2\pi}{3}\right) = -0.2 \times \dfrac{\sqrt{3}}{2} = -0.1\sqrt{3}$ m/s.
Speed (magnitude) $= 0.1\sqrt{3} \approx 0.173$ m/s. The negative sign indicates the pendulum is moving in the negative direction.
3. Where does the gradient equal a given value? Solve $\dfrac{d}{dx}[3\sin x] = \dfrac{3\sqrt{2}}{2}$ for $x \in [0, 2\pi]$.
Solutions: $x = \dfrac{\pi}{4}$ and $x = \dfrac{7\pi}{4}$ (cosine is positive in 1st and 4th quadrants).
Tangent to trig curve: differentiate, substitute $x$-value to get slope $m$, use $y - y_1 = m(x - x_1)$; Horizontal tangent: solve $y' = 0$ — for $\sin/\cos$ this means solving a trig equation
Pause — copy the tangent method (differentiate, substitute $x$-value for slope $m$, apply $y - y_1 = m(x-x_1)$) and the horizontal tangent condition (solve $y' = 0$) into your book.
Teach to learn: Explain to a classmate how to find the equation of the tangent to $y = \cos(2x)$ at $x = \dfrac{\pi}{6}$. Include: what to differentiate, what values to substitute, and how to form the final equation.
Worked examples · 3 problems, reveal step by step
Differentiate: (a) $y = 3\sin(5x)$, (b) $y = \cos(x^2 + 1)$, (c) $y = \tan\!\left(2x - \dfrac{\pi}{3}\right)$.
Inner: $u = 5x$, inner derivative $= 5$
Outer: $\sin \to \cos$
$y' = 3 \times 5\cos(5x) = 15\cos(5x)$
Inner: $u = x^2 + 1$, inner derivative $= 2x$
Outer: $\cos \to -\sin$
$y' = -2x\sin(x^2 + 1)$
Inner: $u = 2x - \dfrac{\pi}{3}$, inner derivative $= 2$
Outer: $\tan \to \sec^2$
$y' = 2\sec^2\!\left(2x - \dfrac{\pi}{3}\right)$
A particle moves with displacement $x(t) = 4\sin(3t) - 2\cos(t)$ metres at time $t$ seconds. Find the velocity $v(t)$ and acceleration $a(t)$. Find all times in $[0, 2\pi]$ when the particle is momentarily at rest.
$\dfrac{d}{dt}[4\sin(3t)] = 4 \times 3\cos(3t) = 12\cos(3t)$
$\dfrac{d}{dt}[-2\cos(t)] = -2 \times (-\sin t) = 2\sin t$
$v(t) = 12\cos(3t) + 2\sin t$
$\dfrac{d}{dt}[12\cos(3t)] = 12 \times (-3\sin(3t)) = -36\sin(3t)$
$\dfrac{d}{dt}[2\sin t] = 2\cos t$
$a(t) = -36\sin(3t) + 2\cos t$
$12\cos(3t) + 2\sin t = 0$
This is a transcendental equation — in the HSC context, check specific values or use a graphing application. For the simplified version $v(t) = 12\cos(3t)$: at rest when $\cos(3t) = 0$, i.e. $3t = \dfrac{\pi}{2} + k\pi$, so $t = \dfrac{\pi}{6}, \dfrac{\pi}{2}, \dfrac{5\pi}{6}, \ldots$
Find the equation of the tangent to $y = \cos(2x)$ at the point where $x = \dfrac{\pi}{6}$. Then find the equation of the normal at the same point.
$y = \cos\!\left(2 \times \dfrac{\pi}{6}\right) = \cos\!\left(\dfrac{\pi}{3}\right) = \dfrac{1}{2}$
Point: $\left(\dfrac{\pi}{6},\, \dfrac{1}{2}\right)$
$\dfrac{dy}{dx} = -2\sin(2x)$
At $x = \dfrac{\pi}{6}$: $m_T = -2\sin\!\left(\dfrac{\pi}{3}\right) = -2 \times \dfrac{\sqrt{3}}{2} = -\sqrt{3}$
$y = -\sqrt{3}x + \dfrac{\pi\sqrt{3}}{6} + \dfrac{1}{2}$
Normal equation: $y - \dfrac{1}{2} = \dfrac{1}{\sqrt{3}}\!\left(x - \dfrac{\pi}{6}\right)$
Earlier you predicted what function describes the slope of $\sin x$. The answer is $\cos x$ — exactly the function you predicted from the graph if you noticed: steepest at $x=0$ (where cos = 1), flat at $x=\tfrac{\pi}{2}$ (where cos = 0), steepest downward at $x=\pi$ (where cos = -1). The geometry and the algebra agree perfectly.
Pick your answer and rate your confidence. Each retry pulls a fresh mix.
Q1. $\dfrac{d}{dx}[\sin(4x)] = ?$
Q2. $\dfrac{d}{dx}[\cos(x^2)] = ?$
Q3. $\dfrac{d}{dx}[\tan(3x+1)] = ?$
Q4. At $x = 0$, the gradient of $y = 2\sin(x) + \cos(x)$ is:
Q5. If $y = \cos(2x)$, the $x$-values where the tangent is horizontal in $[0, \pi]$ are:
SA 1. Differentiate each of the following: (a) $y = 3\sin(5x)$, (b) $y = \cos(x^2 + 1)$, (c) $y = \tan\!\left(2x - \dfrac{\pi}{3}\right)$. (1 mark each)
SA 2. A particle moves with displacement $x(t) = 4\sin(3t) - 2\cos(t)$ metres at time $t$ seconds. Find the velocity $v(t)$ and the acceleration $a(t)$. Find all times in $[0, 2\pi]$ when $v(t) = 0$ for the simplified case where only the $\sin(3t)$ term is present. (4 marks)
SA 3. Find the equation of the tangent to $y = \cos(2x)$ at the point where $x = \dfrac{\pi}{6}$. Then find the equation of the normal at the same point. Leave answers in exact form. (5 marks)
📖 Comprehensive answers (click to reveal)
MC answers: Q1: C — $4\cos(4x)$ (chain rule, inner derivative 4) | Q2: B — $-2x\sin(x^2)$ (chain rule, inner derivative $2x$, outer cos gives $-\sin$) | Q3: C — $3\sec^2(3x+1)$ (chain rule on $\tan$, inner derivative 3) | Q4: B — $y' = 2\cos x - \sin x$; at $x=0$: $2(1) - 0 = 2$ | Q5: B — $y' = -2\sin(2x) = 0$ requires $\sin(2x) = 0$, so $2x = 0, \pi, 2\pi$, giving $x = 0, \tfrac{\pi}{2}, \pi$.
SA 1 (3 marks): (a) $y' = 15\cos(5x)$ [1] — chain rule: $3 \times 5 = 15$, outer sin → cos. (b) $y' = -2x\sin(x^2+1)$ [1] — chain rule: inner $2x$, outer cos → $-\sin$. (c) $y' = 2\sec^2\!\left(2x - \tfrac{\pi}{3}\right)$ [1] — chain rule: inner derivative 2, outer tan → sec².
SA 2 (4 marks): $v(t) = 12\cos(3t) + 2\sin t$ [1]. $a(t) = -36\sin(3t) + 2\cos t$ [1]. For $v(t) = 0$ with only $12\cos(3t)$: $\cos(3t) = 0$ so $3t = \tfrac{\pi}{2} + k\pi$, giving $t = \tfrac{\pi}{6}, \tfrac{\pi}{2}, \tfrac{5\pi}{6}, \tfrac{7\pi}{6}, \tfrac{3\pi}{2}, \tfrac{11\pi}{6}$ [2 — 1 mark for equation, 1 for all six values in $[0,2\pi]$].
SA 3 (5 marks): $y$-value: $\cos\!\left(\tfrac{\pi}{3}\right) = \tfrac{1}{2}$, so point is $\left(\tfrac{\pi}{6}, \tfrac{1}{2}\right)$ [1]. $y' = -2\sin(2x)$ [1]. Gradient at $x = \tfrac{\pi}{6}$: $-2\sin\!\left(\tfrac{\pi}{3}\right) = -2 \cdot \tfrac{\sqrt{3}}{2} = -\sqrt{3}$ [1]. Tangent: $y - \tfrac{1}{2} = -\sqrt{3}\!\left(x - \tfrac{\pi}{6}\right)$, i.e. $y = -\sqrt{3}x + \tfrac{\pi\sqrt{3}}{6} + \tfrac{1}{2}$ [1]. Normal gradient: $m_N = \tfrac{1}{\sqrt{3}}$; Normal: $y - \tfrac{1}{2} = \tfrac{1}{\sqrt{3}}\!\left(x - \tfrac{\pi}{6}\right)$ [1].
Five timed trig differentiation questions — chain rule applications, tangents, and rates of change. Gold tier: 90% accuracy + speed.
⚔ Enter the arenaClimb platforms by answering trig differentiation questions. A lighter alternative to the boss battle.
Mark lesson as complete
Tick when you've finished the practice and review.