[Math] How to prove this property of floor function

calculusfunctionsreal-analysis

$
\left\lfloor { – x} \right\rfloor = – \left\lfloor x \right\rfloor
$
if $x \in \mathbb{Z}$ and

$ \left\lfloor { – x}\right\rfloor = – \left\lfloor x \right\rfloor -1 $ otherwise

This is an exercise from Tom Apostol's book "Calculus Volume I" section 1.11 number 4. He defined $\left\lfloor x \right\rfloor$ as the greatest integer $\leqslant x$.

I have tried it but I don't get it. Could you help me?.

Best Answer

Use that you define $[x]$ such that $[x]\leq x<[x]+1$. Now replace this into all the statements you want to prove.

Related Question