Learning Outcomes
- Find the derivatives of the sine and cosine function.
- Find the derivatives of the standard trigonometric functions.
- Calculate the higher-order derivatives of the sine and cosine.
Derivatives of the Sine and Cosine Functions
We begin our exploration of the derivative for the sine function by using the formula to make a reasonable guess at its derivative. Recall that for a function [latex]f(x),[/latex]
Consequently, for values of [latex]h[/latex] very close to 0, [latex]f^{\prime}(x)\approx \frac{f(x+h)-f(x)}{h}[/latex]. We see that by using [latex]h=0.01[/latex],
By setting [latex]D(x)=\frac{\sin(x+0.01)-\sin x}{0.01}[/latex] and using a graphing utility, we can get a graph of an approximation to the derivative of [latex] \sin x[/latex] (Figure 1).
Upon inspection, the graph of [latex]D(x)[/latex] appears to be very close to the graph of the cosine function. Indeed, we will show that
If we were to follow the same steps to approximate the derivative of the cosine function, we would find that
The Derivatives of [latex]\sin x[/latex] and [latex]\cos x[/latex]
The derivative of the sine function is the cosine and the derivative of the cosine function is the negative sine.
Proof
Because the proofs for [latex]\frac{d}{dx}(\sin x)= \cos x[/latex] and [latex]\frac{d}{dx}(\cos x)=−\sin x[/latex] use similar techniques, we provide only the proof for [latex]\frac{d}{dx}(\sin x)= \cos x[/latex]. Before beginning, recall two important trigonometric limits we learned in Module 2: Limits.
The graphs of [latex]y=\frac{(\sin h)}{h}[/latex] and [latex]y=\frac{(\cos h-1)}{h}[/latex] are shown in Figure 2.
We also recall the following trigonometric identity for the sine of the sum of two angles:
Now that we have gathered all the necessary equations and identities, we proceed with the proof.
[latex]_\blacksquare[/latex]
Figure 3 shows the relationship between the graph of [latex]f(x)= \sin x[/latex] and its derivative [latex]f^{\prime}(x)= \cos x[/latex]. Notice that at the points where [latex]f(x)= \sin x[/latex] has a horizontal tangent, its derivative [latex]f^{\prime}(x)= \cos x[/latex] takes on the value zero. We also see that where [latex]f(x)= \sin x[/latex] is increasing, [latex]f^{\prime}(x)= \cos x>0[/latex] and where [latex]f(x)= \sin x[/latex] is decreasing, [latex]f^{\prime}(x)= \cos x<0[/latex].
Example: Differentiating a Function Containing [latex]\sin x[/latex]
Find the derivative of [latex]f(x)=5x^3 \sin x[/latex].
Try It
Find the derivative of [latex]f(x)= \sin x \cos x.[/latex]
Watch the following video to see the worked solution to the above Try It.
Try It
Example: Finding the Derivative of a Function Containing [latex]\cos x[/latex]
Find the derivative of [latex]g(x)=\dfrac{\cos x}{4x^2}[/latex].
Try It
Find the derivative of [latex]f(x)=\dfrac{x}{\cos x}[/latex].
Watch the following video to see the worked solution to the above Try It.
Example: An Application to Velocity
A particle moves along a coordinate axis in such a way that its position at time [latex]t[/latex] is given by [latex]s(t)=2 \sin t-t[/latex] for [latex]0\le t\le 2\pi[/latex]. At what times is the particle at rest?
Try It
A particle moves along a coordinate axis. Its position at time [latex]t[/latex] is given by [latex]s(t)=\sqrt{3}t+2 \cos t[/latex] for [latex]0\le t\le 2\pi[/latex]. At what times is the particle at rest?
Derivatives of Other Trigonometric Functions
Since the remaining four trigonometric functions may be expressed as quotients involving sine, cosine, or both, we can use the quotient rule to find formulas for their derivatives.
Example: The Derivative of the Tangent Function
Find the derivative of [latex]f(x)= \tan x[/latex].
Try It
Find the derivative of [latex]f(x)= \cot x[/latex].
The derivatives of the remaining trigonometric functions may be obtained by using similar techniques. We provide these formulas in the following theorem.
Derivatives of [latex]\tan x, \, \cot x, \, \sec x[/latex], and [latex]\csc x[/latex]
The derivatives of the remaining trigonometric functions are as follows:
As you navigate problems involving derivatives of trigonometric functions, don’t forget our handy table of trigonometric function values of common angles:
Recall: Trigonometric function values of common angles
Angle | [latex]0[/latex] | [latex]\frac{\pi }{6},\text{ or }{30}^{\circ}[/latex] | [latex]\frac{\pi }{4},\text{ or } {45}^{\circ }[/latex] | [latex]\frac{\pi }{3},\text{ or }{60}^{\circ }[/latex] | [latex]\frac{\pi }{2},\text{ or }{90}^{\circ }[/latex] |
Cosine | 1 | [latex]\frac{\sqrt{3}}{2}[/latex] | [latex]\frac{\sqrt{2}}{2}[/latex] | [latex]\frac{1}{2}[/latex] | 0 |
Sine | 0 | [latex]\frac{1}{2}[/latex] | [latex]\frac{\sqrt{2}}{2}[/latex] | [latex]\frac{\sqrt{3}}{2}[/latex] | 1 |
Tangent | 0 | [latex]\frac{\sqrt{3}}{3}[/latex] | 1 | [latex]\sqrt{3}[/latex] | Undefined |
Secant | 1 | [latex]\frac{2\sqrt{3}}{3}[/latex] | [latex]\sqrt{2}[/latex] | 2 | Undefined |
Cosecant | Undefined | 2 | [latex]\sqrt{2}[/latex] | [latex]\frac{2\sqrt{3}}{3}[/latex] | 1 |
Cotangent | Undefined | [latex]\sqrt{3}[/latex] | 1 | [latex]\frac{\sqrt{3}}{3}[/latex] | 0 |
Example: Finding the Equation of a Tangent Line
Find the equation of a line tangent to the graph of [latex]f(x)= \cot x[/latex] at [latex]x=\dfrac{\pi}{4}[/latex].
Example: Finding the Derivative of Trigonometric Functions
Find the derivative of [latex]f(x)= \csc x+x \tan x.[/latex]
Watch the following video to see the worked solution to Example: Finding the Derivative of Trigonometric Functions.
Try It
Find the derivative of [latex]f(x)=2 \tan x-3 \cot x[/latex].
Try It
Find the slope of the line tangent to the graph of [latex]f(x)= \tan x[/latex] at [latex]x=\frac{\pi}{6}[/latex].