The Trigonometric Functions
by
Stefan Waner and Steven R. Costenoble

This Section: 3. Derivatives of Trigonometric Functions

2. The Six Trigonometric Functions Section 3 Exercises 4. Integrals of Trigonometric Functions Trigonometric Functions Main Page "RealWorld" Page Everything for Calculus Español

3. Derivatives of Trigonometric Functions

We shall start by giving the derivative of $f(x) = \sin x,$ and then using it to obtain the derivatives of the other five trigonometric functions.

Derivative of $\sin x$

The derivative of the sine function is given by

    $\frac{d}{dx} \sin x = \cos x.$

That's all there is to it!

Question
Where did that come from?

Answer
We shall justify this at the end of this section. (If you can't wait, press the pearl to go there now.)


Example 1

Calculate $dy/dx$ if:

Solution

(a) An application of the calculator thought experiment (CTE)* tells us that $x \sin x$ is a product;

Therefore, by the product rule,

(b) Recall from Section 2 that

Therefore, by the quotient rule,

Notice that we have just obtained the derivative of one of the remaining five trigonometric functions. Four to go...

(c) Since the given function is a quotient,

and let us just leave it like that (there is no easy simplification of the answer).

(d) Here, an application of the CTE  tells us that y is the sine of a quantity.

Since

the chain rule ( press the pearl to go to the topic summary for a quick review) tells us that

so that

* See Example 6 on p. 258 in Calculus Applied to the Real World, or p. 756 in Finite Mathematics and Calculus Applied to the Real World. Alternatively, press here to consult the on-line topic summary, where the CTE is also discussed.

Before we go on...

Try to avoid writing expressions such as $\cos(3x^2-1)(6x).$ Does this mean

or does it mean

That is why we placed the $6x$ in front of the cosine expression.


Question
What about the derivative of the cosine function?

Answer
Let us use the identity

from Section 1, and follow the method of Example 1(d) above: if

then, using the chain rule,

Question
And the remaining three trigonometric functions?

Answer
Since all the remaining ones are expressible in terms of $\sin x$ and $\cos x,$ we shall leave them for you to do in the exercises!


Example 2

Find the derivatives of the following functions.

Solution

(a) Since $f(x)$ is the $\tan$ of a quantity, we use the chain rule form of the derivative of tangent:

(b) Since $g(x)$ is the cosecant of a quantity, we use the rule

(c) Since $h(x)$ is the product of $e^{-x}$ and $\sin(2x),$ we use the product rule,

(d) Recall that $\sin^2x = (\sin x)^2.$ Thus, $r(x)$ is the square of a quantity (namely, the quantity $\sin x$). Therefore, we use the chain rule for differentiating the square of a quantity,

(e) Notice the difference between $\sin^2x$ and $\sin(x^2)$. The first is the square of $\sin x,$ while the second is the $\sin$ of the quantity $x^2.$ Since we are differentiating the latter, we use the chain rule for differentiating the sine of a quantity:


Question
There is still some unfinished business...

Answer
Indeed. We will now motivate the formula that started it all:

We shall do this calculation from scratch, using the general formula for a derivative:

since here, $f(x) = \sin x,$ we can write

We now use the addition formula in the preceding exercise set to expand $\sin(x+h):$

Substituting this in formula (I) gives

Grouping the first and third terms together, and factoring out the $\sin x$ gives

and we are left with two limits to evaluate. Calculating these limits analytically requires a little trigonometry (press here for these calculations). Alternatively, we can get a good idea of what these two limits are by estimating them numerically. We find that:

and

Therefore,

2. The Six Trigonometric Functions Section 3 Exercises 4. Integrals of Trigonometric Functions Trigonometric Functions Main Page "RealWorld" Page Everything for Calculus

We would welcome comments and suggestions for improving this resource.

Mail us at:
Stefan Waner (matszw@hofstra.edu) Steven R. Costenoble (matsrc@hofstra.edu)

Last Updated: March, 1997
Copyright © 1997 StefanWaner and Steven R. Costenoble