Continuity via open sets

A function is continuous iff the preimage of every open set is open
Continuity via open sets

Continuity via open sets: Let (X,dX)(X,d_X) and (Y,dY)(Y,d_Y) be and f:XYf:X\to Y. Then ff is (at every point) if and only if for every VYV\subseteq Y, the f1(V)={xX:f(x)V}f^{-1}(V)=\{x\in X: f(x)\in V\} is open in XX.

This formulation is fundamental in topology and makes continuity compatible with and other structural operations.

Proof sketch (optional): If ff is continuous and xf1(V)x\in f^{-1}(V), then f(x)Vf(x)\in V and some around f(x)f(x) lies in VV; continuity gives a ball around xx mapped into that ball, hence into VV. Conversely, take VV to be an open ball around f(x)f(x) to recover the ε\varepsilonδ\delta definition.