The correct option is D g(x) is not differentiable at x=1
Here, f(x)=x3−x2+x+1
⇒f′(x)=3x2−2x+1, which is positive ∀x∈R.
Hence, f(x) is stricly increasing in (0,2).
g(x)={max{f(t)}, 0≤t≤x, 0≤x≤13−x, 1<x≤2
As f(x) is increasing function.
So, max{f(t)}, 0≤t≤x, 0≤x≤1=f(x)
∴g(x)={x3−x2+x+1, 0≤x≤13−x, 1<x≤2
Clearly, g(1)=g(1+)=g(1−)=2
Hence, g(x) is continuous for all x∈[0,2]
Also,
g′(x)={3x2−2x+1, 0<x<1−1, 1<x<2
At x=1, L.H.D=2 but R.H.D=−1
Clearly, L.H.D≠R.H.D
Hence, g(x) is not differentiable at x=1.