$\displaystyle \lim_{x \to 2 } \frac{3}{(x - 2)}$

I cheated by looking at a graph and it goes to $\displaystyle \pm \infty$, but when I try to solve it algbraically by substitution, I plug $\displaystyle 2$ in and get undefined in the denominator, as I'd expect with an infinite limit. But how do I show the algebraic work that the behavior of the function as the $\displaystyle \lim_{x \to 2 }$ goes to both $\displaystyle \pm \infty$?