3.5 Derivatives of Trigonometric Functions

Learning objectives.

  • 3.5.1 Find the derivatives of the sine and cosine function.
  • 3.5.2 Find the derivatives of the standard trigonometric functions.
  • 3.5.3 Calculate the higher-order derivatives of the sine and cosine.

One of the most important types of motion in physics is simple harmonic motion, which is associated with such systems as an object with mass oscillating on a spring. Simple harmonic motion can be described by using either sine or cosine functions. In this section we expand our knowledge of derivative formulas to include derivatives of these and other trigonometric functions. We begin with the derivatives of the sine and cosine functions and then use them to obtain formulas for the derivatives of the remaining four trigonometric functions. Being able to calculate the derivatives of the sine and cosine functions will enable us to find the velocity and acceleration of simple harmonic motion.

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 f ( x ) , f ( x ) ,

Consequently, for values of h h very close to 0, f ′ ( x ) ≈ f ( x + h ) − f ( x ) h . f ′ ( x ) ≈ f ( x + h ) − f ( x ) h . We see that by using h = 0.01 , h = 0.01 ,

By setting D ( x ) = sin ( x + 0.01 ) − sin x 0.01 D ( x ) = sin ( x + 0.01 ) − sin x 0.01 and using a graphing utility, we can get a graph of an approximation to the derivative of sin x sin x ( Figure 3.25 ).

Upon inspection, the graph of D ( x ) D ( x ) 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

Theorem 3.8

The derivatives of sin x and cos x.

The derivative of the sine function is the cosine and the derivative of the cosine function is the negative sine.

Because the proofs for d d x ( sin x ) = cos x d d x ( sin x ) = cos x and d d x ( cos x ) = − sin x d d x ( cos x ) = − sin x use similar techniques, we provide only the proof for d d x ( sin x ) = cos x . d d x ( sin x ) = cos x . Before beginning, recall two important trigonometric limits we learned in Introduction to Limits :

The graphs of y = ( sin h ) h y = ( sin h ) h and y = ( cos h − 1 ) h y = ( cos h − 1 ) h are shown in Figure 3.26 .

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.

Figure 3.27 shows the relationship between the graph of f ( x ) = sin x f ( x ) = sin x and its derivative f ′ ( x ) = cos x . f ′ ( x ) = cos x . Notice that at the points where f ( x ) = sin x f ( x ) = sin x has a horizontal tangent, its derivative f ′ ( x ) = cos x f ′ ( x ) = cos x takes on the value zero. We also see that where f ( x ) = sin x f ( x ) = sin x is increasing, f ′ ( x ) = cos x > 0 f ′ ( x ) = cos x > 0 and where f ( x ) = sin x f ( x ) = sin x is decreasing, f ′ ( x ) = cos x < 0 . f ′ ( x ) = cos x < 0 .

Example 3.39

Differentiating a function containing sin x.

Find the derivative of f ( x ) = 5 x 3 sin x . f ( x ) = 5 x 3 sin x .

Using the product rule, we have

After simplifying, we obtain

Checkpoint 3.25

Find the derivative of f ( x ) = sin x cos x . f ( x ) = sin x cos x .

Example 3.40

Finding the derivative of a function containing cos x.

Find the derivative of g ( x ) = cos x 4 x 2 . g ( x ) = cos x 4 x 2 .

By applying the quotient rule, we have

Simplifying, we obtain

Checkpoint 3.26

Find the derivative of f ( x ) = x cos x . f ( x ) = x cos x .

Example 3.41

An application to velocity.

A particle moves along a coordinate axis in such a way that its position at time t t is given by s ( t ) = 2 sin t − t s ( t ) = 2 sin t − t for 0 ≤ t ≤ 2 π . 0 ≤ t ≤ 2 π . At what times is the particle at rest?

To determine when the particle is at rest, set s ′ ( t ) = v ( t ) = 0 . s ′ ( t ) = v ( t ) = 0 . Begin by finding s ′ ( t ) . s ′ ( t ) . We obtain

so we must solve

The solutions to this equation are t = π 3 t = π 3 and t = 5 π 3 . t = 5 π 3 . Thus the particle is at rest at times t = π 3 t = π 3 and t = 5 π 3 . t = 5 π 3 .

Checkpoint 3.27

A particle moves along a coordinate axis. Its position at time t t is given by s ( t ) = 3 t + 2 cos t s ( t ) = 3 t + 2 cos t for 0 ≤ t ≤ 2 π . 0 ≤ t ≤ 2 π . 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 3.42

The derivative of the tangent function.

Find the derivative of f ( x ) = tan x . f ( x ) = tan x .

Start by expressing tan x tan x as the quotient of sin x sin x and cos x : cos x :

Now apply the quotient rule to obtain

Recognizing that cos 2 x + sin 2 x = 1 , cos 2 x + sin 2 x = 1 , by the Pythagorean theorem, we now have

Finally, use the identity sec x = 1 cos x sec x = 1 cos x to obtain

Checkpoint 3.28

Find the derivative of f ( x ) = cot x . f ( x ) = 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 tan x , cot x , sec x , tan x , cot x , sec x , and csc x csc x.

The derivatives of the remaining trigonometric functions are as follows:

Example 3.43

Finding the equation of a tangent line.

Find the equation of a line tangent to the graph of f ( x ) = cot x f ( x ) = cot x at x = π 4 . x = π 4 .

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

Thus the tangent line passes through the point ( π 4 , 1 ) . ( π 4 , 1 ) . Next, find the slope by finding the derivative of f ( x ) = cot x f ( x ) = cot x and evaluating it at π 4 : π 4 :

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

or equivalently,

Example 3.44

Finding the derivative of trigonometric functions.

Find the derivative of f ( x ) = csc x + x tan x . f ( x ) = csc x + x tan x .

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

In the first term, d d x ( csc x ) = − csc x cot x , d d x ( csc x ) = − csc x cot x , and by applying the product rule to the second term we obtain

Therefore, we have

Checkpoint 3.29

Find the derivative of f ( x ) = 2 tan x − 3 cot x . f ( x ) = 2 tan x − 3 cot x .

Checkpoint 3.30

Find the slope of the line tangent to the graph of f ( x ) = tan x f ( x ) = tan x at x = π 6 . x = π 6 .

Higher-Order Derivatives

The higher-order derivatives of sin x sin x and cos x cos x follow a repeating pattern. By following the pattern, we can find any higher-order derivative of sin x sin x and cos x . cos x .

Example 3.45

Finding higher-order derivatives of y = sin x y = sin x.

Find the first four derivatives of y = sin x . y = sin x .

Each step in the chain is straightforward:

Once we recognize the pattern of derivatives, we can find any higher-order derivative by determining the step in the pattern to which it corresponds. For example, every fourth derivative of sin x equals sin x , so

Checkpoint 3.31

For y = cos x , y = cos x , find d 4 y d x 4 . d 4 y d x 4 .

Example 3.46

Using the pattern for higher-order derivatives of y = sin x y = sin x.

Find d 74 d x 74 ( sin x ) . d 74 d x 74 ( sin x ) .

We can see right away that for the 74th derivative of sin x , 74 = 4 ( 18 ) + 2 , sin x , 74 = 4 ( 18 ) + 2 , so

Checkpoint 3.32

For y = sin x , y = sin x , find d 59 d x 59 ( sin x ) . d 59 d x 59 ( sin x ) .

Example 3.47

An application to acceleration.

A particle moves along a coordinate axis in such a way that its position at time t t is given by s ( t ) = 2 − sin t . s ( t ) = 2 − sin t . Find v ( π / 4 ) v ( π / 4 ) and a ( π / 4 ) . a ( π / 4 ) . Compare these values and decide whether the particle is speeding up or slowing down.

First find v ( t ) = s ′ ( t ) : v ( t ) = s ′ ( t ) :

Next, find a ( t ) = v ′ ( t ) . a ( t ) = v ′ ( t ) . Thus, a ( t ) = v ′ ( t ) = sin t a ( t ) = v ′ ( t ) = sin t and we have

Since v ( π 4 ) = − 1 2 < 0 v ( π 4 ) = − 1 2 < 0 and a ( π 4 ) = 1 2 > 0 , a ( π 4 ) = 1 2 > 0 , we see that velocity and acceleration are acting in opposite directions; that is, the object is being accelerated in the direction opposite to the direction in which it is travelling. Consequently, the particle is slowing down.

Checkpoint 3.33

A block attached to a spring is moving vertically. Its position at time t t is given by s ( t ) = 2 sin t . s ( t ) = 2 sin t . Find v ( 5 π 6 ) v ( 5 π 6 ) and a ( 5 π 6 ) . a ( 5 π 6 ) . Compare these values and decide whether the block is speeding up or slowing down.

Section 3.5 Exercises

For the following exercises, find d y d x d y d x for the given functions.

y = x 2 − sec x + 1 y = x 2 − sec x + 1

y = 3 csc x + 5 x y = 3 csc x + 5 x

y = x 2 cot x y = x 2 cot x

y = x − x 3 sin x y = x − x 3 sin x

y = sec x x y = sec x x

y = sin x tan x y = sin x tan x

y = ( x + cos x ) ( 1 − sin x ) y = ( x + cos x ) ( 1 − sin x )

y = tan x 1 − sec x y = tan x 1 − sec x

y = 1 − cot x 1 + cot x y = 1 − cot x 1 + cot x

y = cos x ( 1 + csc x ) y = cos x ( 1 + csc x )

For the following exercises, find the equation of the tangent line to each of the given functions at the indicated values of x . x . Then use a calculator to graph both the function and the tangent line to ensure the equation for the tangent line is correct.

[T] f ( x ) = − sin x , x = 0 f ( x ) = − sin x , x = 0

[T] f ( x ) = csc x , x = π 2 f ( x ) = csc x , x = π 2

[T] f ( x ) = 1 + cos x , x = 3 π 2 f ( x ) = 1 + cos x , x = 3 π 2

[T] f ( x ) = sec x , x = π 4 f ( x ) = sec x , x = π 4

[T] f ( x ) = x 2 − tan x , x = 0 f ( x ) = x 2 − tan x , x = 0

[T] f ( x ) = 5 cot x , x = π 4 f ( x ) = 5 cot x , x = π 4

For the following exercises, find d 2 y d x 2 d 2 y d x 2 for the given functions.

y = x sin x − cos x y = x sin x − cos x

y = sin x cos x y = sin x cos x

y = x − 1 2 sin x y = x − 1 2 sin x

y = 1 x + tan x y = 1 x + tan x

y = 2 csc x y = 2 csc x

y = sec 2 x y = sec 2 x

Find all x x values on the graph of f ( x ) = −3 sin x cos x f ( x ) = −3 sin x cos x where the tangent line is horizontal.

Find all x x values on the graph of f ( x ) = x − 2 cos x f ( x ) = x − 2 cos x for 0 < x < 2 π 0 < x < 2 π where the tangent line has slope 2.

Let f ( x ) = cot x . f ( x ) = cot x . Determine the points on the graph of f f for 0 < x < 2 π 0 < x < 2 π where the tangent line(s) is (are) parallel to the line y = −2 x . y = −2 x .

[T] A mass on a spring bounces up and down in simple harmonic motion, modeled by the function s ( t ) = −6 cos t s ( t ) = −6 cos t where s s is measured in inches and t t is measured in seconds. Find the rate at which the spring is oscillating at t = 5 t = 5 s.

Let the position of a swinging pendulum in simple harmonic motion be given by s ( t ) = a cos t + b sin t s ( t ) = a cos t + b sin t where a a and b b are constants, t t measures time in seconds, and s s measures position in centimeters. If the position is 0 cm and the velocity is 3 cm/s when t = 0 t = 0 , find the values of a a and b b .

After a diver jumps off a diving board, the edge of the board oscillates with position given by s ( t ) = −5 cos t s ( t ) = −5 cos t cm at t t seconds after the jump.

  • Sketch one period of the position function for t ≥ 0 . t ≥ 0 .
  • Find the velocity function.
  • Sketch one period of the velocity function for t ≥ 0 . t ≥ 0 .
  • Determine the times when the velocity is 0 over one period.
  • Find the acceleration function.
  • Sketch one period of the acceleration function for t ≥ 0 . t ≥ 0 .

The number of hamburgers sold at a fast-food restaurant in Pasadena, California, is given by y = 10 + 5 sin x y = 10 + 5 sin x where y y is the number of hamburgers sold and x x represents the number of hours after the restaurant opened at 11 a.m. until 11 p.m., when the store closes. Find y ′ y ′ and determine the intervals where the number of burgers being sold is increasing.

[T] The amount of rainfall per month in Phoenix, Arizona, can be approximated by y ( t ) = 0.5 + 0.3 cos t , y ( t ) = 0.5 + 0.3 cos t , where t t is months since January. Find y ′ y ′ and use a calculator to determine the intervals where the amount of rain falling is decreasing.

For the following exercises, use the quotient rule to derive the given equations.

d d x ( cot x ) = − csc 2 x d d x ( cot x ) = − csc 2 x

d d x ( sec x ) = sec x tan x d d x ( sec x ) = sec x tan x

d d x ( csc x ) = − csc x cot x d d x ( csc x ) = − csc x cot x

Use the definition of derivative and the identity

cos ( x + h ) = cos x cos h − sin x sin h cos ( x + h ) = cos x cos h − sin x sin h to prove that d ( cos x ) d x = − sin x . d ( cos x ) d x = − sin x .

For the following exercises, find the requested higher-order derivative for the given functions.

d 3 y d x 3 d 3 y d x 3 of y = 3 cos x y = 3 cos x

d 2 y d x 2 d 2 y d x 2 of y = 3 sin x + x 2 cos x y = 3 sin x + x 2 cos x

d 4 y d x 4 d 4 y d x 4 of y = 5 cos x y = 5 cos x

d 2 y d x 2 d 2 y d x 2 of y = sec x + cot x y = sec x + cot x

d 3 y d x 3 d 3 y d x 3 of y = x 10 − sec x y = x 10 − sec x

As an Amazon Associate we earn from qualifying purchases.

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License and you must attribute OpenStax.

Access for free at https://openstax.org/books/calculus-volume-1/pages/1-introduction
  • Authors: Gilbert Strang, Edwin “Jed” Herman
  • Publisher/website: OpenStax
  • Book title: Calculus Volume 1
  • Publication date: Mar 30, 2016
  • Location: Houston, Texas
  • Book URL: https://openstax.org/books/calculus-volume-1/pages/1-introduction
  • Section URL: https://openstax.org/books/calculus-volume-1/pages/3-5-derivatives-of-trigonometric-functions

© Feb 5, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.

  • Study Guides
  • Trigonometric Function Differentiation
  • Absolute Value
  • Linear Equations
  • Trigonometric Functions
  • Interval Notation
  • Evaluating Limits
  • One-sided Limits
  • Infinite Limits
  • Limits at Infinity
  • Limits Involving Trigonometric Functions
  • Intuitive Definition
  • Implicit Differentiation
  • Higher Order Derivatives
  • Differentiation of Inverse Trigonometric Functions
  • Differentiation of Exponential and Logarithmic Functions
  • Differentation Rules
  • Critical Points
  • Extreme Value Theorem
  • Mean Value Theorem
  • Increasing/Decreasing Functions
  • First Derivative Test for Local Extrema
  • Second Derivative Test for Local Extrema
  • Tangent and Normal Lines
  • Concavity and Points of Inflection
  • Maximum/Minimum Problems
  • Distance, Velocity, and Acceleration
  • Related Rates of Change
  • Differentials
  • Definite Integrals
  • Antiderivatives/Indefinite Integrals
  • Integration Techniques
  • Volumes of Solids of Revolution
  • Volumes of Solids with Known Cross Sections

The six trigonometric functions also have differentiation formulas that can be used in application problems of the derivative. The rules are summarized as follows:

1. If f ( x ) = sin x , then f ′( x ) = cos x

2. If f ( x ) = cos x , then f ′( x ) = −sin x

3. If f ( x ) = tan x , then f ′( x ) = sec 2 x

4. If f ( x ) = cot x , then f ′( x ) = −csc 2 x .

5. If f ( x ) = sec x , then f ′( x ) = sec x tan x

6. If f ( x ) = csc x , then f ′( x ) = −csc x cot x

Note that rules (3) to (6) can be proven using the quotient rule along with the given function expressed in terms of the sine and cosine functions, as illustrated in the following example.

Example 1: Use the definition of the tangent function and the quotient rule to prove if f ( x ) = tan x , than f ′( x ) = sec 2 x .

Example 2: Find y ′ if y = x 3 cot x .

Example 4: Find the slope of the tangent line to the curve y = sin x at the point (π/2,1)

Because the slope of the tangent line to a curve is the derivative, you find that y′ = cos x ; hence, at (π/2,1), y ′ = cos π/2 = 0, and the tangent line has a slope 0 at the point (π/2,1). Note that the geometric interpretation of this result is that the tangent line is horizontal at this point on the graph of y = sin x .

Previous Differentation Rules

Next Critical Points

Library homepage

  • school Campus Bookshelves
  • menu_book Bookshelves
  • perm_media Learning Objects
  • login Login
  • how_to_reg Request Instructor Account
  • hub Instructor Commons
  • Download Page (PDF)
  • Download Full Book (PDF)
  • Periodic Table
  • Physics Constants
  • Scientific Calculator
  • Reference & Cite
  • Tools expand_more
  • Readability

selected template will load here

This action is not available.

Mathematics LibreTexts

3.3: Derivatives of Trigonometric Functions

  • Last updated
  • Save as PDF
  • Page ID 116566

This page is a draft and is under active development. 

  • Gilbert Strang & Edwin “Jed” Herman

Learning Objectives

  • Compute the derivatives of the standard trigonometric functions.
  • Calculate the higher-order derivatives of the sine and cosine.

One of the most important types of motion in physics is simple harmonic motion, which is associated with such systems as an object with mass oscillating on a spring. Simple harmonic motion can be described by using either sine or cosine functions. In this section we expand our knowledge of derivative formulas to include derivatives of these and other trigonometric functions. We begin with the derivatives of the sine and cosine functions and then use them to obtain formulas for the derivatives of the remaining four trigonometric functions. Being able to calculate the derivatives of the sine and cosine functions will enable us to find the velocity and acceleration of simple harmonic motion.

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 \(f(x),\)

\[f^{\prime}(x)=\lim_{h \to 0}\dfrac{f(x+h)−f(x)}{h}. \nonumber \]

Consequently, for values of \(h\) very close to \(0\),

\[f^{\prime}(x) \approx \dfrac{f(x+h)−f(x)}{h}. \nonumber \]

We see that by using \(h=0.01\),

\[\dfrac{d}{dx}(\sin x) \approx \dfrac{\sin (x+0.01)−\sin x}{0.01} \nonumber \]

\[D(x)=\dfrac{\sin (x+0.01)−\sin x}{0.01} \nonumber \]

and using a graphing utility, we can get a graph of an approximation to the derivative of \(\sin x\) (Figure \(\PageIndex{1}\)).

The function D(x) = (sin(x + 0.01) − sin x)/0.01 is graphed. It looks a lot like a cosine curve.

Upon inspection, the graph of \(D(x)\) appears to be very close to the graph of the cosine function. Indeed, we will show that

\[\dfrac{d}{dx}(\sin x)=\cos x. \nonumber \]

If we were to follow the same steps to approximate the derivative of the cosine function, we would find that

\[\dfrac{d}{dx}(\cos x)=−\sin x. \nonumber \]

Theorem \(\PageIndex{1}\): The Derivatives of \(\sin{(x)}\) and \(\cos{(x)}\)

The derivative of the sine function is the cosine and the derivative of the cosine function is the negative sine.

\[\dfrac{d}{dx}(\sin{(x)})=\cos{( x)} \nonumber \]

\[\dfrac{d}{dx}(\cos{(x)})=−\sin{( x)} \nonumber \]

Because the proofs for \(\frac{d}{dx}(\sin x)=\cos x\) and \(\frac{d}{dx}(\cos x)=−\sin x\) use similar techniques, we provide only the proof for \(\frac{d}{dx}(\sin x)=\cos x\). Before beginning, recall two important trigonometric limits:\[\displaystyle \lim_{h \to 0}\dfrac{\sin h}{h}=1 \quad \text{and} \quad \displaystyle \lim_{h \to 0}\dfrac{\cos h−1}{h}=0.\nonumber\]The graphs of \(y=\frac{\sin h}{h}\) and \(y=\frac{\cos h−1}{h}\) are shown in Figure \(\PageIndex{2}\) .

The function y = (sin h)/h and y = (cos h – 1)/h are graphed. They both have discontinuities on the y-axis.

We also recall the following trigonometric identity for the sine of the sum of two angles:\[\sin (x+h)=\sin x\cos h+\cos x\sin h. \nonumber \]Now that we have gathered all the necessary equations and identities, we proceed with the proof.\[\begin{array}{rclr} \dfrac{d}{dx}(\sin x) & = & \displaystyle \lim_{h \to 0}\dfrac{\sin(x+h)−\sin x}{h} & \left( \text{Apply the definition of the derivative.} \right) \\ & = & \displaystyle \lim_{h \to 0}\dfrac{\sin x\cos h+\cos x\sin h−\sin x}{h} & \left( \text{Use trig identity for the sine of the sum of two angles.} \right) \\ & = & \displaystyle \lim_{h \to 0}\left(\dfrac{\sin x\cos h−\sin x}{h}+\dfrac{\cos x\sin h}{h}\right) & \left( \text{Regroup.} \right) \\ & = & \displaystyle \lim_{h \to 0}\left(\sin x\left(\dfrac{\cos h−1}{h}\right)+(\cos x)\left(\dfrac{\sin h}{h}\right)\right) & \left( \text{Factor out }\sin x\text{ and }\cos x \right) \\ & = & (\sin x)\lim_{h \to 0}\left(\dfrac{\cos h−1}{h}\right)+(\cos x)\lim_{h \to 0}\left(\dfrac{\sin h}{h}\right) & \left( \text{Factor }\sin x\text{ and }\cos x \text{ out of limits.} \right) \\ & = & (\sin x)(0)+(\cos x)(1) & \left( \text{Apply trig limit formulas.} \right) \\ & = & \cos x & \\ \end{array} \nonumber \]

Figure \(\PageIndex{3}\) shows the relationship between the graph of \(f(x)=\sin x\) and its derivative \(f^{\prime}(x)=\cos x\). Notice that at the points where \(f(x)=\sin x\) has a horizontal tangent, its derivative \(f^{\prime}(x)=\cos x\) takes on the value zero. We also see that where f\((x)=\sin x\) is increasing, \(f^{\prime}(x)=\cos x>0\) and where \(f(x)=\sin x\) is decreasing, \(f^{\prime}(x)=\cos x<0.\)

The functions f(x) = sin x and f’(x) = cos x are graphed. It is apparent that when f(x) has a maximum or a minimum that f’(x) = 0.

Example \(\PageIndex{1}\): Differentiating a Function Containing \(\sin x\)

Find the derivative of \(f(x)=5x^3\sin x\).

Using the Product Rule, we have

\[ \begin{array}{rcl} f^{\prime}(x) & = & \dfrac{d}{dx}(5x^3) \cdot \sin x+\dfrac{d}{dx}(\sin x) \cdot 5x^3 \\ & = & 15x^2 \cdot \sin x+\cos x \cdot 5x^3. \\ \end{array}\nonumber\]

After simplifying, we obtain

\[f^{\prime}(x)=15x^2\sin x+5x^3\cos x. \nonumber \]

Exercise \(\PageIndex{1}\)

Find the derivative of \(f(x)=\sin x\cos x.\)

Don’t forget to use the Product Rule.

\[f^{\prime}(x)=\cos^2x−\sin^2x \nonumber \]

Example \(\PageIndex{2}\): Finding the Derivative of a Function Containing cos x

Find the derivative of \(g(x)=\frac{\cos x}{4x^2}\).

By applying the Quotient Rule, we have

\[g^{\prime}(x)=\dfrac{(−\sin x)4x^2−8x(\cos x)}{(4x^2)^2}. \nonumber \]

Simplifying, we obtain

\[g^{\prime}(x)=\dfrac{−4x^2\sin x−8x\cos x}{16x^4}=\dfrac{−x\sin x−2\cos x}{4x^3}. \nonumber \]

Exercise \(\PageIndex{2}\)

Find the derivative of \(f(x)=\frac{x}{\cos x}\).

Use the Quotient Rule.

\(f'(x) = \frac{\cos x+x\sin x}{\cos^2x}\)

Example \(\PageIndex{3}\): An Application to Velocity

A particle moves along a coordinate axis in such a way that its position at time \(t\) is given by \(s(t)=2\sin t−t\) for \(0 \leq t \leq 2 \pi .\) At what times is the particle at rest?

To determine when the particle is at rest, set \(s^{\prime}(t)=v(t)=0.\) Begin by finding \(s^{\prime}(t).\) We obtain

\[s^{\prime}(t)=2 \cos t−1, \nonumber \]

so we must solve

\[2 \cos t−1=0\text{ for }0 \leq t \leq 2 \pi . \nonumber \]

The solutions to this equation are \(t=\frac{ \pi }{3}\) and \(t=\frac{5 \pi }{3}\). Thus the particle is at rest at times \(t=\frac{ \pi }{3}\) and \(t=\frac{5 \pi }{3}\).

Exercise \(\PageIndex{3}\)

A particle moves along a coordinate axis. Its position at time \(t\) is given by \(s(t)=\sqrt{3}t+2\cos t\) for \(0 \leq t \leq 2 \pi .\) At what times is the particle at rest?

Use the previous example as a guide.

\(t=\frac{ \pi }{3},\quad t=\frac{2 \pi }{3}\)

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 \(\PageIndex{4}\): The Derivative of the Tangent Function

Find the derivative of \(f(x)=\tan x.\)

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

\[f(x)=\tan x =\dfrac{\sin x}{\cos x}.\nonumber\]

Now apply the Quotient Rule to obtain

\[f^{\prime}(x)=\dfrac{\cos x\cos x−(−\sin x)\sin x}{(\cos x)^2}.\nonumber\]

\[f^{\prime}(x)=\dfrac{\cos^2x+\sin^2 x}{\cos^2x}. \nonumber \]

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

\[f^{\prime}(x)=\dfrac{1}{\cos^2x}. \nonumber \]

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

\[f^{\prime}(x)=\text{sec}^2 x.\nonumber\]

Exercise \(\PageIndex{4}\)

Find the derivative of \(f(x)=\cot x .\)

Rewrite \(\cot x \) as \(\frac{\cos x}{\sin x}\) and use the Quotient Rule.

\(f^{\prime}(x)=−\csc^2 x\)

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

Theorem \(\PageIndex{2}\): Derivatives of \(\tan{(x)}\), \(\cot{(x)}\), \(\sec{(x)}\), and \(\csc{(x)}\)

The derivatives of the remaining trigonometric functions (along with the sine and cosine) are as follows:

\[ \begin{array}{rclcrcl}  \dfrac{d}{dx}(\sin{(x)}) & = & \cos{(x)} & \quad & \dfrac{d}{dx}(\csc{(x)}) & = & −\csc{(x)} \cot{(x)} \\ \dfrac{d}{dx}(\cos{(x)}) & = & -\sin{(x)} & \quad & \dfrac{d}{dx}(\sec{(x)}) & = & \sec{(x)} \tan{(x)} \\ \dfrac{d}{dx}(\tan{(x)}) & = & \sec^2{(x)} & \quad & \dfrac{d}{dx}(\cot{(x)}) & = & −\csc^2{(x)} \\   \end{array} \nonumber \]

At this point, getting these formulas cemented in your memory as quickly and efficiently as possible is very important. The following might help a little:

The derivatives of the  co sine,  co secant, and  co tangent have a negative sign in their formulas (not to be construed as "they are always negative," which is not true).

Example \(\PageIndex{5}\): Finding the Equation of a Tangent Line

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

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(\dfrac{ \pi }{4}\right)=\cot\dfrac{ \pi }{4}=1.\nonumber\]

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

\[f^{\prime}(x)=−\csc^2 x \quad \text{and} \quad f^{\prime}\left(\dfrac{ \pi }{4}\right)=−\csc^2\left(\dfrac{ \pi }{4}\right)=−2.\nonumber\]

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

\[y−1=−2\left(x−\dfrac{ \pi }{4}\right)\nonumber\]

or equivalently,

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

Example \(\PageIndex{6}\): Finding the Derivative of Trigonometric Functions

Find the derivative of \(f(x)=\csc x+x\tan x .\)

To find this derivative, we must use both the Sum Rule and the Product Rule. Using the Sum Rule, we find

\[f^{\prime}(x)=\dfrac{d}{dx}(\csc x)+\dfrac{d}{dx}(x\tan x ).\nonumber\]

In the first term, \(\frac{d}{dx}(\csc x)=−\csc x\cot x ,\) and by applying the Product Rule to the second term we obtain

\[\dfrac{d}{dx}(x\tan x )=(1)(\tan x )+(\sec^2 x)(x).\nonumber\]

Therefore, we have

\[f^{\prime}(x)=−\csc x\cot x +\tan x +x\sec^2 x. \nonumber\]

Exercise \(\PageIndex{6}\)

Find the derivative of \(f(x)=2\tan x −3\cot x .\)

Use the rule for differentiating a constant multiple and the rule for differentiating a difference of two functions.

\(f^{\prime}(x)=2\sec^2 x+3\csc^2 x\)

Example \(\PageIndex{7}\)

\[ \dfrac{d}{dx} \left( \dfrac{\tan{(x)}}{1 + \cos{(x)}} \right) \nonumber \]

\[ \begin{array}{rclr}  \dfrac{d}{dx} \left( \dfrac{\tan{(x)}}{1 + \cos{(x)}} \right) & = & \dfrac{ \dfrac{d}{dx}\left( \tan{(x)} \right) \left[1 + \cos{(x)}\right] - \tan{(x)} \dfrac{d}{dx} \left( 1 + \cos{(x)} \right)}{\left[ 1 + \cos{(x)} \right]^2} & \left(\text{Calculus: Quotient Rule}\right) \\ & = & \dfrac{\sec^2{(x)} \left[1 + \cos{(x)}\right] - \tan{(x)}\left[ -\sin{(x)} \right] }{\left[ 1 + \cos{(x)} \right]^2} & \\ & = & \dfrac{\sec^2{(x)} \left[1 + \cos{(x)}\right] + \sin{(x)} \tan{(x)}}{\left[ 1 + \cos{(x)} \right]^2} & \\ \end{array} \nonumber \]

The tricky thing about trigonometric functions is the number of identities that you have and the ultimate desire to simplify your answers. It's often best to perform a few extra steps to see if any algebra or trigonometry could simplify this result further.

\[ \begin{array}{rclr}  \dfrac{\sec^2{(x)} \left[1 + \cos{(x)}\right] + \sin{(x)} \tan{(x)}}{\left[ 1 + \cos{(x)} \right]^2} & = & \dfrac{\left[1 + \cos{(x)}\right] + \cos{(x)} \sin^2{(x)}}{\cos^2{(x)} \left[ 1 + \cos{(x)} \right]^2 } & \left(\text{Algebra: multiply by }\dfrac{\cos^2{(x)}}{\cos^2{(x)}}\right) \\ & = & \dfrac{\left[1 + \cos{(x)}\right] + \cos{(x)} \left[1 - \cos^2{(x)}\right]}{\cos^2{(x)} \left[ 1 + \cos{(x)} \right]^2} & \left(\text{Trigonometry: Pythagorean Identity}\right) \\ & = & \dfrac{\left[1 + \cos{(x)}\right] + \cos{(x)} \left[1 - \cos{(x)}\right]\left[1 + \cos{(x)}\right]}{\cos^2{(x)} \left[ 1 + \cos{(x)} \right]^2} & \left(\text{Algebra: difference of squares}\right) \\ & = & \dfrac{\left[1 + \cos{(x)}\right]\left(1 + \cos{(x)} \left[1 - \cos{(x)}\right]\right)}{\cos^2{(x)} \left[ 1 + \cos{(x)} \right]^2} & \left(\text{Algebra: factor out GCF}\right) \\  & = & \dfrac{\cancel{\left[1 + \cos{(x)}\right]}\left(1 + \cos{(x)} \left[1 - \cos{(x)}\right]\right)}{\cos^2{(x)} \left[ 1 + \cos{(x)} \right]^{\cancelto{1}{2}}} & \left(\text{Algebra: cancel like factors}\right) \\ & = & \dfrac{1 + \cos{(x)} - \cos^2{(x)}}{\cos^2{(x)} \left[ 1 + \cos{(x)} \right]} & \left(\text{Algebra: distribute}\right) \\ \end{array}  \nonumber \]

As you can see, our efforts to arrive at a more "simplified" form have not really paid off. Any of these answers are equivalent, and none are really "simpler" than others; however, it is  always  advisable to perform a few extra steps like this to see if your results simplify (they often will).

Exercise \(\PageIndex{7}\)

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

Evaluate the derivative at \(x=\frac{ \pi }{6}\).

\(\frac{4}{3}\)

Higher-Order Derivatives

The higher-order derivatives of \(\sin x\) and \(\cos x\) follow a repeating pattern. By following the pattern, we can find any higher-order derivative of \(\sin x\) and \(\cos x.\)

Example \(\PageIndex{8}\): Finding Higher-Order Derivatives of \(y=\sin x\)

Find the first four derivatives of \(y=\sin x.\)

Each step in the chain is straightforward:

\[\begin{array}{rcl} y & = & \sin x \\ \dfrac{dy}{dx} & = & \cos x \\ \dfrac{d^2y}{dx^2} & = & −\sin x \\ \dfrac{d^3y}{dx^3} & = & −\cos x \\ \dfrac{d^4y}{dx^4} & = & \sin x \\ \end{array}\nonumber\]

Once we recognize the pattern of derivatives, we can find any higher-order derivative by determining the step in the pattern to which it corresponds. For example, every fourth derivative of \(\sin x\) equals \(\sin x\), so

\[\dfrac{d^4}{dx^4}(\sin x)=\dfrac{d^8}{dx^8}(\sin x)=\dfrac{d^{12}}{dx^{12}}(\sin x)=…=\dfrac{d^{4n}}{dx^{4n}}(\sin x)=\sin x \nonumber \]

\[\dfrac{d^5}{dx^5}(\sin x)=\dfrac{d^9}{dx^9}(\sin x)=\dfrac{d^{13}}{dx^{13}}(\sin x)=…=\dfrac{d^{4n+1}}{dx^{4n+1}}(\sin x)=\cos x. \nonumber \]

Exercise \(\PageIndex{8}\)

For \(y=\cos x\), find \(\frac{d^4y}{dx^4}\).

See the previous example.

Example \(\PageIndex{9}\): Using the Pattern for Higher-Order Derivatives of \(y=\sin x\)

Find \(\frac{d^{74}}{dx^{74}}(\sin x)\).

We can see right away that for the 74th derivative of \(\sin x\), \(74=4(18)+2\), so

\[\dfrac{d^{74}}{dx^{74}}(\sin x)=\dfrac{d^{72+2}}{dx^{72+2}}(\sin x)=\dfrac{d^2}{dx^2}(\sin x)=−\sin x. \nonumber \]

Exercise \(\PageIndex{9}\)

For \(y=\sin x\), find \(\frac{d^{59}}{dx^{59}}(\sin x).\)

\(\frac{d^{59}}{dx^{59}}(\sin x)=\frac{d^{4 \cdot 14+3}}{dx^{4 \cdot 14+3}}(\sin x)\)

\(−\cos x\)

Example \(\PageIndex{10}\): An Application to Acceleration

A particle moves along a coordinate axis in such a way that its position at time \(t\) is given by \(s(t)=2−\sin t\). Find \(v( \pi /4)\) and \(a( \pi /4)\). Compare these values and decide whether the particle is speeding up or slowing down.

First find \(v(t)=s^{\prime}(t)\)

\[v(t)=s^{\prime}(t)=−\cos t . \nonumber \]

\[v\left(\frac{ \pi }{4}\right)=−\dfrac{1}{\sqrt{2}}=-\dfrac{\sqrt{2}}{2}.\nonumber\]

Next, find \(a(t)=v^{\prime}(t)\). Thus, \(a(t)=v^{\prime}(t)=\sin t\) and we have

\[a\left(\frac{ \pi }{4}\right)=\dfrac{1}{\sqrt{2}}=\dfrac{\sqrt{2}}{2}.\nonumber\]

Since \(v\left(\frac{ \pi }{4}\right)=−\frac{\sqrt{2}}{2}<0\) and \(a\left(\frac{ \pi }{4}\right)=\frac{\sqrt{2}}{2}>0\), we see that velocity and acceleration are acting in opposite directions; that is, the object is being accelerated in the direction opposite to the direction in which it is traveling. Consequently, the particle is slowing down.

Exercise \(\PageIndex{10}\)

A block attached to a spring is moving vertically. Its position at time t is given by \(s(t)=2\sin t\). Find \(v\left(\frac{5 \pi }{6}\right)\) and \(a\left(\frac{5 \pi }{6}\right)\). Compare these values and decide whether the block is speeding up or slowing down.

Use Example \(\PageIndex{10}\) as a guide.

\(v\left(\frac{5 \pi }{6}\right)=−\sqrt{3}<0\) and \(a\left(\frac{5 \pi }{6}\right)=−1<0\). The block is speeding up.

Key Concepts

  • We can find the derivatives of \(\sin x\) and \(\cos x\) by using the definition of derivative and the limit formulas found earlier. The results are

\(\dfrac{d}{dx}\big(\sin x\big)=\cos x\quad\text{and}\quad\dfrac{d}{dx}\big(\cos x\big)=−\sin x\).

  • With these two formulas, we can determine the derivatives of all six basic trigonometric functions.

Key Equations

  • Derivative of sine function

\(\dfrac{d}{dx}(\sin x)=\cos x\)

  • Derivative of cosine function

\(\dfrac{d}{dx}(\cos x)=−\sin x\)

  • Derivative of tangent function

\(\dfrac{d}{dx}(\tan x )=\sec^2x\)

  • Derivative of cotangent function

\(\dfrac{d}{dx}(\cot x )=−\csc^2x\)

  • Derivative of secant function

\(\dfrac{d}{dx}(\sec x)=\sec x\tan x \)

  • Derivative of cosecant function

\(\dfrac{d}{dx}(\csc x)=−\csc x\cot x \)

IMAGES

  1. Notes on Differentiation of Trigonometric Functions by Unacademy

    differentiation of trigonometric functions homework answers

  2. Differentiation trigonometric functions by MLPTimmins

    differentiation of trigonometric functions homework answers

  3. Derivative Of Trigonometric Functions Worksheet

    differentiation of trigonometric functions homework answers

  4. Trigonometric Ratios Worksheet Answers

    differentiation of trigonometric functions homework answers

  5. Differentiation Formulas & Rules

    differentiation of trigonometric functions homework answers

  6. Trigonometric Equations Worksheet With Answers Pdf

    differentiation of trigonometric functions homework answers

VIDEO

  1. Inverse trigonometric functions

  2. Part008 Differentiation of the trigonometric functions

  3. Thomas Calculus Exercise 3.1 Question 13-16 solution

  4. Differentiation of trigonometric functions

  5. How to Solve Trigonometric Equations

  6. Differentiation of Trigonometric Functions

COMMENTS

  1. 3.5: Derivatives of Trigonometric Functions

    Use the rule for differentiating a constant multiple and the rule for differentiating a difference of two functions. Answer \(f′(x)=2\sec^2 x+3\csc^2 x\) ... Derivatives of Trigonometric Functions is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Gilbert Strang & Edwin "Jed" Herman ...

  2. Differentiation of Trigonometric Functions Questions and Answers

    Differentiation of Trigonometric Functions Questions and Answers. Questions and Answers ( 584 ) Find the second derivative. 6 sec (x - pi/2) View Answer. Consider the function g (x) = sin x cos x. (a) Find an equation of the tangent line to the graph of g at (\pi/3, \sqrt3/4) (b) Find the critical number (s) of g on the interval [0, 2\pi].

  3. 3.5 Derivatives of Trigonometric Functions

    3.5.2 Find the derivatives of the standard trigonometric functions. 3.5.3 Calculate the higher-order derivatives of the sine and cosine. One of the most important types of motion in physics is simple harmonic motion, which is associated with such systems as an object with mass oscillating on a spring.

  4. PDF Differentiation

    ©g p230 Y183g UK8uSt Va1 qSHo9fotSwyadrZeO GL2LICZ. G 3 3A Clul O 2rli Hgih it ls 5 4r de4s YeVrTvmeodM.L d ZMLaedme4 LwBibtqh 4 HIhnXfNiPn1iNtuek nC uaSlVcunl eu isQ.P Worksheet by Kuta Software LLC

  5. 3.4: Derivatives of Trigonometric Functions

    x at x = π 2 x = π 2. Find the equation of the line tangent to the graph of y = sec x + tan x y = sec. ⁡. x + tan. ⁡. x at x = −π 4 x = − π 4. 3.4: Derivatives of Trigonometric Functions is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

  6. Trigonometric Function Differentiation

    Trigonometric Function Differentiation. The six trigonometric functions also have differentiation formulas that can be used in application problems of the derivative. The rules are summarized as follows: 1. If f ( x) = sin x, then f ′ ( x) = cos x. 2. If f ( x) = cos x, then f ′ ( x) = −sin x. 3.

  7. Calculus Derivative: Trigonometric Functions

    A good way to get better at finding derivatives for trigonometric functions is more practice! You can try out more practice problems at the top of this page. Once you are familiar with this topic, you can also try other practice problems. Soon, you will find all derivatives problems easy to solve.

  8. Differentiation of Trigonometry Functions

    In the following discussion and solutions the derivative of a function h ( x) will be denoted by or h ' ( x) . The following problems require the use of these six basic trigonometry derivatives : These rules follow from the limit definition of derivative, special limits, trigonometry identities, or the quotient rule.

  9. Solved 10. Differentiation of Trigonometric Functions

    Math; Calculus; Calculus questions and answers; 10. Differentiation of Trigonometric Functions - Homework Identify the forms of the following expressions and take the derivative. 1.y=sin 3x 2. y=xsinx sin 4. y 5. ya 6.

  10. 3.5: Derivatives of Trigonometric Functions

    Derivative of cosine function. Derivative of tangent function. Derivative of cotangent function. Derivative of secant function. Derivative of cosecant function. 3.5: Derivatives of Trigonometric Functions is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

  11. 3.5 Trig Derivatives

    File Size: 232 kb. File Type: pdf. Download File. Below is a walkthrough for the test prep questions. Try them ON YOUR OWN first, then watch if you need help. A little suffering is good for you...and it helps you learn. Calculus Test Prep - 3.5.

  12. Solved 3.3: Derivatives of Trigonometric Functions 3.

    Calculus questions and answers; 3.3: Derivatives of Trigonometric Functions 3. Compute the derivative of each function below using differentiation rules. (a) f(x) = cos 1 + sin (b) (0) - 1 + cos2 (c) f(x)=etanz (Compute (d) in two ways, using (i) the quotient rule and (ii) the Sec (d) = va product rule.)

  13. 2.4: Derivatives of Trigonometric functions

    Answer \[f′(x)=\cos^2x−\sin^2x\] Example \(\PageIndex{2}\): Finding the Derivative of a Function Containing cos x. ... 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 ...

  14. Solved Show how the differentiation of the following

    This problem has been solved! You'll get a detailed solution from a subject matter expert that helps you learn core concepts. Question: Show how the differentiation of the following trigonometric functions is derived: a. Secant u b. Cosecant u c. Cotangent u where u = f (x) a. Secant u. b.

  15. 3.3: Derivatives of Trigonometric Functions

    Answer. The derivatives of the remaining trigonometric functions may be obtained by using similar techniques. We provide these formulas in the following theorem. Theorem 3.3.2 : Derivatives of tan(x), cot(x), sec(x), and csc(x) The derivatives of the remaining trigonometric functions (along with the sine and cosine) are as follows: d dx(sin(x ...

  16. Solved 10. Differentiation of Trigonometric Functions

    Calculus questions and answers; 10. Differentiation of Trigonometric Functions - Homework Identify the forms of the following expressions and take the derivative. 1. yusin 34 2. у хвinx 3. y = cos( - ) sin 5. y 6. f(x) = con 26-sin 3x sin 7. yasinºs +003* * &y= sinx+2 9. ytan 4-1 10. yux'sinº 11. y=100[1-2x+3) 12. 7(x)=cos*** 13. }(x)=cor'

  17. 3.4 Differentiating Inverse Trigonometric Functions

    calc_3.4_packet.pdf. File Size: 446 kb. File Type: pdf. Download File. Want to save money on printing? Support us and buy the Calculus workbook with all the packets in one nice spiral bound book. Solution manuals are also available.

  18. Solved Name 3.5 Derivatives of Inverse Trigonometric

    Question: Name 3.5 Derivatives of Inverse Trigonometric Functions Homework Date Period Problems 1 - 12 differentiate. 1. y = tan-(e) 2. y = cos?

  19. Solved Name 3.5 Derivatives of Inverse Trigonometric

    Calculus questions and answers. Name 3.5 Derivatives of Inverse Trigonometric Functions Homework Date Period Problems 1 - 12 differentiate. 1. y = tan- (e) 2. y = cost 3. h (x) = arccos 4. y = cos (x 5. y = arctan 6. 9 (x) = sinº12 18 Jean Adams Flamingo Math, LLC 7. h (x) = 2x sinx & y=tan (cos x) 9. 9 (x) = xotan 3x 10. f (x) = 11. (X) = 3 ...