# Neighbourhood (mathematics)

A set ${\displaystyle V}$ in the plane is a neighbourhood of a point ${\displaystyle p}$ if a small disc around ${\displaystyle p}$ is contained in ${\displaystyle V}$.

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.

## Definitions

### Neighbourhood of a point

If ${\displaystyle X}$ is a topological space and ${\displaystyle p}$ is a point in ${\displaystyle X}$, a neighbourhood of ${\displaystyle p}$ is a subset ${\displaystyle V}$ of ${\displaystyle X}$ that includes an open set ${\displaystyle U}$ containing ${\displaystyle p}$,

${\displaystyle p\in U\subseteq V.}$

This is also equivalent to ${\displaystyle p\in X}$ being in the interior of ${\displaystyle V}$.

The neighbourhood ${\displaystyle V}$ need not be an open set itself. If ${\displaystyle V}$ is open it is called an open neighbourhood.[1] Some mathematicians require that neighbourhoods be open, so it is important to note conventions.

A rectangle is not a neighbourhood of any of its corners (or points on the boundary).

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 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 ${\displaystyle S}$ is a subset of topological space ${\displaystyle X}$ then a neighbourhood of ${\displaystyle S}$ is a set ${\displaystyle V}$ that includes an open set ${\displaystyle U}$ containing ${\displaystyle S}$. It follows that a set ${\displaystyle V}$ is a neighbourhood of ${\displaystyle S}$ if and only if it is a neighbourhood of all the points in ${\displaystyle S}$. Furthermore, it follows that ${\displaystyle V}$ is a neighbourhood of ${\displaystyle S}$ iff ${\displaystyle S}$ is a subset of the interior of ${\displaystyle V}$. The neighbourhood of a point is just a special case of this definition.

## In a metric space

A set ${\displaystyle S}$ in the plane and a uniform neighbourhood ${\displaystyle V}$ of ${\displaystyle S}$.
The epsilon neighbourhood of a number a on the real number line.

In a metric space ${\displaystyle M=(X,d)}$, a set ${\displaystyle V}$ is a neighbourhood of a point ${\displaystyle p}$ if there exists an open ball with centre ${\displaystyle p}$ and radius ${\displaystyle r>0}$, such that

${\displaystyle B_{r}(p)=B(p;r)=\{x\in X\mid d(x,p)

is contained in ${\displaystyle V}$.

${\displaystyle V}$ is called uniform neighbourhood of a set ${\displaystyle S}$ if there exists a positive number ${\displaystyle r}$ such that for all elements ${\displaystyle p}$ of ${\displaystyle S}$,

${\displaystyle B_{r}(p)=\{x\in X\mid d(x,p)

is contained in ${\displaystyle V}$.

For ${\displaystyle r>0}$ the ${\displaystyle r}$-neighbourhood ${\displaystyle S_{r}}$ of a set ${\displaystyle S}$ is the set of all points in ${\displaystyle X}$ that are at distance less than ${\displaystyle r}$ from ${\displaystyle S}$ (or equivalently, ${\displaystyle S}$${\displaystyle r}$ is the union of all the open balls of radius ${\displaystyle r}$ that are centred at a point in ${\displaystyle S}$): ${\displaystyle S_{r}=\bigcup \limits _{p\in {}S}B_{r}(p).}$

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

## Examples

The set M is a neighbourhood of the number a, because there is an ε-neighbourhood of a which is a subset of M.

Given the set of real numbers ${\displaystyle \mathbb {R} }$ with the usual Euclidean metric and a subset ${\displaystyle V}$ defined as

${\displaystyle V:=\bigcup _{n\in \mathbb {N} }B\left(n\,;\,1/n\right),}$

then ${\displaystyle V}$ is a neighbourhood for the set ${\displaystyle \mathbb {N} }$ of natural numbers, but is not 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 ${\displaystyle X}$ is the assignment of a filter ${\displaystyle N(x)}$ (on the set ${\displaystyle X}$) to each ${\displaystyle x}$ in ${\displaystyle X}$, such that

1. the point ${\displaystyle x}$ is an element of each ${\displaystyle U}$ in ${\displaystyle N(x)}$
2. each ${\displaystyle U}$ in ${\displaystyle N(x)}$ contains some ${\displaystyle V}$ in ${\displaystyle N(x)}$ such that for each ${\displaystyle y}$ in ${\displaystyle V}$, ${\displaystyle U}$ is in ${\displaystyle N(y)}$.

One can show that both definitions are compatible, i.e. 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 ${\displaystyle S=(X,\Phi )}$, ${\displaystyle V}$ is called a uniform neighbourhood of ${\displaystyle P}$ if there exists an entourage ${\displaystyle U\in \Phi }$ such that ${\displaystyle V}$ contains all points of ${\displaystyle X}$ that are ${\displaystyle U}$-close to some point of ${\displaystyle P}$; that is, ${\displaystyle U[x]\subseteq V}$ for all ${\displaystyle x\in P}$.

## Deleted neighbourhood

A deleted neighbourhood of a point ${\displaystyle p}$ (sometimes called a punctured neighbourhood) is a neighbourhood of ${\displaystyle p}$, without ${\displaystyle \{p\}}$. For instance, the interval ${\displaystyle (-1,1)=\{y:-1 is a neighbourhood of ${\displaystyle p=0}$ in the real line, so the set ${\displaystyle (-1,0)\cup (0,1)=(-1,1)\setminus \{0\}}$ is a deleted neighbourhood of ${\displaystyle 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.