I've just started my infinitesimal course, and I would like to see if I got the essence of floor right.
Let $x, y \in \mathbb R$ and $x\le y$ , prove that $\left\lfloor x \right\rfloor\le \left\lfloor y \right\rfloor$.
So, we know from the definition of floor that:
A. $\left\lfloor x \right\rfloor\le x < \left\lfloor x \right\rfloor +1$
B. $\left\lfloor y \right\rfloor \le y < \left\lfloor y \right\rfloor +1$
Now, since $x\le y$:
$\left\lfloor x \right\rfloor \le x \le y \rightarrow \left\lfloor x \right\rfloor \le y$
Also from the definition, we understand:
A. $\left\lfloor x \right\rfloor = max\{n\in \mathbb Z | n\le x\} $
B. $\left\lfloor y \right\rfloor = max\{n\in \mathbb Z | n \le y\}$
Is it okay to derive from here since $x\le y$ and $\left\lfloor x \right\rfloor \le y$
That also $\left\lfloor x \right\rfloor \le \left\lfloor y \right\rfloor$?
Thanks!
I would go
$$\lfloor x\rfloor\le x\le y\lt\lfloor y\rfloor+1\implies-1\lt\lfloor y\rfloor-\lfloor x\rfloor\implies0\le\lfloor y\rfloor-\lfloor x\rfloor$$
where the final implication uses the fact that $\lfloor y\rfloor-\lfloor x\rfloor$ is an integer greater than $-1$.