MHB Proving the Floor of nx using Fractional Parts and Induction

  • Thread starter Thread starter Ragnarok7
  • Start date Start date
  • Tags Tags
    Identity
Click For Summary
The discussion centers on proving the equation $$\lfloor nx \rfloor = \sum_{k=0}^{n-1}\lfloor x+k/n \rfloor$$ using properties of fractional parts and induction. Initial attempts involved specific cases for n=2 and n=3, but these methods were deemed tedious and ineffective for generalization. A proposed proof outline involves defining a function f(x) and demonstrating its periodicity and specific values within a defined range. The conclusion suggests that if f has the stated properties, it must be identically zero, thereby proving the original equality. The approach is recognized as clever and simple, prompting appreciation for the insight behind it.
Ragnarok7
Messages
50
Reaction score
0
Prove that $$\lfloor nx \rfloor = \sum_{k=0}^{n-1}\lfloor x+k/n \rfloor$$.

Note $$\lfloor x\rfloor$$ means the greatest integer less than or equal to $$x$$.

I proved the cases where n=2 and n=3 by writing $$x=\lfloor x\rfloor + \{x\}$$, where $$\{x\}$$ is the fractional part of $$x$$, and then using cases where $$0\leq \{x\}<\frac{1}{n}$$, $$\frac{1}{n}\leq \{x\}<\frac{2}{n}$$, $$\ldots$$, $$\frac{n-1}{n}\leq\{x\}<1$$. However, this is tedious and doesn't work in the general case. Does anyone have any suggestions for showing this? I don't see that induction will help.

Thank you!
 
Physics news on Phys.org
The outline of a proof goes something like this.

Let $f(x) := \left\lfloor{nx}\right\rfloor - \sum_{k=0}^{n-1} \left\lfloor{x + \frac kn}\right\rfloor$.

Show $f$ has the properties:

$(i)$: $f(x + \frac 1n) = f(x)$, and
$(ii)$: $f(x) = 0$ for $0 \leq x < \frac 1n$.

Then, claim that if $f$ has properties $(i)$ and $(ii)$, $f \equiv 0$, and thus the original equality holds.
 
Magneto, very clever. Well done.
 
Thank you! That is great and very simple. Can I ask how you got the idea to do it this way? I would never have thought of it.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
807
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K