Ctrl+k

Differentiate trigonometric functions

The derivative of sinx\sin x is cosx\cos x, the derivative of cosx\cos x is sinx-\sin x, and the derivative of tanx\tan x is sec2x\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(sinx)=cosx\frac{d}{dx}(\sin x)=\cos x ddx(cosx)=sinx\frac{d}{dx}(\cos x)=-\sin x ddx(tanx)=sec2x\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)=fg+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

Practice with unlimited practice problems

Derivative Rules - Trigonometric Simple Angle to Derivative


    ?