Calculate the following sum for integers n\geq2: \sum_{k=0}^{n-2}2^k\tan(\frac{\pi}{2^{n-k}})

Kris Patton

Kris Patton

Answered question

2022-02-27

Calculate the following sum for integers n2:
k=0n22ktan(π2nk)

Answer & Explanation

asserena3wx

asserena3wx

Beginner2022-02-28Added 7 answers

We have this nice identity
tan(θ)=cot(θ)2cot(2θ)
Making use of this, and denoting k=0m2ktan(2kθ) as S, we get that
S=tan(θ)+2tan(2θ)+4tan(4θ)++2mtan(2mθ)
cot(θ)2cot(2θ)+2cot(2θ)+2mcot(2mθ)2m+1cot(2m+1cot(2m+1θ)
=cot(θ)2m+1cot(2m+1θ)
In your case, θ=π2n and m=n2. Hence, we get the sum to be
S=cot(π2n)2n1cot(2n1π2n)=cot(π2n)2n1cot(π2)
=cot(π2n
Proof for tan(θ)=cot(θ)2cot(2θ)
cot(θ)tan(θ)=cos(θ)sin(θ)sin(θ)cos(θ)
=cos2(θ)sin2(θ)sin(θ)cos(θ)
=2cos(2θ)sin(2θ)=2cot(2θ)
Cheryl Stark

Cheryl Stark

Beginner2022-03-01Added 7 answers

Consider
k=0n2cos(2kθ)
Multiplying numerator and denominator by 2sin(θ) we get,
2sin(θ)cos(θ)2sin(θ)k=1n2cos(2kθ)=sin(2θ)2sin(θ)k=1n2cos(2kθ)
Now, repeatedly multiplying and dividing by 2, we can reduce the above to,
k=2n2cos(2kθ)=sin(2n1θ)2n1sin(θ)
Take logs on both sides,
k=0n2ln(cos(2kθ))=ln(sin(2n1θ))ln(2n1)ln(sin(θ))
Differentiating both sides w.r.t. θ we get,
k=0n22ktan(2kθ)=2n1cot(2n1θ)cot(θ)
Substitute θ=π2n above to get,
k=0n22ktan(π2nk)=cot(π2n)

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?