The function is defined for
(−∞,1]∪(1,∞)=R
For x<1,
f(x)=x+5
which is a polynomial function and hence continuous.
For x>1,
f(x)=x−5
which is also a polynomial function and hence continuous.
Thus, f(x) is continuous on R−{1}.
Now, examine continuity at the partitioning point x=1.
Left hand limit:
x→1−limf(x)=x→1−lim(x+5)=6
Right hand limit:
x→1+limf(x)=x→1+lim(x−5)=−4
Since,
x→1−limf(x)=x→1+limf(x)
∴x→1limf(x) does not exist
Hence, f(x) is discontinuous at x=1.
x=1 is the only point of discontinuity