Let f:[1,3]→R be a function satisfying [x]x≤f(x)≤6−x for all x=2, and f(2)=1, where [x] is the greatest integer ≤x.
Statement 1: x→2−limf(x) exists.
Statement 2: f is continuous at x=2.
Solutions · 1
Official solution
For x→2−, [x]=1, so [x]x→2 and 6−x→2; by the Sandwich theorem, x→2−limf(x)=2 --- Statement 1 true.
For x→2+, [x]=2, so [x]x→1 and 6−x→2; the Sandwich theorem does not pin down a unique value, so x→2+limf(x) need not exist/match. Since f(2)=1 but LHL =2, f is not continuous at x=2 --- Statement 2 false.