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": (pronounced "i-hat"). 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.
The normalized vector or versor û of a non-zero vector u is the unit vector in the direction of 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.
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 three-dimensional 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 right-hand rule to resolve one of two possible directions.
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
They are often denoted using normal vector notation (e.g., i or ) rather than standard unit vector notation (e.g., ). In most contexts it can be assumed that i, j, and k, (or and ) are versors of a 3-D Cartesian coordinate system. The notations , , , or , 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).
The three orthogonal unit vectors appropriate to cylindrical symmetry are:
- (also designated or ), representing the direction along which the distance of the point from the axis of symmetry is measured;
- , representing the direction of the motion that would be observed if the point were rotating counterclockwise about the symmetry axis;
- , representing the direction of the symmetry axis;
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 matrix. The derivatives with respect to are:
The unit vectors appropriate to spherical symmetry are: , the direction in which the radial distance from the origin increases; , the direction in which the angle in the x-y plane counterclockwise from the positive x-axis is increasing; and , the direction in which the angle from the positive z axis is increasing. 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 "physics" 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 derivatives. For a more complete description, see Jacobian matrix and determinant. The non-zero derivatives are:
General unit vectors
|Tangent vector to a curve/flux line||
A normal vector to the plane containing and defined by the radial position vector and angular tangential direction of rotation 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||
In terms of polar coordinates;
|Binormal vector to tangent and normal|||
|Parallel to some axis/line||
One unit vector aligned parallel to a principal direction (red line), and a perpendicular unit vector is in any radial direction relative to the principal line.
|Perpendicular to some axis/line in some radial direction|
|Possible angular deviation relative to some axis/line||
Unit vector at acute deviation angle φ (including 0 or π/2 rad) relative to a principal direction.
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:
- Cartesian coordinate system
- Coordinate system
- Curvilinear coordinates
- Jacobian matrix and determinant
- Polar coordinate system
- Right versor
- Unit interval
- Unit square, cube, circle, and sphere
- Tevian Dray and Corinne A. Manogue,Spherical Coordinates, College Math Journal 34, 168-169 (2003).
- F. Ayres, E. Mandelson (2009). Calculus (Schaum's Outlines Series) (5th ed.). Mc Graw Hill. ISBN 978-0-07-150861-2.
- M. R. Spiegel, S. Lipschutz, D. Spellman (2009). Vector Analysis (Schaum's Outlines Series) (2nd ed.). Mc Graw Hill. ISBN 978-0-07-161545-7.
- G. B. Arfken & H. J. Weber (2000). Mathematical Methods for Physicists (5th ed.). Academic Press. ISBN 0-12-059825-6.
- Spiegel, Murray R. (1998). Schaum's Outlines: Mathematical Handbook of Formulas and Tables (2nd ed.). McGraw-Hill. ISBN 0-07-038203-4.
- Griffiths, David J. (1998). Introduction to Electrodynamics (3rd ed.). Prentice Hall. ISBN 0-13-805326-X.
- Bierre, Pierre (2010). Flexing the Power of Algorithmic Geometry (1st ed.). Spatial Thoughtware. ISBN 978-0-9827526-0-9.