← Back to learning objective

Product rule with sine and cosine

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

Hint

Apply the product rule (fg)′=f′g+fg′(fg)' = f'g + fg' with f(x)=sin⁡(x)f(x) = \sin(x) and g(x)=cos⁡(x)g(x) = \cos(x), using 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. Then combine the resulting terms.

Step-by-step solution

Apply the product rule with f(x)=sin⁡(x)f(x) = \sin(x) and g(x)=cos⁡(x)g(x) = \cos(x). Since f′(x)=cos⁡(x)f'(x) = \cos(x) and g′(x)=−sin⁡(x)g'(x) = -\sin(x), the product rule gives h′(x)=f′(x)g(x)+f(x)g′(x)=cos⁡(x)cos⁡(x)+sin⁡(x)(−sin⁡(x))h'(x) = f'(x)g(x) + f(x)g'(x) = \cos(x)\cos(x) + \sin(x)(-\sin(x)).

This simplifies to h′(x)=cos⁡2(x)−sin⁡2(x)h'(x) = \cos^2(x) - \sin^2(x). Using the double angle identity, this can also be written as h′(x)=cos⁡(2x)h'(x) = \cos(2x), but either form is an acceptable simplified answer.

Sign in the product rule expansion

In part a, which trig function squared term carries the negative sign?

Hint
Step-by-step solution

The negative sign belongs to sine squared. Recall from part a that applying the product rule to sine times cosine gave cosine squared minus sine squared, since the derivative of cosine is negative sine. This negative sine, multiplied by sine, produces the negative sine squared term.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap