Consider the function f(x)=[x]+∣1−x∣, −1≤x≤3, where [x] is the greatest integer function.
Statement 1: f is not continuous at x=0,1,2 and 3.
Statement 2: f(x)=⎩⎨⎧−x,1−x,1+x,2+x,−1≤x<00≤x<11≤x<22≤x≤3
Solutions · 1
Official solution
f is actually not continuous at x=0,1,2, but is continuous at x=3 (endpoint, no jump beyond domain). So Statement 1 (claiming discontinuity at x=3 too) is false, while Statement 2's piecewise formula is correct.