Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 4.1.10 (Find $x$ such that $\left \lfloor \frac{\lfloor x \rfloor}{m} \right \rfloor \ne \left \lfloor \frac{x}{m} \right \rfloor$)

Exercise 4.1.10 (Find $x$ such that $\left \lfloor \frac{\lfloor x \rfloor}{m} \right \rfloor \ne \left \lfloor \frac{x}{m} \right \rfloor$)

Let m be any real number not zero or a positive integer. Prove that an x exists so that the equation of Theorem 4.1, part 6, is false

Answers

Proof. Let m . We search x such that

x m x m .

  • We suppose first that m > 0 .

    Put x = m . Then x m = 1 . But 0 x = m < m , since m is not a positive integer, thus 0 x m < 1 , so x m = 0 1 = x m .

  • Suppose now that m < 0 (integer or not). Take x = m + μ , where μ is chosen such that { m } < μ < 1 (here { m } = m m is the fractional part of m ). Such a μ exists, since { m } < 1 , for instance μ = ( 1 + { m } ) 2 , so that

    x = m + μ = m + ( 1 + m m ) 2 .

    Then

    m m < m + μ = x < m + 1 ,

    thus x = m .

    Since m < 0 , the division by m gives

    m m 1 > x m .

    Since x m < 1 ,

    x m 0 . (1)

    Moreover x m = m m 1 , thus

    x m 1 . (2)

    Then the inequations (1) and (2) show that

    x m x m .

Check:

sage: m = -10.7
....: x = floor(m) + (1 + m - floor(m))/2
....: print(floor(floor(x)/m), floor(x / m))
(1, 0)

User profile picture
2024-12-15 10:29
Comments