The Derivative of $\cos(x-2)$

$\begingroup$

I would think that the solution would be $-\sin(x-2)$, but when i use WolframAlpha it says that the answer is $\sin(2-x)$. Are these $2$ answers equivalent or I am missing some fact here? Thanks in advance.

$\endgroup$ 5

2 Answers

$\begingroup$

Since $\sin(x)$ is an odd function, $\sin(-x)=-\sin(x)$.

In particular, $\frac{d}{dx}[\cos(x-2)]=-\sin(x-2)=\sin(2-x)$.

Likewise, $\cos(x)$ is an even function, so $\cos(-x)=\cos(x)$.

$\endgroup$ 2 $\begingroup$

By the chain rule,

$$ \frac{d}{dx} \left( \cos(x - 2) \right) = -\sin(x - 2) \cdot \frac{d}{dx}\left(x - 2\right) = -\sin(x - 2) $$

Since $\sin(x)$ is an odd function, $\sin(-x) = -\sin(x)$ so $-\sin(x - 2) = \sin(2 - x)$

$\endgroup$

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like