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==