Proving the Floor of nx using Fractional Parts and Induction

  • Context: MHB 
  • Thread starter Thread starter Ragnarok7
  • Start date Start date
  • Tags Tags
    Identity
Click For Summary

Discussion Overview

The discussion centers on proving the equality $$\lfloor nx \rfloor = \sum_{k=0}^{n-1}\lfloor x+k/n \rfloor$$ using properties of the floor function and fractional parts. The scope includes mathematical reasoning and proof techniques, particularly focusing on induction and functional properties.

Discussion Character

  • Mathematical reasoning, Technical explanation, Debate/contested

Main Points Raised

  • One participant presents a specific case of the proof for $$n=2$$ and $$n=3$$, using the representation of $$x$$ in terms of its integer and fractional parts, but finds this method tedious for generalization.
  • Another participant outlines a proof strategy involving a function $$f(x)$$ defined as the difference between $$\lfloor nx \rfloor$$ and the sum of floor functions, suggesting properties that $$f$$ must satisfy to conclude the proof.
  • A third participant praises the outlined proof strategy as clever and simple, indicating a positive reception of the approach.
  • A follow-up question is posed regarding the inspiration behind the proposed proof method, highlighting a curiosity about the thought process involved.

Areas of Agreement / Disagreement

Participants express appreciation for the proposed proof strategy, but there is no consensus on the overall approach or resolution of the original problem. The discussion remains open with varying perspectives on proof techniques.

Contextual Notes

The discussion does not resolve the general case of the proof and leaves open questions about the applicability of induction and the completeness of the proposed strategies.

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
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K