Skip to content
Study Hall
Lesson 5 of 6Derivative Rules
Unit 2 · Lesson 5 of 6

Derivatives of Sine and Cosine

Read the slopes off the sine curve and you get the cosine curve; read the slopes off cosine and you get negative sine. With x in radians, these two facts plus the chain, product and quotient rules differentiate any sinusoidal model.

4 min read10 practice questionsInteractiveAsk AI about this →

Key things to remember

  1. 1 and , with in radians.
  2. 2Chain rule versions: and
  3. 3 and .
  4. 4 (quotient rule plus ).
  5. 5Repeated derivatives of cycle: .

Tides, Ferris wheels, a swinging pendulum, the length of daylight over a year: all of these repeat, and you modelled them with sine and cosine functions. Calculus asks the next question. When is the tide rising fastest? How fast is a rider on a Ferris wheel climbing at a given moment? To answer, you need the derivative of and , and you can find both by looking carefully at a graph.

Tall reddish rock pillars topped with trees standing on an exposed muddy sea floor, with people walking among them and the water far off in the distance.
PhotoHopewell Rocks on the Bay of Fundy in New Brunswick at low tide, when people can walk on the sea floor. The tide here rises and falls by many metres twice a day, a repeating pattern that sine and cosine models describe, and derivatives tell you when it is rising fastest.Wladyslaw, CC BY-SA 3.0, via Wikimedia Commons

Reading slopes off the sine curve

Trace from . At it climbs at its steepest, with tangent slope . At it reaches its peak, where the tangent is flat: slope . At it falls through the axis at its steepest: slope . At it bottoms out: slope . At it is climbing at slope again. The slopes are exactly the values of at those points.

1−1π/2π3π/22π1−1π/2π3π/22πy = sin xy = cos x: the slopes of sin xm = 1m = 0m = −1m = 0m = 11−1π/2π3π/22π1−1π/2π3π/22πy = cos xy = −sin x: the slopes of cos xm = 0m = −1m = 0m = 1m = 0
Fig 1Left column: y = sin x with tangent slopes 1, 0, −1, 0, 1 marked at 0, π/2, π, 3π/2 and 2π, and y = cos x passing through those values below it. Right column: y = cos x with tangent slopes 0, −1, 0, 1, 0 at the same points, and below it −sin x passing through those values.
Both rules require x to be measured in radians.
Loading interactive…
Choose f(x) = 2sin(x), pick a point, and shrink h. The secant slope closes in on the exact rate 2cos(x) at every point you try.
hSecant slope of sin x from 0 to h, that is sin(h) divided by h
Prediction from the rule
Numerical check at x = 0 with h in radians, rounded to 5 decimal places.
Radians are not optional here
If were measured in degrees, the sine curve would be stretched out over units per cycle instead of , and its slope at would be only , not . The clean rules and are true only in radians. Keep your calculator in RAD mode for every calculation in this lesson.
VideoSal Khan compares the slope of the sine curve at key points with the cosine curve, and does the same for cosine and negative sine, the graphical argument this section makes.Watch on YouTube

Combining with the other rules

FunctionDerivativeRule used
Chain, inner
Chain, inner
Chain, outer
Product
Quotient
The new rules plug into the old ones exactly like any other function.

The last row is worth doing once by hand. With the quotient rule, The Pythagorean identity turns the numerator into , so , which is also written .

  • Differentiate repeatedly and the results cycle with period four: , then , then , then , and back to .
  • So the second derivative of is : the second derivative is always the negative of the function, so the two have opposite signs wherever . This is why a mass bouncing on a spring (or a pendulum making small swings), whose acceleration always pulls back toward the centre, moves sinusoidally.
  • In a model , the vertical shift and the phase shift do not change the size of the slopes, but the amplitude and the factor both multiply them: the maximum rate of change is .
Loading interactive…
Choose sin x or cos x, drag a point along the curve, and watch the derivative graph trace out cos x or negative sin x.
Sine squared is not sine of x squared
means : the outer function is squaring, so its derivative is . means the sine of : the outer function is sine, so its derivative is . Before differentiating, decide which operation happens LAST; that is the outer function.
VideoJensenMath combines the trig derivatives with the product, quotient and chain rules on MCV4U-style examples.Watch on YouTube

Worked examples

Reveal one step at a time and try to beat it to the next line.

Example 1
Find the slope of the tangent to at , exactly and to 3 decimal places.
Example 2
Differentiate and , then find and .
Example 3
Find the equation of the tangent line to at .
Example 4
Show that , and find the slope of at .

Where marks get lost

  • Getting the sign wrong for cosine: is , not . At the cosine graph is falling, so its slope must be negative there.
  • Evaluating with the calculator in degree mode. in degrees is about ; in radians it is about .
  • Forgetting the chain factor: is , not .
  • Writing or . The inside stays exactly as it was: .
  • Treating as , or the reverse. Decide which operation happens last before choosing the outer function.

Flashcards 7

+ 3 more

Practice

1
What is ?
2
For , find .
3
For , find at . Give the exact decimal value.
4
Match each function to its derivative.
  1. A.
  2. B.
  3. C.
  4. D.
5
Starting from , put its first, second, third and fourth derivatives in order.
  1. 1
  2. 2
  3. 3
  4. 4
6
The depth of water in a harbour is metres, hours after midnight. How fast is the depth changing at ? Give your answer to 3 decimal places.
m/h
7
Why must be in radians for to hold?
8
For , find . Give your answer to 3 decimal places.
9
For , find . Give your answer to 3 decimal places.
10
In what unit must angles be measured for the rule to be true?

Spot a mistake on this page? Let us know