I have to solve this question:
Given the following topology T on the real line R: T is generated by the set D = {ø, R, {[a,b)|a < b, where a and b are elements of R}}. Show that every subset [a,b) is also closed in the topological space (R,T).
We know that every subset [a,b) is open in (R,T) by definition (a set is open in a topology if it's a subset of that topology). To show that every subset [a,b) is also closed in the topology, I tried to show that the complement of [a,b), R\[a,b) = (-inf,a) U [b,inf), is open in the topology (by showing it's contained in the topology). Thus far I haven't succeeded!
Does anyone know how to solve this? Thanks in advance!