In mathematics, a unit vector in a normed vector space is a vector (often a spatial vector) of length 1. A unit vector is often denoted by a lowercase letter with a "hat": {\hat{\imath}} (pronounced "ihat"). The term direction vector is used to describe a unit vector being used to represent spatial direction, and such quantities are commonly denoted as d. Two 2D direction vectors, d1 and d2 are illustrated. 2D spatial directions represented this way are equivalent numerically to points on the unit circle.
The same construct is used to specify spatial directions in 3D. As illustrated, each unique direction is equivalent numerically to a point on the unit sphere.
Examples of two 2D direction vectors
Examples of two 3D direction vectors
The normalized vector or versor û of a nonzero vector u is the unit vector in the direction of u, i.e.,

\mathbf{\hat{u}} = \frac{\mathbf{u}}{\\mathbf{u}\}
where u is the norm (or length) of u. The term normalized vector is sometimes used as a synonym for unit vector.
Unit vectors are often chosen to form the basis of a vector space. Every vector in the space may be written as a linear combination of unit vectors.
By definition, in a Euclidean space the dot product of two unit vectors is a scalar value amounting to the cosine of the smaller subtended angle. In threedimensional Euclidean space, the cross product of two arbitrary unit vectors is a 3rd vector orthogonal to both of them having length equal to the sine of the smaller subtended angle. The normalized cross product corrects for this varying length, and yields the mutually orthogonal unit vector to the two inputs, applying the righthand rule to resolve one of two possible directions.
Contents

Orthogonal coordinates 1

Cartesian coordinates 1.1

Cylindrical coordinates 1.2

Spherical coordinates 1.3

General unit vectors 1.4

Curvilinear coordinates 2

See also 3

References 4
Orthogonal coordinates
Cartesian coordinates
Unit vectors may be used to represent the axes of a Cartesian coordinate system. For instance, the unit vectors in the direction of the x, y, and z axes of a three dimensional Cartesian coordinate system are

\mathbf{\hat{i}} = \begin{bmatrix}1\\0\\0\end{bmatrix}, \,\, \mathbf{\hat{j}} = \begin{bmatrix}0\\1\\0\end{bmatrix}, \,\, \mathbf{\hat{k}} = \begin{bmatrix}0\\0\\1\end{bmatrix}
They are sometimes referred to as the versors of the coordinate system, and they form a set of mutually orthogonal unit vectors, typically referred to as a standard basis in linear algebra.
They are often denoted using normal vector notation (e.g., i or \vec{\imath}) rather than standard unit vector notation (e.g., \mathbf{\hat{\imath}}). In most contexts it can be assumed that i, j, and k, (or \vec{\imath}, \vec{\jmath}, and \vec{k}) are versors of a 3D Cartesian coordinate system. The notations (\mathbf{\hat{x}}, \mathbf{\hat{y}}, \mathbf{\hat{z}}), (\mathbf{\hat{x}}_1, \mathbf{\hat{x}}_2, \mathbf{\hat{x}}_3), (\mathbf{\hat{e}}_x, \mathbf{\hat{e}}_y, \mathbf{\hat{e}}_z), or (\mathbf{\hat{e}}_1, \mathbf{\hat{e}}_2, \mathbf{\hat{e}}_3), with or without hat, are also used, particularly in contexts where i, j, k might lead to confusion with another quantity (for instance with index symbols such as i, j, k, used to identify an element of a set or array or sequence of variables).
When a unit vector in space is expressed, with Cartesian notation, as a linear combination of i, j, k, 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 (angular position) of a straight line, segment of straight line, oriented axis, or segment of oriented axis (vector).
Cylindrical coordinates
The three orthogonal unit vectors appropriate to cylindrical symmetry are:

\mathbf{\hat{\rho}} (also designated \mathbf{\hat{e}} or \boldsymbol{\hat s}), representing the direction along which the distance of the point from the axis of symmetry is measured;

\boldsymbol{\hat \varphi}, representing the direction of the motion that would be observed if the point were rotating counterclockwise about the symmetry axis;

\mathbf{\hat{z}}, representing the direction of the symmetry axis;
They are related to the Cartesian basis \hat{x}, \hat{y}, \hat{z} by:

\mathbf{\hat{\rho}} = \cos \varphi\mathbf{\hat{x}} + \sin \varphi\mathbf{\hat{y}}

\boldsymbol{\hat \varphi} = \sin \varphi\mathbf{\hat{x}} + \cos \varphi\mathbf{\hat{y}}

\mathbf{\hat{z}}=\mathbf{\hat{z}}.
It is important to note that \mathbf{\hat{\rho}} and \boldsymbol{\hat \varphi} are functions of \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 \varphi are:

\frac{\partial \mathbf{\hat{\rho}}} {\partial \varphi} = \sin \varphi\mathbf{\hat{x}} + \cos \varphi\mathbf{\hat{y}} = \boldsymbol{\hat \varphi}

\frac{\partial \boldsymbol{\hat \varphi}} {\partial \varphi} = \cos \varphi\mathbf{\hat{x}}  \sin \varphi\mathbf{\hat{y}} = \mathbf{\hat{\rho}}

\frac{\partial \mathbf{\hat{z}}} {\partial \varphi} = \mathbf{0}.
Spherical coordinates
The unit vectors appropriate to spherical symmetry are: \mathbf{\hat{r}}, the direction in which the radial distance from the origin increases; \boldsymbol{\hat{\varphi}}, the direction in which the angle in the xy plane counterclockwise from the positive xaxis is increasing; and \boldsymbol{\hat \theta}, the direction in which the angle from the positive z axis is increasing. To minimize degeneracy, the polar angle is usually taken 0\leq\theta\leq 180^\circ. It is especially important to note the context of any ordered triplet written in spherical coordinates, as the roles of \boldsymbol{\hat \varphi} and \boldsymbol{\hat \theta} are often reversed. Here, the American "physics" convention^{[1]} is used. This leaves the azimuthal angle \varphi defined the same as in cylindrical coordinates. The Cartesian relations are:

\mathbf{\hat{r}} = \sin \theta \cos \varphi\mathbf{\hat{x}} + \sin \theta \sin \varphi\mathbf{\hat{y}} + \cos \theta\mathbf{\hat{z}}

\boldsymbol{\hat \theta} = \cos \theta \cos \varphi\mathbf{\hat{x}} + \cos \theta \sin \varphi\mathbf{\hat{y}}  \sin \theta\mathbf{\hat{z}}

\boldsymbol{\hat \varphi} =  \sin \varphi\mathbf{\hat{x}} + \cos \varphi\mathbf{\hat{y}}
The spherical unit vectors depend on both \varphi and \theta, and hence there are 5 possible nonzero derivatives. For a more complete description, see Jacobian matrix and determinant. The nonzero derivatives are:

\frac{\partial \mathbf{\hat{r}}} {\partial \varphi} = \sin \theta \sin \varphi\mathbf{\hat{x}} + \sin \theta \cos \varphi\mathbf{\hat{y}} = \sin \theta\boldsymbol{\hat \varphi}

\frac{\partial \mathbf{\hat{r}}} {\partial \theta} =\cos \theta \cos \varphi\mathbf{\hat{x}} + \cos \theta \sin \varphi\mathbf{\hat{y}}  \sin \theta\mathbf{\hat{z}}= \boldsymbol{\hat \theta}

\frac{\partial \boldsymbol{\hat{\theta}}} {\partial \varphi} =\cos \theta \sin \varphi\mathbf{\hat{x}} + \cos \theta \cos \varphi\mathbf{\hat{y}} = \cos \theta\boldsymbol{\hat \varphi}

\frac{\partial \boldsymbol{\hat{\theta}}} {\partial \theta} = \sin \theta \cos \varphi\mathbf{\hat{x}}  \sin \theta \sin \varphi\mathbf{\hat{y}}  \cos \theta\mathbf{\hat{z}} = \mathbf{\hat{r}}

\frac{\partial \boldsymbol{\hat{\varphi}}} {\partial \varphi} = \cos \varphi\mathbf{\hat{x}}  \sin \varphi\mathbf{\hat{y}} = \sin \theta\mathbf{\hat{r}} \cos \theta\boldsymbol{\hat{\theta}}
General unit vectors
Common general themes of unit vectors occur throughout physics and geometry:^{[2]}
Unit vector

Nomenclature

Diagram

Tangent vector to a curve/flux line

\mathbf{\hat{t}}\,\!

A normal vector \mathbf{\hat{n}} \,\! to the plane containing and defined by the radial position vector r \mathbf{\hat{r}} \,\! and angular tangential direction of rotation \theta \boldsymbol{\hat{\theta}} \,\! is necessary so that the vector equations of angular motion hold.

Normal to a surface tangent plane/plane containing radial position component and angular tangential component

\mathbf{\hat{n}}\,\!
In terms of polar coordinates; \mathbf{\hat{n}} = \mathbf{\hat{r}} \times \boldsymbol{\hat{\theta}} \,\!

Binormal vector to tangent and normal

\mathbf{\hat{b}} = \mathbf{\hat{t}} \times \mathbf{\hat{n}} \,\!^{[3]}

Parallel to some axis/line

\mathbf{\hat{e}}_{\parallel} \,\!

One unit vector \mathbf{\hat{e}}_{\parallel}\,\! aligned parallel to a principal direction (red line), and a perpendicular unit vector \mathbf{\hat{e}}_{\bot}\,\! is in any radial direction relative to the principal line.

Perpendicular to some axis/line in some radial direction

\mathbf{\hat{e}}_{\bot} \,\!

Possible angular deviation relative to some axis/line

\mathbf{\hat{e}}_{\angle} \,\!

Unit vector at acute deviation angle φ (including 0 or π/2 rad) relative to a principal direction.

Curvilinear coordinates
In general, a coordinate system may be uniquely specified using a number of linearly independent unit vectors \mathbf{\hat{e}}_n equal to the degrees of freedom of the space. For ordinary 3space, these vectors may be denoted \mathbf{\hat{e}}_1, \mathbf{\hat{e}}_2, \mathbf{\hat{e}}_3. It is nearly always convenient to define the system to be orthonormal and righthanded:
\mathbf{\hat{e}}_i \cdot \mathbf{\hat{e}}_j = \delta_{ij}
\mathbf{\hat{e}}_i \cdot (\mathbf{\hat{e}}_j \times \mathbf{\hat{e}}_k) = \varepsilon_{ijk}
where δ_{ij} is the Kronecker delta (which is one for i = j and zero else) and \varepsilon_{ijk} is the LeviCivita symbol (which is one for permutations ordered as ijk and minus one for permutations ordered as kji).
See also
References

^ Tevian Dray and Corinne A. Manogue,Spherical Coordinates, College Math Journal 34, 168169 (2003).

^ F. Ayres, E. Mandelson (2009). Calculus (Schaum's Outlines Series) (5th ed.). Mc Graw Hill.

^ M. R. Spiegel, S. Lipschutz, D. Spellman (2009). Vector Analysis (Schaum's Outlines Series) (2nd ed.). Mc Graw Hill.

G. B. Arfken & H. J. Weber (2000). Mathematical Methods for Physicists (5th ed.). Academic Press.

Spiegel, Murray R. (1998). Schaum's Outlines: Mathematical Handbook of Formulas and Tables (2nd ed.). McGrawHill.

Griffiths, David J. (1998). Introduction to Electrodynamics (3rd ed.). Prentice Hall.

Bierre, Pierre (2010). Flexing the Power of Algorithmic Geometry (1st ed.). Spatial Thoughtware.
This article was sourced from Creative Commons AttributionShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, EGovernment Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a nonprofit organization.