Exercises — Derivatives of all six trig functions
Before we start, here are the four ratio-derivatives you'll reuse constantly. So this page is self-contained, here they are re-derived in one line each from , and the Quotient Rule :
Now one shared picture — the "speed wave" idea that every problem secretly uses:

The height of (magenta) at any point equals the slope reading stored in (violet). Where is steepest going up (at ), is at its peak . Where is flat (at its crest ), . Keep this in your head: a derivative is just a slope, and for these functions the slope is another wave.
Level 1 — Recognition
(Read the table, output the answer. No manipulation.)
L1.1 Differentiate .
L1.2 Differentiate .
L1.3 Find .
Why are these "free"? Look at the next picture — it shows why a derivative splits across a sum and lets a constant slide out, straight from the meaning of "slope":

Left panel: stacking two curves adds their heights, so it adds their steepnesses too — the slope of a sum is the sum of slopes. Right panel: stretching a curve vertically by makes every rise bigger over the same run, so the slope scales by . That is all linearity means; you'll lean on it in every L1 answer.
Recall Solutions L1
L1.1 By the sum picture above, differentiate term by term: Concretely (see figure s01): the slope wave of is , and the slope wave of is (the same wave flipped, because falls where rises). Add those two slope waves and you get .
L1.2 By the vertical-stretch picture, the constant multiplies the slope:
L1.3 Term by term, using and (re-derived at the top): WHAT just happened: the minus in front of met the built-in minus of , and two negatives made a plus.
Level 2 — Application
(Now you must pick and apply ONE rule: product, quotient, or chain.)
L2.1 Differentiate .
L2.2 Differentiate .
L2.3 Differentiate .
Before the algebra, the pictures behind the two rules you'll use:

Product rule (left) — the growing-rectangle picture. A product is the area of a rectangle with sides and . When nudges forward, the rectangle grows by a thin strip on the top (height grows: ) plus a thin strip on the side (width grows: ). Add the two strips: . That is why there are two terms — two sides can grow.
Quotient rule (right) — the slope-of-a-ratio picture. A ratio is "how many 's fit in ." Its change has two competing causes: growing pushes the ratio up (the term), while growing pushes the ratio down (the term). Dividing by rescales for the current size of . That is why the quotient rule has a minus where the product rule has a plus.
Recall Solutions L2
L2.1 — Product Rule with . Two sides of the rectangle grow: Notice the second term is negative: as grows, (from figure s01) is on its way down, so that side of the rectangle is shrinking — the minus is the picture, not just algebra.
L2.2 — Chain Rule. Outer function gives ; inner gives : WHY the extra : the chain rule says "derivative of outside derivative of inside." Forgetting the inside factor is the classic error.
L2.3 — Quotient Rule with (), (). Using the slope-of-a-ratio picture: rising pushes the ratio up (), while growing pushes it down (): Cancel one (valid for ):
Level 3 — Analysis
(Read the geometry: slopes, tangent lines, where things are flat.)
L3.1 Find the slope of at . Interpret it.
L3.2 For what values of in does have a horizontal tangent?
L3.3 Find the equation of the tangent line to at .
The figure below draws the tangent for L3.1 so you can see the slope- line kissing the curve, and shows why steepens toward its asymptote:

Recall Solutions L3
L3.1 . At , , so : Interpretation: the graph of is climbing at slope there — twice as steep as a line. In figure s04 the orange dot sits at and the dashed violet line through it has slope ; as moves toward the dotted asymptote , so and the curve rockets upward.
L3.2 Horizontal tangent means slope . For , , so we solve These are exactly the crest and trough of the sine wave — where it momentarily stops rising or falling. Look again at figure s01: at the magenta wave is flat and the violet slope-wave crosses zero.
L3.3 Point: at , , so the point is . Slope: , so . Tangent line through with slope :
Level 4 — Synthesis
(Two or three rules stacked in a single expression.)
L4.1 Differentiate .
L4.2 Differentiate and simplify.
L4.3 Differentiate .
Recall Solutions L4
L4.1 — Product Rule (the two-sided rectangle) on the outside, Chain Rule on the factor. Let () and . For : Now assemble (side-strip plus top-strip): Factor the shared :
L4.2 — Quotient Rule with (), (). By the slope-of-a-ratio picture, numerator rising adds and denominator falling (note ) contributes : Use the Pythagorean identity sin^2 + cos^2 = 1: the numerator , leaving WHY this is beautiful: the identity collapses two of the three terms into a clean . Domain caveat: this result holds only where — i.e. off the vertical asymptotes ( any integer). At those points the original itself blows up, so neither nor is defined there. Never quote a quotient derivative without excluding its denominator's zeros.
L4.3 — Chain Rule. Outer gives ; inner gives : WATCH: means "cosine of the number " — do not simplify it to . They are different beasts.
Level 5 — Mastery
(Full-stakes: proof-flavoured, physics application, and a tangent-from-scratch.)
L5.1 (Physics — Simple Harmonic Motion). A mass on a spring has position (metres, seconds). Find its velocity and acceleration , and verify the SHM equation holds. Identify .
L5.2 (Rebuild a table entry). Using only , , and the Quotient Rule, derive from . Then state where the result is undefined and why.
L5.3 (Tangent to ). Find the equation of the tangent line to at .
The phasor picture below explains why the chain-rule factor in L5.1 is exactly the angular frequency :

Recall Solutions L5
L5.1 Velocity is the derivative of position (Chain Rule, inner gives ): Acceleration is the derivative of velocity (chain rule again, inner gives ): Now compare to : multiply by : So , which is with , i.e. rad/s. WHY is the inner derivative (figure s05): the position is the shadow (horizontal projection) of a point spinning on a circle of radius . In one second the point sweeps through angle , so it spins at radians per second — that spin rate is . Differentiating asks "how fast is the angle changing?", and by the chain rule that rate is the inner derivative . Two derivatives spin the phasor twice, pulling out . The physics and the chain rule are the same fact.
L5.2 Quotient Rule with (), (): Factor out and apply : Undefined where? and its derivative both blow up where , i.e. — the denominator vanishes there, so no slope exists (vertical asymptotes).
L5.3 Point: at , , so . Point is . Slope: . With and : Tangent line through with slope :
Recall One-line self-check before you leave
Cover the answers. Can you state, from memory: (a) why the "co" functions carry a minus, (b) where is flat, and (c) why differentiating twice produces a factor ? (a) They are the swapped-and-negated partners of . ::: "All Co's are Negative." (b) Where , i.e. (crest and trough). ::: Slope . (c) Each derivative pulls out the inner derivative via the chain rule; . ::: That .
Connections
- Derivatives of all six trig functions (parent)
- Limit definition of the derivative
- Quotient Rule
- Chain Rule
- Product Rule
- Pythagorean identity sin^2 + cos^2 = 1
- Simple Harmonic Motion
- Derivatives of inverse trig functions