← Back to learning objective

Derivative of a linear combination of sine and cosine

Let f(x)=5sin⁡(x)−3cos⁡(x)f(x) = 5\sin(x) - 3\cos(x). Find f′(x)f'(x).

Hint

Apply the constant multiple rule and difference rule term by term, 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.

Step-by-step solution

Differentiate each term separately using the sum/difference rule: f′(x)=ddx[5sin⁡(x)]−ddx[3cos⁡(x)]f'(x) = \frac{d}{dx}[5\sin(x)] - \frac{d}{dx}[3\cos(x)]. By the constant multiple rule, this becomes 5⋅ddx[sin⁡(x)]−3⋅ddx[cos⁡(x)]5\cdot\frac{d}{dx}[\sin(x)] - 3\cdot\frac{d}{dx}[\cos(x)].

Recall that 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. Substituting these gives f′(x)=5cos⁡(x)−3(−sin⁡(x))=5cos⁡(x)+3sin⁡(x)f'(x) = 5\cos(x) - 3(-\sin(x)) = 5\cos(x) + 3\sin(x).

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap