Derivatives of Trigonometric Functions with Examples

The derivatives of trigonometric functions are other trigonometric functions. For example, the derivative of the sine function is equal to the cosine function and the derivative of the cosine function is equal to negative sine.

Here, we will look at the formulas for the derivatives of trigonometric functions. Then, we will look at some exercises where we will apply these formulas.

CALCULUS
Derivatives of trigonometric functions

Relevant for...

Learning about derivatives of trigonometric functions.

See formulas

CALCULUS
Derivatives of trigonometric functions

Relevant for...

Learning about derivatives of trigonometric functions.

See formulas

The derivatives of the six trigonometric functions are: sin′(x) = cos(x), cos′(x) = −sin(x), tan′(x) = sec²(x), cot′(x) = −cosec²(x), sec′(x) = sec(x) tan(x) and cosec′(x) = −cosec(x) cot(x).

Calculate it: derivative of a trigonometric function

FunctionDerivative
sin(x)cos(x)
cos(x)−sin(x)
tan(x)sec²(x)
cot(x)−cosec²(x)
sec(x)sec(x) tan(x)
cosec(x)−cosec(x) cot(x)

If there is an expression u inside the function instead of x, the chain rule adds the factor u′: for example, (sin(u))′ = cos(u) × u′.

Build your function and see every step of its derivative.

Use whole numbers, decimals (1.5 or 1,5) or fractions like 1/2.

Derivative step by step

Accepts pi/4, 2pi/3, 0.5 or 1/3. Leave it empty to skip.

Graph of the function and its derivative

  • y (the function)
  • dy/dx (its derivative)

Try one

Pick the correct derivative for each function.

More options: derivatives calculator.

Formulas for the derivatives of trigonometric functions

Derivative of the sine function

The derivative of the standard sine function is:

$latex \sin^{\prime}(x)=\cos(x)$

To derive sine functions of the form $latex \sin(nx)$, we use the chain rule with $latex y=\sin(u)$ and $latex u=nx$.

Similarly, to derive functions of the form $latex \sin^n(x)=(\sin(x))^n$, we use the chain rule with $latex y=u^n$ and $latex u=\sin(x)$.

Derivative of the cosine function

The derivative of the standard cosine function is:

$latex \cos^{\prime}(x)=-\sin(x)$

If we have functions of the form $latex \cos(nx)$, we can use the chain rule with $latex y=\cos(u)$ and $latex u=nx$.

For functions of the form $latex \cos^n(x)=(\cos(x))^n$, we use the chain rule with $latex y=u^n$ and $latex u=\cos(x)$.

Derivative of the tangent function

The derivative of the standard tangent function is:

$latex \tan^{\prime}(x)=\sec^2(x)$

For functions of the form $latex \tan(nx)$, we use the chain rule with $latex y=\tan(u)$ and $latex u=nx$.

For functions of the form $latex \tan^n(x)=(\tan(x))^n$, we use the chain rule with $latex y=u^n$ and $latex u=\tan(x)$.

Derivative of the cosecant function

The derivative of the standard cosecant function is:

$latex \cosec^{\prime}(x)=-\cosec(x)\cot(x)$

The cosecant functions of the form $latex \cosec(nx)$, can be derived with the chain rule by using $latex y=\cosec(u)$ and $latex u=nx$.

Similarly, functions of the form $latex \cosec^n(x)=(\cosec(x))^n$, are derived with the chain rule with $latex y=u^n$ and $latex u=\cosec(x)$.

Derivative of the secant function

The derivative of the standard secant function is:

$latex \sec^{\prime}(x)=\sec(x)\tan(x)$

Secant functions of the form $latex \sec(nx)$ are derived using the chain rule with $latex y=\sec(u)$ and $latex u=nx$.

Similarly, functions of the form $latex \sec^n(x)=(\sec(x))^n$ are derived using the chain rule with $latex y=u^n$ and $latex u=\sec(x)$.

Derivative of the cotangent function

The derivative of the standard cotangent function is:

$latex \cot^{\prime}(x)=-\cosec^2(x)$

To derive cotangent functions of the form $latex \cot(nx)$, we apply the chain rule with $latex y=\cot(u)$ and $latex u=nx$.

Functions of the form $latex \cot^n(x)=(\sin(x))^n$, are also derived using the chain rule with $latex y=u^n$ and $latex u=\cot(x)$.

Derivatives of trigonometric functions - Examples with answers

EXAMPLE 1

Encuentra la derivada de $latex y=\sin(5x)$.

Solution

EXAMPLE 2

Find the derivative of $latex y=\cos^2(x)$.

Solution

EXAMPLE 3

Find the derivatives of the following functions:

a) $latex y=\sin(x^2+2)~~~$ b) $latex y=\cos(\sqrt{x})$

Solution

EXAMPLE 4

What are the derivatives of the following functions?

a) $latex y=\sin^4(x)~~~$ b) $latex y=\cos^3(2x)$

Solution

EXAMPLE 5

Derives the following functions:

a) $latex y=\tan(3x)~~~$ b) $latex y=4\cosec^2(x)$

Solution

Derivatives of trigonometric functions - Practice problems

Derivatives of trigonometric functions quiz
Logo
You have completed the quiz!

What is the derivative of $latex y=\cosec(x-1)$?

Write the answer in the input box.

$latex \frac{dy}{dx}=$

See also

Interested in learning more about derivatives? You can take a look at these pages:

Learn mathematics with our additional resources in different topics

LEARN MORE