I am stuck on this calculus question. I have a piecewise function as follows:
$f(x) = 1/(x+2), \quad x \neq -2$ or
$f(x) = 1, \quad x = -2$
The question is if this function is continuous at $x = -2$. I believe it is, but I have to prove using LHS and RHS limits, which I am not too sure how to do. Wouldn't both limits in this case approaching -2 from the left side and right side both equal 1?