TITLE: What does the phrase "except possibly at $a$ itself" mean in the definition of a limit?
QUESTION [9 upvotes]: The definition of limit says that Let $f(x)$ be a function defined on some open interval that contains the number $a$, except possibly at $a$ itself. Then we say that the limit of $f(x)$ as $x$ approaches $a$ is $L$ If....{the rest of definition is left to make the question easier}. 
What does the phrase "except possibly at $a$ itself" mean?
What is the significance of defining the interval, open i.e why not closed?

REPLY [12 votes]: Here's an answer at more of a calculus level and not so much a real analysis level.

Let $f(x)$ be a function defined on some open interval that contains the number $a$, except possibly at $a$ itself.

"except possibly at $a$ itself" means the function may not actually be defined at $x = a$.  And a function need not even be defined at $x=a$ in order for the limit as $x \to a$ to exist.  This is because the limit of $f(x)$ as $x \to a$ describes how $f(x)$ behaves near $x=a$ and not necessarily at $x = a$.
For example, $f(x) = \frac{x^2-4}{x-2}$ is not defined for $x=2$.  But we can calculate the limit as follows:
$$\lim_{x \to 2} f(x) = \lim_{x \to 2} \frac{x^2-4}{x-2} = \lim_{x \to 2} \frac{(x-2)(x+2)}{x-2} = \lim_{x\to 2} (x+2) = 4$$
This means that as $x \to 2$, our function $f(x)$ looks (behaves) like it's approaching the value $f(x) = 4$.  And again, the function isn't even defined at $x = 2$, but this is irrelevant for the limit.
To really drive home the point that the value of the function at $x=a$ is irrelevant to the limit as $x \to a$, consider the following three functions:

$f(x) = \frac{x^2-4}{x-2}$
$g(x) = x^2$
$h(x) = \begin{cases} x+2, & x \ne 2 \\ 10, & x = 2\end{cases}$

All three of these functions have the same limit as $x \to 2$.  The limit is $4$.  But note the following:

$f(x)$ is not even defined at $x=2$.
$g(x)$ is defined at $x=2$ and $g(2) = 4$, which is the same value as the limit.
$h(x)$ is defined at $x=2$ but $h(2) = 10$, which is not the same value as the limit.