Example
Use the basic trig derivative rules, including the negative cosine derivative.
highlighted = computed this step
Step 1 — Set up
Start with the trig sum.
f(x)=2sinx+5cosx
Step 2 — Differentiate sine term
The sine term becomes 2 cosine x.
dxd2sinx=2cosx
Step 3 — Differentiate cosine term
The cosine term becomes negative 5 sine x.
dxd5cosx=−5sinx
Step 4 — Result
Combine the trig derivatives.
f′(x)=2cosx−5sinx
trig-derivatives
The basic trig derivatives are d/dx[sin(x)] = cos(x) and d/dx[cos(x)] = -sin(x). Combined with the sum and constant multiple rules, any linear combination of sine and cosine can be differentiated term by term.