The given function is f(x)=⎧⎨⎩|x|+3=−x+3,ifx≤−3−2x,if−3<x<36x+2,ifx≥3
The given function is defined at all the points of the real line.
Let c be a point on the real line.
Case I :
If c<−3, then f(c)=−c+3
limx→cf(x)=limx→c(−x+3)=−c+3
∴limx→cf(x)=f(c)
Therefore, f is continuous at all points x, such that x<−3
Case II :
If c=−3, then f(−3)=−(−3)+3=6
limx→3−f(x)=limx→3(−x+3)=−(−3)+3=6
limx→3+f(x)=limx→3(−2x)=−2x(−3)=6
∴limx→3f(x)=f(−3)
Therefore, f is continuous at x=−3
Case III :
If
−3<c<3, then f(c)=−2c and limx→cf(x)=limx→c(−2x)=−2c
∴limx→cf(x)=f(c)
Therefore, f is continuous in (−3,3).
Case IV :
If c=3, then the left hand limit of f at x=3 is,
limx→3f(x)=limx→3(−2x)=−2×3=−6
The right hand limit of f at x=3 is,
limx→3f(x)=limx→3(6x+2)=6×3+2=20
It is observed that the left and right hand limit of f at x=3 do not coincide.
Therefore, f is not continuous at x=3
Case V :
If
c>3, then f(c)=6c+2 and limx→cf(x)=limx→c(6x+2)=6c+2
∴ limx→cf(x)=f(c)
Therefore f is continuous at all points x, such that x>3
Hence, x=3 is the only point of discontinuity of f.