Unit vector

From Infogalactic: the planetary knowledge core
(Redirected from Unit length)
Jump to: navigation, search

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": i-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.

Examples of two 2D direction vectors
Examples of two 3D direction vectors

The normalized vector or versor û of a non-zero vector u is the unit vector in the direction of u, i.e.,

u-hat equals the vector u divided by its length

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.

Orthogonal coordinates

Cartesian coordinates

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

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

i-hat equals the 3 by 1 matrix 1,0,0; j-hat equals the 3 by 1 matrix 0,1,0; k-hat equals the 3 by 1 matrix 0,0,1

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 vector i) rather than standard unit vector notation (e.g., unit vector i). In most contexts it can be assumed that i, j, and k, (or vector i vector j and vector k) are versors of a 3-D Cartesian coordinate system. The notations x-hat, y-hat, z-hat, x-hat sub 1, x-hat sub 2, x-hat sub 3, e-hat sub x, e-hat sub y, e-hat sub z, or e-hat sub 1, e-hat sub 2, e-hat sub 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:

  • rho-hat (also designated r-hat or s-hat), representing the direction along which the distance of the point from the axis of symmetry is measured;
  • phi-hat, representing the direction of the motion that would be observed if the point were rotating counterclockwise about the symmetry axis;
  • z-hat, representing the direction of the symmetry axis;

They are related to the Cartesian basis x-hat, y-hat, z-hat by:

rho-hat = cosine of phi in the x-hat direction plus sine of phi in the y-hat direction
phi-hat = minus the sine of phi in the x-hat direction plus the cosine of phi in the y-hat direction
z-hat equals z-hat

It is important to note that rho-hat and phi-hat are functions of coordinate phi, 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:

partial derivative of rho-hat with respect to phi equals minus sine of phi in the x-hat direction plus cosine of phi in the y-hat direction equals phi-hat
partial derivative of phi-hat with respect to phi equals minus cosine of phi in the x-hat direction minus sine of phi in the y-hat direction equals minus rho-hat
partial derivative of z-hat with respect to phi equals zero

Spherical coordinates

The unit vectors appropriate to spherical symmetry are: r-hat, the direction in which the radial distance from the origin increases; phi-hat, the direction in which the angle in the x-y plane counterclockwise from the positive x-axis is increasing; and theta-hat, the direction in which the angle from the positive z axis is increasing. To minimize degeneracy, the polar angle is usually taken zero is less than or equal to theta is less than or equal to 180 degrees. It is especially important to note the context of any ordered triplet written in spherical coordinates, as the roles of phi-hat and theta-hat are often reversed. Here, the American "physics" convention[1] is used. This leaves the azimuthal angle phi defined the same as in cylindrical coordinates. The Cartesian relations are:

r-hat equals sin of theta times cosine of phi in the x-hat direction plus sine of theta times sine of phi in the y-hat direction plus cosine of theta in the z-hat direction
theta-hat equals cosine of theta times cosine of phi in the x-hat direction plus cosine of theta times sine of phi in the y-hat direction minus sine of theta in the z-hat direction
phi-hat equals minus sine of phi in the x-hat direction plus cosine of phi in the y-hat direction

The spherical unit vectors depend on both phi and theta, and hence there are 5 possible non-zero derivatives. For a more complete description, see Jacobian matrix and determinant. The non-zero derivatives are:

partial derivative of r-hat with respect to phi equals minus sine of theta times sine of phi in the x-hat direction plus sine of theta times cosine of phi in the y-hat direction equals sine of theta in the phi-hat direction
partial derivative of r-hat with respect to theta equals cosine of theta times cosine of phi in the x-hat direction plus cosine of theta times sine of phi in the y-hat direction minus sine of theta in the z-hat direction equals theta-hat
partial derivative of theta-hat with respect to phi equals minus cosine of theta times sine of phi in the x-hat direction plus cosine of theta times cosine of phi in the y-hat direction equals cosine of theta in the phi-hat direction
partial derivative of theta-hat with respect to theta equals minus sine of theta times cosine of phi in the x-hat direction minus sine of theta times sine of phi in the y-hat direction minus cosine of theta in the z-hat direction equals minus r-hat
partial derivative of phi-hat with respect to phi equals minus cosine of phi in the x-hat direction minus sine of phi in the y-hat direction equals minus sine of theta in the r-hat direction minus cosine of theta in the theta-hat direction

General unit vectors

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

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}}\,\! "200px" "200px"

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} \,\! "200px"

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} \,\! "200px"

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 e-hat sub n equal to the degrees of freedom of the space. For ordinary 3-space, these vectors may be denoted e-hat sub 1, e-hat sub 2, e-hat sub 3. It is nearly always convenient to define the system to be orthonormal and right-handed:

e-hat sub i dot e-hat sub j equals Kronecker delta of i and j

e-hat sub i dot e-hat sub j cross e-hat sub k = epsilon sub ijk

where δij is the Kronecker delta (which is one for i = j and zero else) and epsilon sub i,j,k is the Levi-Civita symbol (which is one for permutations ordered as ijk and minus one for permutations ordered as kji).

See also

References

  1. Tevian Dray and Corinne A. Manogue,Spherical Coordinates, College Math Journal 34, 168-169 (2003).
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found.