← Back to learning objective

Derivative of a product of sine and cosine

Let g(x)=sin⁡(x)cos⁡(x)g(x) = \sin(x)\cos(x). Find g′(x)g'(x) and simplify your answer as much as possible.

Hint

Apply the product rule using the known derivatives ddx[sin⁡x]=cos⁡x\frac{d}{dx}[\sin x] = \cos x and ddx[cos⁡x]=−sin⁡x\frac{d}{dx}[\cos x] = -\sin x. After differentiating, combine like terms.

Step-by-step solution

Using the product rule, g′(x)=ddx[sin⁡x]⋅cos⁡x+sin⁡x⋅ddx[cos⁡x]g'(x) = \frac{d}{dx}[\sin x]\cdot\cos x + \sin x \cdot \frac{d}{dx}[\cos x]. Substituting the known derivatives gives g′(x)=cos⁡(x)⋅cos⁡(x)+sin⁡(x)⋅(−sin⁡(x))g'(x) = \cos(x)\cdot\cos(x) + \sin(x)\cdot(-\sin(x)).

This simplifies to g′(x)=cos⁡2(x)−sin⁡2(x)g'(x) = \cos^2(x) - \sin^2(x). Both terms come directly from the memorized trig derivative rules, with careful attention to the negative sign on the derivative of cos⁡(x)\cos(x).

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap