The given function is
f(x)=∣x∣−∣x+1∣.
The two functions,
g and
h, are defined as
g(x)=∣x∣ and
h(x)=∣x+1∣Then,
f=g−hThe continuity of
g and
h is examined first.
g(x)=∣x∣ can be written as
g(x)={−x,x,if x<0if x≥0.Clearly,
g is defined for all real numbers.
Let
c be a real number.
Case I
If
c<0, then
g(c)=−c and
n→climg(x)=x→clim(−x)=−c ∴x→climg(x)=g(c)Therefore,
g is a continuous at all points
x, such that
x<O Case II
If
c>, then
g(c)=c and
x→climg(x)=x→climx=c∴x→climg(x)=g(c)Therefore,
g is continuous at all points
x, such that
x>0Case III
If
c=o, then
g(c)=g(o)=ox→0limg(x)=x→0lim(−x)=0x→0limg(x)=x→0lim(x)=0∴x→0limg(x)=x→0lim(x)=g(0)Therefore,
g is continuous at
x=oFrom the above three observation, it can be concluded that
g is continuous at all points.
h(x)=∣x+1∣ can be written as
h(x)={−(x+1),x+1,if c<−1if x≥−1.Clearly,
h is defined for every real number.
Let c be a real number.
Case I :
If
c<−1, then
h(c)=−(c+1) and
n→climh(x)=x→clim[−(x+1)]=−(c+1)∴h→climh(x)=h(c)Therefore,
h is continuous at all points
x, such that
x<−1Case II:
If
c>−1, then
h(c)=c+1 and
x→climh(x)=x→clim(x+1)=c+1∴n→climh(x)=h(c)Therefore,
h is continuous at all points
x such that
x>−1.
Case III
If
c=−1, then
h(c)=h(−1)=−1+1=0x→−1limh(x)=x→−1lim[−(x+1)]=−(−1+1)=0x→−1limh(x)=x→−1lim(x+1)=(−1+1)=0∴x→−1limh(x)=x→−1limh(x)=h(−1)Therefore,
h is continuous at
x=1From the above three observations, it can be concluded that
h is continuous at all points of the real line.
g and
h are continuous functions. Therefore,
f=gh is also a continuous function.
Therefore, f has no point of discontinuity.