Um… -inf and +inf are not real numbers. (Noting that your function as described is undefined at -inf.)
In addition, the definition of continuous restricts it to points which exist on an open interval; if the limit from below and limit from above are equal to the value at X, then the function is continuous on an open interval containing X. How do you determine the limit as X approaches +inf from above?
Um… -inf and +inf are not real numbers. (Noting that your function as described is undefined at -inf.)
In addition, the definition of continuous restricts it to points which exist on an open interval; if the limit from below and limit from above are equal to the value at X, then the function is continuous on an open interval containing X. How do you determine the limit as X approaches +inf from above?
MrMind explains in better language below.