MathCalculus

Knowledge guide

How to Differentiate Products of Trigonometric Functions

Apply the product rule to trig factors, then account for signs and inner derivatives.

Why the product rule matters

For two differentiable factors u(x)u(x) and v(x)v(x), (uv)′=u′v+uv′(uv)'=u'v+uv'. Differentiating each factor and multiplying the two derivatives instead is incorrect. This rule applies even when both factors are trigonometric.

Differentiate each trigonometric factor

For radian measure, (sin⁡x)′=cos⁡x(\sin x)'=\cos x and (cos⁡x)′=−sin⁡x(\cos x)'=-\sin x. If a factor has an inner expression, add the chain rule: (sin⁡g(x))′=cos⁡(g(x))g′(x)(\sin g(x))'=\cos(g(x))g'(x) and (cos⁡g(x))′=−sin⁡(g(x))g′(x)(\cos g(x))'=-\sin(g(x))g'(x). The minus sign in the cosine derivative and the inner derivative are easy to miss.

A fresh example

Take p(x)=x2cos⁡(3x)p(x)=x^2\cos(3x), which is distinct from the paired exercise. With u=x2u=x^2 and v=cos⁡(3x)v=\cos(3x), u′=2xu'=2x and v′=−3sin⁡(3x)v'=-3\sin(3x). Hence

p′(x)=2xcos⁡(3x)−3x2sin⁡(3x).p'(x)=2x\cos(3x)-3x^2\sin(3x).

Keep the two product-rule terms visible before simplifying. When an identity can rewrite an expression, differentiating that alternate form offers a useful independent check, provided both forms agree on the same domain.

Related question

Apply this knowledge

Use the concept guide to understand the reasoning, then return to the complete question and worked answer.

Derivatives of Trigonometric Functions: Differentiate sin x cos x

Sources

These references support the core concepts and interpretation boundaries explained above.