Introduction to Vectors
2. Vectors Basics
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.
We denote vectors using boldface as in or . Especially when writing by hand where one cannot easily write in boldface, people will sometimes denote vectors using arrows as in or , or they use other markings. We won't need to use arrows here. We denote the magnitude of the vector by . When we want to refer to a number and stress that it is not a vector, we can call the number a scalar. We will denote scalars with italics, as in or .
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.
You may use this link to show the applet
The magnitude and direction of a vector. The blue arrow represents a vector . 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 of the vector . The green arrow always has length one, but its direction is the direction of the vector .
You can change either end of by dragging it with your mouse. You can also move by dragging the middle of the vector; however, changing the position of the 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 and , we form their sum , as follows. We translate the vector until its tail coincides with the head of . (Recall such translation does not change a vector.) Then, the directed line segment from the tail of to the head of is the vector .
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 miles per hour relative to the ground.
Addition of vectors satisfies two important properties.
The commutative law, which states the order of addition doesn't matter:
This law is also called the parallelogram law, as illustrated in the below image. Two of the edges of the parallelogram define , and the other pair of edges define . But, both sums are equal to the same diagonal of the parallelogram.The associative law, which states that the sum of three vectors does not depend on which pair of vectors is added first:
Vector subtraction
Before we define subtraction, we define the vector , which is the opposite of . The vector is the vector with the same magnitude as but that is pointed in the opposite direction.
We define subtraction as addition with the opposite of a vector: