# Lesson Explainer: Vector Operations in 2D Mathematics

In this explainer, we will learn how to perform operations on vectors algebraically such as vector addition, vector subtraction, and scalar multiplication in two dimensions.

Let us recall the vector operations that we will be using, beginning with the addition and subtraction of 2D vectors.

### Definition: Addition and Subtraction of 2D Vectors

To add or subtract a pair of 2D vectors, we add or subtract the corresponding components of the two vectors. If and , then

Next, recall the scalar multiplication of a 2D vector.

### Definition: Scalar Multiplication of 2D Vectors

To multiply a 2D vector by a scalar, we multiply each component of the vector by the scalar. Given a vector and a scalar ,

We also recall that a 2D vector can be expressed in terms of fundamental unit vectors and , which are defined by

Starting from the component form of a vector, we can apply vector addition and scalar multiplication to write

This explains how the conversion between these two forms of a vector is achieved. We can also perform algebraic operations of vectors using fundamental vectors. In this case, we can treat the fundamental unit vectors and as indeterminates and collect the like terms together. For instance, the addition of two vectors can be written as

This process leads to the same formula for addition of two vectors as the one given above in component form. Similarly, the scalar multiplication can be written as which again is the same as the formula given above for a vector in component form. As we can see here, one of the benefits of using the fundamental unit vectors is that it makes algebraic operations of vectors more closely resemble the corresponding algebraic operations of real numbers.

We can combine multiple algebraic operations involving 2D vectors. Since algebraic operations of vectors resemble the corresponding operations of real numbers, we can determine the order of operations by following the order of operations of real numbers. Remember that the order of operations of real numbers is given by the acronym PEMDAS, which stands for parentheses, exponent, multiplication, division, addition, and subtraction. We also remember that the ordering between addition and subtraction is often performed in the order that the expression is written. For instance, to compute , we would first compute the subtraction and then compute the addition .

Since the vector operations do not include exponentiation and division, we only need to consider these four operations: parentheses, multiplication, addition, and subtraction.

### Rule: Order of Vector Operations

When we compute an algebraic expression involving 2D vectors, which includes scalar multiplication, addition, and subtraction, we must follow the order of operations as given below:

1. Parentheses
2. Scalar multiplication

In our first example, we will combine scalar multiplication with subtraction of 2D vectors.

### Example 1: Evaluating Expressions Involving the Subtraction and Scalar Multiplication of Given Vectors in Two Dimensions

Given that and , find .

In this example, we need to compute , which involves the subtraction and scalar multiplication of 2D vectors. Recall that the order of vector operations is given by

1. parentheses,
2. scalar multiplication,

So, we can begin by computing the scalar multiplication . Recall that given a vector and a scalar , the scalar multiplication is defined by

Hence,

Next, we can compute the subtraction. Recall that we can subtract a pair of vectors by subtracting the corresponding components of the two vectors. This gives us

In the previous example, we computed an algebraic expression involving 2D vectors that used the scalar multiplication and subtraction of vectors.

Using these concepts, we can sometimes write a vector in terms of two vectors. This idea is similar to how we can write any vector in terms of the fundamental unit vectors and , where we write

Given two 2D vectors and , we can sometimes write a third 2D vector in terms of and if we find scalars and satisfying

If we compute the scalar multiplication and addition of 2D vectors on the right-hand side of this equation, we can obtain a pair of simultaneous equations involving and . We should keep in mind that this system of equations does not always have a solution, in which case we cannot express vector in terms of and . But when this system of equations leads to solutions and , then we can express in terms of and .

While this process of expressing a 2D vector in terms of two vectors is purely algebraic, it is helpful to visualize this using a graph to understand why this may be possible. Consider the three vectors , , and given below.

Let us consider what these operations mean graphically to express as

We know that the scalar multiplication of a vector results in stretching or contracting a vector and also reversing the direction of a vector if the scalar is negative. This means that the vectors and are scaled (or reversed) versions of vectors and respectively. We also know that the sum of two 2D vectors forms the diagonal of the parallelogram formed by the two vectors. Hence, the equation above means that we can scale vectors and to draw a parallelogram having as its diagonal, as seen below.

In the next example, we will write a vector in terms of two other vectors.

### Example 2: Using Operations on Vectors to Express a Vector in Terms of Two Other Vectors

Given that and , express in terms of and .

In this example, we need to express vector in terms of two vectors and . This means that we want to find scalars and such that

The left-hand side of this equation contains scalar multiplication and addition of 2D vectors. We know that the scalar multiplication should be computed before the addition of vectors. Recall that given a vector and a scalar , the scalar multiplication is defined by

Next, let us add the two vectors. Recall that we can add a pair of vectors by adding the corresponding components of the two vectors. Hence,

Since this needs to equal vector , we obtain

We know that two vectors are equal if the corresponding components of the vectors are equal. This leads to a pair of simultaneous equations:

To solve this pair of simultaneous equations, let us first divide both sides of the first equation by :

Then, adding these two equations leads to . Substituting this value into the second equation leads to

Rearranging this equation so is the subject, we obtain . Hence, can be written as

Next, we will consider an example involving vector operations where vectors are defined by their endpoints. If we are given points and , vector is defined by the difference of the position vectors and . This leads to

We also recall that

This equation can be visualized by the following graph.

In the next example, we will find the missing coordinates of a point when we are given an equation involving 2D vector operations.

### Example 3: Finding Missing Coordinates from Vector Equations

On a lattice, where , , and , find the coordinates of the point .

In this example, we need to find the coordinates of point from the given vector equation. On the left-hand side of the given equation, we see two vectors and . We recall is the position vector of point , which means that the components of this vector is given by the corresponding coordinates of . Since we do not know the coordinates of , let us denote the coordinates of by . Then,

Next, consider the other vector in the given equation, . We note that this is not one of the vectors that are provided. However, we can find this vector using the given vectors by recalling

Let us denote . Substituting and into the equation above leads to

We recall that we can add a pair of vectors by adding the corresponding components of the two vectors. This leads to

Hence, we must have

Rearranging these two equations leads to and . This gives us

Then, the given equation can be written as

The left-hand side of this equation contains the scalar multiplication and addition of 2D vectors. We know that we need to compute the scalar multiplications before the addition. Recall that we can compute the scalar multiplication of a 2D vector by multiplying each component of the vector by the scalar. This means

Then, the equation can be written as

Adding the vectors on the left-hand side,

Setting the corresponding components of the two vectors equal leads to a pair of equations:

Rearranging these equations leads to which gives the - and -coordinates of . Hence, the coordinates of are .

In the next example, we will consider a vector operation involving three vectors.

### Example 4: Addition, Subtraction, and Scalar Multiplication of Vectors

Given that , , and , determine the vector that satisfies the equation .

In this example, we need to compute the right-hand side of the equation to find vector . The expression we need to compute involves scalar multiplication, addition, and subtraction of 2D vectors. Recall that the order of vector operations is given by

1. parentheses,
2. scalar multiplication,

Since there are no parentheses in this expression, let us begin by computing the scalar multiplications. Recall that we can multiply a vector by a scalar by multiplying each component of the vector by the scalar. Hence,

Now that we have finished this part, we can follow the order of addition and subtraction as it is written. Since the expression we want to compute is , we need to compute the addition first. Recall that we can add or subtract 2D vectors by adding or subtracting the corresponding components of the two vectors. Using the vectors we computed above, we have

Finally, we can compute the subtraction:

Hence,

In the final example, we will compute a vector operation involving 3 vectors and compute the magnitude of the resulting vector.

### Example 5: Finding the Norm of the Result of Operations on Vectors

Given that , , and , find .

In this example, we need to compute the magnitude of a vector resulting from vector operations. Let us first compute the result of the vector operations:

This expression we need to compute involves scalar multiplication, addition, and subtraction of 2D vectors. Recall that the order of vector operations is given by

1. parentheses,
2. scalar multiplication,

Since there is no parentheses in this expression, let us begin by computing the scalar multiplications. Recall that we can multiply a vector by a scalar by multiplying each component of the vector by the scalar. Hence,

Now that we have finished this part, we can proceed with the addition and subtraction of the vectors in the given order. Since our expression is , we need to compute the subtraction first. Recall that we can add or subtract 2D vectors by adding or subtracting the corresponding components of the two vectors. Using the vectors we computed above, we have

Finally, we can compute the addition:

We have obtained that the vector resulting from the vector operations is . Now, we need to find the magnitude of this vector. Recall that the magnitude of a 2D vector is given by

Since our vector is , we can apply this formula with and to obtain

Hence,

Let us finish by recapping a few important concepts from this explainer.

### Key Points

• Vector operations of scalar multiplication, addition, and subtraction resemble the corresponding operations of real numbers.
• When we compute an algebraic expression involving 2D vectors, which includes scalar multiplication, addition, and subtraction, we must follow the order of operations as given below:
• Parentheses
• Scalar multiplication