Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is an open set in the metric space $(\mathbb{Z}^n,d)$, where $d$ is the Euclidean distance in $\mathbb{R}$?

As far as I know, in a metric space an open set $O$ is defined as follows: For each point $x\in O$ it exists an $\varepsilon$ such that that $B_\varepsilon(x)\subset O$ is true.

Since in $\mathbb{Z}^n$ I just have some sort of layer I thought of defining the $\varepsilon$ as follows:

$$ \varepsilon=\sqrt{\sum_{i=1}^{d}x_{i}^{2}} $$

This way I can characterize all the $\varepsilon$-Balls $B_\varepsilon(x)$ for each $x\in\mathbb{Z}^n$. So if $d(x,y)<\varepsilon$ for each $y\in B_\varepsilon(x)$ the set is open. And the same for $d(x,y)\le\varepsilon$ implies a closed set. For compactness I could say that, like in $\mathbb{R}^n$, each closed set which is bounded by a constant (using the euclidean metric here) is compact.

What about the single points in $\mathbb{Z}^n$? Are they open sets, too?

share|cite|improve this question
Single points are open. Everything is open, everything is closed. – André Nicolas Apr 16 '12 at 16:23
up vote 4 down vote accepted

With the euclidean distance, $\mathbb{Z}^n$ is a discrete space. Every subset is open. Every subset is closed. Only the finite subsets are compact.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.