The topology of :math:`\mathbb{R}^n` ==================================== .. include:: macros.rst The space :math:`\rn` is the usual :math:`n`-dimensional space of vector algebra, where a position can be described by a real :math:`n`-tuple, :math:`(x_1, x_2, \dots, x_n)`. The local topology of :math:`\rn` is centred around the concept of a neighbourhood of a point in :math:`\rn`, and this allows the definition of a distance function between points, :math:`\vec{x}` and :math:`\vec{y}` in :math:`\rn`, .. math:: \label{eq:1} d(\vec{x},\vec{y}) = \left[ (x_1 - y_1)^2 + (x_2 - y_2)^2 + \cdots + (x_n - y_n)^2 \right]$^{\frac{1}{2}}$ .. glossary:: neighbourhood A neighbourhood of a point :math:`x` in :math:`X` is a set :math:`N(x)` containing an open set which contains :math:`x`. A family of neighbourhoods induces a notion of proximity to :math:`x`. A :term:`neighbourhood` of radius :math:`r` of the point :math:`\vec{x}` in :math:`\rn` is thus the set of points :math:`N_r(\vec{x})` with a distance less than :math:`r` from :math:`\vec{x}`. Such a neighbourhood is *discrete* if each point has a neighbourhood containing no other points; which is clearly untrue for :math:`\rn`, which is thus continuous. A set of points :math:`S` in :math:`\rn` is *open* if every point :math:`x \in S` has a neighbourhood contained within :math:`S`. The interval :math:`a