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 3.42

The Derivative of the Tangent Function

Find the derivative of \(f \left(\right. x \left.\right) = \text{tan} x .\)

Solution

Start by expressing \(\text{tan} x\) as the quotient of \(\text{sin} x\) and \(\text{cos} x :\)

\[f \left(\right. x \left.\right) = \text{tan} x = \frac{\text{sin} x}{\text{cos} x} .\]

Now apply the quotient rule to obtain

\[f^{'} \left(\right. x \left.\right) = \frac{\text{cos} x \text{cos} x - \left(\right. − \text{sin} x \left.\right) \text{sin} x}{\left(\right. \text{cos} x \left.\right)^{2}} .\]

Simplifying, we obtain

\[f^{'} \left(\right. x \left.\right) = \frac{\text{cos}^{2} x + \left( \text{sin}\right)^{2} x}{\text{cos}^{2} x} .\]

Recognizing that \(\text{cos}^{2} x + \text{sin}^{2} x = 1 ,\) by the Pythagorean theorem, we now have

\[f^{'} \left(\right. x \left.\right) = \frac{1}{\text{cos}^{2} x} .\]

Finally, use the identity \(\text{sec} x = \frac{1}{\text{cos} x}\) to obtain

\[f^{'} \left(\right. x \left.\right) = \text{sec}^{2} x .\]

Checkpoint 3.28

Find the derivative of \(f \left(\right. x \left.\right) = \text{cot} x .\)

The derivatives of the remaining trigonometric functions may be obtained by using similar techniques. We provide these formulas in the following theorem.

Theorem 3.9

Derivatives of \(\text{tan} x , \text{cot} x , \text{sec} x ,\) and \(\text{csc} x\)

The derivatives of the remaining trigonometric functions are as follows:

\[\frac{d}{d x} \left(\right. \text{tan} x \left.\right) = \text{sec}^{2} x\]
\[\frac{d}{d x} \left(\right. \text{cot} x \left.\right) = − \text{csc}^{2} x\]
\[\frac{d}{d x} \left(\right. \text{sec} x \left.\right) = \text{sec} x \text{tan} x\]
\[\frac{d}{d x} \left(\right. \text{csc} x \left.\right) = − \text{csc} x \text{cot} x.\]

Example 3.43

Finding the Equation of a Tangent Line

Find the equation of a line tangent to the graph of \(f \left(\right. x \left.\right) = \text{cot} x\) at \(x = \frac{\pi}{4} .\)

Solution

To find the equation of the tangent line, we need a point and a slope at that point. To find the point, compute

\[f \left(\right. \frac{\pi}{4} \left.\right) = \text{cot} \frac{\pi}{4} = 1 .\]

Thus the tangent line passes through the point \(\left(\right. \frac{\pi}{4} , 1 \left.\right) .\) Next, find the slope by finding the derivative of \(f \left(\right. x \left.\right) = \text{cot} x\) and evaluating it at \(\frac{\pi}{4} :\)

\[f^{'} \left(\right. x \left.\right) = − \text{csc}^{2} x \text{and} f^{'} \left(\right. \frac{\pi}{4} \left.\right) = − \text{csc}^{2} \left(\right. \frac{\pi}{4} \left.\right) = −2 .\]

Using the point-slope equation of the line, we obtain

\[y - 1 = −2 \left(\right. x - \frac{\pi}{4} \left.\right)\]

or equivalently,

\[y = −2 x + 1 + \frac{\pi}{2} .\]

Example 3.44

Finding the Derivative of Trigonometric Functions

Find the derivative of \(f \left(\right. x \left.\right) = \text{csc} x + x \text{tan} x .\)

Solution

To find this derivative, we must use both the sum rule and the product rule. Using the sum rule, we find

\[f^{'} \left(\right. x \left.\right) = \frac{d}{d x} \left(\right. \text{csc} x \left.\right) + \frac{d}{d x} \left(\right. x \text{tan} x \left.\right) .\]

In the first term, \(\frac{d}{d x} \left(\right. \text{csc} x \left.\right) = − \text{csc} x \text{cot} x ,\) and by applying the product rule to the second term we obtain

\[\frac{d}{d x} \left(\right. x \text{tan} x \left.\right) = \left(\right. 1 \left.\right) \left(\right. \text{tan} x \left.\right) + \left(\right. \text{sec}^{2} x \left.\right) \left(\right. x \left.\right) .\]

Therefore, we have

\[f^{'} \left(\right. x \left.\right) = − \text{csc} x \text{cot} x + \text{tan} x + x \text{sec}^{2} x .\]

Checkpoint 3.29

Find the derivative of \(f \left(\right. x \left.\right) = 2 \text{tan} x - 3 \text{cot} x .\)

Checkpoint 3.30

Find the slope of the line tangent to the graph of \(f \left(\right. x \left.\right) = \text{tan} x\) at \(x = \frac{\pi}{6} .\)

This lesson is part of:

Derivatives

View Full Tutorial

Track Your Learning Progress

Sign in to unlock unlimited practice exams, tutorial practice quizzes, personalized weak area practice, AI study assistance with Lexi, and detailed performance analytics.