Is Floor(x)/y Always Equal to Floor(x/y) When y Is an Integer?

  • Thread starter Thread starter jaw088
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on proving that for positive integers \(x\) and \(y\) (where \(y \geq 2\)), the equation \(\left\lfloor \frac{\left\lfloor x \right\rfloor}{y} \right\rfloor = \left\lfloor \frac{x}{y} \right\rfloor\) holds true. Participants suggest starting with the inequalities \(\lfloor x \rfloor \leq x < \lfloor x \rfloor + 1\) and manipulating these to derive contradictions if the equality does not hold. The necessity for \(y\) to be an integer is emphasized, as allowing \(y\) to be a real number introduces potential discrepancies in the floor function results.

PREREQUISITES
  • Understanding of floor functions and their properties
  • Basic knowledge of inequalities in mathematics
  • Familiarity with integer arithmetic and properties
  • Ability to construct mathematical proofs and derive contradictions
NEXT STEPS
  • Study the properties of floor functions in detail
  • Learn about inequalities and their applications in proofs
  • Explore mathematical proof techniques, particularly proof by contradiction
  • Investigate the implications of using real numbers versus integers in mathematical expressions
USEFUL FOR

Mathematicians, students studying number theory, and anyone interested in mathematical proofs involving floor functions and inequalities.

jaw088
Messages
2
Reaction score
0
Hi,

I'm trying to proof that:
\left\lfloor \frac{\left\lfloor x \right\rfloor}{y} \right\rfloor= \left\lfloor \frac{x}{y} \right\rfloor for the specific case where y is an integer.

At the recommendation of somebody who I discussed the problem with, here's how I started:

\lfloor x \rfloor \le x &lt; \lfloor x \rfloor + 1
\frac{\lfloor x \rfloor}{y} \le \frac{x}{y} &lt; \lfloor \frac{x}{y} \rfloor + \frac{1}{y}
\left\lfloor \frac{\lfloor x \rfloor}{y} \right\rfloor \le \left\lfloor \frac{x}{y} \right\rfloor

And from there, prove that the case of \left\lfloor \frac{\lfloor x \rfloor}{y} \right\rfloor &lt; \left\lfloor \frac{x}{y} \right\rfloor is impossible, leaving \left\lfloor \frac{\lfloor x \rfloor}{y} \right\rfloor = \left\lfloor \frac{x}{y} \right\rfloor

Any ideas?

Thanks for your help,
John
 
Physics news on Phys.org
Don't you also need x and y to be positive for this to work?
 
Yes, x and y are both positive.

Sorry about that.

Even more specifically, in the application I'm using it, y >= 2.
 
Last edited:
Well if you want to prove it's impossible you can try assuming it's possible and looking for a logical contradiction that arises.

I guess you could start by multiplying through by y and get <br /> \left \lfloor \lfloor x \rfloor \rfloor} \right\rfloor &lt; \left\lfloor x \right\rfloor <br />
Then since x is a positive integer you can say that floor(floor(x))=floor(x), this is true since floor(x) leaves the integral part and taking the floor of that is like taking the integral part of the integer leaving the integer.

There is your contradiction, proving that the two statements are equal.
 
I was thing that if you set
\left\lfloor\ x \right\rfloor+a=x

where 0 \leq a &lt; 1

then with substitution into

\left\lfloor \frac{\left\lfloor x \right\rfloor}{y} \right\rfloor= \left\lfloor \frac{x}{y} \right\rfloor

you would get

\left\lfloor \frac{\left\lfloor x \right\rfloor}{y} \right\rfloor= \left\lfloor \frac{\left\lfloor\ x \right\rfloor+a}{y} \right\rfloor

switch it up a bit

\left\lfloor \frac{\left\lfloor x \right\rfloor}{y} \right\rfloor= \left\lfloor \frac{\left\lfloor\ x \right\rfloor}{y} +\frac{a}{y}\right\rfloor

since a is bounded in the interval 0 \leq a &lt; 1 (by definition) than the the the second term \frac{a}{y} will always be a smaller decimal than needed to raise the value of the floor function. basically what i mean by that is
\left\lfloor \left\lfloor\ x \right\rfloor +a\right\rfloor - \left\lfloor\ x \right\rfloor \neq 1
because obviously
\left\lfloor \left\lfloor\ x \right\rfloor +a\right\rfloor - \left\lfloor\ x \right\rfloor = 0
the the second term will always be negligible in the equation so it can be removed giving you the equivalence. The proof seems pretty clearly stated to me except for the second to last step where i said you can phase out the second terms. I'm having a little trouble putting that step into words but intuitively i feel strongly that it works. it just needs someone more articulate than me to come along and fix it up. good luck.
 
Maybe some insight can be gained from considering why y needs to be an integer. If y is allowed to be a real number, we could pick some 0&lt; \epsilon &lt; a &lt; 1 and use y = \lfloor x \rfloor + \epsilon. Then, we have

\left\lfloor \frac{\left\lfloor x \right\rfloor}{y} \right\rfloor= \left\lfloor \frac{\left\lfloor x \right\rfloor}{\lfloor x \rfloor + \epsilon} \right\rfloor=0

but

\left\lfloor \frac{\left\lfloor\ x \right\rfloor+a}{y} \right\rfloor= \left\lfloor \frac{\left\lfloor x \right\rfloor+a}{\lfloor x \rfloor + \epsilon} \right\rfloor=1

So, assuming y is an integer, I'd break it into three cases: y&lt;\lfloor x \rfloor, ,y=\lfloor x \rfloor and y&gt;\lfloor x \rfloor. The second and third cases are easy to see, but what about the first case?
 
Last edited by a moderator:
I am studying the mathematical formalism behind non-commutative geometry approach to quantum gravity. I was reading about Hopf algebras and their Drinfeld twist with a specific example of the Moyal-Weyl twist defined as F=exp(-iλ/2θ^(μν)∂_μ⊗∂_ν) where λ is a constant parametar and θ antisymmetric constant tensor. {∂_μ} is the basis of the tangent vector space over the underlying spacetime Now, from my understanding the enveloping algebra which appears in the definition of the Hopf algebra...

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K