Question
Question: How do you differentiate \[\cos (-x)\]?...
How do you differentiate cos(−x)?
Solution
We can see that the cosine function has a negative angle, but we know that cosine function is an even function, so we have cos(−x)=cosx. Now, we will differentiate the expression cosx. And so we will straightaway write the derivative of the cosx, hence we have the differentiation of the given function.
Complete step by step solution:
According to the given question, we have to find the differentiation of the given function.
The expression we have is cos(−x).
We can see that the cosine function in the given expression has a negative angle. But, we need not differentiate a negative angle. As we know that cosine function is an even function.
A function can be either an odd function or an even function, what it means is,
If a function is an odd function, then f(−x)=−f(x) and
If a function is an even function, then f(−x)=f(x).
For example –
sine function is an odd function, that is, sin(−x)=−sinx
cosine function is an even function, that is, cos(−x)=cosx
So, the expression we have is,
cos(−x)
⇒cosx
as the cosine function is an even function
Now, we will take the derivative of cosx, we have,
dxd(cosx)
⇒−sinx
Therefore, the differentiation of cos(−x) is −sinx.
Note: It is advisable to know the functions which are odd and which are even, so that the expressions can be solved easily and faster too. While taking the derivative of a function, stepwise fashion should be implemented to prevent errors.