✖

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:

Sum of two vectors u+v

Analytically, the sum of vectors is the sum of the corresponding coordinates. So if you have two vectors u→=(u1,u2) and v→=(v1,v2), then the sum u→+v→ is

u→+v→=(u1+v1,u2+v2)

For the vectors in the picture, u→=(2,4) and v→=(4,1). The sum then looks like this: u→+v→=(2+4,4+1)=(6,5). These coordinates match the point D.

Subtracting vectors is the same as adding the negative vector. Analytically:

u→−v→=(u1−v1,u2−v2)

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:

Sum of vectors lying on the same line

Vector addition is commutative and associative. There is a vector 0→, called the zero vector, for which u→+0→=u→, just as with numbers. For every vector u→ there is a negative vector −u→ for which u→+(−u→)=0→.

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.

Various scalar multiples of the vector u

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 u→1,u→2,u→3,…, a linear combination of these vectors is

  • one of the vectors u→n 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 u→n.

Given vectors u→1,u→2,…,u→n, the vector v→ is a linear combination of the vectors u→n if

v→=c1⋅u→1+c2⋅u→2+…+cn⋅u→n;ci∈R

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 u→1=(1,3),u→2=(0,4),u→3=(7,2). Here are some of the possible linear combinations:

(8,9)=1⋅(1,3)+1⋅(0,4)+1⋅(7,2)(22,17)=1⋅(1,3)+2(0,4)+3(7,2)(68,38)=−2(1,3)+6(0,4)+10(7,2)(−12,−432)=−12(1,3)−5(0,4)+0(7,2)

Chapters: Vectors, Operations with vectors, Scalar product, Vector product