Is the function defined by f(x)=|x|, a continuous function?
Given: function is f(x)=|x|
We define the function f(x)={−x,if x<0x, if x≥0
If f(x) is continuous at x=0 then
LHL=limx→0−−x
Putting h=0 then we get,
=(0=0
R.H.L. =limx→0+x
=limh→0(0+h)
Putting h=0 then we get,
=limh→00=0
To find f(x) at x=0
f(x)=x at x=0
f(0)=0
Hence, limx→1−f(x)=limx→1+f(x)=f(0)=0
Therefore, the function f(x)=|x| is continuous at x=0
When x<0
For x<0,f(x)=−x
Since the function f(x)=−x is a polynomial so it is continuous.
∴f(x) is continuous for x<0
When x>0
For x>0,f(x)=x
Since the function f(x)=x is a polynomial, so it is continuous.
∴f(x) is continuous for x>0
Hence, the f(x)=|x| | is continuous for all points i.e., x∈R