Given,
f:(0,2)→R;f(x)=2x+x2
⇒f′(x)=21−x22
⇒f′(x)=2x2x2−4
∴f(x) is decreasing in domain (0,2).

\Rightarrow g(x)={\begin{matrix}\frac{x}{2}+\frac{2}{x}0<x\leq 1 \\ \frac{3}{2}+x1<x<2\end{matrix}
⇒g(1)=21+12=25
⇒g(1+)=23+1=25
⇒g(x) is continuous in (0,2).
\Rightarrow {g}^{'}(x)={\begin{matrix}{f}^{'}(x),0<x\leq 1 \\ 1,1<x<2\end{matrix}
⇒g′(1)=f′(1)=2−3
⇒g′(1)=g′(1+)
So, g(x) is not differentiable at x=1.
