We have the function
f(x)={−1,x2−1,−2≤x<00≤x≤2
and the second function
g(x)=∣x∣+f(∣x∣).
First we examine the term f(∣x∣). Since ∣x∣≥0 for every real x, the argument ∣x∣ always falls in the interval [0,2]. For this non-negative branch the definition of f is
f(t)=t2−1when 0≤t≤2.
Substituting t=∣x∣, we obtain
f(∣x∣)=∣x∣2−1
for every x with −2<x<2.
Therefore
g(x)=∣x∣+f(∣x∣)=∣x∣+∣x∣2−1.
Continuity of g in (−2,2)
For x=0 the expression ∣x∣+∣x∣2−1 is a polynomial in either x (when x>0) or −x (when x<0); polynomials are continuous, so g is continuous at every non-zero point.
We now check continuity at x=0.
We compute the left-hand and right-hand limits:
For h→0+ (that is, x=h>0)
h→0+limg(h)=h→0+lim(h+h2−1)=−1.
For h→0− (that is, x=h<0)
h→0−limg(h)=h→0−lim(−h+h2−1)=−1.
The two one-sided limits are equal, so
x→0limg(x)=−1.
Because g(0)=∣0∣+∣0∣2−1=−1, the limit equals the function value, proving that g is continuous at x=0. Hence g is continuous at every point of the open interval (−2,2).
Differentiability of g in (−2,2)
We next differentiate the two explicit expressions for g(x).
For x>0 we have g(x)=x+x2−1, so
g′(x)=1+2xwhen x>0.
For x<0 we have g(x)=−x+x2−1, so
g′(x)=−1+2xwhen x<0.
Thus a derivative exists at every non-zero point.
The only point that still needs attention is x=0. We use the limit definition of the derivative.
The right-hand derivative at zero is
g+′(0)=h→0+limhg(h)−g(0)=h→0+limh(h+h2−1)−(−1)=h→0+limhh+h2=h→0+lim(1+h)=1.
The left-hand derivative at zero is
g−′(0)=h→0−limhg(h)−g(0)=h→0−limh(−h+h2−1)−(−1)=h→0−limh−h+h2=h→0−lim(−1+h)=−1.
Because g+′(0)=1 and g−′(0)=−1 are unequal, the derivative does not exist at x=0.
Combining our findings:
- g is continuous everywhere in \((-2,2).</li><li>gis differentiable at every point of \((-2,2) except x=0.
Therefore g fails to be differentiable at exactly one point in the open interval \((-2,2).$$
Hence, the correct answer is Option D.