I'm trying to show that a point is in the boundary of $E$ if and only if it belongs to the closure of both $E$ and its complement.
Let $\overline{E}$ denote the closure of $E$ and $E^\circ$ be the interior of $E$. Then the boundary is defined to be $\overline{E} \setminus E^\circ$.
So what I need to show is $\overline{E} \setminus E^\circ = \overline{E} \cap \overline{(S \setminus E)}$.
After looking at this link: A point is in the boundary of $E$ if and only if it belongs to the closure of both $E$ and its complement. I am confused about how the OP concluded that he/she needed to show $S \setminus E^\circ = \overline{(S \setminus E)}$.
Could someone explain why?