1 of 20

Derivatives of Trig Functions

Memorize all of these.

2 of 20

Simple Harmonic Motion

Any back-and-forth motion

Pendulum, spring, almost any vibration, �waves…

When you isolate one dimension of a �two-dimensional orbit, each dimension �could be described as simple harmonic motion.

Where is the derivative the highest? The lowest?

3 of 20

Let’s have a look at sin(x)

sin(x) is in blue. Never a straight line.�Derivative will keep changing.

When sin(x) reaches a max or min,�its derivative is zero.

When sin(x) reaches a node, its derivative is at its highest value.

What function does the red line (the derivative) look like?

4 of 20

d/dx sin(x) = cos(x)

The derivative of sin(x) is cos(x)�cos(x) shown in blue this time

But...what’s the derivative of cos(x)?

Same deal as sin(x): extrema produce a derivative of zero, nodes produce extrema

Shown in red, the derivative is -sin(x)

5 of 20

Phase Shift (sin(x) in black)

d/dx sin(x) = cos(x)�d/dx cos(x) = -sin(x)�d/dx -sin(x) = -cos(x)�d/dx -cos(x) = sin(x)

Engineers would call this a phase shift - the function is basically the same, it’s simply in a different phase of its cycle.

sin(x) = cos(x - 𝜋/2)

6 of 20

The other trig functions

tan(x) = sin(x) sec(x) = __1__� cos(x) cos(x)

cot(x) = cos(x) csc(x) = __1__� sin(x) sin(x)

You could do the quotient rule to find out the derivatives of all these.

Or...

7 of 20

Trig Derivatives

d/dx tan(x) = sec2(x) d/dx sec(x) = sec(x)tan(x)

d/dx cot(x) = -csc2(x) d/dx csc(x) = -csc(x)cot(x)

Yes, you need to memorize these!

8 of 20

In Practice

What’s the second derivative of csc(x)?

First derivative - we have a formula for that!�d/dx csc(x) = -csc(x)cot(x)

Second derivative - Product rule!�[-csc(x) -csc2(x)] + [csc(x)cot(x) cot(x)]

= csc3(x) + csc(x)cot2(x)�= 1 + cos2(x)� sin3(x)

9 of 20

A step further

Find the equation for the line tangent to the derivative of tan(x) at the point where x = 𝜋/3

If it’s tangent to the derivative, we need the slope of the derivative (we need the second derivative).

d/dx tan(x) = sec2(x)

10 of 20

...continued

d/dx sec2(x) Product rule!

[sec(x) sec(x)tan(x)] + [sec(x)tan(x) sec(x)]�= 2sec2(x)tan(x)

Since sec(x) = 1/cos(x) and tan = sin(x)/cos(x)�= 2sin(x)/cos3(x)

Now we need the slope at x = 𝜋/3 2sin(𝜋/3)� (cos(𝜋/3))3

11 of 20

...still going!

sin(𝜋/3) = √(3)/2�cos(𝜋/3) = ½

2√(3)/2 = √3 = 8√3� (½)3

WE FINALLY HAVE THE SLOPE!!!

Now we need the y-intercept

12 of 20

y = mx + b

m = 8√3

Keep in mind, we’re focused on the derivative of tan(x), or sec2(x)

sec2(𝜋/3) = 4 Our point is (𝜋/3, 4)

4 = [8√(3)] (𝜋/3) + ???

y = 8x√(3) + 3/2𝜋√3 FINALLY SOLVED!!!

13 of 20

Chain Rule!

7cos(9x3 - 7x)

f(x) = 7cos(x)�g(x) = 9x3 - 7x

(fg)’(x) = f’(g(x)) g’(x)

-7sin(9x3 - 7x) ∙ (27x2 - 7) = -189x2sin(9x3 - 7x) + 49sin(9x3 - 7x)

14 of 20

U-Substitution

Another way of doing the Chain Rule

Define the “inside” function as a single variable: u�Now take the derivative u’ like normal�Multiply the result by u’

Example:�-4cos(7x-2) u = 7x-2 u’ = -14x-3�-4cos(u) → 4sin(u) u’�4sin(7x-2) -14x-3-56x-3sin(7x-2)

15 of 20

And Another Thing

d/dx cos3(x)

Keep in mind, cos3(x) = [cos(x)]3

3[cos(x)]2 -sin(x)

-3cos2(x)sin(x)

16 of 20

4.2 #10

If y = sin(3x), then dy/dx =

17 of 20

Extra Links

Find the derivative of 7cot3(4x12 - 5x) same thing as 7[cot(4x12)]3

d/dx of 4x12 = 48x11 - 5�d/dx of cot(4x12) = -csc2(4x12) · (48x11 - 5)d/dx of 7[cot(4x12)]3 = 21[cot(4x12)]2 · -csc2(4x12) · (48x11 - 5)

Start inside and work your way out! Find the derivative each time, and keep applying the Chain Rule:�(fg)’(x) = f’(g(x)) g’(x)

18 of 20

4.2 #25

0𝜋/4 sin(x) dx =

19 of 20

Recap

Derivatives of sin(x) and cos(x) cause a phase shift - memorize the sequence.�Memorize all your other trig derivatives too!

Trig derivatives often involve the Power and Quotient Rules�Know your trig definitions (like sec(x) = 1/cos(x)) - it’ll save you a lot of headaches.

Today’s lesson had a lot of equations to memorize.

20 of 20

Derivative of ex

Everyone’s favorite derivative

Next Time