TITLE: Is a torus a subset of $\mathbb{R}^3$ or $\mathbb{R}^4$?
QUESTION [15 upvotes]: Defining a torus $T$ as $S^1 \times S^1$, it should follow that $T \subseteq \mathbb{R}^4$.   But you can also think of a torus as a bagel, which means it's a subset of $\mathbb{R}^3$.  Can anyone clarify this point?

REPLY [11 votes]: These are two different embeddings of the same topological space, i.e. the surface of the bagel in $\mathbb R^3$ and the product of two circles in $\mathbb R^4$ are homeomorphic. Note that they are not isometric though; the torus embeded in $\mathbb R^4$ as a product of circles is flat, while the surface of the bagel has regions of positive curvature and of negative curvature.

REPLY [5 votes]: Neither. The torus is generally defined as an abstract topological space, independently of any "embedding" into another space. So in the strict sense, it is incorrect to say $T\subseteq \mathbb R^4$ or $T\subseteq \mathbb R^3$.
However, we often talk about abstract spaces like the torus as subsets of other spaces, commonly $\mathbb R^n$ for some $n$. How do we resolve this? The answer is something called an embedding. We say that a space $A$ can be embedded into a space $B$ if there is a continuous function $f:A\to B$ which maps $f$ injectively onto a subset of $B$, such that $f$ restricted to $B$ has a continuous inverse in the subspace topology$^1$. What you're noticing is that there are embeddings of the torus into $\mathbb R^3$ and $\mathbb R^4$.


Note that this is for topological spaces. If we add additional structure to the space, then the embedding is required to preserve this structure in a suitable way. It is common for example to give the torus a manifold structure, and the embedding is then required to be an embedding of manifolds, which is somewhat involved to define. Depending on the additional structure imposed, the torus may fail to embedd into $\mathbb R^3$, as Matt points out.