Derivatives of
\(\sin\) & \(\cos\)
Master the fundamental derivatives that power all of trigonometric calculus: how \(\sin x\) and \(\cos x\) change at every point.
AP Calculus
What Is a Derivative?
The derivative of a function \(f(x)\) tells you its instantaneous rate of change: how fast the output is increasing or decreasing at any given input value.
For trigonometric functions, this means we can find exactly how \(\sin x\) and \(\cos x\) are changing at every angle: a question that underpins physics, engineering, and signal processing.
The Sine Curve and Its Slope
The Cosine Curve and Its Slope
Core Rule: \(\frac{d}{dx}[\sin x]\)
\(\displaystyle \frac{d}{dx}[\sin x] = \cos x\)
The derivative of sine is cosine. At every point, the slope of the sine curve equals the value of cosine at that same point.
Core Rule: \(\frac{d}{dx}[\cos x]\)
\(\displaystyle \frac{d}{dx}[\cos x] = -\sin x\)
The derivative of cosine is negative sine. The minus sign is crucial: cosine decreases where sine is positive.
Sine vs Cosine Derivatives
| \(\sin x\) | \(\cos x\) | |
|---|---|---|
| Derivative | \(\cos x\) | \(-\sin x\) |
| Sign change? | No | Yes (negative) |
| Value at \(x=0\) | \(\cos 0 = 1\) | \(-\sin 0 = 0\) |
| Zero slope at | \(x = \frac{\pi}{2} + n\pi\) | \(x = n\pi\) |
| Mnemonic | "sine → co-sine" | "co-sine → neg-sine" |
The Derivative Cycle
How to Apply These Rules
1
Identify the trig function: Is it \(\sin x\), \(\cos x\), or a combination?
2
Apply linearity: Use \(\frac{d}{dx}[af(x) + bg(x)] = af'(x) + bg'(x)\) to handle sums and constant multiples.
3
Swap and sign: Replace \(\sin x\) with \(\cos x\), and \(\cos x\) with \(-\sin x\).
4
Simplify: Combine like terms and reduce any double negatives.
Example 1: Simple Derivative
1
Apply linearity: differentiate each term separately.
2
\(\frac{d}{dx}[3\sin x] = 3\cos x\) (constant stays, \(\sin \to \cos\)).
3
\(\frac{d}{dx}[5\cos x] = 5(-\sin x) = -5\sin x\) (constant stays, \(\cos \to -\sin\)).
4
Result: \(\displaystyle 3\cos x - 5\sin x\)
Example 2: Tangent Line
1
Point: \(f\!\left(\frac{\pi}{3}\right) = \sin\frac{\pi}{3} = \frac{\sqrt{3}}{2}\). So the point is \(\left(\frac{\pi}{3},\, \frac{\sqrt{3}}{2}\right)\).
2
Slope: \(f'(x) = \cos x\), so \(f'\!\left(\frac{\pi}{3}\right) = \cos\frac{\pi}{3} = \frac{1}{2}\).
3
Point-slope form: \(y - \frac{\sqrt{3}}{2} = \frac{1}{2}\!\left(x - \frac{\pi}{3}\right)\).
4
Simplify: \(\displaystyle y = \frac{1}{2}x - \frac{\pi}{6} + \frac{\sqrt{3}}{2}\).
Example 3: Second Derivative
1
First derivative: \(\frac{d}{dx}[\cos x] = -\sin x\).
2
Differentiate again: \(\frac{d}{dx}[-\sin x] = -\cos x\).
3
Result: \(\displaystyle \frac{d^2}{dx^2}[\cos x] = -\cos x\).
Example 4: Evaluate at a Point
1
Differentiate: \(g'(x) = 2(-\sin x) - \cos x = -2\sin x - \cos x\).
2
Substitute \(x = \pi\): \(g'(\pi) = -2\sin\pi - \cos\pi\).
3
Evaluate: \(\sin\pi = 0\) and \(\cos\pi = -1\), so \(g'(\pi) = -2(0) - (-1) = 1\).
Common Mistakes to Avoid
✕ Dropping the Negative
Writing \(\frac{d}{dx}[\cos x] = \sin x\) instead of \(-\sin x\). The minus sign is essential.
✕ Swapping the Rules
Claiming \(\frac{d}{dx}[\sin x] = -\cos x\). The negative belongs to cosine's derivative, not sine's.
✕ Degree-Mode Thinking
These rules require radian measure. In degrees, \(\frac{d}{dx}[\sin x] \neq \cos x\) because the limit \(\frac{\sin h}{h} \to 1\) only holds for radians.
Summary Reference Table
| Function | Derivative | Second Derivative |
|---|---|---|
| \(\sin x\) | \(\cos x\) | \(-\sin x\) |
| \(\cos x\) | \(-\sin x\) | \(-\cos x\) |
| \(-\sin x\) | \(-\cos x\) | \(\sin x\) |
| \(-\cos x\) | \(\sin x\) | \(\cos x\) |
Question 1 of 5
What is \(\displaystyle \frac{d}{dx}[\sin x]\)?
The derivative of \(\sin x\) is \(\cos x\). No sign change occurs when differentiating sine.
Question 2 of 5
What is \(\displaystyle \frac{d}{dx}[\cos x]\)?
The derivative of \(\cos x\) is \(-\sin x\). Remember the negative sign: it is the most common source of errors.
Question 3 of 5
Find \(\displaystyle \frac{d}{dx}[4\sin x - 2\cos x]\).
Differentiate term by term: \(\frac{d}{dx}[4\sin x] = 4\cos x\) and \(\frac{d}{dx}[-2\cos x] = -2(-\sin x) = 2\sin x\). Adding gives \(4\cos x + 2\sin x\).
Question 4 of 5
What is the slope of \(f(x) = \cos x\) at \(x = \frac{\pi}{2}\)?
The slope is \(f'(x) = -\sin x\). At \(x = \frac{\pi}{2}\): \(f'\!\left(\frac{\pi}{2}\right) = -\sin\frac{\pi}{2} = -1\). The cosine curve is falling steeply at that point.
Question 5 of 5
What is \(\displaystyle \frac{d^3}{dx^3}[\sin x]\)?
Follow the cycle: \(\sin x \xrightarrow{1} \cos x \xrightarrow{2} -\sin x \xrightarrow{3} -\cos x\). The third derivative of \(\sin x\) is \(-\cos x\).