Usually, proofs by mathematical induction are not that difficult (at least the ones I encountered so far in my mathematical journey), but I am stuck with this one... Spent at least 2-3 hours on it. I just can't see it...
$$ \sum_{i=0}^n \frac{1}{2^i}\tan\left(\frac{x}{2^i}\right)=\frac{1}{2^n}\cot\left(\frac{x}{2^n}\right) - 2\cot(2x) , (n = 1,2...)$$
What I tried:
For $n=1$, I expressed the LHS in terms of $\sin$ and $\cos$, but that didn't work... For me, at least... The expression got really complicated, which is a sign that I, probably, did something wrong.
Then I tried getting that $2\cot(2x)$ from RHS to LHS, but that didn't work also, because the expressions get really complicated...
Please, give me a detailed answer, and thank you for your time.