Vectors and Scalars
Vectors and Basic Vector Operations
Scalars and vectors
Work in higher-dimensional spaces often distinguishes between scalars and vectors.
A scalar is a real number, such as 0, 10, −π, or 100. In this setting, a scalar gives a numerical quantity without a direction.
A vector has both a magnitude and a direction. Magnitude means the vector’s length; direction describes where it points.
Vectors are commonly drawn as arrows. An arrow has a tail, where it begins, and a head, where it points. Its direction runs from the tail to the head.
A vector named v can be written by hand with an arrow over the letter, v. Printed texts may use boldface instead. A unit vector is a vector with length 1 and is often written with a hat, such as v^.
Scalars and vectors in physical quantities
Whether a physical quantity is a scalar or a vector depends on whether direction is part of the quantity.
Distance and displacement
Distance measures how far apart two locations are or how far an object travels. It gives an amount, such as 5 kilometers, but does not specify direction. Distance is a scalar.
Displacement describes a change in position, including both how far and in what direction an object moves. For example, moving 10 meters southeast is a displacement. Displacement is a vector.
Speed and velocity
Speed describes how quickly an object moves, without specifying direction. A speed of 55 miles per hour is a scalar.
Velocity describes a rate of motion together with direction. It can be understood as speed combined with a direction, so velocity is a vector.
Acceleration
Acceleration is the rate of change of velocity, so it is a vector. Since velocity includes both magnitude and direction, acceleration can reflect a change in either:
An object may speed up or slow down, changing the magnitude of its velocity.
An object may turn, changing the direction of its velocity even if its speed stays the same.
Vector notation and position vectors
A vector can be named with an arrow over a letter, such as v. A vector can also be named by its starting and ending points. The vector from point P to point Q is written PQ: its tail is at P, and its head is at Q.
When a vector begins at the origin, it is called a position vector for the point at its head. Thus, OP is the position vector for point P, where O denotes the origin.
Components in two dimensions
In R2, a vector can be represented by its horizontal and vertical components. The vector from P to Q is determined by the change in the x-coordinate and the change in the y-coordinate from tail to head.
For example, a vector that moves 3 units left and 1 unit up has components
The horizontal component is negative because the vector moves left; the vertical component is positive because it moves up. In the usual coordinate directions:
Right and up are positive in the x- and y-directions, respectively.
Left and down are negative in the x- and y-directions, respectively.
Angle brackets are one common way to write vector components. Parentheses are also used in some texts. A vector in R2 can also be expressed using horizontal and vertical unit vectors:
where ^ represents the horizontal direction and ^ represents the vertical direction.
When two vectors are the same
Two vectors are considered the same if they have the same magnitude and the same direction. Their locations on the page do not matter: a vector may be shifted without changing which vector it is, provided its length and direction remain unchanged.
For example, the vector
moves 2 units right and 3 units up. Any arrow with those components represents the same vector, even if its tail is not at the origin.
A vector drawn with its tail at the origin is in standard position. If its head is at the point (2,3), it represents the position vector for that point and has components ⟨2,3⟩.
An arrow with the same direction but a different length is not the same vector. An arrow with the same length but the opposite direction is not the same vector either.
Scalar multiplication
A vector can be multiplied by a scalar, which scales its components. For example, if a vector in R3 is
then multiplying by a scalar c gives
The scalar is applied to every component. This rule works in R2, R3, and more generally in Rn.
Geometric effect of scalar multiplication
Scalar multiplication changes a vector’s length and may reverse its direction:
The resulting magnitude is multiplied by ∣c∣.
If c>0, the result points in the same direction as the original vector.
If c<0, the result points in the opposite direction.
If c=0, the result is the zero vector, located at the origin when drawn in standard position.
For example,
The result is twice as long as the original vector and points in the opposite direction. A positive scalar of 2 would make the vector twice as long without reversing its direction.
Vector addition
Vectors in the same space can be added: vectors in R2 can be added to other vectors in R2, and vectors in R3 can be added to other vectors in R3.
Addition is performed component by component. For two vectors in R2,
For example,
In R3, the corresponding x-, y-, and z-components are added separately.
Geometric interpretation
To draw a sum such as v+w, place the tail of w at the head of v. The resulting vector goes from the tail of v to the head of the shifted w.
The vectors can also be placed in the opposite order: first w, then v. Both paths reach the same endpoint, so the sum is independent of the order. Drawing the two vectors from a common starting point also gives the parallelogram law: the sum is represented by the diagonal of the parallelogram formed by the two vectors.
Vector subtraction
Subtraction can be expressed using scalar multiplication and addition:
The vector −a has the same magnitude as a but points in the opposite direction. To represent b−a geometrically, first reverse a to obtain −a, then add that vector to b using the vector-addition rule.
When b and a are drawn from the same tail, the vector b−a can also be seen as the arrow from the head of a to the head of b. It represents the change required to move from the endpoint of a to the endpoint of b.

Ask anything
We've read this whole study set, so questions about it get the best answers.