First note that the function is defined at in the third piece of piecewise function, and When , let’s see the left limit and right limit at point as follows:
and
We get that the left limit is equal to right limit, thus
exists. And note that
which is the reason that
is continuous at
. So we choose
.