From the graph: f(x)=x+2 for x<1, f(1)=0, f(x)=5−2x for 1<x<3, and f(x)=x−2 for x≥3.
(i) From the left, x+2→3; from the right, 5−2x→3. Both one-sided limits are 3, so limx→1f(x)=3. The solid dot f(1)=0 plays no part.
(ii) From the left, 5−2x→−1; from the right, f(x)=x−2→1. Since −1=1, limx→3f(x) does not exist.
(iii) It is not enough to know that f(x)→3; we need to know which side of 3 the values f(x) lie on, because 3 is a break point of f.
- For 0<x<1: f(x)=x+2 lies in (2,3), just below 3.
- For 1<x<2: f(x)=5−2x lies in (1,3), just below 3.
So for x near 1 (but x=1), f(x) is in (1,3), where f(u)=5−2u. Hence
f(f(x))=5−2f(x)→5−2×3=−1
On each side directly: for 0<x<1, f(f(x))=5−2(x+2)=1−2x→−1; for 1<x<2, f(f(x))=5−2(5−2x)=4x−5→−1. So limx→1f(f(x))=−1. It is not f(3)=1, and it does exist, even though f has no limit at 3.