In topology, a neighborhood of a point is a set containing an open set that contains that point. It describes the surroundings of a point in a topological space without requiring a numerical distance. Neighborhoods provide a language for defining continuity, convergence, and other local properties. A neighborhood need not itself be open; one that is open is called an open neighborhood. Some authors use “neighborhood” only for open neighborhoods, so the convention matters. (pi.math.cornell.edu)
Definition and examples
Let be a topological space and . A subset is a neighborhood of if there exists an open set such that
Equivalently, belongs to the interior of . Thus, containing is necessary but not sufficient: the set must contain an open region around . A set is open precisely when it is a neighborhood of every point it contains. (math.berkeley.edu)
In the usual topology on the real numbers, both and are neighborhoods of . The latter is a closed set, illustrating that neighborhoods need not be open. However, is not a neighborhood of in , since no open interval containing lies inside it. These examples follow directly from the definition. (pi.math.cornell.edu)
In a metric space , the definition becomes
where the open ball is
For Euclidean space, these are the familiar intervals, disks, and higher-dimensional balls. Neighborhoods may also contain additional, distant points; they need not resemble balls geometrically. (pi.math.cornell.edu)
Neighborhood systems and axioms
The collection of all neighborhoods of , denoted , is its neighborhood system. It is a filter: it is nonempty, excludes the empty set, is closed under finite intersections, and contains every superset of each of its members. Every member contains . Arbitrary intersections need not remain neighborhoods; for example,
is not a neighborhood of in . (math.berkeley.edu)
Neighborhood systems can define a topology directly through axioms. In addition to the preceding requirements, they satisfy a local compatibility condition: for every , there is , with , such that for every . The open sets are then exactly those sets satisfying for every . This reconstruction uniquely determines the topology. (math.berkeley.edu)
Neighborhood bases
A neighborhood base, or local base, at is a collection such that every neighborhood of contains some member of . It supplies enough neighborhoods to test local conditions without considering the entire neighborhood system. Its members may be chosen open, although openness is not required. (fan.uni-wuppertal.de)
A basis for a topology supplies a local base at each point: take all basis elements containing that point. The distinction is that a topological basis describes open sets throughout the space, whereas a neighborhood base describes the surroundings of one point. (math.berkeley.edu)
A first-countable space has a local base with at most countably many members at every point. Every metric space has this property, since
is a local base at . First countability is weaker than having a countable basis for the whole topology, the property called second countability. (fan.uni-wuppertal.de)
Continuity, convergence, and closure
A function is continuous at precisely when, for every neighborhood of , there is a neighborhood of with
Equivalently, is a neighborhood of . It suffices to test this condition using local bases. (fan.uni-wuppertal.de)
A sequence has limit if every neighborhood of contains all sufficiently late terms. The same definition applies to a net, replacing natural-number indices with a directed index set. Nets allow convergence to describe arbitrary topologies, where sequences alone may be insufficient. (math.berkeley.edu)
For , a point lies in its closure exactly when every neighborhood of intersects . In first-countable spaces, this is equivalent to the existence of a sequence in converging to . Likewise, for functions with first-countable domains, preserving limits of sequences characterizes continuity. Neither sequential characterization holds for all topological spaces. (sites.math.northwestern.edu)
Dependence on the ambient space
Neighborhoods are relative to a topology and an ambient space. If carries the subspace topology, neighborhoods of are precisely sets , where is a neighborhood of in . Consequently, is an open neighborhood of in for , although it is not a neighborhood of in . (pi.math.cornell.edu)
Neighborhoods also express separation properties. A Hausdorff space is one in which any two distinct points have disjoint neighborhoods. This condition ensures that a convergent sequence or net cannot have two distinct limits. (math.ucla.edu)