Greatest integer function in infinite sum of geometric series

970 Views Asked by At

I am not sure how to approach this infinite sum. I can see that it's a geometric series and that has a straightforward solution, but I am not sure how to address the alternating signs with the greatest integer function. Any ideas?

$\sum_{n=0} ^\infty (-1)^{\lfloor n/m \rfloor}r^n$, such that $0<r<1$ and $m \in N$.

We have $0<r<1$, so a general geometric series $\sum_{n=0} ^\infty ar^n$ will converge to $\frac{a}{1-r}$, but our $a$ here is $(-1)^{\lfloor n/m \rfloor}$.

1

There are 1 best solutions below

0
On BEST ANSWER

Let us do a concrete calculation, say with $m=4$. Our sum is equal to $$1+r+r^2+r^3-r^4-r^5-r^6-r^7+r^8+r^9+r^{10}+r^{11}-r^{12}-r^{13}-r^{14}-r^{15}+\cdots,$$ which can be rearranged as $$(1+r+r^2+r^3)-r^4(1+r+r^2+r^3)+r^8(1+r+r^2+r^3)-r^{12}(1+r+r^2+r^3)+\cdots.$$ This is an infinite geometric series, first term "$a$" equal to $1+r+r^2+r^3$ and common ratio $-r^4$. By the standard formula, the sum is equal to $$\frac{1+r+r^2+r^3}{1+r^4}.$$ Exactly the same reasoning shows that in the general case, the sum is equal to $$\frac{1+r+r^2+\cdots+r^{m-1}}{1+r^m}.\tag{1}$$ We can simplify a bit to get a closed form. Note that $$1+r+r^2+\cdots+r^{m-1}=\frac{1-r^m}{1-r}=\frac{2-(1+r^m)}{1-r}.$$ Divide by $1+r^m$. We find that (1) can be rewritten as $$\frac{2}{(1-r)(1+r^m)}-\frac{1}{1-r}.$$