I'm trying to understand properties of the greatest integer function and I am struggling to find the value of $\lfloor x+y \rfloor$ where $x \in \mathbb{R}$, $y \in \mathbb{Z}$, and prove that it is correct value.
I don't really know how to prove this, but I have been dividing it into different cases. I think that it equals $\lfloor x \rfloor + y$ when $x,y$ are both positive but not sure how to prove it. Depending on if one or both $x$ and $y$ are negative, and their ultimate sum, I get different values. I am having trouble determining when exactly this happens though and then proving the results. Any help would be great, thanks!