Operations with vectors
We can carry out basic operations with vectors, such as addition and multiplication.
Adding vectors
To add two vectors, draw both from the origin of the coordinate system, complete the parallelogram, and the diagonal starting at the origin is the resultant vector. There is of course an illustration:
Analytically, the sum of vectors is the sum of the corresponding coordinates. So if you have two vectors
For the vectors in the picture,
Subtracting vectors is the same as adding the negative vector. Analytically:
If we add vectors that lie on the same line and point the same way, we simply stretch the resultant vector. If they point in opposite directions, we subtract their magnitudes. This is easier to see in a picture:
Vector addition is commutative and associative. There is a vector
Multiplying a vector by a number
If you multiply a vector by a real number k, you just multiply both of its coordinates by k. Geometrically this “stretches” or “shrinks” the vector, or flips it round if k is negative.
The picture shows that when we multiply the vector u by the number k:
- If the absolute value of k is less than one, the vector gets shorter.
- If the absolute value of k is greater than one, the vector gets longer.
- If k is negative, the vector points the opposite way.
Linear combinations of vectors
In linear algebra we often use linear combinations of vectors. Given vectors
- one of the vectors
multiplied by a scalar k, - the sum of any two or more of the vectors,
- a combination of the previous two: we can add scalar multiples kn of any of the vectors
.
Given vectors
Notice that the coefficients ci are real numbers, so we can choose zero for any of them, which makes that vector drop out completely. For example, take the vectors
Chapters: Vectors, Operations with vectors, Scalar product, Vector product