Step by step
The question
Question: find the derivative of f(x) = 2 sin x − 4 cos x.
1 The rules
The derivative of sin x is cos x.
The derivative of cos x is −sin x.
Mind the minus!
2 Each term
Use the rule on each term.
A number in front just waits, and multiplies.
Careful!
The derivative of cos x is minus sin x.
Do not lose the minus.
Minus times minus is plus.
3 Tidy up
So f′(x) = 2 cos x + 4 sin x.
4 Check
Let's check: the derivative is the slope.
At x = 1, the rule gives 4.4465, with a calculator in radians.
Now the slope between two very close points: x = 1 and x = 1.001.
A calculator gives about 4.45.
Very close to 4.4465.
Right!
Let's look back.
First: the rules.
Then: each term.
Then: tidy up.
Last: check.