I'm trying to solve $\frac{d}{dx} \left(c + x^2 + \frac{1}{2} \cos(2x) \right)$ but I'm stuck at the part that uses the chain rule to find the derivative of $\cos(2x)$.
My solution considers that $\frac{d}{dx} (\cos(2x))$ is $-2 \cdot \cos(2x)$, but Wolfram Alpha's solution is diferent. Why?
(http://s21.postimage.org/snx1vcrs7/Wolfram_Alpha_derivative_of_x2_12cos2x_c_2013.png)
Thanks