Help with understanding a floor proof

  • Thread starter Thread starter Temp0
  • Start date Start date
  • Tags Tags
    Proof
Click For Summary
SUMMARY

The proof demonstrates that for any real number x, if x - floor(x) < 1/2, then floor(2x) equals 2 times floor(x). This is established by multiplying the inequality by 2, leading to the conclusion that 2 floor(x) is an integer that satisfies the condition 2 floor(x) <= 2x < 2 floor(x) + 1. The critical insight is recognizing that floor(2x) must be at least 2 floor(x) due to the properties of the floor function and the behavior of fractional parts.

PREREQUISITES
  • Understanding of the floor function and its properties
  • Basic knowledge of inequalities and real numbers
  • Familiarity with integer properties and operations
  • Concept of fractional parts of real numbers
NEXT STEPS
  • Study the properties of the floor function in detail
  • Learn about inequalities involving real numbers and their implications
  • Explore proofs involving integer and fractional parts of numbers
  • Investigate similar proofs in number theory related to floor functions
USEFUL FOR

Mathematics students, educators, and anyone interested in number theory or mathematical proofs involving the floor function.

Temp0
Messages
79
Reaction score
0

Homework Statement


Prove that for any real number x, if x - floor(x) < 1/2, then floor(2x) = 2 floor(x)

Homework Equations

The Attempt at a Solution


Assuming that x is a real number. Suppose that x - floor(x) < 1/2
Multiplying both sides by 2, 2x < 2 floor(x) + 1
from the definition, 2 floor(x) <= 2x
2 floor(x) is an integer, and 2 floor(x) <= 2x < 2 floor(x) + 1
Implying floor(2x) = 2 floor(x)

My question is, how does the proof imply the result? I don't see how the logic works. Thank you for any help you can provide in advance.
 
Physics news on Phys.org
Temp0 said:
2 floor(x) is an integer, and 2 floor(x) <= 2x < 2 floor(x) + 1
Implying floor(2x) = 2 floor(x)

My question is, how does the proof imply the result? I don't see how the logic works. Thank you for any help you can provide in advance.

The key is that floor(x) and floor(2x) are both integers and the relation you have above is 2floor(x) < 2 floor(x) + 1. You seem to be missing the part where 2floor(x) <= floor(2x).
 
I see... I guess I missed that part, haha, just wondering, does it come from the inequality:

floor (2x) <= 2x < floor(2x) + 1 ?

I can see how it relates... kind of, since

2 floor (x) <= 2x as well, but how does

2floor(x) <= floor (2x) ?
 
2 floor(x) is always less than or equal to floor(2x).

If you let ## x = x_{int} + x_{frac} ## where ##x_{int}\in \mathbb{Z}, 0 \leq x_{frac}<1##
Then ##\text{floor}(x) = x_{int}=x-x_{frac}##
## 2\text{floor}(x) = 2x_{int}=2x-2x_{frac}##
But floor(2x) has 2 cases:
case 1:
##x_{frac}<.5 \implies 2x_{frac} < 1 \implies floor(2x) = 2 x_{int} = 2floor(x) ##
case 2:
##.5 \leq x_{frac}<1 \implies 2x_{frac} \geq 1 \implies floor(2x) = 2 x_{int} + 1=2floor(x) + 1 ##
In both cases, floor(2x) ##\geq ## 2floor(x) .
 
  • Like
Likes   Reactions: Greg Bernhardt

Similar threads

Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
749
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 31 ·
2
Replies
31
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K