Lably
Skip to content

Unit vector

Vector of length one

  • 4 min read
  • 3 chapters
  • 1 lab on Lably

Learn it on Lably

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

u^=u‖u‖=(u1‖u‖,u2‖u‖,...,un‖u‖)

where ‖u‖ is the norm (or length) of u and u=(u1,u2,...,un).

The proof is the following: ‖u^‖=u1u12+...+un22+...+unu12+...+un22=u12+...+un2u12+...+un2=1=1

A unit vector is often used to represent directions, such as normal directions. Unit vectors are often chosen to form the basis of a vector space, and every vector in the space may be written as a linear combination form of unit vectors.

Orthogonal coordinates

Cartesian coordinates

Unit vectors may be used to represent the axes of a Cartesian coordinate system. For instance, the standard unit vectors in the direction of the x, y, and z axes of a three dimensional Cartesian coordinate system are

x^=[100],y^=[010],z^=[001]

They form a set of mutually orthogonal unit vectors, typically referred to as a standard basis in linear algebra.

They are often denoted using common vector notation (e.g., x or x→) rather than standard unit vector notation (e.g., x̂). In most contexts it can be assumed that x, y, and z, (or x→, y→, and z→) are versors of a 3-D Cartesian coordinate system. The notations (î, ĵ, k̂), (x̂1, x̂2, x̂3), (êx, êy, êz), or (ê1, ê2, ê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, which are used to identify an element of a set or array or sequence of variables).

When a unit vector in space is expressed in Cartesian notation as a linear combination of x, y, z, 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:

  • ρ^ (also designated e^ or s^), 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;
  • z^, representing the direction of the symmetry axis;

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

ρ^=cos⁡(φ)x^+sin⁡(φ)y^
φ^=−sin⁡(φ)x^+cos⁡(φ)y^
z^=z^.

The vectors ρ^ 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. The derivatives with respect to φ are:

∂ρ^∂φ=−sin⁡φx^+cos⁡φy^=φ^
∂φ^∂φ=−cos⁡φx^−sin⁡φy^=−ρ^
∂z^∂φ=0.

Spherical coordinates

The unit vectors appropriate to spherical symmetry are: r^, 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 redundancy of representations, the polar angle θ is usually taken to lie between zero and 180 degrees. 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:

r^=sin⁡θcos⁡φx^+sin⁡θsin⁡φy^+cos⁡θz^
θ^=cos⁡θcos⁡φx^+cos⁡θsin⁡φy^−sin⁡θz^
φ^=−sin⁡φx^+cos⁡φy^

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:

∂r^∂φ=−sin⁡θsin⁡φx^+sin⁡θcos⁡φy^=sin⁡θφ^
∂r^∂θ=cos⁡θcos⁡φx^+cos⁡θsin⁡φy^−sin⁡θz^=θ^
∂θ^∂φ=−cos⁡θsin⁡φx^+cos⁡θcos⁡φy^=cos⁡θφ^
∂θ^∂θ=−sin⁡θcos⁡φx^−sin⁡θsin⁡φy^−cos⁡θz^=−r^
∂φ^∂φ=−cos⁡φx^−sin⁡φy^=−sin⁡θr^−cos⁡θθ^

General unit vectors

Common themes of unit vectors occur throughout physics and geometry:

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Physics