Giải thích các bước giải:
Do hàm số liên tục trên $(-\infty, 1)\cup(1,\infty)$
$\to \lim_{x\to2^-}f(x)=\lim_{x\to2^+}f(x)=f(2)=\sqrt{2+2}+2=4$
$\lim_{x\to0^-}f(x)=\lim_{x\to0^+}f(x)=f(0)=0^2+2.0+1=1$
$\lim_{x\to 1^-}f(x)=1^2+2.1+1=4$
$\lim_{x\to 1^+}f(x)=\sqrt{1+2}+2=2+\sqrt3$