I know why this function is undefined at x=0 (removable discontinuity), but why is it defined at x=2?