I am having some confusions about the removable discontinuities. most of the functions with removable discontinuity I have faced are piece wise functions.example: $f(x)=\begin{cases}x+2,x\neq 1 \\4,x=1\end{cases}$
my first question:how can the discontinuity of a piecewise function be removed??
2nd question:functions with removable discontinuities usually violate the 3rd condition of continuity,which is understandable for piecewise functions.but the function $f(x)=\frac{(x-1)(x-2)}{(x-1)}$ also has a removable discontinuity at $x=1$.but this function violates the very first condition of continuity ($f(a)$ is not defined).should it still be called a removable discontinuity??