MathCastle
CalculusChallengeLimits and Continuity

Limits and Continuity · Challenge problem

Let g(x)=⌊x⌋+⌊−x⌋g(x)=\lfloor x\rfloor+\lfloor -x\rfloor, where ⌊ ⋅ ⌋\lfloor\,\cdot\,\rfloor is the greatest integer function. Find lim⁡x→2g(x)+g(2)\displaystyle\lim_{x\to 2}g(x)+g(2).