Check the continuity
f(x) = (\begin{cases} x + 1 & if\; x \geq1\ x^2 + 1 & if\; x < 1 \end{cases} )
Let a R where R is the domain of f