As x approaches zero from either side, 1/x^2 goes to + infinity. As x approaches zero from either side, 1/x goes to either +infinity or -infinity. The extended reals include both infinities, and they are not equal. So you get a jump discontinuity at 0.