Let $A$ be a closed subset of the interval $[0,1]$. Show that the quotient space $$W=(-2,2)\big/A$$ is Hausdorff.
I guess we need to explicitly find the disjoint open sets for each two $x\neq y$ from $W$ depending on where their inverse images are (in $A$ or in $[0,1]-A$). Could you please help me formulate the proof?
If $X$ is a regular space (i.e. $T_3$) and $A$ a closed subset of $X$, then identifying $A$ to a point, which means taking the quotient wrt the equivalence relation $R_A$ that has $A$ and $\{x\}, x \notin A$ as its classes, gives a Hausdorff space as its quotient, oft denoted $X/A$, with quotient map $q: X \to X/A$.
This holds, as two classes are either of the form $\{x\}$ and $\{y\}$ (both not in $A$) and so we separate them with open disjoint neighbourhoods $U_x$ and $U_y$ both disjoint from $A$ (which can be done as $A$ is closed) and then $U_x$ and $U_y$ are saturated under $R_A$ so that $q[U_x]$ and $q[U_y]$ are open in $X/A$. Otherwise we want to separate the classes $\{x\}$ ($x \notin A$) and $A$ which we can do in $X$ by $T_3$-ness and again the images under $q$ are as required.
The OP's problem is a special case as $[0,1]$ is closed (even compact, in which case we only need $X$ to be $T_2$ in general) and $(-2,2)$ is metric so certainly has all the separation axioms anyone needs..