Neighbourhood (mathematics)



In topology and related areas of mathematics, a neighbourhood (or neighborhood) is one of the basic concepts in a topological space. It is closely related to the concepts of open set and interior. Intuitively speaking, a neighbourhood of a point is a set of points containing that point where one can move some amount in any direction away from that point without leaving the set.

Neighbourhood of a point
If $$X$$ is a topological space and $$p$$ is a point in $$X,$$ then a neighbourhood of $$p$$ is a subset $$V$$ of $$X$$ that includes an open set $$U$$ containing $$p$$, $$p \in U \subseteq V \subseteq X.$$

This is equivalent to the point $$p \in X$$ belonging to the topological interior of $$V$$ in $$X.$$

The neighbourhood $$V$$ need not be an open subset of $$X.$$ When $$V$$ is open (resp. closed, compact, etc.) in $$X,$$ it is called an  (resp. closed neighbourhood, compact neighbourhood, etc.). Some authors require neighbourhoods to be open, so it is important to note their conventions.

A set that is a neighbourhood of each of its points is open since it can be expressed as the union of open sets containing each of its points. A closed rectangle, as illustrated in the figure, is not a neighbourhood of all its points; points on the edges or corners of the rectangle are not contained in any open set that is contained within the rectangle.

The collection of all neighbourhoods of a point is called the neighbourhood system at the point.

Neighbourhood of a set
If $$S$$ is a subset of a topological space $$X$$, then a neighbourhood of $$S$$ is a set $$V$$ that includes an open set $$U$$ containing $$S$$,$$S \subseteq U \subseteq V \subseteq X.$$It follows that a set $$V$$ is a neighbourhood of $$S$$ if and only if it is a neighbourhood of all the points in $$S.$$ Furthermore, $$V$$ is a neighbourhood of $$S$$ if and only if $$S$$ is a subset of the interior of $$V.$$ A neighbourhood of $$S$$ that is also an open subset of $$X$$ is called an  of $$S.$$ The neighbourhood of a point is just a special case of this definition.

In a metric space
In a metric space $$M = (X, d),$$ a set $$V$$ is a neighbourhood of a point $$p$$ if there exists an open ball with center $$p$$ and radius $$r>0,$$ such that $$B_r(p) = B(p; r) = \{ x \in X : d(x, p) < r \}$$ is contained in $$V.$$

$$V$$ is called a uniform neighbourhood of a set $$S$$ if there exists a positive number $$r$$ such that for all elements $$p$$ of $$S,$$ $$B_r(p) = \{ x \in X : d(x, p) < r \}$$ is contained in $$V.$$

Under the same condition, for $$r > 0,$$ the $$r$$-neighbourhood $$S_r$$ of a set $$S$$ is the set of all points in $$X$$ that are at distance less than $$r$$ from $$S$$ (or equivalently, $$S_r$$ is the union of all the open balls of radius $$r$$ that are centered at a point in $$S$$): $$S_r = \bigcup\limits_{p\in{}S} B_r(p).$$

It directly follows that an $$r$$-neighbourhood is a uniform neighbourhood, and that a set is a uniform neighbourhood if and only if it contains an $$r$$-neighbourhood for some value of $$r.$$

Examples
Given the set of real numbers $$\R$$ with the usual Euclidean metric and a subset $$V$$ defined as $$V := \bigcup_{n \in \N} B\left(n\,;\,1/n \right),$$ then $$V$$ is a neighbourhood for the set $$\N$$ of natural numbers, but is a uniform neighbourhood of this set.

Topology from neighbourhoods
The above definition is useful if the notion of open set is already defined. There is an alternative way to define a topology, by first defining the neighbourhood system, and then open sets as those sets containing a neighbourhood of each of their points.

A neighbourhood system on $$X$$ is the assignment of a filter $$N(x)$$ of subsets of $$X$$ to each $$x$$ in $$X,$$ such that
 * 1) the point $$x$$ is an element of each $$U$$ in $$N(x)$$
 * 2) each $$U$$ in $$N(x)$$ contains some $$V$$ in $$N(x)$$ such that for each $$y$$ in $$V,$$ $$U$$ is in $$N(y).$$

One can show that both definitions are compatible, that is, the topology obtained from the neighbourhood system defined using open sets is the original one, and vice versa when starting out from a neighbourhood system.

Uniform neighbourhoods
In a uniform space $$S = (X, \Phi),$$ $$V$$ is called a uniform neighbourhood of $$P$$ if there exists an entourage $$U \in \Phi$$ such that $$V$$ contains all points of $$X$$ that are $$U$$-close to some point of $$P;$$ that is, $$U[x] \subseteq V$$ for all $$x \in P.$$

Deleted neighbourhood
A deleted neighbourhood of a point $$p$$ (sometimes called a punctured neighbourhood) is a neighbourhood of $$p,$$ without $$\{p\}.$$ For instance, the interval $$(-1, 1) = \{y : -1 < y < 1\}$$ is a neighbourhood of $$p = 0$$ in the real line, so the set $$(-1, 0) \cup (0, 1) = (-1, 1) \setminus \{0\}$$ is a deleted neighbourhood of $$0.$$ A deleted neighbourhood of a given point is not in fact a neighbourhood of the point. The concept of deleted neighbourhood occurs in the definition of the limit of a function and in the definition of limit points (among other things).