A vector

A vector is an object that carries both a magnitude and a direction. In everyday language it describes quantities such as displacement, velocity, or force where how far and which way both matter. Graphically a vector is usually shown as an arrow: the arrowhead indicates direction and the length of the arrow encodes the magnitude. This pictorial view is useful for simple problems and geometric reasoning.

Definition and basic properties

Mathematically, a vector can be regarded in several equivalent ways: as a directed segment in space, as an ordered tuple of numbers (its components) relative to a chosen basis, or as an element of an abstract vector space satisfying rules for addition and scalar multiplication. A single vector can be translated parallel to itself without changing its intrinsic properties; this is the distinction between a free vector and a position vector anchored at an origin.

Vectors contrast with quantities that have only size, called scalars. For example, saying "move 1 kilometre" gives a scalar distance, while "move 1 kilometre north" specifies a vector. Vectors are often normalized to unit length to give a direction alone; such a vector is called a unit vector. Components of a vector describe how much the vector points along each basis direction and can be used to compute the geometric distance or length between points.

Representations and notation

In two or three dimensions a vector is commonly written in coordinates, for example (x, y) or (x, y, z), or with boldface or an arrow above a letter. The magnitude (length) of a vector v = (x, y) in a Cartesian plane is |v| = sqrt(x^2 + y^2). The angle θ between two vectors u and v is related to their dot product by u·v = |u||v|cos θ, a formula widely used in geometry and physics. When drawn, arrows are scaled so that their length is proportional to the vector magnitude.

Common operations

Vectors obey simple algebraic rules that make them central to linear algebra and calculus. Important operations include:

  • Addition: Combine two vectors head-to-tail to produce a resultant vector (vector sum).
  • Scalar multiplication: Stretch or shrink a vector by a real number, reversing its direction if the scalar is negative.
  • Dot product: Produces a scalar equal to |u||v|cos θ and measures projection and angular relations.
  • Cross product (in three dimensions): Produces a vector perpendicular to two input vectors with magnitude |u||v|sin θ and a direction given by the right-hand rule.

History and applications

The modern concept of vectors emerged in the 19th century through the work of mathematicians such as Hermann Grassmann and William Rowan Hamilton, and later through formalizations by physicists and engineers who developed vector calculus. Today vectors are foundational across sciences: in physics they model forces, velocities and fields; in engineering they describe loads and motions; in computer graphics they represent positions, normals and transforms; and in data science vectors encode features for algorithms.

Distinctions and notable facts

Not all objects called "vectors" are identical in nature. Polar (true) vectors represent standard directed quantities, while axial (pseudo) vectors, like angular momentum, change sign differently under inversion. Vectors live in vector spaces that can be finite- or infinite-dimensional, and this abstract viewpoint underlies much of modern mathematics. Simple geometric rules, combined with coordinate methods, make vectors powerful tools for analyzing direction, magnitude, and linear structure in many contexts.

Further reading