Britannica Sources used in this answer

How does the neighborhood definition of continuity work in a topological space?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

In topology, the neighborhood definition of continuity provides a way to describe functions that vary without abrupt breaks, generalizing the concept of continuity from mathematical analysis.

A function f mapping a topological space X into a topological space Y is defined as continuous at a point p∈X if, for any neighborhood V of f(p) in Y, there exists a neighborhood U of p in X such that the image of U under f is contained within V—expressed as f(U)⊆V.1

This definition essentially ensures that if you take a region around the output f(p), you can always find a corresponding region around the input p that maps entirely into that output region. This approach is equivalent to the more abstract definition of continuity, which states that a function is continuous if the preimage of every open set in Y is an open set in X.12