determine the discontinuity of the function