Sunday, September 18, 2016

trigonometry - Finding a closed form for cosx+cos3x+cos5x+cdots+cos(2n1)x





We have to find




g(x)=cosx+cos3x+cos5x++cos(2n1)x





I could not get any good idea .



Intialy I thought of using



cosa+cosb=2cos(a+b)/2cos(ab)/2


Answer



Let z=cosθ+isinθ i.e. z=eiθ



Your sum:eiθ+e3iθ+e5iθ+...e(2n1)iθ




This is a GP with common ratio e2iθ



Therefore sum is a(rn1)r1
eiθ(e2niθ1)e2iθ1
(cosθ+isinθ)(cos(2nθ)+isinθ1)cos(2θ)+isin(2θ)1



Computing it's real part should give you the answer



Acknowledgement:Due credits to @LordShark Idea



No comments:

Post a Comment

analysis - Injection, making bijection

I have injection f:AB and I want to get bijection. Can I just resting codomain to f(A)? I know that every function i...