Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I am trying to differentiate with respect to $x$, $y = \cos^2{x}$

Using the chain rule and my working out is this:

\begin{align*}\frac{dy}{dx} &= 2 \cos(x)(-\sin(x)) \\ &= -2 \sin x \end{align*} I am not sure how to get to the correct answer of $-\sin{(2x)}$.

Should I be using the chain rule or maybe the product rule?

Please help, Thanks in advance

share|improve this question
    
I have typeset your question with LaTeX. Please double-check that I correctly transcribed it. –  Neal Oct 28 '12 at 16:50
4  
Your differentiation is correct. $2\cos x(-\sin x) \ne -2 \sin x$ but $2\cos x(-\sin x)=-2\sin{x}\cos{x}=-\sin{2x}$ –  M. Strochyk Oct 28 '12 at 16:51
    
You can also use that $\cos^2(x)=\frac 1 2 (1+\cos(2x))$ and differentiate that. –  Mark Bennet Oct 28 '12 at 16:54

2 Answers 2

up vote 3 down vote accepted

$2\cos (x)(-\sin(x))=-2\cos(x)\sin(x)=-\sin(2x)$

share|improve this answer
    
Thanks for clearing that up, what trig identity have you used.. thanks –  user866190 Oct 28 '12 at 18:39
    
$\sin(2x)=2\sin(x)\cos(x)$ –  Mark Bennet Oct 28 '12 at 19:50

You did a mistake there - you misuse the trigonometric identity. Look at http://www.sosmath.com/trig/Trig5/trig5/trig5.html

It's $$2 \cdot \cos(x)\cdot \sin(x) = \sin(2x)$$ Not $$\cos(x)\cdot \sin(x) = \sin(s)$$

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.