Trigonometric Derivative Calculator

Published on: July 17, 2026
Final Answer: Free | Full Steps: Plus

This Trigonometric Derivative Calculator differentiates sine, cosine, tangent and their relatives, and shows the working line by line. Each function has its own fixed derivative, and the ones built on cosine carry a minus sign that the others do not. A constant multiple in front is carried through unchanged. Following the same pattern every time keeps the signs attached to the right functions.

Step-by-step method

  1. Set up the problem.
  2. Write the derivative rule for that trigonometric function.
  3. Move the constant multiple in front of the derivative.
  4. Apply the derivative rule.

Formula: Derivative of sin(x)

The derivative of sin(x) is cos(x).

\(\frac{d}{dx}\left(\sin{\left(x \right)}\right) = \cos{\left(x \right)}\)

Formula: Derivative of cos(x)

The derivative of cos(x) is minus sin(x).

\(\frac{d}{dx}\left(\cos{\left(x \right)}\right) = - \sin{\left(x \right)}\)

Formula: Derivative of tan(x)

The derivative of tan(x) is sec squared of x.

\(\frac{d}{dx}\left(\tan{\left(x \right)}\right) = \sec^{2}{\left(x \right)}\)

Formula: Derivative of sec(x)

The derivative of sec(x) is tan(x) times sec(x).

\(\frac{d}{dx}\left(\sec{\left(x \right)}\right) = \tan{\left(x \right)} \sec{\left(x \right)}\)

Formula: Derivative of csc(x)

The derivative of csc(x) is minus cot(x) times csc(x).

\(\frac{d}{dx}\left(\csc{\left(x \right)}\right) = - \cot{\left(x \right)} \csc{\left(x \right)}\)

Formula: Derivative of cot(x)

The derivative of cot(x) is minus csc squared of x.

\(\frac{d}{dx}\left(\cot{\left(x \right)}\right) = - \csc^{2}{\left(x \right)}\)

Useful Tips to Remember

The derivative of \(\sin x\) is \(\cos x\), the derivative of \(\cos x\) is \(-\sin x\), and the derivative of \(\tan x\) is \(\sec^2 x\). Remember the minus sign for cosine. These results only work when \(x\) is measured in radians. Use the chain rule for inputs like \(3x\) or \(x^2\).

Required knowledge

Where Are Trigonometric Derivatives Used?

Trigonometric derivatives describe the rate of change of sine, cosine and tangent, and they model everything that repeats in cycles. The derivative of \(\sin x\) is \(\cos x\), which is why the velocity of a swinging pendulum or a vibrating spring is greatest as it passes the middle. Engineers use these derivatives for alternating current, sound waves and vibrations in bridges and buildings. They also describe tides, seasons and daylight hours, and they are essential in robotics and computer graphics for anything that rotates.

  • Finding the velocity of pendulums, springs and vibrations
  • Analysing alternating current and voltage
  • Modelling sound and light waves
  • Predicting how tides and daylight hours change
  • Controlling rotating parts in robotics and animation

Trigonometric Derivative Practice Problems

Example 1 differentiates \(\sin x\), and Example 2 differentiates \(5\cos x\). Try each derivative yourself, watching the sign, before checking. For two more free worked examples, check out the Trigonometric Derivative Notes.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(f\left(x\right) = \sin{\left(x \right)}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the derivative rule for that trigonometric function.
  3. Move the constant multiple in front of the derivative.
  4. Apply the derivative rule.

Formula

Formula: Derivative of sin(x)

The derivative of sin(x) is cos(x).

\(\frac{d}{dx}\left(\sin{\left(x \right)}\right) = \cos{\left(x \right)}\)

Step 1

Step 1 - Identify the trigonometric function and any constant multiple.

In this problem: The function is \(\sin{\left(x \right)}\).

\(f\left(x\right) = \sin{\left(x \right)}\)

Step 2

Step 2 - Write the derivative rule for that trigonometric function.

In this problem: The derivative of \(\sin{\left(x \right)}\) is \(\cos{\left(x \right)}\).

\(\frac{d}{dx}\left(\sin{\left(x \right)}\right) = \cos{\left(x \right)}\)

Step 3

Step 3 - Apply the derivative rule.

In this problem: Put \(\sin{\left(x \right)}\) into the rule from Step 2.

\(f'\left(x\right) = \frac{d}{dx}\left(\sin{\left(x \right)}\right) = \cos{\left(x \right)}\)

Final Answer

\(f'\left(x\right) = \cos{\left(x \right)}\)
See Example 2 Hide Example 2

Problem

\(f\left(x\right) = 5 \cos{\left(x \right)}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the derivative rule for that trigonometric function.
  3. Move the constant multiple in front of the derivative.
  4. Apply the derivative rule.

Formula

Formula: Derivative of cos(x)

The derivative of cos(x) is minus sin(x).

\(\frac{d}{dx}\left(\cos{\left(x \right)}\right) = - \sin{\left(x \right)}\)

Step 1

Step 1 - Identify the trigonometric function and any constant multiple.

In this problem: The function is \(\cos{\left(x \right)}\). The constant multiple \(5\) stays in front.

\(f\left(x\right) = 5 \cos{\left(x \right)}\)

Step 2

Step 2 - Write the derivative rule for that trigonometric function.

In this problem: The derivative of \(\cos{\left(x \right)}\) is \(- \sin{\left(x \right)}\).

\(\frac{d}{dx}\left(\cos{\left(x \right)}\right) = - \sin{\left(x \right)}\)

Step 3

Step 3 - Move the constant multiple in front of the derivative.

In this problem: The number \(5\) in front is a constant multiple, so it moves in front of the derivative and only \(\cos{\left(x \right)}\) is differentiated.

\(\frac{d}{dx}\left(5 \cos{\left(x \right)}\right) = 5\cdot \frac{d}{dx}\left(\cos{\left(x \right)}\right)\)

Step 4

Step 4 - Apply the derivative rule.

In this problem: Replace \(\frac{d}{d x} \cos{\left(x \right)}\) with \(- \sin{\left(x \right)}\) from Step 2.

\(f'\left(x\right) = 5\cdot \frac{d}{dx}\left(\cos{\left(x \right)}\right) = - 5 \sin{\left(x \right)}\)

Final Answer

\(f'\left(x\right) = - 5 \sin{\left(x \right)}\)

Notes and Practice Mode

Example Problems

Click one to load it into the box and solve it.