A vector is a specific quantity drawn as a line segment with a arrow at one end pointing in a specific direction. It has an initial point where the vector starts and a terminal point where the vector ends.
A vector is defined by its magnitude, or length of the line, and its direction which is indicated by an arrowhead at the terminal point.
Fig. 1 - Vector
note
There are various symbols that can be used to represent a vector such as...
A lower case, boldfaced type (with or without an arrow on top) such as v or v.
An upper case set of letters with an arrow on top such as AB where A is the initial point and B is the terminal point.
With angle brackets such as ⟨a,b⟩ where a and b are the coordinates of the terminal point (a,b) and the initial point is at the origin (0,0).
For a vector to be in standard position, its initial point must be at the origin of the coordinate plane. This means when a vector is written using angle bracket such as ⟨a,b⟩, it is in standard position because the initial point is at the origin (0,0) and the terminal point is at (a,b).
We can change any vector into standard position by translating the vector so that its initial point is at the origin. Thus, if the initial point of a vector AB is A(x1,y1) and the terminal point is B(x2,y2), then the position vector can be found by calculating...
CD=⟨x2−x1,y2−y1⟩
where C is the initial point at the origin and D is the terminal point at (x2−x1,y2−y1).
note
Even though we change the position of a vector to be in standard position, the magnitude and direction of the vector remain unchanged meaning they are equivalent. This is because vectors are defined by their magnitude and direction, not by their specific location in the coordinate plane.
A vector is defined by its magnitude and direction which means we need to have a way to calculate these two properties if we want to work with vector. This is relatively easy because we can find a vectors magnitude using the Pythagorean Theorem or the distance formula and we can find its direction using the inverse tangent function.
Given a position vector v=⟨a,b⟩, the magnitude is given by ∣v∣=a2+b2 and the direction is given by θ = tan−1(ab) where θ is the angle between the vector and the positive x-axis.
Example
Find the magnitude and direction of the vector with initial point P(−8,1) and terminal point Q(−2,−5).
First we need to translate the vector PQ to be in standard position by calculating the position vector RS where R is the initial point at the origin and S is the terminal point at (x2−x1,y2−y1)...
RS===⟨x2−x1,y2−y1⟩⟨−2−(−8),−5−1⟩⟨6,−6⟩
Now lets find the magnitude of the vector RS using the formula ∣v∣=a2+b2 where a and b are the coordinates of the terminal point (a,b)...
∣RS∣====62+(−6)236+367262
Finally, we can find the direction of the vector RS using the formula θ = tan−1(ab) where a and b are the coordinates of the terminal point (a,b)...
θ====tan−1(ab)tan−1(6−6)tan−1(−1)315∘
Therefore, the magnitude of the vector is 62 and its direction is 315∘. This vector can be drawn as...
Fig. 2 - Vector Example
note
Now that we can calculate the magnitude and direction of any vector, we can test if two vectors are equivalent by comparing their magnitudes and directions. If two vectors have the same magnitude and direction, then they are equivalent even if they are in different positions in the coordinate plane.
The sum of two vectors u and v also known as vector addition produces a third vector u+v which is the resultant vector. To find u+v, we first draw the vector u and from the terminal end of u, we draw the vector v. This means that the initial point of v is at the terminal point of u. Finally, we can draw the resultant vector u+v from the initial point of u to the terminal point of v.
Fig. 3 - Vector Addition
Vector subtraction is similar to vector addition. To find u−v, we view it as u+(−v) where −v is the vector v with the opposite direction. This means that to find u−v, we first draw the vector u and from the terminal end of u, we draw the vector −v. Finally, we can draw the resultant vector u−v from the initial point of u to the terminal point of −v.
Example
Given u=⟨3,−2⟩ and v=⟨−1,4⟩, find two new vectors u+v, and u−v.
We can find u+v by adding the corresponding components of u and v which gives us...
u+v==⟨3+(−1),−2+4⟩⟨2,2⟩
We can find u−v by subtracting the corresponding components of v from u which gives us...
Scalar multiplication is the process of multiplying a vector by a scalar (a real number). To find the product, we multiply each component of the vector by the scalar. Thus, to multiply v=⟨a,b⟩ by a scalar k, we calculate...
kv=⟨ka,kb⟩
where ka and kb are the components of the resulting vector. The magnitude of the resulting vector is ∣k∣ times the magnitude of the original vector and its direction is the same as the original vector if k is positive and opposite if k is negative.
Example
Find the scalar multiple 3u given u=⟨5,4⟩.
We can find 3u by multiplying each component of u by 3 which gives us...
In some cases, it is helpful to break down a vector into its components. A vector can be expressed in component form as the sum of its horizontal and vertical components. The horizontal component is the projection of the vector onto the x-axis and the vertical component is the projection of the vector onto the y-axis.
For example, given a vector v=⟨3,4⟩, its horizontal component is ⟨3,0⟩ and its vertical component is ⟨0,4⟩. Therefore, we can write v in component form as v=⟨3,0⟩+⟨0,4⟩ which is equivalent to v=⟨3,4⟩.
In addition to finding a vector's components, it is often useful to find a vector's unit vector which is a vector with a magnitude of 1 that points in the same direction as the original vector. If v=⟨a,b⟩ is a nonzero vector, then its unit vector u can be found by dividing each component of v by the magnitude of v which gives us...
u=∣v∣v=⟨∣v∣a,∣v∣b⟩
Unit vectors are also often defined in terms of components with a horizontal and vertical unit vector. The horizontal unit vector is written as i=⟨1,0⟩ and is directed along the positive horizontal axis. While the vertical unit vector is written as j=⟨0,1⟩ and is directed along the positive vertical axis.
Example
Find a unit vector in the same direction as v=⟨−5,12⟩.
We can start by finding the magnitude of v using the formula ∣v∣=a2+b2 where a and b are the components of the terminal point (a,b)...
∣v∣====(−5)2+12225+14416913
Now we can find the unit vector u by dividing each component of v by the magnitude of v which gives us...
u==∣v∣v⟨13−5,1312⟩
Therefore, a unit vector in the same direction as v is u=13−5i+1312j or u=⟨13−5,1312⟩.
Fig. 5 - Unit Vector Example
note
The magnitude is always a scalar and so dividing by a scalar is equivalent to multiplying by the reciprocal of the scalar.
Now that we have general strategies for working with vectors, we can represent vectors in rectangular form where we represent vectors in rectangular coordinates in term of i and j which are the horizontal and vertical unit vectors respectively. Given a vector v with initial point P=(x1,y1) and terminal point Q=(x2,y2), we can write v in rectangular form as...
v=(x2−x1)i+(y2−y1)j
where x2−x1 is the horizontal component of the vector and y2−y1 is the vertical component of the vector.
Example
Write the vector u with initial point P=(−1,6) and terminal point Q=(7,−5) in terms of i and j.
We can substitute the coordinates of the initial point and terminal point into the formula u=(x2−x1)i+(y2−y1)j which gives us...
When vectors are written in terms of i and j, we can perform vector operations such as addition, subtraction and scalar multiplication by performing operations on each component of the vector.
Given v=ai+bj and u=ci+dj, we can find v+u, v−u, and kv by performing the following operations...
v+u=(a+c)i+(b+d)j
v−u=(a−c)i+(b−d)j
kv=(ka)i+(kb)j
Example
Find the sum of v1=2i−3j and v2=4i+5j.
We can find v1+v2 by adding the corresponding components of v1 and v2 which gives us...
v1+v2==(2+4)i+(−3+5)j6i+2j
Therefore, the sum of v1 and v2 is v1+v2=6i+2j.
Calculating direction follows the same process used for polar coordinates but instead of using r, we use the magnitude of the vector ∣v∣. Given a position vector v=⟨x,y⟩ and a direction angle θ...
cosθ=∣v∣x
sinθ=∣v∣y
x=∣v∣cosθ
y=∣v∣sinθ
meaning v=xi+yj=∣v∣cosθi+∣v∣sinθj where the magnitude of the vector is ∣v∣=x2+y2.
Example
Given a vector with length 7 and an angle of 135∘, write it in component form.
We know the magnitude of the vector is ∣v∣=7 and the direction angle is θ=135∘. We can find the horizontal and vertical components of the vector using the formulas x=∣v∣cosθ and y=∣v∣sinθ which gives us...
Other than multiplying a vector by a scalar, we can also multiply two vectors together using the dot product. The dot product of two vectors v=⟨a,b⟩ and u=⟨c,d⟩ is the sum of the product of the horizontal components and the product of the vertical components...
v⋅u=ac+bd
where the angle between the two vectors can be found using the formula...
cosθ=∣v∣v⋅∣u∣u
where θ is the angle between the two vectors.
Example
Find the dot product of v1=5i+2j and v2=3i+7j. Then, find the angle between the two vectors.
First, we can find the dot product v1⋅v2 by calculating the sum of the product of the horizontal components and the product of the vertical components which gives us...
v1⋅v2===(5)(3)+(2)(7)15+1429
Now to find the angle, we need to find the magnitudes of v1 and v2 using the formula ∣v∣=a2+b2 where a and b are the components of the terminal point (a,b)...