We have f(x)={2x+3ifx≤22x−3ifx>2
Case1
At x=2
f is continuous at x=2
if L.H.L=R.H.L=f(2)
limx→2−f(x)=limx→2+f(x)=f(2)
L.H.L=limx→2−f(x)
=limx→2−(2x+3) as x<2
=2×2+3=4+3=7
R.H.L=limx→2+f(x)
=limx→2+(2x−3) as x>2
=2×2−3=4−3=1
Since L.H.L≠R.H.L
∴f is not continuous at x=2
Case2
At x=c where c<2
f(x)=2x+3 as x=c, where c<2
f is continuous at x=c
if limx→cf(x)=f(c)
L.H.L=limx→cf(x)=limx→c(2x+3)=2c+3
f(c)=2c+3
Hence limx→cf(x)=f(c)
∴f is continuous at x=c where c<2
Thus,fis continuous for all real number less than 2
Case 3
At x=c where c>2
∴f(x)=2x−3 as x=c,c>2
f is continuous at x=c
limx→cf(x)=f(c)
L.H.L=limx→cf(x)=limx→c(2x−3)=2c−3
f(c)=2c−3
Hence limx→cf(x)=f(c)
⇒f is continuous at x=c where c>2
⇒f is continuous at all real number greater than 2
Hence, only x=2 is point of discontinuity.
⇒f is continuous at all real number except 2
Thus, f is continuous for x∈R−{2}