Find f'(x) if f(x) = sin x + cos x.

Check the final answer first, then review the worked steps.

Answer

cos ⁡ 𝑥 − sin ⁡ 𝑥

Work

f'(x) = \frac{d}{dx}(\sin x) + \frac{d}{dx}(\cos x) = \cos x - \sin x

Step-by-step solution

Step 1: Identify the function to differentiate, $f(x) = \sin x + \cos x$.
Step 2: Apply the sum rule for derivatives: $f'(x) = \frac{d}{dx}(\sin x) + \frac{d}{dx}(\cos x)$.
Step 3: Use the standard derivatives $\frac{d}{dx}(\sin x) = \cos x$ and $\frac{d}{dx}(\cos x) = -\sin x$.
Step 4: Combine the results to get $f'(x) = \cos x - \sin x$.