Gives the value of a summation involving the floor function
In mathematics, Hermite's identity, named after Charles Hermite, gives the value of a summation involving the floor function. It states that for every real number x and for every positive integer n the following identity holds:

Proofs
Proof by algebraic manipulation
Split
into its integer part and fractional part,
. There is exactly one
with

By subtracting the same integer
from inside the floor operations on the left and right sides of this inequality, it may be rewritten as

Therefore,

and multiplying both sides by
gives

Now if the summation from Hermite's identity is split into two parts at index
, it becomes
![{\displaystyle {\begin{aligned}\sum _{k=0}^{n-1}\left\lfloor x+{\frac {k}{n}}\right\rfloor &=\sum _{k=0}^{k'-1}\lfloor x\rfloor +\sum _{k=k'}^{n-1}(\lfloor x\rfloor +1)=n\,\lfloor x\rfloor +n-k'\\[8pt]&=n\,\lfloor x\rfloor +\lfloor n\,\{x\}\rfloor =\left\lfloor n\,\lfloor x\rfloor +n\,\{x\}\right\rfloor =\lfloor nx\rfloor .\end{aligned}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/f6d0dfd760d7b9c01331791ca291624be86054b5)
Proof using functions
Consider the function

Then the identity is clearly equivalent to the statement
for all real
. But then we find,

Where in the last equality we use the fact that
for all integers
. But then
has period
. It then suffices to prove that
for all
. But in this case, the integral part of each summand in
is equal to 0. We deduce that the function is indeed 0 for all real inputs
.
References