MATHEMATICS · Multi-part · AoPS · Mathematics · Special Functions · Special Functions
Problem
Define the function g:R→R by g(x)=⌊x⌋+⌊−x⌋.
(i) Prove that g(x)=−1 whenever x is not an integer.
(ii) Find the value of g(x) when x is an integer.
(iii) Sketch the graph of g(x) for −3≤x≤3, clearly indicating all points of discontinuity.