MHB Can You Prove the Floor Function Challenge for Real Numbers?

anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
For all real $x$, prove that $\displaystyle\sum_{k=0}^{\infty} \left\lfloor\dfrac{x+2^k}{2^{k+1}}\right\rfloor=\lfloor x\rfloor$.
 
Last edited:
Mathematics news on Phys.org
Yes, it's supposed to be a sum, not a limit, in case anyone else was confused (can't believe nobody pointed it out).
 
Hi Bacterius,

Yep, you're right...sorry for making such a silly typo and thanks for pointing it out!

I've just fixed the typo. Thanks again.:)
 
Let $x$ be real, $n = \lfloor{x}\rfloor$, and for all integers $k \ge 0$ set

$A(k) = \left\lfloor{\frac{n+1}{2}}\right\rfloor + \left\lfloor{\frac{n+2}{4}}\right\rfloor + \cdots + \left\lfloor{\frac{n+2^k}{2^{k+1}}}\right\rfloor + \left\lfloor{\frac{n}{2^{k+1}}}\right\rfloor.$

Since $\left\lfloor{\frac{n}{2^{k+1}}}\right\rfloor$ is always an integer,

$\left\lfloor{\frac{n}{2^{k+1}}}\right\rfloor = \left\lfloor{\dfrac{\left\lfloor{\frac{n}{2^{k+1}}}\right\rfloor+1}{2}}\right\rfloor + \left\lfloor{\dfrac{\left\lfloor{\frac{n}{2^{k+1}}}\right\rfloor}{2}}\right\rfloor = \left\lfloor{\dfrac{\frac{n}{2^{k+1}}+1}{2}}\right\rfloor + \left\lfloor{\dfrac{\frac{n}{2^{k+1}}}{2}}\right\rfloor = \left\lfloor{\frac{n+2^{k+1}}{2^{k+2}}}\right\rfloor + \left\lfloor{\frac{n}{2^{k+2}}}\right\rfloor.$

Therefore $A(k+1) = A(k)$ for all $k$, i.e., $A(k)$ is constant. The value of the constant is

$A(0) = \left\lfloor{\frac{n+1}{2}}\right\rfloor + \left\lfloor{\frac{n}{2}}\right\rfloor = n$,

since $n$ is an integer. Thus $A(k) = n$ for all $k \ge 0$. Let $2^{k_0}$ is the highest power of $2$ not exceeding $n$. For all $k \ge k_0$, $\left\lfloor{n/2^{k+1}}\right\rfloor = 0$ and thus

$n = A(k) = \left\lfloor{\frac{n+1}{2}}\right\rfloor + \left\lfloor{\frac{n+2}{4}}\right\rfloor + \cdots + \left\lfloor{\frac{n+2^k}{2^{k+1}}}\right\rfloor.$

This shows that

$\sum_{k = 0}^\infty
\left\lfloor{\frac{n+2^k}{2^{k+1}}}\right\rfloor = n.$

Since for each $k \ge 0$,

$\left\lfloor{\frac{n+2^k}{2^{k+1}}}\right\rfloor =\left\lfloor{\frac{x+2^k}{2^{k+1}}}\right\rfloor$,

it is also the case that

$\sum_{k = 0}^\infty \left\lfloor{\frac{x+2^k}{2^{k+1}}}\right\rfloor = n.$
 
Thanks, Euge for participating in this challenge problem.:) Your proof is great!

Here is the solution uses the Hermite's identity in the proof:

From the Hermite Identity, we have $\displaystyle\sum_{k=0}^{n-1} \left\lfloor x+\dfrac{k}{n}\right\rfloor=\lfloor nx\rfloor$ and taking $n=2$ we then have

$\displaystyle\sum_{k=0}^{1} \left\lfloor x+\dfrac{k}{2}\right\rfloor=\lfloor 2x\rfloor$

i.e. $\left\lfloor x\right\rfloor+\left\lfloor x+\dfrac{1}{2}\right\rfloor=\lfloor 2x\rfloor$ and rewriting to make $\displaystyle \left\lfloor x+\dfrac{1}{2}\right\rfloor$ as the subject gives

$\displaystyle \left\lfloor x+\dfrac{1}{2}\right\rfloor=\lfloor 2x\rfloor-\left\lfloor x\right\rfloor$

Note that we can make full use of this identity, as we can have

$\displaystyle \left\lfloor \dfrac{x}{2}+\dfrac{1}{2}\right\rfloor=\lfloor x\rfloor-\left\lfloor \dfrac{x}{2}\right\rfloor$

$\displaystyle \left\lfloor \dfrac{x}{4}+\dfrac{1}{2}\right\rfloor=\left\lfloor \dfrac{x}{2}\right\rfloor-\left\lfloor \dfrac{x}{4}\right\rfloor$

and so on and so forth.

Now, back to the question, expand the sum given in sigma notation into an explicit sum yields:

$\displaystyle\sum_{k=0}^{\infty} \left\lfloor\dfrac{x+2^k}{2^{k+1}}\right\rfloor$

$=\left\lfloor\dfrac{x+1}{2}\right\rfloor+\left\lfloor\dfrac{x+2}{4}\right\rfloor+\left\lfloor\dfrac{x+4}{8}\right\rfloor+\cdots$

$=\left\lfloor\dfrac{x}{2}+\dfrac{1}{2}\right\rfloor+\left\lfloor\dfrac{x}{4}+\dfrac{1}{2}\right\rfloor+\left\lfloor\dfrac{x}{8}+\dfrac{1}{2}\right\rfloor+\cdots$

$=\left\lfloor x\right\rfloor-\left\lfloor \dfrac{x}{2}\right\rfloor+\left\lfloor \dfrac{x}{2}\right\rfloor-\left\lfloor \dfrac{x}{4}\right\rfloor+\left\lfloor \dfrac{x}{4}\right\rfloor-\left\lfloor \dfrac{x}{8}\right\rfloor+\cdots$

$=\left\lfloor x\right\rfloor-\cancel{\left\lfloor \dfrac{x}{2}\right\rfloor}+\cancel{\left\lfloor \dfrac{x}{2}\right\rfloor}-\cancel{\left\lfloor \dfrac{x}{4}\right\rfloor}+\cancel{\left\lfloor \dfrac{x}{4}\right\rfloor}-\cancel{\left\lfloor \dfrac{x}{8}\right\rfloor}+\cdots$

$=\left\lfloor x\right\rfloor$

and we're done.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top