Start studying
Module 2 · Maths for Data Module contents
Module 2  ·  Card 5 / 13intermediate

Vector Operations

Vector addition combines two vectors of matching dimension by adding their corresponding numbers element by element.

Geometrically, adding two vectors places the tail of the second vector at the tip of the first vector.

Scalar multiplication multiplies every element inside a vector by a single constant number called a scalar.

For example, multiplying a vector by two doubles its length while keeping its spatial direction unchanged.

These elementary operations form the basis of linear combinations, coordinate scaling, and data transformations.

Learn in depth ↓
Module 02 · Maths for Data · 13 concepts
In depth  /  15 lines

Vector Operations, in more detail

Vector addition and scalar multiplication define the foundational algebra of linear vector spaces.

Vector addition requires both vectors to possess identical dimensionality before calculation begins.

To add vectors u and v, you add the first component of u to the first component of v, continuing through all entries.

The resulting sum is a new vector of the same dimension that satisfies commutative and associative laws.

Geometrically in two dimensions, vector addition forms the diagonal of a parallelogram formed by the two inputs.

Vector subtraction works identically by subtracting matching components, representing the displacement between two vectors.

Scalar multiplication takes an ordinary real number, called a scalar, and multiplies every vector coordinate by it.

Multiplying a vector by a positive scalar greater than one stretches its magnitude without altering its direction.

Multiplying by a scalar between zero and one shrinks the vector magnitude proportionally.

Multiplying by a negative scalar reverses the vector direction entirely, pointing it one hundred and eighty degrees away.

Combining vector additions and scalar multiplications together produces what mathematicians call linear combinations.

A common beginner mistake is attempting to add two vectors that carry different counts of elements.

Component-wise addition is undefined when coordinate counts do not align across the inputs.

Another frequent error is confusing scalar multiplication with element-wise multiplication between two vectors.

Mastering these two core operations provides the foundation for matrix multiplication and high-dimensional transformations.

Test yourself

One question on this card. Every option explains itself once you pick, right or wrong.

Question 1
What happens geometrically when a two-dimensional vector is multiplied by the scalar negative two?
Maths for Data

13 concepts in this module, then a graded test with every answer explained.

Study this module →
↑↓ move↵ openesc close