MHB When does the floor function inequality hold?

SweatingBear
Messages
119
Reaction score
0
Let [x] be the floor function i.e. it produces the integral part of x. So for example if x = 1.5 then [x] = 1. I recently saw the claim

$$[x] \geq x - 1$$

The strict part of the inequality makes perfect sense, but when does equality occur? Does it even occur at all? I have not been able to find an example. Maybe the claim is false?
 
Physics news on Phys.org
sweatingbear said:
Let [x] be the floor function i.e. it produces the integral part of x. So for example if x = 1.5 then [x] = 1. I recently saw the claim

$$[x] \geq x - 1$$

The strict part of the inequality makes perfect sense, but when does equality occur? Does it even occur at all? I have not been able to find an example. Maybe the claim is false?

Hi sweatingbear!

You are right that equality cannot occur.
However, the claim is still true.
Consider that:
$$[x] > x - 1 \quad\Rightarrow\quad [x] \geq x - 1$$
It's just a weaker statement. Still true though.
 
Back
Top