I am being asked to prove that \sum_{k=0}^n\cos(kx)=\frac{1}{2}+\frac{\sin(\frac{2n+1}{2}x)}{2\sin(x/2)}

Nyah Conrad

Nyah Conrad

Answered question

2022-03-01

I am being asked to prove that
k=0ncos(kx)=12+sin(2n+12x)2sin(x2)

Answer & Explanation

benehmenshgf

benehmenshgf

Beginner2022-03-02Added 7 answers

0rneikx=ei(n+1)x1eix1
=ei(n+1)x2eix2(ei(n+1)x2ei(n+1)x2)(eix2e0ix2)
=ex22isin(n+1)x22isinx2
as eiyeiy=2isiny
=(cosnx2+isinnx2)sin(n+1)x2sinx2
using Euler's identity.
Its real part is
cosnx2sin(n+1)x2sinx2=2cosnx2sin(n+1)x22sinx2
=sin(2n+1)x2+sinx22sinx2
using 2sinAcosB=sin(A+B)+sin(AB)
Josef Beil

Josef Beil

Beginner2022-03-03Added 12 answers

k=0n2coskθ=k=0n(eiθk+eiθk)
=eiθ(n+1)1eiθ1+eiθ(n+1)1eiθ1
=eθ+eθei(n+1)θei(n+1)θeiθeiθ+22eiθeiθ
=2cosnθ2cos(n+1)θ+22cosθ22cosθ
=cosnθcos(n+1)θ+1cosθ1cosθ
=sin(n+12)θsinθ2+1

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?