Floor Function: Real Value of $k$ & $x$

  • MHB
  • Thread starter juantheron
  • Start date
  • Tags
    Function
In summary: Therefore k=0 or k=1.In summary, the value of $k$ for which $k\lfloor x \rfloor = \lfloor kx \rfloor$ can only be 0 or 1. For the equation $\displaystyle \lfloor \frac{x}{2011}\rfloor = \lfloor \frac{x}{2012}\rfloor$, the values of $x$ can be found in the intervals $[2012,4021]$, $[4024,6032]
  • #1
juantheron
247
1
(1) find real value of $k$ for which $k\lfloor x \rfloor = \lfloor kx \rfloor$

(2) find value of $x$ for which $\displaystyle \lfloor \frac{x}{2011}\rfloor = \lfloor \frac{x}{2012}\rfloor$

where $\lfloor x \rfloor = $ floor function
 
Mathematics news on Phys.org
  • #2
jacks said:
(1) find real value of $k$ for which $k\lfloor x \rfloor = \lfloor kx \rfloor$

(2) find value of $x$ for which $\displaystyle \lfloor \frac{x}{2011}\rfloor = \lfloor \frac{x}{2012}\rfloor$

where $\lfloor x \rfloor = $ floor function

For (2), 2012 since the floor of 2012/2011 = 1 and 2012/2012 = 1.

If you want values though, it would be $x\in [2012,4021]$
 
  • #3
in general [tex]\lfloor x \rfloor = a \Rightarrow a \leq x < a+1 [/tex]

[tex]\lfloor x k \rfloor = k \lfloor x \rfloor [/tex]

[tex]k \lfloor x \rfloor \leq x k < k \lfloor x \rfloor +1 [/tex]

[tex]0 \leq x k - k \lfloor x \rfloor <1 [/tex]

[tex]0 \leq k(x - \lfloor x \rfloor) <1 [/tex]

[tex]x - \lfloor x \rfloor = {0,1} [/tex] if x integer 0 if x is not integer 1

[tex] 0 \leq k < 1 [/tex]
But
[tex]\lfloor kx \rfloor , \lfloor x \rfloor [/tex] are both integers which leave k to be integer so k=0 and k=1
 
Last edited:
  • #4
dwsmith said:
jacks said:
(1) find real value of $k$ for which $k\lfloor x \rfloor = \lfloor kx \rfloor$

(2) find value of $x$ for which $\displaystyle \lfloor \frac{x}{2011}\rfloor = \lfloor \frac{x}{2012}\rfloor$

where $\lfloor x \rfloor =$ floor function

For (2), 2012 since the floor of 2012/2011 = 1 and 2012/2012 = 1.

If you want values though, it would be $x\in [2012,4021]$
Those are the numbers for which $\displaystyle \left\lfloor \frac{x}{2011}\right\rfloor = \left\lfloor \frac{x}{2012}\right\rfloor = 1.$ There are also the numbers $0\leqslant x\leqslant 2010$ for which $\displaystyle \left\lfloor \frac{x}{2011}\right\rfloor = \left\lfloor \frac{x}{2012}\right\rfloor = 0.$ Then there are the numbers $4024 \leqslant x\leqslant 6032$ for which $\displaystyle \left\lfloor \frac{x}{2011}\right\rfloor = \left\lfloor \frac{x}{2012}\right\rfloor = 2,$ and a whole lot of other intervals going right up to the number $X = 4044120 = 2012\times 2010.$ This has the property that $\displaystyle \left\lfloor \frac{X}{2011}\right\rfloor = \left\lfloor \frac{X}{2012}\right\rfloor = 2010,$ and it is the largest number for which $\displaystyle \left\lfloor \frac{X}{2011}\right\rfloor$ and $\left\lfloor \dfrac{X}{2012}\right\rfloor$ are equal.
 
  • #5
Amer said:
in general [tex]\lfloor x \rfloor = a \Rightarrow a \leq x < a+1 [/tex]

[tex]\lfloor x k \rfloor = k \lfloor x \rfloor [/tex]

[tex]k \lfloor x \rfloor \leq x k < k \lfloor x \rfloor +1 [/tex]

[tex]0 \leq x k - k \lfloor x \rfloor <1 [/tex]

[tex]0 \leq k(x - \lfloor x \rfloor) <1 [/tex]

[tex]x - \lfloor x \rfloor = {0,1} [/tex] if x integer 0 if x is not integer 1

[tex] 0 \leq k < 1 [/tex]
But
[tex]\lfloor kx \rfloor , \lfloor x \rfloor [/tex] are both integers which leave k to be integer so k=0 and k=1
Or you can solve it in other way if x=1

[tex] k = \floor k \rfloor [/tex] so k should be integer
------
the trivial solution is k={0,1}, suppose k is not 0 or 1

choose x = 1/k, if k>0 [tex]\lfloor \frac{1}{k} \rfloor = 0 [/tex] if k <0 [tex]\lfloor \frac{1}{k} \rfloor = -1 [/tex]

[tex] k \lfloor \frac{1}{k} \rfloor = {0,-1} [/tex]

[tex] \floor k \left(\frac{1}{k}\right) \rfloor = 1 [/tex]
 

FAQ: Floor Function: Real Value of $k$ & $x$

What is the definition of the floor function?

The floor function, denoted as $\lfloor x \rfloor$, returns the largest integer less than or equal to $x$. In other words, it rounds down the input value to the nearest integer.

What is the real value of $k$ in the floor function?

The real value of $k$ in the floor function refers to the input or argument of the function, which can be any real number. It is the value that is rounded down to the nearest integer.

What is the real value of $x$ in the floor function?

The real value of $x$ in the floor function is the output or result of the function, which is always an integer. It is the rounded down value of the input $k$.

What happens when the input value is already an integer?

If the input value is already an integer, then the floor function simply returns the same integer value. For example, $\lfloor 5 \rfloor = 5$.

How is the floor function related to the ceiling function?

The floor function and the ceiling function are complementary to each other. While the floor function rounds down to the nearest integer, the ceiling function rounds up to the nearest integer. In other words, $\lfloor x \rfloor + \lceil x \rceil = x$ for any real value of $x$.

Similar threads

Back
Top