I am graphing a staircase and am using y = floor(x) for the part of the staircase that someone would put their feet on, and x = floor(y) for the part that connects each part of the stairs, and I would like to solve "floor(y) = x" for y, so I can know what the opposite of floor is. By opposite (since my term may be wrong) I mean in the same way that Sine, Cosine, Tangent, Add, Subtract, Divide, Multiply, and many others have their opposites, (some of which were mentioned in that small list) and I would like to know what the opposite to floor is. I have searched all over for this answer but cannot find anything... Might I be the first to ponder this? I really hope not...
2026-04-03 06:51:32.1775199092
Who can solve floor(y) = x for y?
157 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
The sense of "opposite" that I think you're looking for is "inverse", as in "the inverse of a function". The floor function doesn't have a proper inverse because it is not a "one-to-one function". Let me put that in more concrete terms:
We know that floor(2.1)=2, and also floor(2.5)=2. Thus, if you want to solve "floor(y)=2" for y, there's no way to say whether the answer should be 2.1, or 2.5, or any of the infinitely many other numbers that are $\geq$ 2 and <3.
The best you can do is say that the "solution" to floor(y)=x is the entire interval: $[x,x+1)$.
Does this help?