Step by step
The question
Question: find dy/dx for y = 6 cos x − eˣ.
1 The rules
The derivative of cos x is −sin x.
Mind the minus!
eˣ is special: its derivative is itself.
Its slope always equals its height.
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.
3 Tidy up
So dy/dx = −6 sin x − eˣ.
4 Check
Let's check: the derivative is the slope.
At x = 1, the rule gives −7.7671, with a calculator in radians.
Now the slope between two very close points: x = 1 and x = 1.001.
A calculator gives about −7.77.
Very close to −7.7671.
Right!
Let's look back.
First: the rules.
Then: each term.
Then: tidy up.
Last: check.