Let f(x)=3-2cos(x)sin(x). Give f ' (pi/4)
I should be using the product rule here, correct?
Yes
What I did was first try to find the derivative of x. I got f(x)=3-[2cos(x)*cos(x)+sin(x)-2sin(x)]
After working that out, I end up with 3-2cos^2(x)-2sin^2(x), which gives 3 when I plug in (pi/4)
But it is supposed to be 0, apparently.
\[f(x)=3-2\cos{x}\sin{x}=3-\sin{2x}\\f'(x)=-2\cos{2x}\]
\[f(x)=3-2\cos(x)\sin(x)\] \[\frac{df(x)}{dx}=0-2[\frac{dsin(x)}{dx}\cos(x)+\frac{dcos(x)}{dx}\sin(x)]\]
\[f'(\frac\pi4)=-2\cos\frac\pi2=0\]
Oh, is that a trig identity I missed?
Yes. oldrin's method id best if you know that, otherwise- brute force works with differentiation.
Indeed!\[\sin{2x}=\sin{x+x}=\sin{x}\cos{x}+\sin{x}\cos{x}=2\sin{x}\cos{x}\]
We haven't learned Oldrin's method yet, I don't think. Thanks for the help, guys.
It comes from\[e^{\sqrt{-1}x}=\cos(x)+\sqrt{-1}\sin(x)\]
oldrin's identity, that is.
Because replacing x with 2x in the left term can be written as squaring the left term.
Ah, thanks. I might have to youtube that.
Euler's equation
Join our real-time social learning platform and learn together with your friends!