Examine the following functions for continuity :
(d) f(x)=|×−5|.
f(x)=|×−5|={x−5, for x≥55−x, for x<5
Forx→5+, limx→5+ = limx→5+ (x-5)=5-5=0
Forx→5−, limx→5− f(x) = limx→5− (5-x)=5-5=0
Also, f(5)=5-5=0
∴ LHL=RHL=f(x). Therefore, the function is continuous at x=5.
Note In any rational function f(x)=p(x)q(x) and if P(x) and q(x) are polynomials and q(x) is zero at any value of x and p(x) = 0, then f(x) is not continuous at that point.