The set $\mathcal{J} \subset \mathbb{R}^2$ defined by $\mathcal{J} = \{(x,y) \in \mathbb{R}^2\ |\ x=y\}$ has no interior points
Solution 1:
In Euclidean topology, if $p=(a,a)\in\text{int}(\mathcal J)$, then there exists $\epsilon>0$ such that $B_\epsilon(p)\subseteq\mathcal J$.
Then $q=(a+\frac\epsilon2,a)\in B_\epsilon(p)$, but $q\notin\mathcal J$. This contradicts.
Solution 2:
Hints : Let $(x,y) \in \mathcal{J}$.
-
Prove that for every $n \in \mathbb{N}$, one has $\left(x + \dfrac{1}{n}, y \right) \notin \mathcal{J}$.
-
Prove that $\displaystyle{\lim_{n \rightarrow +\infty} \left(x + \dfrac{1}{n}, y \right) = \left(x,y\right)}$.
-
Prove that this implies that $(x,y) \notin \mathring{\mathcal{J}}$.
Solution 3:
This is not the way to go to get a contradiction since it is not the case that an open ball around a point of $\mathcal J$ does not contain any other point of $\mathcal J$. In fact, any open ball $B_\delta(k,k)$ contains infinitely many points of $\mathcal J$.
The goal is to show that given $(k,k)\in\mathcal J$, there is some point in $B_\delta(k,k)$ which is not in $\mathcal J$ to show that $B_\delta(k,k)\subsetneq\mathcal J$
To do this, just view it geometrically. A ball around a point on a straight line does have points that are on that line, but also others that are not on that line. The simplest way to do it algebraically is to perturb one component a bit (as in @Nightflight's answer)
A point $(x,y)\in B_\delta(k,k)$ satisfies $(x-k)^2+(y-k)^2\lt\delta^2$. Our goal is to write a point $(x',y')$ that is in this ball but does not have $x'=y'$.
For $\delta\gt 0$, choose your favorite $\delta_1$ such that $0\lt\delta_1\lt\dfrac{\delta}{\sqrt 2}$ and $\delta_2:=\sqrt{\delta^2-\delta_1^2}$
By construction, $\delta_1\ne \delta_2$ and $\delta_1^2+\delta_2^2\lt\delta^2$ and note that $(k+\delta_1,k+\delta_2)\in B_\delta(k,k)$ but $\notin\mathcal J$ since $k+\delta_1\ne k+\delta_2$
This is one of many ways to construct such a point. The crux is to just choose two $\delta_1,\delta_2\gt 0$ such that $\delta_1\ne\delta_2$ and $\delta_1^2+\delta_2^2\lt \delta^2$ for any given $\delta\gt 0$ and note that $(k+\delta_1,k+\delta_2)$ is a point that is in the $\delta$-ball around $(k,k)$ but not in $\mathcal J$