In the following descriptin are vector operations using vectors of length two or three.
Vectors can have any number of entries.

Vector Addition

Vectors can only be added if the number of dimensions
and their orientation (columns or row-oriented) are the same.

The vectors \(\left[\matrix{X_a\\Y_a}\right] + \left[\matrix{X_b\\Y_b}\right]\)
and \(\left[\matrix{X_a\\Y_a\\Z_a}\right] + \left[\matrix{X_b\\Y_b\\Z_b}\right]\) can be added.

The vectors \(\left[\matrix{X_a\\Y_a}\right] + \left[\matrix{X_b\\Y_b\\Z_b}\right]\)
and \([X_a\;Y_a\;Z_a]+ \left[\matrix{X_b\\Y_b\\Z_b}\right]\) can not be added

Each number in the list is called a element.
Vectors can be added and subtracted by adding and subtracting the elements.

The subtraction of vectors is identical to the addition of vectors, but with negative operator.
For the vector subtraction, the same rules apply as for the addition of vectors.

More infos about multiplication and skalar product you can find
here.

Scalar multiplication of a vector

Scalar vector multiplication is the multiplication of a vector with a real number.
For this purpose, each element of the vector is multiplied by the real number.