Unit vector

Encyclopedia

In mathematics

, a

is a vector

(often a spatial vector) whose length

is 1 (the unit length). A unit vector is often denoted by a lowercase letter with a "hat

", like this: $\{\backslash hat\{\backslash imath\}\}$ .

In Euclidean space

, the dot product

of two unit vectors is simply the cosine of the angle between them. This follows from the formula for the dot product, since the lengths are both 1.

The

where $\backslash |\backslash boldsymbol\{u\}\backslash |$ is the norm

(or length) of $\backslash boldsymbol\{u\}$. The term

The elements of a basis

are usually chosen to be unit vectors. Every vector in the space may be written as a linear combination of unit vectors. The most commonly encountered bases are Cartesian

, polar

, and spherical

coordinates. Each uses different unit vectors according to the symmetry of the coordinate system. Since these systems are encountered in so many different contexts, it is not uncommon to encounter different naming conventions than those used here.

, the unit vectors codirectional with the

These are often written using normal vector notation (e.g.

symbols such as

.

When a unit vector in space is expressed, with Cartesian notation, as a linear combination of

(angular position) of a straight line, segment of straight line, oriented axis, or segment of oriented axis (vector).

It is important to note that $\backslash boldsymbol\{\backslash hat\{s\}\}$ and $\backslash boldsymbol\{\backslash hat\; \backslash varphi\}$ are functions of $\backslash varphi$, and are

relations are:

The spherical unit vectors depend on both $\backslash varphi$ and $\backslash theta$, and hence there are 5 possible non-zero derivatives. For a more complete description, see Jacobian

. The non-zero derivatives are:

unit vectors $\backslash boldsymbol\{\backslash hat\{e\}\}\_n$ equal to the degrees of freedom of the space. For ordinary 3-space, these vectors may be denoted $\backslash boldsymbol\{\backslash hat\{e\}\_1\},\; \backslash boldsymbol\{\backslash hat\{e\}\_2\},\; \backslash boldsymbol\{\backslash hat\{e\}\_3\}$. It is nearly always convenient to define the system to be orthonormal and right-handed

:

$\backslash boldsymbol\{\backslash hat\{e\}\_i\}\; \backslash cdot\; \backslash boldsymbol\{\backslash hat\{e\}\_j\}\; =\; \backslash delta\_\{ij\}$

$\backslash boldsymbol\{\backslash hat\{e\}\_i\}\; \backslash cdot\; (\backslash boldsymbol\{\backslash hat\{e\}\_j\}\; \backslash times\; \backslash boldsymbol\{\backslash hat\{e\}\_k\})\; =\; \backslash varepsilon\_\{ijk\}$

where δ

(which is one for permutations ordered as

Mathematics

Mathematics is the study of quantity, space, structure, and change. Mathematicians seek out patterns and formulate new conjectures. Mathematicians resolve the truth or falsity of conjectures by mathematical proofs, which are arguments sufficient to convince other mathematicians of their validity...

, a

**unit vector**in a normed vector spaceNormed vector space

In mathematics, with 2- or 3-dimensional vectors with real-valued entries, the idea of the "length" of a vector is intuitive and can easily be extended to any real vector space Rn. The following properties of "vector length" are crucial....

is a vector

Vector space

A vector space is a mathematical structure formed by a collection of vectors: objects that may be added together and multiplied by numbers, called scalars in this context. Scalars are often taken to be real numbers, but one may also consider vector spaces with scalar multiplication by complex...

(often a spatial vector) whose length

Norm (mathematics)

In linear algebra, functional analysis and related areas of mathematics, a norm is a function that assigns a strictly positive length or size to all vectors in a vector space, other than the zero vector...

is 1 (the unit length). A unit vector is often denoted by a lowercase letter with a "hat

Circumflex

The circumflex is a diacritic used in the written forms of many languages, and is also commonly used in various romanization and transcription schemes. It received its English name from Latin circumflexus —a translation of the Greek περισπωμένη...

", like this: $\{\backslash hat\{\backslash imath\}\}$ .

In Euclidean space

Euclidean space

In mathematics, Euclidean space is the Euclidean plane and three-dimensional space of Euclidean geometry, as well as the generalizations of these notions to higher dimensions...

, the dot product

Dot product

In mathematics, the dot product or scalar product is an algebraic operation that takes two equal-length sequences of numbers and returns a single number obtained by multiplying corresponding entries and then summing those products...

of two unit vectors is simply the cosine of the angle between them. This follows from the formula for the dot product, since the lengths are both 1.

The

**normalized vector**or**versor**$\backslash boldsymbol\{\backslash hat\{u\}\}$ of a non-zero vector $\backslash boldsymbol\{u\}$ is the unit vector codirectional with $\backslash boldsymbol\{u\}$, i.e.,- $\backslash boldsymbol\{\backslash hat\{u\}\}\; =\; \backslash frac\{\backslash boldsymbol\{u\}\}\{\backslash |\backslash boldsymbol\{u\}\backslash |\}$

where $\backslash |\backslash boldsymbol\{u\}\backslash |$ is the norm

Norm (mathematics)

In linear algebra, functional analysis and related areas of mathematics, a norm is a function that assigns a strictly positive length or size to all vectors in a vector space, other than the zero vector...

(or length) of $\backslash boldsymbol\{u\}$. The term

*normalized vector*is sometimes used as a synonym for*unit vector*.The elements of a basis

Basis (linear algebra)

In linear algebra, a basis is a set of linearly independent vectors that, in a linear combination, can represent every vector in a given vector space or free module, or, more simply put, which define a "coordinate system"...

are usually chosen to be unit vectors. Every vector in the space may be written as a linear combination of unit vectors. The most commonly encountered bases are Cartesian

Cartesian coordinate system

A Cartesian coordinate system specifies each point uniquely in a plane by a pair of numerical coordinates, which are the signed distances from the point to two fixed perpendicular directed lines, measured in the same unit of length...

, polar

Polar coordinate system

In mathematics, the polar coordinate system is a two-dimensional coordinate system in which each point on a plane is determined by a distance from a fixed point and an angle from a fixed direction....

, and spherical

Spherical coordinate system

In mathematics, a spherical coordinate system is a coordinate system for three-dimensional space where the position of a point is specified by three numbers: the radial distance of that point from a fixed origin, its inclination angle measured from a fixed zenith direction, and the azimuth angle of...

coordinates. Each uses different unit vectors according to the symmetry of the coordinate system. Since these systems are encountered in so many different contexts, it is not uncommon to encounter different naming conventions than those used here.

## Cartesian coordinates

In the three dimensional Cartesian coordinate systemCartesian coordinate system

A Cartesian coordinate system specifies each point uniquely in a plane by a pair of numerical coordinates, which are the signed distances from the point to two fixed perpendicular directed lines, measured in the same unit of length...

, the unit vectors codirectional with the

*x*,*y*, and*z*axes are sometimes referred to as versors of the coordinate system.- $\backslash mathbf\{\backslash hat\{\backslash boldsymbol\{\backslash imath\}\}\}\; =\; \backslash begin\{bmatrix\}1\backslash \backslash 0\backslash \backslash 0\backslash end\{bmatrix\},\; \backslash ,\backslash ,\; \backslash mathbf\{\backslash hat\{\backslash boldsymbol\{\backslash jmath\}\}\}\; =\; \backslash begin\{bmatrix\}0\backslash \backslash 1\backslash \backslash 0\backslash end\{bmatrix\},\; \backslash ,\backslash ,\; \backslash mathbf\{\backslash hat\{\backslash boldsymbol\{k\}\}\}\; =\; \backslash begin\{bmatrix\}0\backslash \backslash 0\backslash \backslash 1\backslash end\{bmatrix\}$

These are often written using normal vector notation (e.g.

**, or $\backslash vec\{\backslash imath\}$) rather than the caret notation, and in most contexts it can be assumed that***i***,***i***, and***j***, (or $\backslash vec\{\backslash imath\},$ $\backslash vec\{\backslash jmath\},$ and $\backslash vec\{k\}$) are versors of a Cartesian coordinate system (hence a tern of mutually orthogonal unit vectors). The notations $(\backslash boldsymbol\{\backslash hat\{x\}\},\; \backslash boldsymbol\{\backslash hat\{y\}\},\; \backslash boldsymbol\{\backslash hat\{z\}\})$, $(\backslash boldsymbol\{\backslash hat\{x\}\}\_1,\; \backslash boldsymbol\{\backslash hat\{x\}\}\_2,\; \backslash boldsymbol\{\backslash hat\{x\}\}\_3)$, $(\backslash boldsymbol\{\backslash hat\{e\}\}\_x,\; \backslash boldsymbol\{\backslash hat\{e\}\}\_y,\; \backslash boldsymbol\{\backslash hat\{e\}\}\_z)$, or $(\backslash boldsymbol\{\backslash hat\{e\}\}\_1,\; \backslash boldsymbol\{\backslash hat\{e\}\}\_2,\; \backslash boldsymbol\{\backslash hat\{e\}\}\_3)$, with or without hat/caret, are also used, particularly in contexts where***k***,***i***,***j***might lead to confusion with another quantity (for instance with index***k*Index (mathematics)

The word index is used in variety of senses in mathematics.- General :* In perhaps the most frequent sense, an index is a number or other symbol that indicates the location of a variable in a list or array of numbers or other mathematical objects. This type of index is usually written as a...

symbols such as

*i*,*j*,*k*, used to identify an element of a set or array or sequence of variables). These vectors represent an example of a standard basisStandard basis

In mathematics, the standard basis for a Euclidean space consists of one unit vector pointing in the direction of each axis of the Cartesian coordinate system...

.

When a unit vector in space is expressed, with Cartesian notation, as a linear combination of

**,***i***,***j***, its three scalar components can be referred to as direction cosines. The value of each component is equal to the cosine of the angle formed by the unit vector with the respective basis vector. This is one of the methods used to describe the orientation***k*Orientation (mathematics)

In mathematics, orientation is a notion that in two dimensions allows one to say when a cycle goes around clockwise or counterclockwise, and in three dimensions when a figure is left-handed or right-handed. In linear algebra, the notion of orientation makes sense in arbitrary dimensions...

(angular position) of a straight line, segment of straight line, oriented axis, or segment of oriented axis (vector).

## Cylindrical coordinates

The unit vectors appropriate to cylindrical symmetry are: $\backslash boldsymbol\{\backslash hat\{s\}\}$ (also designated $\backslash boldsymbol\{\backslash hat\{r\}\}$ or $\backslash boldsymbol\{\backslash hat\; \backslash rho\}$), the distance from the axis of symmetry; $\backslash boldsymbol\{\backslash hat\; \backslash varphi\}$, the angle measured counterclockwise from the positive*x*-axis; and $\backslash boldsymbol\{\backslash hat\{z\}\}$. They are related to the Cartesian basis $\backslash hat\{x\}$, $\backslash hat\{y\}$, $\backslash hat\{z\}$ by:- $\backslash boldsymbol\{\backslash hat\{s\}\}$ = $\backslash cos\; \backslash varphi\backslash boldsymbol\{\backslash hat\{x\}\}\; +\; \backslash sin\; \backslash varphi\backslash boldsymbol\{\backslash hat\{y\}\}$

- $\backslash boldsymbol\{\backslash hat\; \backslash varphi\}$ = $-\backslash sin\; \backslash varphi\backslash boldsymbol\{\backslash hat\{x\}\}\; +\; \backslash cos\; \backslash varphi\backslash boldsymbol\{\backslash hat\{y\}\}$

- $\backslash boldsymbol\{\backslash hat\{z\}\}=\backslash boldsymbol\{\backslash hat\{z\}\}.$

It is important to note that $\backslash boldsymbol\{\backslash hat\{s\}\}$ and $\backslash boldsymbol\{\backslash hat\; \backslash varphi\}$ are functions of $\backslash varphi$, and are

*not*constant in direction. When differentiating or integrating in cylindrical coordinates, these unit vectors themselves must also be operated on. For a more complete description, see Jacobian matrix. The derivatives with respect to are:- $\backslash frac\{\backslash partial\; \backslash boldsymbol\{\backslash hat\{s\}\}\}\; \{\backslash partial\; \backslash varphi\}\; =\; -\backslash sin\; \backslash varphi\backslash boldsymbol\{\backslash hat\{x\}\}\; +\; \backslash cos\; \backslash varphi\backslash boldsymbol\{\backslash hat\{y\}\}\; =\; \backslash boldsymbol\{\backslash hat\; \backslash varphi\}$

- $\backslash frac\{\backslash partial\; \backslash boldsymbol\{\backslash hat\; \backslash varphi\}\}\; \{\backslash partial\; \backslash varphi\}\; =\; -\backslash cos\; \backslash varphi\backslash boldsymbol\{\backslash hat\{x\}\}\; -\; \backslash sin\; \backslash varphi\backslash boldsymbol\{\backslash hat\{y\}\}\; =\; -\backslash boldsymbol\{\backslash hat\{s\}\}$

- $\backslash frac\{\backslash partial\; \backslash boldsymbol\{\backslash hat\{z\}\}\}\; \{\backslash partial\; \backslash varphi\}\; =\; \backslash mathbf\{0\}.$

## Spherical coordinates

The unit vectors appropriate to spherical symmetry are: $\backslash boldsymbol\{\backslash hat\{r\}\}$, the direction in which the radial distance from the origin increases; $\backslash boldsymbol\{\backslash hat\{\backslash varphi\}\}$, the direction in which the angle in the*x*-*y*plane counterclockwise from the positive*x*-axis is increasing; and $\backslash boldsymbol\{\backslash hat\; \backslash theta\}$, the direction in which the angle from the positive*z*axis is increasing. To minimize degeneracy, the polar angle is usually taken $0\backslash leq\backslash theta\backslash leq\; 180^\backslash circ$. It is especially important to note the context of any ordered triplet written in spherical coordinates, as the roles of $\backslash boldsymbol\{\backslash hat\; \backslash varphi\}$ and $\backslash boldsymbol\{\backslash hat\; \backslash theta\}$ are often reversed. Here, the American "physics" convention is used. This leaves the azimuthal angle $\backslash varphi$ defined the same as in cylindrical coordinates. The CartesianCartesian coordinate system

A Cartesian coordinate system specifies each point uniquely in a plane by a pair of numerical coordinates, which are the signed distances from the point to two fixed perpendicular directed lines, measured in the same unit of length...

relations are:

- $\backslash boldsymbol\{\backslash hat\{r\}\}\; =\; \backslash sin\; \backslash theta\; \backslash cos\; \backslash varphi\backslash boldsymbol\{\backslash hat\{x\}\}\; +\; \backslash sin\; \backslash theta\; \backslash sin\; \backslash varphi\backslash boldsymbol\{\backslash hat\{y\}\}\; +\; \backslash cos\; \backslash theta\backslash boldsymbol\{\backslash hat\{z\}\}$

- $\backslash boldsymbol\{\backslash hat\; \backslash theta\}\; =\; \backslash cos\; \backslash theta\; \backslash cos\; \backslash varphi\backslash boldsymbol\{\backslash hat\{x\}\}\; +\; \backslash cos\; \backslash theta\; \backslash sin\; \backslash varphi\backslash boldsymbol\{\backslash hat\{y\}\}\; -\; \backslash sin\; \backslash theta\backslash boldsymbol\{\backslash hat\{z\}\}$

- $\backslash boldsymbol\{\backslash hat\; \backslash varphi\}\; =\; -\; \backslash sin\; \backslash varphi\backslash boldsymbol\{\backslash hat\{x\}\}\; +\; \backslash cos\; \backslash varphi\backslash boldsymbol\{\backslash hat\{y\}\}$

The spherical unit vectors depend on both $\backslash varphi$ and $\backslash theta$, and hence there are 5 possible non-zero derivatives. For a more complete description, see Jacobian

Jacobian

In vector calculus, the Jacobian matrix is the matrix of all first-order partial derivatives of a vector- or scalar-valued function with respect to another vector. Suppose F : Rn → Rm is a function from Euclidean n-space to Euclidean m-space...

. The non-zero derivatives are:

- $\backslash frac\{\backslash partial\; \backslash boldsymbol\{\backslash hat\{r\}\}\}\; \{\backslash partial\; \backslash varphi\}\; =\; -\backslash sin\; \backslash theta\; \backslash sin\; \backslash varphi\backslash boldsymbol\{\backslash hat\{x\}\}\; +\; \backslash sin\; \backslash theta\; \backslash cos\; \backslash varphi\backslash boldsymbol\{\backslash hat\{y\}\}\; =\; \backslash sin\; \backslash theta\backslash boldsymbol\{\backslash hat\; \backslash varphi\}$

- $\backslash frac\{\backslash partial\; \backslash boldsymbol\{\backslash hat\{r\}\}\}\; \{\backslash partial\; \backslash theta\}\; =\backslash cos\; \backslash theta\; \backslash cos\; \backslash varphi\backslash boldsymbol\{\backslash hat\{x\}\}\; +\; \backslash cos\; \backslash theta\; \backslash sin\; \backslash varphi\backslash boldsymbol\{\backslash hat\{y\}\}\; -\; \backslash sin\; \backslash theta\backslash boldsymbol\{\backslash hat\{z\}\}=\; \backslash boldsymbol\{\backslash hat\; \backslash theta\}$

- $\backslash frac\{\backslash partial\; \backslash boldsymbol\{\backslash hat\{\backslash theta\}\}\}\; \{\backslash partial\; \backslash varphi\}\; =-\backslash cos\; \backslash theta\; \backslash sin\; \backslash varphi\backslash boldsymbol\{\backslash hat\{x\}\}\; +\; \backslash cos\; \backslash theta\; \backslash cos\; \backslash varphi\backslash boldsymbol\{\backslash hat\{y\}\}\; =\; \backslash cos\; \backslash theta\backslash boldsymbol\{\backslash hat\; \backslash varphi\}$

- $\backslash frac\{\backslash partial\; \backslash boldsymbol\{\backslash hat\{\backslash theta\}\}\}\; \{\backslash partial\; \backslash theta\}\; =\; -\backslash sin\; \backslash theta\; \backslash cos\; \backslash varphi\backslash boldsymbol\{\backslash hat\{x\}\}\; -\; \backslash sin\; \backslash theta\; \backslash sin\; \backslash varphi\backslash boldsymbol\{\backslash hat\{y\}\}\; -\; \backslash cos\; \backslash theta\backslash boldsymbol\{\backslash hat\{z\}\}\; =\; -\backslash boldsymbol\{\backslash hat\{r\}\}$

- $\backslash frac\{\backslash partial\; \backslash boldsymbol\{\backslash hat\{\backslash varphi\}\}\}\; \{\backslash partial\; \backslash varphi\}\; =\; -\backslash cos\; \backslash varphi\backslash boldsymbol\{\backslash hat\{x\}\}\; -\; \backslash sin\; \backslash varphi\backslash boldsymbol\{\backslash hat\{y\}\}\; =\; -\backslash sin\; \backslash theta\backslash boldsymbol\{\backslash hat\{r\}\}\; -\backslash cos\; \backslash theta\backslash boldsymbol\{\backslash hat\{\backslash theta\}\}$

## Curvilinear coordinates

In general, a coordinate system may be uniquely specified using a number of linearly independentLinear independence

In linear algebra, a family of vectors is linearly independent if none of them can be written as a linear combination of finitely many other vectors in the collection. A family of vectors which is not linearly independent is called linearly dependent...

unit vectors $\backslash boldsymbol\{\backslash hat\{e\}\}\_n$ equal to the degrees of freedom of the space. For ordinary 3-space, these vectors may be denoted $\backslash boldsymbol\{\backslash hat\{e\}\_1\},\; \backslash boldsymbol\{\backslash hat\{e\}\_2\},\; \backslash boldsymbol\{\backslash hat\{e\}\_3\}$. It is nearly always convenient to define the system to be orthonormal and right-handed

Right-hand rule

In mathematics and physics, the right-hand rule is a common mnemonic for understanding notation conventions for vectors in 3 dimensions. It was invented for use in electromagnetism by British physicist John Ambrose Fleming in the late 19th century....

:

$\backslash boldsymbol\{\backslash hat\{e\}\_i\}\; \backslash cdot\; \backslash boldsymbol\{\backslash hat\{e\}\_j\}\; =\; \backslash delta\_\{ij\}$

$\backslash boldsymbol\{\backslash hat\{e\}\_i\}\; \backslash cdot\; (\backslash boldsymbol\{\backslash hat\{e\}\_j\}\; \backslash times\; \backslash boldsymbol\{\backslash hat\{e\}\_k\})\; =\; \backslash varepsilon\_\{ijk\}$

where δ

_{ij}is the Kronecker delta (which is one for*i*=*j*and zero else) and $\backslash varepsilon\_\{ijk\}$ is the Levi-Civita symbolLevi-Civita symbol

The Levi-Civita symbol, also called the permutation symbol, antisymmetric symbol, or alternating symbol, is a mathematical symbol used in particular in tensor calculus...

(which is one for permutations ordered as

*ijk*and minus one for permutations ordered as*kji*).## See also

- Cartesian coordinate systemCartesian coordinate system
- Polar coordinate systemPolar coordinate systemIn mathematics, the polar coordinate system is a two-dimensional coordinate system in which each point on a plane is determined by a distance from a fixed point and an angle from a fixed direction....
- Coordinate systemCoordinate systemIn geometry, a coordinate system is a system which uses one or more numbers, or coordinates, to uniquely determine the position of a point or other geometric element. The order of the coordinates is significant and they are sometimes identified by their position in an ordered tuple and sometimes by...
- Curvilinear coordinatesCurvilinear coordinatesCurvilinear coordinates are a coordinate system for Euclidean space in which the coordinate lines may be curved. These coordinates may be derived from a set of Cartesian coordinates by using a transformation that is locally invertible at each point. This means that one can convert a point given...
- JacobianJacobianIn vector calculus, the Jacobian matrix is the matrix of all first-order partial derivatives of a vector- or scalar-valued function with respect to another vector. Suppose F : Rn → Rm is a function from Euclidean n-space to Euclidean m-space...
- Right versor
- Four-velocityFour-velocityIn physics, in particular in special relativity and general relativity, the four-velocity of an object is a four-vector that replaces classicalvelocity...