It can be shown from first principles that:
d(sin x)dx=cos x
d(cos x)dx=−sin x
d(tan x)dx=sec2x
In words, we would say:
The derivative of sin x is cos x,
The derivative of cos x is −sin x (note the negative sign!) and
The derivative of tan x is sec2x.
Now, if u = f(x) is a function of x, then by using the chain rule, we have:
d(sin u)dx=cos ududx
d(cos u)dx=−sin ududx
d(tan u)dx=sec2ududx
Example 1
Differentiate y=sin(x2+3) First, let:
We have:
IMPORTANT:
cos x2 + 3does not equal
cos(x2 + 3).The brackets make a big difference. Many students have trouble with this.
Here are the graphs of y = cos x2 + 3 (in green) and y = cos(x2 + 3) (shown in blue).
The first one, y = cos x2 + 3, or y = (cos x2) + 3, means take the curve y = cos x2 and move it up by 3 units.
The second one, y = cos(x2 + 3), means find the value (x2 + 3) first, then find the cosine of the result.
They are quite different!