Domain
of definition of this function is
D1 ∪ D2 where  D1 = {x ∈ R : x < 0} and
      D2 = {x ∈ R : x > 0}
Case 1 If c ∈ D1, then lim
( )
lim
x
c
x
c
f x
→
=→
 (x + 2)
= c + 2 = f (c) and hence f is continuous in D1 Case 2 If c ∈ D2, then lim
( )
lim
x
c
x
c
f x
→
=→
 (– x + 2)
= – c + 2 = f (c) and hence f is continuous in D2 Since f is continuous at all points in the domain of f,
we deduce that f is continuous Graph of this
function is given in the Fig 5