# Unit vector

In mathematics, a **unit vector** in a normed vector space 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 superscribed caret or “hat”, like this: (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** or **versor** of a non-zero vector is the unit vector codirectional with , i.e.,

where is the norm (or length) of . 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. 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.

## Cartesian coordinates

In the three-dimensional Cartesian coordinate system, the unit vectors codirectional with the *x*, *y*, and *z* axes are sometimes referred to as versors of the coordinate system.

These are often written using normal vector notation (e.g. * i*, or ) rather than the caret notation, and in most contexts it can be assumed that

*,*

**i***, and*

**j***, (or and ) are versors of a Cartesian coordinate system (hence a tern of reciprocally orthogonal unit vectors). The notations , , , or , 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 symbols such as*

**k***i*,

*j*,

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

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 "*

**k****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 unit vectors appropriate to cylindrical symmetry are: (also designated or ), 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:

where δ_{ij} is the Kronecker delta.

## References

- G. B. Arfken & H. J. Weber (2000).
*Mathematical Methods for Physicists*(5th ed. ed.). Academic Press. ISBN 0-12-059825-6. - Spiegel, Murray R. (1998).
*Schaum's Outlines: Mathematical Handbook of Formulas and Tables*(2nd ed. ed.). McGraw-Hill. ISBN 0-07-038203-4. - Griffiths, David J. (1998).
*Introduction to Electrodynamics*(3rd ed. ed.). Prentice Hall. ISBN 0-13-805326-X.

## See also

- Cartesian coordinate system
- Polar coordinate system
- Coordinates (mathematics)
- Curvilinear coordinates
- Jacobian

da:Enhedsvektor de:Einheitsvektor eo:Unuobla vektoro id:Vektor satuan it:Versore he:וקטור יחידה lv:Vienības vektors lt:Vienetinis vektorius nl:Eenheidsvector sk:Jednotkový vektor fi:Yksikkövektori sv:Enhetsvektor th:เวกเตอร์หนึ่งหน่วย uk:Одиничний вектор