Skill: Differentiate trigonometric functions

Explanation and Free Practice Resources

The derivative of sin⁡x\sin x is cos⁡x\cos x, the derivative of cos⁡x\cos x is −sin⁡x-\sin x, and the derivative of tan⁡x\tan x is sec⁡2x\sec^2 x, with angles measured in radians; these rules express instantaneous rate of change and tangent slope for periodic functions. The understanding includes applying the product, quotient, and chain rules to basic trigonometric expressions, while inverse, hyperbolic, and more generalized trigonometric derivatives are beyond this scope.

Detailed Explanation: Differentiate trigonometric functions

To differentiate trigonometric functions, use these basic rules, with angles measured in radians:

ddx(sin⁡x)=cos⁡x\frac{d}{dx}(\sin x)=\cos x ddx(cos⁡x)=−sin⁡x\frac{d}{dx}(\cos x)=-\sin x ddx(tan⁡x)=sec⁡2x\frac{d}{dx}(\tan x)=\sec^2 x

If the trigonometric function contains something other than just xx, use the chain rule:

ddx(sin⁡(u))=cos⁡(u)dudx\frac{d}{dx}\bigl(\sin(u)\bigr)=\cos(u)\frac{du}{dx}

For a product of two functions, use the product rule:

ddx(fg)=f′g+fg′\frac{d}{dx}(fg)=f'g+fg'

Example

Differentiate

y=x2sin⁡(3x).y=x^2\sin(3x).

Step 1: Identify the product

The expression is the product of

f(x)=x2andg(x)=sin⁡(3x).f(x)=x^2 \qquad\text{and}\qquad g(x)=\sin(3x).

So we use the product rule:

y′=f′(x)g(x)+f(x)g′(x).y'=f'(x)g(x)+f(x)g'(x).

Step 2: Differentiate each factor

For the first factor,

f′(x)=ddx(x2)=2x.f'(x)=\frac{d}{dx}(x^2)=2x.

For the second factor, use the chain rule. The outside function is sin⁡\sin, and the inside function is 3x3x:

ddx(sin⁡(3x))=cos⁡(3x)⋅ddx(3x)=3cos⁡(3x).\frac{d}{dx}\bigl(\sin(3x)\bigr) =\cos(3x)\cdot\frac{d}{dx}(3x) =3\cos(3x).

Thus,

g′(x)=3cos⁡(3x).g'(x)=3\cos(3x).

Step 3: Substitute into the product rule

y′=(2x)sin⁡(3x)+x2(3cos⁡(3x)).y'=(2x)\sin(3x)+x^2\bigl(3\cos(3x)\bigr).

Therefore,

y′=2xsin⁡(3x)+3x2cos⁡(3x).\boxed{y'=2x\sin(3x)+3x^2\cos(3x)}.

The derivative gives the slope of the tangent to the curve at any value of xx.

Learn by doing: Differentiate trigonometric functions

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Your results

Practice with unlimited practice problems

Derivative Rules - Trigonometric Simple Angle to Derivative


    ?

    Download/Modify Free Grade 12 'Differentiate trigonometric functions' Worksheet

    Print this free 'Differentiate trigonometric functions' worksheet to practice this skill away from the computer. Click 'Modify' to easily customize this worksheet to your exact needs.

    Units Teaching This Skill

    These adaptive units introduce, teach, or reinforce this skill (Differentiate trigonometric functions) through scaffolded problems that grow in difficulty as concepts are understood.

    Explore More Grade 12 Math