Let [x] denote the greatest integer function and
f(x)=max1+x+[x],2+x,x+2[x],0≤x≤2. Let m be the number of
points in [0,2], where f is not continuous and n be the number of points in
(0,2), where f is not differentiable. Then (m+n)2+2 is equal to :
Solutions · 1
Official solution
\[
\begin{aligned}
& \text { Let } g(x)=1+x+[x]=\left\{\[\begin{array}{|cccc|}1+x ; & x \in[0,1) \\ \
2+x ; & x \in[1,2) \\ 5 ; & x=2\end{array}\end{aligned}\]\right. \\\\
\& \lambda(x)=x+2[x]=\left\{\[x;x+2;6;x∈[0,1)x∈[1,2)x=2\]\right. \\\\
\& r(x)=2+x \\\\
\& f(x)=\left\{\[2+x;6;x∈[0,2)x=2\]\right.
\]
f(x) is discontinuous only at x=2⇒m=1f(x) is differentiable in (0,2)⇒n=0(m+n)2+2=3