In euclidean metric space $\mathbb{R}^k$ with its usual metric, let $E$ be a compact nonempty subset of $\mathbb{R}^k$, and $\delta = \sup\{d(x,y) | x,y \in E\}$. Show that there exist $x_0, y_0 \in E$ such that $d(x_0,y_0) = \delta.$
I am not sure what approach will work. Actually, using basic figure like circle in $\mathbb{R}^2$, the point giving maximum of distance should be on its boundary. I try to use sequences :
For each $n \in \mathbb{N}$, there exists $u_n = d(x_n,y_n)$ such that $$|u_n - \delta| < \frac{1}{n}.$$ So $u_n \rightarrow \delta.$ I try to use the property of closed set that it contains every limits of its sequence. But I do not know whether $(x_n), (y_n)$ are convergent. Using their convergent subsequences seems do not work since the index might not be the same so I cannot use the face $|d(x_{n_l},y_{n_k}) - \delta| < \epsilon$.
Any suggestion or approach I should use to solve this problem ?