\( \newcommand{\abs}[1]{\left| \, {#1} \, \right| } \) \( \newcommand{\cm}{\mathrm{cm} } \) \( \newcommand{\sec}{ \, \mathrm{sec} \, } \) \( \newcommand{\units}[1]{\,\text{#1}} \) \( \newcommand{\vhat}[1]{\,\hat{#1}} \) \( \newcommand{\vhati}{\,\hat{i}} \) \( \newcommand{\vhatj}{\,\hat{j}} \) \( \newcommand{\vhatk}{\,\hat{k}} \) \( \newcommand{\vect}[1]{\boldsymbol{\vec{#1}}} \) \( \newcommand{\norm}[1]{\|{#1}\|} \) \( \newcommand{\arccot}{ \, \mathrm{arccot} \, } \) \( \newcommand{\arcsec}{ \, \mathrm{arcsec} \, } \) \( \newcommand{\arccsc}{ \, \mathrm{arccsc} \, } \) \( \newcommand{\sech}{ \, \mathrm{sech} \, } \) \( \newcommand{\csch}{ \, \mathrm{csch} \, } \) \( \newcommand{\arcsinh}{ \, \mathrm{arcsinh} \, } \) \( \newcommand{\arccosh}{ \, \mathrm{arccosh} \, } \) \( \newcommand{\arctanh}{ \, \mathrm{arctanh} \, } \) \( \newcommand{\arccoth}{ \, \mathrm{arccoth} \, } \) \( \newcommand{\arcsech}{ \, \mathrm{arcsech} \, } \) \( \newcommand{\arccsch}{ \, \mathrm{arccsch} \, } \)

17Calculus Derivatives - Trigonometric Functions

17Calculus

Limits

Using Limits


Derivatives

Graphing

Related Rates

Optimization

Other Applications

Integrals

Improper Integrals

Trig Integrals

Length-Area-Volume

Applications - Tools

Infinite Series

Applications

Tools

Parametrics

Conics

Polar Coordinates

Practice

Calculus 1 Practice

Calculus 2 Practice

Practice Exams

Calculus Tools

Learning Tools

Articles

This page discusses the derivatives of trig functions. There are no tricks in these derivatives. You just need to learn a few simple formulas.
You do not need to know the chain rule for the first part of this page, we discuss the basic derivatives first. Once you have learned the chain rule, you can come back here to work the practice problems.

Basic Trig Derivatives (no chain rule required)

This first section discuss the basics of trig derivatives and does not require you to know the chain rule. Here are the basic rules. If you work enough practice problems, you won't need to memorize them since you will just know them.

\(\displaystyle{ \frac{d[\sin(t)]}{dt} = \cos(t) }\)

 

\(\displaystyle{ \frac{d[\cos(t)]}{dt} = -\sin(t) }\)

\(\displaystyle{ \frac{d[\tan(t)]}{dt} = \sec^2(t) }\)

 

\(\displaystyle{ \frac{d[\cot(t)]}{dt} = -\csc^2(t) }\)

\(\displaystyle{ \frac{d[\sec(t)]}{dt} = \sec(t)\tan(t) }\)

 

\(\displaystyle{ \frac{d[\csc(t)]}{dt} = -\csc(t)\cot(t) }\)

The first two, sine and cosine, are pretty straightforward since they are ALMOST inverses of each other. You just need to remember the negative sign on the second one.The rest of them can be derived from the sine and cosine rules using the product rule, quotient rule and basic trigonometric identities. Here is a good video showing this derivation.

PatrickJMT - Deriving the Derivative Formulas for Tangent, Cotangent, Secant, Cosecant [9min-13secs]

video by PatrickJMT

Notice how the derivatives seem to be in similar pairs. Take a few minutes and look for patterns and similarities as well as differences in all three sets. Take special notice of when a negative sign appears.

Okay, let's take a minute and watch a quick video clip for another perspective on how to remember these derivatives.

Krista King Math - Derivatives of TRIG FUNCTIONS [7min-49secs]

video by Krista King Math

Math Word Problems Demystified

Here are some practice problems.

Calculate the derivative of these functions.

Basic

\(x^4\tan(x)\)

Problem Statement

Calculate the derivative of this function using the product rule, giving your final answer in simplified, factored form. \(x^4\tan(x)\)

Final Answer

\(\displaystyle{ x^3[x \sec^2(x)+4 \tan(x)] }\)

Problem Statement

Calculate the derivative of this function using the product rule, giving your final answer in simplified, factored form. \(x^4\tan(x)\)

Solution

\(\displaystyle{ \frac{d}{dx}[ x^4 \tan(x) ] }\)

apply the product rule

\( \displaystyle{ x^4 \frac{d}{dx}[ \tan(x) ] + \tan(x) \frac{d}{dx}[ x^4 ] }\)

take derivatives

\( x^4 \sec^2(x) + 4x^3 \tan(x) \)

factor out common terms

\( x^3[x \sec^2(x)+4 \tan(x)] \)

Note: Not factoring out the \(x^3\) term, may cost you points. Check with your instructor to see what they expect.

Final Answer

\(\displaystyle{ x^3[x \sec^2(x)+4 \tan(x)] }\)

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{f(x)=\cos(x)\sin(x)}\)

Problem Statement

Calculate the derivative of this function using the product rule, giving your final answer in simplified, factored form. \(\displaystyle{f(x)=\cos(x)\sin(x)}\)

Final Answer

\( f'(x) = \cos^2(x) - \sin^2(x) \)

Problem Statement

Calculate the derivative of this function using the product rule, giving your final answer in simplified, factored form. \(\displaystyle{f(x)=\cos(x)\sin(x)}\)

Solution

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

\(\displaystyle{ f'(x) = \cos(x) \frac{d}{dx}[ \sin(x)] + }\) \(\displaystyle{ \sin(x) \frac{d}{dx}[ \cos(x)] }\)

\( f'(x) = \cos(x)[ \cos(x)] + \sin(x)[-\sin(x)] \)

\( f'(x) = \cos^2(x) - \sin^2(x) \)

Final Answer

\( f'(x) = \cos^2(x) - \sin^2(x) \)

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{\frac{\sin(x)}{1+\cos(x)}}\)

Problem Statement

Calculate the derivative of this function using the quotient rule, giving your answer in simplified form. \(\displaystyle{\frac{\sin(x)}{1+\cos(x)}}\)

Final Answer

\(\displaystyle{ \frac{d}{dx}\left[ \frac{\sin(x)}{1+\cos(x)} \right] = \frac{1}{1+\cos(x)}}\)

Problem Statement

Calculate the derivative of this function using the quotient rule, giving your answer in simplified form. \(\displaystyle{\frac{\sin(x)}{1+\cos(x)}}\)

Solution

\(\displaystyle{ \frac{d}{dx}\left[ \frac{\sin(x)}{1+\cos(x)} \right] }\)

\(\displaystyle{ \frac{[1+\cos(x)]d[\sin(x)]/dx - [\sin(x)]d[1+\cos(x)]/dx}{[1+\cos(x)]^2} }\)

\(\displaystyle{ \frac{[1+\cos(x)][\cos(x)] - [\sin(x)][-\sin(x)]}{[1+\cos(x)]^2} }\)

\(\displaystyle{ \frac{\cos(x)+\cos^2(x)+\sin^2(x)}{[1+\cos(x)]^2} }\)

Use the identity \( \sin^2(x) + \cos^2(x) = 1 \).

\(\displaystyle{ \frac{1+\cos(x)}{[1+\cos(x)]^2} }\)

\(\displaystyle{ \frac{1}{1+\cos(x)} }\)

Final Answer

\(\displaystyle{ \frac{d}{dx}\left[ \frac{\sin(x)}{1+\cos(x)} \right] = \frac{1}{1+\cos(x)}}\)

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{y=\frac{\tan(x)}{x^{3/2}+5x}}\)

Problem Statement

Calculate the derivative of this function using the quotient rule, giving your answer in simplified form. \(\displaystyle{y=\frac{\tan(x)}{x^{3/2}+5x}}\)

Solution

PatrickJMT - 955 video solution

video by PatrickJMT

Log in to rate this practice problem and to see it's current rating.

Intermediate

\(\displaystyle{\frac{3}{x}\cot(x)}\)

Problem Statement

Calculate the derivative of this function using the product rule, giving your final answer in simplified, factored form. \(\displaystyle{\frac{3}{x}\cot(x)}\)

Final Answer

\(\displaystyle{ \frac{d}{dx}\left[ \frac{3}{x} \cot(x) \right] = \frac{-3}{x^2}\left[ x \csc^2(x) + \cot(x) \right] }\)

Problem Statement

Calculate the derivative of this function using the product rule, giving your final answer in simplified, factored form. \(\displaystyle{\frac{3}{x}\cot(x)}\)

Solution

\(\displaystyle{ \frac{d}{dx}\left[ \frac{3}{x} \cot(x) \right] }\)

\(\displaystyle{ \frac{3}{x}\frac{d}{dx}[\cot(x)] + \cot(x) \frac{d}{dx}[3/x] }\)

\(\displaystyle{ \frac{3}{x} (-\csc^2(x)) + \cot(x) \frac{d}{dx}[3x^{-1}] }\)

\(\displaystyle{ \frac{-3}{x} \csc^2(x) + \cot(x) [3(-1)x^{-2}] }\)

\(\displaystyle{ \frac{-3}{x} \csc^2(x) - \frac{3}{x^2} \cot(x) }\)

\(\displaystyle{ \frac{-3}{x^2}[ x \csc^2(x) + \cot(x) ] }\)

Final Answer

\(\displaystyle{ \frac{d}{dx}\left[ \frac{3}{x} \cot(x) \right] = \frac{-3}{x^2}\left[ x \csc^2(x) + \cot(x) \right] }\)

Log in to rate this practice problem and to see it's current rating.

Trig Derivatives Using The Chain Rule

This section requires understanding of the chain rule and the previous section on the basics of trig derivatives. Except for the most basic problems, you will find most problems require the use of the chain rule.
As we discuss on the chain rule page, we think the easiest way to work problems that require the chain rule is to start on the outside and work your way in. Doing it the other direction, requires you to know where to start and what is actually on the inside. Especially when starting out, this is more complicated in our opinion. ( Of course, you need to consult your instructor to find out what they require. )

The best way to work these derivatives is to use substitution, especially while you are still learning. Later, you can do it in your head. In the examples on this page, we will write out the substitution to help you see it.

Let's start out by watching a video. This is a great video explaining the idea of the chain rule when a trig function is involved.

Krista King Math - Chain rule for derivatives, with trig functions [5min-38secs]

video by Krista King Math

Okay, let's work some examples. If you feel up to it, try to work these before looking at the solutions.

Evaluate \( [\sin(x^2)]' \)

Final Answer

\( [\sin(x^2)]' = 2x \cos(x^2) \)

Problem Statement

Evaluate \( [\sin(x^2)]' \)

Solution

Problem Statement - Evaluate \( [\sin(x^2)]' \)
Solution - We can tell that the outside function is sine. So, we use the substitution \( u = x^2 \). The reason we chose \( x^2 \) is because we want \( u \) to be equal to everything inside the sine function.

\(\displaystyle{ \frac{d}{dx}[\sin(x^2)] }\)

let \(u=x^2\)

\(\displaystyle{ \frac{d}{dx}[\sin(u)] }\)

Apply the chain rule.

\(\displaystyle{ \frac{d}{du}[\sin(u)] \frac{d}{dx}[u] }\)

\(\displaystyle{ \frac{d}{du}[\sin(u)] \frac{d}{dx}[x^2] }\)

\(\displaystyle{ \cos(u) (2x) }\)

Reverse the substitution of \( u \).

\(\displaystyle{ 2x \cos(x^2) }\)

Note -
Once we have taken all derivatives, we have \( \cos(u)(2x) \). We can't leave the answer in this form. Remember, the substitution technique is used only temporarily during computations and none of the temporary variables should appear in the final answer.

Final Answer

\( [\sin(x^2)]' = 2x \cos(x^2) \)

Evaluate \( [\sec(x^2)]' \)

Final Answer

\( [\sec(x^2)]' = 2x \sec(x^2) \tan(x^2) \)

Problem Statement

Evaluate \( [\sec(x^2)]' \)

Solution

Problem Statement - Evaluate \( [\sec(x^2)]' \)
Solution - The outside function is secant. So, we will again use the substitution \( u = x^2 \).

\(\displaystyle{ \frac{d}{dx}[\sec(x^2)] }\)

\(\displaystyle{ \frac{d}{dx}[\sec(u)] }\)

\(\displaystyle{ \frac{d}{du}[\sec(u)] \frac{d}{dx}[u] }\)

\(\displaystyle{ \frac{d}{du}[\sec(u)] \frac{d}{dx}[x^2] }\)

\( \sec(u) \tan(u) (2x) \)

\( 2x \sec(x^2) \tan(x^2) \)

Note:
There is really nothing new here that wasn't in the first example, except that, at the end, there is more than one place where we need to substitute \( u \) back in, i.e. \( \sec(u) ~~ \to ~~ \sec(x^2) \) and \( \tan(u) ~~ \to ~~ \tan(x^2) \).

Final Answer

\( [\sec(x^2)]' = 2x \sec(x^2) \tan(x^2) \)

This next example uses the product rule and derivative of exponentials. If you have not studied both of these topics, you can skip this example and come back to it once you have. This example also demonstrates how to work a nested chain rule problem.

Evaluate \( [\csc(2xe^{15x})]' \)

Final Answer

\(\displaystyle{ [\csc(2xe^{15x})]' = -2 (15x+1) e^{15x} \csc(2xe^{15x}) \cot(2xe^{15x}) }\)

Problem Statement

Evaluate \( [\csc(2xe^{15x})]' \)

Solution

Problem Statement -
Solution - Okay, as before, we use substitution, letting \(u\) be equal to everything inside the cosecant term, i.e. \( u=2xe^{15x} \).

\(\displaystyle{ \frac{d}{dx}[\csc(2xe^{15x})] }\)

Let \( u=2xe^{15x} \)

\(\displaystyle{ \frac{d}{dx}[\csc(u)] }\)

Apply the chain rule.

\(\displaystyle{ \frac{d}{du}[\csc(u)] \frac{d}{dx}[u] }\)

\(\displaystyle{ -\csc(u) \cot(u) \frac{d}{dx}[2xe^{15x}] }\)

Apply the product rule to \(\displaystyle{ \frac{d}{dx}[2xe^{15x}] }\).

\(-\csc(u) \cot(u) \) \(\displaystyle{ \left[(2x) \frac{d}{dx}[e^{15x}] + e^{15x} \frac{d}{dx}[2x] \right] }\)

Apply the chain rule to \(\displaystyle{ \frac{d}{dx}[e^{15x}] }\).

\( -\csc(u) \cot(u) \) \(\displaystyle{ \left[(2x) (e^{15x}) \frac{d}{dx}[15x] + e^{15x} (2) \right] }\)

Take remaining derivatives.

\( -\csc(u) \cot(u) \) \( \left[(2x) (e^{15x}) (15) + e^{15x} (2) \right] \)

Reverse substitute for u, factor and simplify.

\( -2 (15x+1) e^{15x} \csc(2xe^{15x}) \cot(2xe^{15x}) \)

Final Answer

\(\displaystyle{ [\csc(2xe^{15x})]' = -2 (15x+1) e^{15x} \csc(2xe^{15x}) \cot(2xe^{15x}) }\)

Here are some practice problems.

Unless otherwise instructed, calculate the derivative of these functions.

Basic

\( 7 \sin(x^2+1) \)

Problem Statement

Calculate the derivative of this function and give your final answer in completely factored form. \( 7 \sin(x^2+1) \)

Final Answer

\( (14x) \cos(x^2+1) \)

Problem Statement

Calculate the derivative of this function and give your final answer in completely factored form. \( 7 \sin(x^2+1) \)

Solution

\(\displaystyle{ \frac{d}{dx}[ 7\sin(x^2+1) ] }\)

Use the constant multiple rule to move the 7 outside the derivative.

\(\displaystyle{ 7\frac{d}{dx}[\sin(x^2+1)] }\)

Apply the chain rule.

\(\displaystyle{ 7\cos(x^2+1)\frac{d}{dx}[x^2+1] }\)

Take the derivative of the last term.

\( 7\cos(x^2+1)(2x) \)

Simplify.

\( (14x)\cos(x^2+1) \)

A more explicit way to work this is to use substitution, as follows.

\(\displaystyle{ \frac{d}{dx}[ 7\sin(x^2+1) ] }\)

Let \( u = x^2+1 \) which is the inside term.

\(\displaystyle{ 7\frac{d}{du}[\sin(u)] \cdot \frac{d}{dx}[x^2+1] }\)

\( 7[\cos(u)](2x) \)

Make sure and replace the u with \(x^2+1\), so that you don't have any u's in your final answer. And finally, simplify.

\( (14x)\cos(x^2+1) \)

If we call the original function, say \(f(x)=7\sin(x^2+1)\), the first line is \(\displaystyle{ \frac{df}{dx} = \frac{df}{du}\cdot\frac{du}{dx} }\) using the Chain Rule. This is probably a better way to work the problem than the first solution, especially while you are learning. Once you have the chain rule down, you can easily work it as shown in the first solution.

Final Answer

\( (14x) \cos(x^2+1) \)

Log in to rate this practice problem and to see it's current rating.

\( y=\sin^3(x) \tan(4x) \)

Problem Statement

Calculate the derivative of this function and give your final answer in completely factored form. \( y=\sin^3(x) \tan(4x) \)

Solution

Krista King Math - 981 video solution

video by Krista King Math

Log in to rate this practice problem and to see it's current rating.

\( y = (2x^5-3) \sin(7x) \)

Problem Statement

Calculate the derivative of this function and give your final answer in completely factored form. \( y = (2x^5-3) \sin(7x) \)

Final Answer

\( y' = 7(2x^5-3)\cos(7x) + 10x^4\sin(7x) \)

Problem Statement

Calculate the derivative of this function and give your final answer in completely factored form. \( y = (2x^5-3) \sin(7x) \)

Solution

\(\displaystyle{ \frac{dy}{dx} = (2x^5-3) \frac{d}{dx}[\sin(7x)] + }\) \(\displaystyle{ \sin(7x)\frac{d}{dx} [2x^5-3] }\)

\( y' = (2x^5-3)\cos(7x) (7) + \sin(7x) (10x^4) \)

\( y' = 7(2x^5-3)\cos(7x) + (10x^4)\sin(7x) \)

Final Answer

\( y' = 7(2x^5-3)\cos(7x) + 10x^4\sin(7x) \)

Log in to rate this practice problem and to see it's current rating.

\( \tan(x^5 + 2x^3 - 12x) \)

Problem Statement

Calculate the derivative of this function and give your final answer in completely factored form. \( \tan(x^5 + 2x^3 - 12x) \)

Final Answer

\( (5x^4 + 6x^2 - 12) \sec^2(x^5 + 2x^3 - 12x) \)

Problem Statement

Calculate the derivative of this function and give your final answer in completely factored form. \( \tan(x^5 + 2x^3 - 12x) \)

Solution

Using substitution, the outside function is tangent and the inside function is everything inside the tangent parentheses. So, we let \( u = x^5 + 2x^3 - 12x \).

\(\displaystyle{ \frac{d}{dx}[\tan(x^5 + 2x^3 - 12x)] }\)

\(\displaystyle{ \frac{d}{dx}[\tan(u)] }\)

\(\displaystyle{ \frac{d}{du}[\tan(u)] \frac{d}{dx}[u] }\)

\(\displaystyle{ \frac{d}{du}[\tan(u)] \frac{d}{dx}[x^5 + 2x^3 - 12x] }\)

\( \sec^2(u) (5x^4 + 6x^2 - 12) \)

\( (5x^4 + 6x^2 - 12) \sec^2(x^5 + 2x^3 - 12x) \)

Final Answer

\( (5x^4 + 6x^2 - 12) \sec^2(x^5 + 2x^3 - 12x) \)

Log in to rate this practice problem and to see it's current rating.

Intermediate

\( y = (1+\cos^2(7x))^3 \)

Problem Statement

Calculate the derivative of this function and give your final answer in completely factored form. \( y = (1+\cos^2(7x))^3 \)

Solution

Krista King Math - 982 video solution

video by Krista King Math

Log in to rate this practice problem and to see it's current rating.

\( y = \cot^4(x/2) \)

Problem Statement

Calculate the derivative of this function and give your final answer in completely factored form. \( y = \cot^4(x/2) \)

Final Answer

\(y' = -2\cot^3(x/2)\csc^2(x/2) \)

Problem Statement

Calculate the derivative of this function and give your final answer in completely factored form. \( y = \cot^4(x/2) \)

Solution

Krista King Math - 1910 video solution

video by Krista King Math

Final Answer

\(y' = -2\cot^3(x/2)\csc^2(x/2) \)

Log in to rate this practice problem and to see it's current rating.

Calculate the third derivative of \(f(x)=\tan(3x)\)

Problem Statement

Calculate the third derivative of \(f(x)=\tan(3x)\) and give your final answer in completely factored form.

Final Answer

\( 54\sec^2(3x)\left[ 2\tan^2(3x) + \sec^2(3x)\right] \)

Problem Statement

Calculate the third derivative of \(f(x)=\tan(3x)\) and give your final answer in completely factored form.

Solution

PatrickJMT - 2085 video solution

video by PatrickJMT

Final Answer

\( 54\sec^2(3x)\left[ 2\tan^2(3x) + \sec^2(3x)\right] \)

Log in to rate this practice problem and to see it's current rating.

Advanced

\(\displaystyle{ y = \left[ \tan \left( \sin \left( \sqrt{x^2+8x}\right) \right) \right]^5 }\)

Problem Statement

Calculate the derivative of this function and give your final answer in completely factored form. \(\displaystyle{ y = \left[ \tan \left( \sin \left( \sqrt{x^2+8x}\right) \right) \right]^5 }\)

Solution

PatrickJMT - 988 video solution

video by PatrickJMT

Log in to rate this practice problem and to see it's current rating.

\( y=x \sin(1/x) + \sqrt[4]{(1-3x)^2 + x^5} \)

Problem Statement

Calculate the derivative of this function and give your final answer in completely factored form. \( y=x \sin(1/x) + \sqrt[4]{(1-3x)^2 + x^5} \)

Solution

PatrickJMT - 990 video solution

video by PatrickJMT

Log in to rate this practice problem and to see it's current rating.

Really UNDERSTAND Calculus

Topics You Need To Understand For This Page

basic derivative rules

power rule

product rule

quotient rule

additional prerequisites for derivatives involving chain rule

chain rule

Related Topics and Links

To bookmark this page and practice problems, log in to your account or set up a free account.

Search Practice Problems

Do you have a practice problem number but do not know on which page it is found? If so, enter the number below and click 'page' to go to the page on which it is found or click 'practice' to be taken to the practice problem.

learning and study techniques

Kindle Unlimited Membership Plans

As an Amazon Associate I earn from qualifying purchases.

Basic Trig Derivatives - Practice

Trig Derivatives Using The Chain Rule - Practice

Do NOT follow this link or you will be banned from the site!

When using the material on this site, check with your instructor to see what they require. Their requirements come first, so make sure your notation and work follow their specifications.

DISCLAIMER - 17Calculus owners and contributors are not responsible for how the material, videos, practice problems, exams, links or anything on this site are used or how they affect the grades or projects of any individual or organization. We have worked, to the best of our ability, to ensure accurate and correct information on each page and solutions to practice problems and exams. However, we do not guarantee 100% accuracy. It is each individual's responsibility to verify correctness and to determine what different instructors and organizations expect. How each person chooses to use the material on this site is up to that person as well as the responsibility for how it impacts grades, projects and understanding of calculus, math or any other subject. In short, use this site wisely by questioning and verifying everything. If you see something that is incorrect, contact us right away so that we can correct it.

Links and banners on this page are affiliate links. We carefully choose only the affiliates that we think will help you learn. Clicking on them and making purchases help you support 17Calculus at no extra charge to you. However, only you can decide what will actually help you learn. So think carefully about what you need and purchase only what you think will help you.

We use cookies on this site to enhance your learning experience.

17calculus

Copyright © 2010-2022 17Calculus, All Rights Reserved     [Privacy Policy]     [Support]     [About]

mathjax.org
Real Time Web Analytics