There is no universal method that works for all possible functions.
The problems beginning calculus students are presented usually involve either:
Rational functions and trigonomeric functions are continuous on their domain. (dincontinuous when we try to divide by #0#).
#f(x) = ((x-3)(x+4))/((x+4)(x+9))# is dincontinuous at #-4# and at #-9#
Piecewise defined functions may be discontinuous where the rule changes. Check to be sure the limits from left and right are equal. And that these limits are equal to the value of the function at the #x# value where the rule changes.
Examke 1
bolded text
#f(x) = { (x^2-9, ", if ", x<4), (2x - 1, ", if ",x>4) :}#
#f# is continuous to the left of #4# (it is a polynomial -- they are continuous everywhere).
#f# is continuous to the right of #4# (it is a polynomial -- they are continuous everywhere)
Example 2
#lim_(xrarr4^-) f(x)= (4)^2-9 = 7#
#lim_(xrarr4^+) f(x)=2(4)-1 = 7#
Because the left and right limits are equa, we have:
#lim_(xrarr4) f(x) = 7#
But the function is not defined for #x=4# (#f(4)# does not exist). so the function is not continuous at #4#. #f# is defined and continuous "near' 4, so it is discontinuous at #4#.
Example 3
#g(x) = { (x^2-9, ", if ", x<= 4), (2x - 1, ", if ",x>4) :}# is continuous at #4#
Example 4
#g(x) = { (x^2-9, ", if ", x<= 4), (2x +6, ", if ",x>4) :}# is discontinuous at #4#.