To determine the total number of points at which h(x) fails to be differentiable, we first write explicit algebraic expressions for h(x) across different intervals of x.
The given functions are:
f(x)=∣x∣+1={1−x1+xif x≤0,if x>0,
g(x)=x2+1.
Step 1: Definition of h(x) for x≤0
For x≤0, we have h(x)=max{f(x),g(x)}=max{1−x,x2+1}.
Comparing f(x) and g(x):
f(x)−g(x)=(1−x)−(x2+1)=−x(x+1).
Interval x<−1: Here, x<0 and x+1<0, so −x(x+1)<0⟹f(x)<g(x).
⟹h(x)=g(x)=x2+1.
Interval −1≤x≤0: Here, x≤0 and x+1≥0, so −x(x+1)≥0⟹f(x)≥g(x).
⟹h(x)=f(x)=1−x.
Step 2: Definition of h(x) for x>0
For x>0, we have h(x)=min{f(x),g(x)}=min{1+x,x2+1}.
Comparing f(x) and g(x):
f(x)−g(x)=(1+x)−(x2+1)=x(1−x).
Interval 0<x<1: Here, x>0 and 1−x>0, so x(1−x)>0⟹f(x)>g(x).
⟹h(x)=g(x)=x2+1.
Interval x≥1: Here, x>0 and 1−x≤0, so x(1−x)≤0⟹f(x)≤g(x).
⟹h(x)=f(x)=1+x.
Since polynomials are smooth (infinitely differentiable) on open intervals, h(x) is differentiable on R∖{−1,0,1}. We now analyze differentiability at the boundary points x=−1, x=0, and x=1.
Step 4: Differentiability Analysis at Boundary Points
At x=−1:
Continuity check:
limx→−1−h(x)=(−1)2+1=2,limx→−1+h(x)=1−(−1)=2=h(−1).
Thus, h(x) is continuous at x=−1.