I am giving a solved example from a textbook about which I have some doubts:
The question is to find interior, closure and boundary of
$$B= \{(x,y)\in\mathbb R^2|y=0\} \subseteq \mathbb R^2$$
Solution:
Let if there exist a $p(x_{0},y_{0})\in \mathrm{int} (B)$. Then there exists $r>0$ such that $B(p,r) \subset B$
Let $q=(x_0, \frac{r}{2})$. Then $d(p,q)= \frac{r}{2} < r$, so $q \in B(p,r)$. But $q$ does not belong to $B$ which is a contradiction. Thus $\mathrm{int}(B)=\emptyset$
Let $C \in\overline{B}\setminus B$. Let $C = (\alpha, \beta)$. since $C \in B$, $|\beta|>0$. Then consider $B(C, \frac{|\beta|}{2})$.
$B(C,\frac{|\beta|}{2}) \cap B =\emptyset$, So C does not belong to $\overline{B}$, a contradiction. Thus $\overline{B}=B$ and boundary $B=B$.
I am studying maths as a hobby and do not have usual access to professors/fellow students to clear doubts. So I shall be grateful if following is clarified:
Does the initial statement of the question mean, though our given space is two dimensional $x, y$ plane...Set B is only the $x$ axis (since $y=0$)?
If so, why should we take $p(x_0, y_0)\in\mathrm{int}(B)$ instead of taking $p(x_0,0)\in \mathrm{int}(B)$?
Are we purposely taking $q=(x_0, \frac{r}{2})$ instead of taking $q=(x_0,0)$, so that it lies above the $x$ axis and therefore does not belong to $B$... to get the contradiction?
When we say $C\in\overline{B}\setminus B$, doesn't it mean $C$ belongs to $\overline{B}$ but $C$ does not belong to $B$ (and hence belongs to the boundary of $B$)? Then how do we say $C \in B$ in subsequent step?
Can the question be changed to:
(a) $B= \{(x,y)\in \mathbb R^2:y=0\}$ in $\mathbb R$? If it can be, will in this case interior and closure of $B$ be $B$ itself?