I was wondering if someone can verify if my assumptions are correct about this problem:
For each real number x, there exists a unique integer n, such that
Floor(x)= n where n <= x < n +1
and
Ceiling(x)= n where n -1 < x <=n
Essentially, I am trying to determine if 1)are these functions equivalent functions,2)are these functions one-to-one functions, and 3) are these functions onto functions.
What I have come up with so far:
1. Yes, they are equivalent functions because: -Floor(-x)=Ceiling(x) * Not to sure about this though
2. No, they are not one-to-one functions because each unit interval is mapped to the same integer.
3. No, they are not onto functions because the range consists of the integers, so the functions are not onto the reals.
Thanks again everyone. If you think I am mistaken for any of these, please feel free to point out where my logic is flawed
For each real number x, there exists a unique integer n, such that
Floor(x)= n where n <= x < n +1
and
Ceiling(x)= n where n -1 < x <=n
Essentially, I am trying to determine if 1)are these functions equivalent functions,2)are these functions one-to-one functions, and 3) are these functions onto functions.
What I have come up with so far:
1. Yes, they are equivalent functions because: -Floor(-x)=Ceiling(x) * Not to sure about this though
2. No, they are not one-to-one functions because each unit interval is mapped to the same integer.
3. No, they are not onto functions because the range consists of the integers, so the functions are not onto the reals.
Thanks again everyone. If you think I am mistaken for any of these, please feel free to point out where my logic is flawed