Hard floor function problem

858 Views Asked by At

Let $\left \lfloor{x}\right \rfloor $ denote the floor of $x$. Supose $m\in \mathbb{N}$, and that $t$ is a positive irrational number. Put $n=\left \lfloor{mt}\right \rfloor$. Prove that $$\sum_{k=1}^{m} \left \lfloor{kt}\right \rfloor +\sum_{k=1}^{n} \left \lfloor{\frac{k}{t}}\right \rfloor= mn$$

1

There are 1 best solutions below

5
On BEST ANSWER

The following might need a few details filled in, so view it as a hint.

The rectangle $R=[0,m] \times [0,n]$ has $mn$ lattice points in it with positive coordinates. The line $L: y=tx$ does not pass through any of these lattice points since $t$ is irrational. The first sum counts the lattice points below $L$, and the second counts lattice points above $L$, since a point above $L$ is also to the left of $L$ and $L$ may also be written as $x=y/t$

Note: one detail is that from $n=\left \lfloor{mt}\right \rfloor$ we have the highest lattice point of the form $(m,k)$ is the upper right corner $(m,n)$ --actually the important feature is that the largest thing counted in the first sum is this upper right point in the rectangular lattice $R.$ Then the line $L$ cuts through the top edge of $R$ in such a way that nothing counted in the two sums happens to lie outside the rectangle.