Definition · applies to points

High school (real numbers)

Consider a real number $x$. A neighborhood of $x$ is a set of real numbers that contains an open neighborhood of $x$.

Undergraduate ($\reals^n$)

Consider a point $\vect{x}$ in $\reals^n$. A neighborhood of $\vect{x}$ is a set $N \subseteq \reals^n$ such that, for some number $\varepsilon > 0$, the set $N$ contains the open ball of radius $\varepsilon$ centered at $\vect{x}$:

\[\setdef{\vect{y} \in \reals^n \suchthat \norm{\vect{y} - \vect{x}} < \varepsilon} \subseteq N.\]

The set $N$ includes its boundary (solid line), so $N$ is not open. Drag $\vect{x}$ to see an open ball around $\vect{x}$ that lies inside $N$. On the boundary of $N$, every open ball around $\vect{x}$ reaches outside $N$.

Graduate (metric and topological spaces)

Consider a point $x$ in a metric space or topological space. A neighborhood of $x$ is a set $N$ that contains an open set $U$ such that $x \in U$.

Properties

  • In a metric space, $N$ is a neighborhood of $x$ if and only if $N$ contains an open ball $B(x, \varepsilon)$ for some $\varepsilon > 0$.
  • A set is open if and only if it is a neighborhood of each of its points.

Notes

Some authors require a neighborhood to be open, so that “neighborhood” means open neighborhood.

All definitions · All distinctions · All examples · Notation