Historical Context & Motivation
Long before calculus existed as a formal subject, mathematicians and astronomers wrestled with circular motion and the behavior of waves. Ancient Greek scholars studied the geometry of chords in circles, laying the groundwork for what we now call trigonometric functions. By the 17th century, the question shifted from 'what are these functions?' to 'how fast do they change?' That question — the rate of change of sine and cosine — sits at the heart of this lesson.
The central question driving this lesson is straightforward: if you graph y = sin x or y = cos x and zoom in on a single point, what is the slope of the curve at that exact instant? Answering that question unlocks the ability to model vibrations, sound waves, electrical signals, and anything else that oscillates — which turns out to be a huge portion of the physical world.
Core Principles & Definitions
Before jumping into formulas, you need to be comfortable with a few foundational ideas. The derivative of a function tells you its instantaneous rate of change — essentially, the slope of the tangent line at any point. When the function is sin x or cos x, the derivative itself turns out to be another trigonometric function, which is one of the most elegant results in all of calculus.
Radian Measure Is Essential
Key Limit: (sin h)/h → 1
Key Limit: (cos h − 1)/h → 0
Derivatives Cycle Through Trig
Visual Explanation — Sine, Cosine & Their Slopes
The diagram below plots y = sin x in cyan and its derivative y = cos x in violet over two full periods. Notice how every peak of the sine curve corresponds to a zero crossing of the cosine curve, and every zero crossing of sine corresponds to a peak or valley of cosine. This visual relationship is the geometric heart of the rule d/dx [sin x] = cos x.
Study the annotations on the graph. At x = π/2, the sine curve reaches its maximum value of 1, so the curve is momentarily flat — the tangent line is horizontal, meaning the slope is 0. Sure enough, cos(π/2) = 0. At x = π, sin x passes through zero on its way down, so the slope is as negative as it gets; cos(π) = −1 confirms this. This point-by-point agreement is not coincidence — it is the geometric proof that the derivative of sine is cosine.
Mathematical Framework — Deriving the Rules
Let's see where the derivative formulas actually come from, starting from the limit definition of the derivative. You will need the angle addition identities and the two special limits introduced in Section 2.
Derivative of sin x
Starting from f(x) = sin x, we apply the limit definition: f′(x) = lim(h→0) [sin(x + h) − sin x] / h. Using the angle addition formula, sin(x + h) = sin x cos h + cos x sin h, we substitute and simplify.
Derivative of cos x
The process is nearly identical. Start with g(x) = cos x and use cos(x + h) = cos x cos h − sin x sin h. After the same factoring trick, you get:
The Four-Step Derivative Cycle
One of the most satisfying patterns in calculus is that repeated differentiation of sine and cosine cycles through exactly four functions. Differentiating sin x gives cos x; differentiating cos x gives −sin x; differentiating −sin x gives −cos x; and differentiating −cos x gives sin x — right back where you started. This four-step cycle is useful when you need higher-order derivatives.
| Derivative Order | d/dx of sin x | d/dx of cos x |
|---|---|---|
| 1st | cos x | −sin x |
| 2nd | −sin x | −cos x |
| 3rd | −cos x | sin x |
| 4th | sin x | cos x |
| 5th | cos x (cycle restarts) | −sin x (cycle restarts) |
Worked Example — Differentiating a Mixed Expression
Let's differentiate f(x) = 3 sin x + 5 cos x − 2x step by step. This combines the new trig derivative rules with the familiar power rule and the constant multiple rule.
Common Mistakes & How to Avoid Them
The derivative rules for sine and cosine are short, but several pitfalls trap students regularly. The table below catalogs the most common errors and the correct approaches.
| Common Mistake | Why It's Wrong | Correct Approach |
|---|---|---|
| d/dx [cos x] = sin x (missing negative) | The cosine addition formula has a minus sign that carries through the derivation. | d/dx [cos x] = −sin x. Always include the negative. |
| Using degree mode on a calculator | The special limits only equal 1 and 0 in radians. In degrees, lim (sin h)/h ≈ π/180, not 1. | Always work in radians when differentiating trig functions. |
| Forgetting the chain rule with sin(3x) | d/dx [sin(3x)] ≠ cos(3x). The inner function 3x must be differentiated too. | d/dx [sin(3x)] = cos(3x) · 3 = 3 cos(3x). (Chain rule topic.) |
| Confusing the function and its derivative | sin x and cos x look similar on a graph, making it easy to mix up which is the original and which is the derivative. | Remember: slopes of sin x match values of cos x. Check a few specific points to confirm. |
Connection to Advanced Topics
Mastering the derivatives of sin x and cos x is a gateway to much more. Nearly every advanced derivative rule involving trigonometry builds directly on these two results. The table below previews how these basics evolve as you continue in calculus.
| This Lesson (Basics) | What Comes Next |
|---|---|
| d/dx [sin x] = cos x | With the chain rule: d/dx [sin(u)] = cos(u) · u′, allowing you to differentiate sin(x²), sin(3x + 1), etc. |
| d/dx [cos x] = −sin x | Combined with the quotient rule, you can derive d/dx [tan x] = sec²x and the derivatives of all six trig functions. |
| The 4-step derivative cycle | Leads to solving differential equations like y″ + y = 0, whose solutions are sin x and cos x — the foundation of simple harmonic motion in physics. |
| Graphical slope analysis | Extends to curve sketching: using f′ to find maxima, minima, and inflection points of any function built from sine and cosine. |
Perhaps the most beautiful connection is Euler's formula: eix = cos x + i sin x. Differentiating both sides with respect to x (treating i as a constant) gives ieix = −sin x + i cos x, which simultaneously confirms both d/dx [cos x] = −sin x and d/dx [sin x] = cos x. You'll explore this fully if you take courses in complex analysis or differential equations — and it all rests on the foundations laid today.
Practice Problems
Lesson Summary
The two fundamental trigonometric derivative rules state that d/dx [sin x] = cos x and d/dx [cos x] = −sin x, valid when x is measured in radians. These results depend on two special limits: lim(h→0) (sin h)/h = 1 and lim(h→0) (cos h − 1)/h = 0. Graphically, each peak of sin x corresponds to a zero of cos x, and vice versa, providing a visual confirmation that the derivative of one wave is the other.
Repeated differentiation produces a four-step cycle: sin x → cos x → −sin x → −cos x → sin x. The most common mistake is dropping the negative sign in the derivative of cosine. These two rules serve as building blocks for the chain rule with trig functions, the derivatives of all six trig functions, and applications throughout physics and engineering involving periodic motion.