Skip to main content

Unit vectors

Previously, we learned to calculate the length of vectors in Rn\VecR n, and thus the distance between points in An\AffR n. It's often useful to express a vector in terms of its length and its direction.

Let's start by defining direction.

If vRnv\In\VecR n is any nonzero vector, its direction is

v^:=vv \Dir v \Defeq \frac v{\Norm v}

This is also called the normalization of vv. By definition, we have

v=vv^, v = \Norm v \Dir v,

which expresses vv as its direction times its length. The 00 vector has no direction.

Spheres

We can now give a formal definition of one of the most important spaces in geometry: the nn-sphere. This is defined to be the set of unit vectors in Rn+1\VecR{n+1}:

Sn:={vRn+1v=1}={(x0,,xn)Rn+1i=0nxi2=1}\begin{aligned} \S n &\Defeq \{v\In\VecR{n+1} \mid \Norm v = 1\}\\ &= \left\{\ivec{x_0,\dotsc,x_n}\In\VecR{n+1} \mid \sqrt{\sum_{i=0}^n x_i^2} = 1\right\} \end{aligned}

Since 12=11^2 = 1, this is equivalent to

Sn={(x0,,xn)Rn+1i=0nxi2=1} \S n = \left\{\ivec{x_0,\dotsc,x_n} \In \VecR{n+1} \mid \sum_{i=0}^n x_i^2 = 1\right\}

Note the shift in indexing: S1R2\S1\subset\VecR 2 is the usual unit circle in 2d, while S2R3\S2\subset\VecR3 is the usual unit sphere in 3d.

It's worth looking at the edge case

S0={vR1v=1}={±1}R\begin{aligned} \S 0 &= \{v\In\VecR1 \mid \Norm v = 1\}\\ &= \{\pm1\} \subset \R \end{aligned}

That is, the 00-sphere consists of exactly two points! While this may seem strange, it fits nicely into a pattern about spheres in general:

  • every "slice" or "cross-section" of S2\S2 is a 11-sphere, except for the "north and south poles" (0,0,±1)\ivec{0,0,\pm1}.

  • every "slice" or "cross-section" of S1\S1 is a 00-sphere, except for the "north and south poles" (0,±1)\ivec{0,\pm1};

Let's prove this in general! This is a nice example of how we can use mathematical formalism to prove statements in nn dimensions based on our intuition in 3\le 3 dimensions.

Parametrization

We can use the defining equation of Sn\S n to find a parametrization of it. Let's start with the case of S1\S1. Its defining equation is

x2+y2=1 x^2 + y^2 = 1

Let's rearrange this to solve for yy in terms of xx:

x2+y2=1y2=1x2y2=±1x2\begin{aligned} x^2 + y^2 &= 1\\ y^2 &= 1 - x^2\\ y^2 &= \pm\sqrt{1 - x^2} \end{aligned}

So we can take x=tx=t as our parameter variable. We also need to find the domain of tt (equivalently xx). Remember that we can only take square roots of non-negative numbers. So we need to have

01x2x21x1\begin{aligned} 0 &\le 1-x^2\\ x^2 &\le 1\\ |x| &\le 1 \end{aligned}

or equivalently

1x1. -1 \le x \le 1.

Let's try this in Desmos: