An Introduction To Vectors - Math Insight
An Introduction To Vectors - Math Insight
An introduction to vectors
Definition of a vector
A vector is an object that has both a magnitude and a direction. Geometrically, we can picture a vector as a directed line
segment, whose length is the magnitude of the vector and with an arrow indicating the direction. The direction of the vector
is from its tail to its head.
Two vectors are the same if they have the same magnitude and direction. This means that if we take a vector and translate it
to a new position (without rotating it), then the vector we obtain at the end of this process is the same vector we had in the
beginning.
Two examples of vectors are those that represent force and velocity. Both force and velocity are in a particular direction. The
magnitude of the vector would indicate the strength of the force or the speed associated with the velocity.
You can explore the concept of the magnitude and direction of a vector using the below applet. Note that moving the vector
around doesn't change the vector, as the position of the vector doesn't affect the magnitude or the direction.
But if you
stretch or turn the vector by moving just its head or its tail, the magnitude or direction will change. (This applet also shows
the coordinates of the vector, which you can read about in another page.)
The magnitude and direction of a vector. The blue arrow represents a vector a. The two defining properties of a
vector, magnitude and direction, are illustrated by a red bar and a green arrow, respectively. The length of the red bar
is the magnitude ∥a∥ of the vector a. The green arrow always has length one, but its direction is the direction of the
vector a. The one exception is when a is the zero vector (the only vector with zero magnitude), for which the direction
is not defined. You can change either end of a by dragging it with your mouse. You can also move a by dragging the
middle of the vector; however, changing the position of the a in this way does not change the vector, as its magnitude
and direction remain unchanged.
Operations on vectors
We can define a number of operations on vectors geometrically without reference to any coordinate system. Here we define
addition, subtraction, and multiplication by a scalar. On separate pages, we discuss two different ways to multiply two
vectors together: the dot product and the cross product.
Addition of vectors
Given two vectors a and b, we form their sum a + b , as follows. We translate the vector b until its tail coincides with the
head of a. (Recall such translation does not change a vector.) Then, the directed line segment from the tail of a to the head
of b is the vector a + b .
The vector addition is the way forces and velocities combine. For example,
if a car is travelling due north at 20 miles per
hour and a child in the back
seat behind the driver throws an object at 20 miles per hour toward his
sibling who is sitting
due east of him, then the velocity of the object
(relative to the ground!) will be in a north-easterly direction.
The velocity
vectors form a right triangle, where the total velocity is the
hypotenuse. Therefore, the total speed of the object (i.e., the
−−−−−− −−
magnitude of the velocity vector) is √ 202
+ 20
2
= 20√2 miles per hour relative to the ground.
1. The commutative law, which states the order of addition doesn't matter:
a + b = b + a.
This law is also called the parallelogram law, as illustrated in the below
image. Two of the edges of the parallelogram
define a + b , and the other pair of edges define b + a . But, both sums are
equal to the same diagonal of the
parallelogram.
2. The associative law, which states that the sum of three vectors does
not depend on which pair of vectors is added first:
(a + b) + c = a + (b + c).
You can explore the properties of vector addition with the following applet. (This applet also shows the coordinates of the
vectors, which you can read about in another page.)
The sum of two vectors. The sum a + b of the vector a (blue arrow) and the vector b (red arrow) is shown by the
green arrow. As vectors are independent of their starting position, both blue arrows represent the same vector a and
both red arrows represent the same vector b. The sum a + b can be formed by placing the tail of the vector b at the
head of the vector a. Equivalently, it can be formed by placing the tail of the vector a at the head of the vector b. Both
constructions together form a parallelogram, with the sum a + b being a diagonal. (For this reason, the commutative
law a + b = b + a is sometimes called the parallelogram law.) You can change a and b by dragging the yellow points.
Vector subtraction
Before we define subtraction, we define the vector −a , which is the opposite of a. The vector −a is the vector with the same
magnitude as a but that is pointed in the opposite direction.
Scalar multiplication
Given a vector a and a real number (scalar) λ, we can form the vector λa as follows.
If λ is positive, then λa is the vector
whose direction is the same as the direction of a and whose length is λ times the length of a.
In this case, multiplication by
λ simply stretches (if λ > 1 ) or
compresses (if 0 < λ < 1 ) the vector a .
If, on the other hand, λ is negative, then we have to take the opposite of a before stretching or compressing it. In other
words, the vector λa points in the opposite direction of a,
and the length of λa is |λ| times the length of a.
No matter the
sign of λ, we observe that the magnitude of λa is |λ| times the magnitude of a: ∥λa∥ = |λ|∥a∥ .
Scalar multiplications satisfies many of the same properties as the usual multiplication.
In the last formula, the zero on the left is the number 0, while the
zero on the right is the vector 0, which is the unique vector
whose length is zero.
See also
Vectors in two- and three-dimensional Cartesian coordinates
The zero vector
Go deeper
The dot product
The cross product
Vectors in arbitrary dimensions
Examples of n-dimensional vectors
Cite this as
Frank D and Nykamp DQ, “An introduction to vectors.” From Math Insight. http://mathinsight.org/vector_introduction
Keywords:
basic properties, vectors
An introduction to vectors by David Frank and Duane Q. Nykamp is licensed under a Creative Commons Attribution-
Noncommercial-ShareAlike 4.0 License. For permissions beyond the scope of this license, please contact us.