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

  1. Covering: for every xXx\in X, there is BBB\in\mathcal B with xBx\in B.
  2. Intersection refinement: if xB1B2x\in B_1\cap B_2 with B1,B2BB_1,B_2\in\mathcal B, there is B3BB_3\in\mathcal B such that xB3B1B2x\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 xUx\in U lies in some BBB\in\mathcal B with BUB\subseteq U.

For an already specified topology T\mathcal T, saying that B\mathcal B is a basis of T\mathcal T means that BT\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.