vector

vector, in mathematics, a quantity that has both magnitude and direction but not position. Examples of such quantities are velocity and acceleration. In their modern form, vectors appeared late in the 19th century when Josiah Willard Gibbs and Oliver Heaviside (of the United States and Britain, respectively) independently developed vector analysis to express the new laws of electromagnetism discovered by the Scottish physicist James Clerk Maxwell. Since that time, vectors have become essential in physics, mechanics, electrical engineering, and other sciences to describe forces mathematically.

Vectors may be visualized as directed line segments whose lengths are their magnitudes. Since only the magnitude and direction of a vector matter, any directed segment may be replaced by one of the same length and direction but beginning at another point, such as the origin of a coordinate system. Vectors are usually indicated by a boldface letter, such as v. A vector’s magnitude, or length, is indicated by |v|, or v, which represents a one-dimensional quantity (such as an ordinary number) known as a scalar. Multiplying a vector by a scalar changes the vector’s length but not its direction, except that multiplying by a negative number will reverse the direction of the vector’s arrow. For example, multiplying a vector by 1/2 will result in a vector half as long in the same direction, while multiplying a vector by −2 will result in a vector twice as long but pointed in the opposite direction.

vector parallelogram for addition and subtractionOne method of adding and subtracting vectors is to place their tails together and then supply two more sides to form a parallelogram. The vector from their tails to the opposite corner of the parallelogram is equal to the sum of the original vectors. The vector between their heads (starting from the vector being subtracted) is equal to their difference.

Two vectors can be added or subtracted. For example, to add or subtract vectors v and w graphically (see the diagram), move each to the origin and complete the parallelogram formed by the two vectors; v + w is then one diagonal vector of the parallelogram, and v − w is the other diagonal vector.

There are two different ways of multiplying two vectors together. The cross, or vector, product results in another vector that is denoted by v × w. The cross product magnitude is given by |v × w| = vw sin θ, where θ is the smaller angle between the vectors (with their “tails” placed together). The direction of v × w is perpendicular to both v and w, and its direction can be visualized with the right-hand rule, as shown in the figure. The cross product is frequently used to obtain a “normal” (a line perpendicular) to a surface at some point, and it occurs in the calculation of torque and the magnetic force on a moving charged particle.

The other way of multiplying two vectors together is called a dot product, or sometimes a scalar product because it results in a scalar. The dot product is given by v ∙ w = vw cos θ, where θ is the smaller angle between the vectors. The dot product is used to find the angle between two vectors. (Note that the dot product is zero when the vectors are perpendicular.) A typical physical application is to find the work W performed by a constant force F acting on a moving object d; the work is given by W = Fd cos θ.

The Editors of Encyclopaedia BritannicaThis article was most recently revised and updated by Erik Gregersen.