A basis for a topology on a XX is a collection B\mathcal B of of XX satisfying:

  1. Covering: for every x∈Xx\in X, there is B∈BB\in\mathcal B with x∈Bx\in B.
  2. Intersection refinement: if x∈B1∩B2x\in B_1\cap B_2 with B1,B2∈BB_1,B_2\in\mathcal B, there is B3∈BB_3\in\mathcal B such that x∈B3⊆B1∩B2x\in B_3\subseteq B_1\cap B_2.
Generated topology

The generated by B\mathcal B consists of all unions of members of B\mathcal B, including the empty union. Its open sets are exactly the sets UU such that each x∈Ux\in U lies in some B∈BB\in\mathcal B with B⊆UB\subseteq U.

For an already specified topology T\mathcal T, saying that B\mathcal B is a basis of T\mathcal T means that B⊆T\mathcal B\subseteq\mathcal T and every member of T\mathcal T is a union of members of B\mathcal B. This is equivalent to B\mathcal B generating T\mathcal T.

Examples
  • In R\mathbb{R} with the usual topology, the open intervals (a,b)(a,b) form a basis.
  • In a , the family of forms a basis for the .
  • In a product X×YX\times Y with the , the sets U×VU\times V with UU open in XX and VV open in YY form a basis.