Let $M$ be the subset $[0,1)$ $∪ $ {$2$} of the real line. Find its topological boundary $\mathrm{bd}(M)$ and its manifold boundary $\partial M$.
I know that to find the topological boundary, I need to first find $M$ and $M^c$ and then taking some intersections give me the boundary. But I could not do this.
Also I could not find the manifold boundary. Can anybody please explain the ideas and approach to me clearly?
I know the answers - I guess that the topological boundary $\mathrm{bd}(M)$ is $\{0,1,2\}$ and the manifold boundary $\partial M$ is $\{0\}$.
But I don't know how to show this.