Unit vector

From Free net encyclopedia

In mathematics, a unit vector in a normed vector space is a vector (often a spatial vector) whose length is 1. A unit vector is often written with a “hat”, thus: î.

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.,

<math>\mathbf{\hat{u}} = \frac{\mathbf{u}}{\|\mathbf{u}\|}.</math>

where ||u|| is the norm (or length) of u. The term normalized vector is sometimes used simply as a synonym for unit vector.

As opposed to a general vector, which represents direction and magnitude, a unit vector just represents direction. The components are called direction cosines, because each is the cosine of the angle between the vector and one coordinate axis.

The elements of a basis are often chosen to be unit vectors. In the 3-Dimensional Cartesian coordinate system, these are usually i, j, and k—unit vectors along the x, y, and z axes, respectively:

<math>\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}.</math>

These are not always written with a hat/caret - sometimes they are written using normal vector notations. However, it can generally be assumed that <math>\vec{i}, \vec{j}, \vec{k}</math> are unit vectors in most contexts. When dealing with electromagnetics topics, some people prefer to use <math>\hat{x}, \hat{y}, \hat{z}</math> for the 3 unit vectors on the 3 axes. Sometimes, these unit vectors are also written as <math>\vec{e_1}, \vec{e_2}, \vec{e_3}</math> respectively.

Other coordinate systems, such as polar coordinates or spherical coordinates use different unit vectors; notations vary.da:Enhedsvektor de:Einheitsvektor fr:Vecteur unitaire he:וקטור יחידה nl:Eenheidsvector pl:Wersor pt:Vetor unitário sv:Enhetsvektor th:เวกเตอร์หนึ่งหน่วย zh:单位向量