In mathematics, a unit vector in a normed vector space is a vector (often a spatial vector) whose length, (or magnitude) is 1. A unit vector is often written with a superscribed caret or “hat”, thus: (pronounced "i-hat").
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 normalized vector of a non-zero vector u is the unit vector codirectional with u, i.e.,
where ||u|| is the norm (or length) of u. The term normalized vector is sometimes used as a synonym for unit vector.
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, with the components of each being given by direction cosines. 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. Usually, a little context should enable the astute reader to substitute the names being used for those given here.
Cartesian coordinates
In the 3-Dimensional Cartesian coordinate system, the unit vectors along the x, y, and z axes are usually denoted i, j, and k, respectively.
These are sometimes written using normal vector notation rather than the hat/caret notation, and it can generally be assumed that are unit vectors in most contexts. The notations , , or are also used, particularly in contexts where i, j, k might lead to confusion with another quantity.
Cylindrical coordinates
The unit vectors appropriate to cylindrical symmetry are: , the distance from the axis of symmetry; , the angle measured counterclockwise from the positive x-axis; and . They are related to the Cartesian basis by:
=
=
It is important to note that and are functions of , 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. The derivatives with respect to are:
Spherical coordinates
The unit vectors appropriate to spherical symmetry are: , the radial distance from the origin; , the angle in the x-y plane counterclockwise from the positive x-axis; and , the angle from the positive z axis. To minimize degeneracy, the polar angle is usually taken . It is especially important to note the context of any ordered triplet written in spherical coordinates, as the roles of and are often reversed. Here, the American naming convention is used. This leaves the azimuthal angle defined the same as in cylindrical coordinates. The Cartesian relations are:
The spherical unit vectors depend on both and , and hence there are 5 possible non-zero derivates. For a more complete description, see Jacobian. The non-zero derivatives are:
Curvilinear Coordinates
In general, a coordinate system may be uniquely specified using a number of linearly independent unit vectors equal to the degrees of freedom of the space. For ordinary 3-space, these vectors may be denoted . It is nearly always convenient to define the system to be orthonormal and right-handed:
G. B. Arfken & H. J. Weber (2000). Mathematical Methods for Physicists (5th ed. ed.). Academic Press. ISBN 0120598256. {{cite book}}: |edition= has extra text (help)
Spiegel, Murray R. (1998). Schaum's Outlines: Mathematical Handbook of Formulas and Tables (2nd ed. ed.). McGraw-Hill. ISBN 0070382034. {{cite book}}: |edition= has extra text (help)
Griffiths, David J. (1998). Introduction to Electrodynamics (3rd ed. ed.). Prentice Hall. ISBN 013805326X. {{cite book}}: |edition= has extra text (help)