
In
geometry
Geometry (; ) is a branch of mathematics concerned with properties of space such as the distance, shape, size, and relative position of figures. Geometry is, along with arithmetic, one of the oldest branches of mathematics. A mathematician w ...
, direction, also known as spatial direction or vector direction, is the common characteristic of all
rays which coincide when
translated to share a common endpoint; equivalently, it is the common characteristic of
vectors (such as the
relative position
In geometry, a position or position vector, also known as location vector or radius vector, is a Euclidean vector that represents a point ''P'' in space. Its length represents the distance in relation to an arbitrary reference origin ''O'', and ...
between a pair of points) which can be made equal by
scaling
Scaling may refer to:
Science and technology
Mathematics and physics
* Scaling (geometry), a linear transformation that enlarges or diminishes objects
* Scale invariance, a feature of objects or laws that do not change if scales of length, energ ...
(by some positive
scalar multiplier).
Two vectors sharing the same direction are said to be ''codirectional'' or ''equidirectional''.
All co
directional line segment
In geometry, a line segment is a part of a straight line that is bounded by two distinct endpoints (its extreme points), and contains every point on the line that is between its endpoints. It is a special case of an '' arc'', with zero curvatu ...
s sharing the same size (length) are said to be ''
equipollent''. Two equipollent segments are not necessarily coincident; for example, a given direction can be evaluated at different starting
positions, defining different unit directed line segments (as a
bound vector instead of a
free vector).
A direction is often represented as a
unit vector
In mathematics, a unit vector in a normed vector space is a Vector (mathematics and physics), vector (often a vector (geometry), spatial vector) of Norm (mathematics), length 1. A unit vector is often denoted by a lowercase letter with a circumfle ...
, the result of dividing a vector by its length. A direction can alternately be represented by a
point on a
circle
A circle is a shape consisting of all point (geometry), points in a plane (mathematics), plane that are at a given distance from a given point, the Centre (geometry), centre. The distance between any point of the circle and the centre is cal ...
or
sphere
A sphere (from Ancient Greek, Greek , ) is a surface (mathematics), surface analogous to the circle, a curve. In solid geometry, a sphere is the Locus (mathematics), set of points that are all at the same distance from a given point in three ...
, the
intersection
In mathematics, the intersection of two or more objects is another object consisting of everything that is contained in all of the objects simultaneously. For example, in Euclidean geometry, when two lines in a plane are not parallel, their ...
between the sphere and a ray in that direction emanating from the sphere's center; the tips of unit vectors emanating from a common
origin point lie on the
unit sphere
In mathematics, a unit sphere is a sphere of unit radius: the locus (mathematics), set of points at Euclidean distance 1 from some center (geometry), center point in three-dimensional space. More generally, the ''unit -sphere'' is an n-sphere, -s ...
.
A
Cartesian coordinate system
In geometry, a Cartesian coordinate system (, ) in a plane (geometry), plane is a coordinate system that specifies each point (geometry), point uniquely by a pair of real numbers called ''coordinates'', which are the positive and negative number ...
is defined in terms of several oriented reference lines, called ''coordinate axes''; any arbitrary direction can be represented numerically by finding the
direction cosine
In analytic geometry, the direction cosines (or directional cosines) of a vector are the cosines of the angles between the vector and the three positive coordinate axes. Equivalently, they are the contributions of each component of the basis t ...
s (a list of
cosine
In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side opposite that ...
s of the angles) between the given direction and the directions of the axes; the direction cosines are the coordinates of the associated unit vector.
A two-dimensional direction can also be represented by its
angle
In Euclidean geometry, an angle can refer to a number of concepts relating to the intersection of two straight Line (geometry), lines at a Point (geometry), point. Formally, an angle is a figure lying in a Euclidean plane, plane formed by two R ...
, measured from some reference direction, the angular component of
polar coordinates
In mathematics, the polar coordinate system specifies a given point (mathematics), point in a plane (mathematics), plane by using a distance and an angle as its two coordinate system, coordinates. These are
*the point's distance from a reference ...
(ignoring or normalizing the radial component). A three-dimensional direction can be represented using a polar angle relative to a fixed polar axis and an azimuthal angle about the polar axis: the angular components of
spherical coordinates
In mathematics, a spherical coordinate system specifies a given point in three-dimensional space by using a distance and two angles as its three coordinates. These are
* the radial distance along the line connecting the point to a fixed point ...
.
Non-oriented straight lines can also be considered to have a direction, the common characteristic of all
parallel lines
In geometry, parallel lines are coplanar infinite straight lines that do not intersect at any point. Parallel planes are planes in the same three-dimensional space that never meet. '' Parallel curves'' are curves that do not touch each oth ...
, which can be made to coincide by translation to pass through a common point. The direction of a non-oriented line in a two-dimensional plane, given a Cartesian coordinate system, can be represented numerically by its
slope
In mathematics, the slope or gradient of a Line (mathematics), line is a number that describes the direction (geometry), direction of the line on a plane (geometry), plane. Often denoted by the letter ''m'', slope is calculated as the ratio of t ...
.

A direction is used to represent linear objects such as
axes of rotation and
normal vectors. A direction may be used as part of the representation of a more complicated
object
Object may refer to:
General meanings
* Object (philosophy), a thing, being, or concept
** Object (abstract), an object which does not exist at any particular time or place
** Physical object, an identifiable collection of matter
* Goal, an a ...
's
orientation
Orientation may refer to:
Positioning in physical space
* Map orientation, the relationship between directions on a map and compass directions
* Orientation (housing), the position of a building with respect to the sun, a concept in building des ...
in
physical space
Space is a three-dimensional continuum containing positions and directions. In classical physics, physical space is often conceived in three linear dimensions. Modern physicists usually consider it, with time, to be part of a boundless fo ...
(e.g.,
axis–angle representation
In mathematics, the axis–angle representation parameterizes a rotation in a three-dimensional Euclidean space by two quantities: a unit vector indicating the direction of an axis of rotation, and an angle of rotation describing the magnitu ...
).

Two directions are said to be ''opposite'' if the unit vectors representing them are
additive inverse
In mathematics, the additive inverse of an element , denoted , is the element that when added to , yields the additive identity, 0 (zero). In the most familiar cases, this is the number 0, but it can also refer to a more generalized zero el ...
s, or if the points on a sphere representing them are
antipodal
Antipode or Antipodes may refer to:
Mathematics
* Antipodal point, the diametrically opposite point on a circle or ''n''-sphere, also known as an antipode
* Antipode, the convolution inverse of the identity on a Hopf algebra
Geography
* Antipodes ...
, at the two opposite ends of a common diameter. Two directions are ''parallel'' (as in
parallel lines
In geometry, parallel lines are coplanar infinite straight lines that do not intersect at any point. Parallel planes are planes in the same three-dimensional space that never meet. '' Parallel curves'' are curves that do not touch each oth ...
) if they can be brought to lie on the same straight line without rotations; parallel directions are either codirectional or opposite.
[
Two directions are ''obtuse'' or ''acute'' if they form, respectively, an ]obtuse angle
In Euclidean geometry, an angle can refer to a number of concepts relating to the intersection of two straight lines at a point. Formally, an angle is a figure lying in a plane formed by two rays, called the '' sides'' of the angle, sharing ...
(greater than a right angle) or acute angle
In Euclidean geometry, an angle can refer to a number of concepts relating to the intersection of two straight lines at a point. Formally, an angle is a figure lying in a plane formed by two rays, called the '' sides'' of the angle, sharing ...
(smaller than a right angle);
equivalently, obtuse directions and acute directions have, respectively, negative and positive scalar product
In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. Not to be confused wit ...
(or scalar projection
In mathematics, the scalar projection of a vector \mathbf on (or onto) a vector \mathbf, also known as the scalar resolute of \mathbf in the direction of \mathbf, is given by:
:s = \left\, \mathbf\right\, \cos\theta = \mathbf\cdot\mathbf,
wh ...
).
See also
*Body relative direction
Body relative directions (also known as egocentric coordinates) are orientation (geometry), geometrical orientations relative to a body such as a human person's body or a road sign.
The most common ones are: left and right; forward and backwar ...
*Euclidean vector
In mathematics, physics, and engineering, a Euclidean vector or simply a vector (sometimes called a geometric vector or spatial vector) is a geometric object that has magnitude (or length) and direction. Euclidean vectors can be added and scal ...
*Tangent direction
In geometry, the tangent line (or simply tangent) to a plane curve at a given point is, intuitively, the straight line that "just touches" the curve at that point. Leibniz defined it as the line through a pair of infinitely close points on t ...
Notes
References
{{reflist
Elementary mathematics
Euclidean geometry