Now that we know what a vector is and how to represent one, we can begin to perform various operations on vectors and between different vectors. As we’ve previously discussed, the basis of linear algebra is the linear combinations we can generate between vectors (and matrices).
Any vector can be multiplied by a scalar, which results in every element of that vector being multiplied by that scalar individually.
Multiplying vectors by scalars is an associative operation, meaning that rearranging the parentheses in the expression does not change the result. For example, we can say 2(a3) = (2a)3.
Vector Addition and Subtraction
Vectors can be added and subtracted from each other when they are of the same dimension (same number of components). Doing so adds or subtracts corresponding elements, resulting in a new vector of the same dimension as the two being summed or subtracted. Below is an example of three-dimensional vectors being added and subtracted together.
Vector addition is commutative, meaning the order of the terms does not matter. For example, we can say (a+b = b+a). Vector addition is also associative, meaning that (a + (b+c) = (a+b) + c).
The applet to the right is very similar to the one from the previous exercise. However, this one allows you to play around with two vectors (red and blue) and view their resulting summation. To drag either vector a (red) or vector b (blue) around, click on the arrowhead and move it with your mouse. Vector a + b (purple) will move based on the resulting summation (but you cannot move it directly with your mouse).
Below are some practice problems. For the vector summation ones, you can use the applet to help.
Answer the following scalar multiplication problem. Click the solution below to verify your answer.
Answer the following vector addition problem. Click the solution below to verify your answer. Feel free to use the applet to verify it as well!
Finally, let’s do a more challenging one!