A vector space is a set along with addition and scalar multiplication operations, such that it satisfies:

  • Commutativity:
  • Associativity:
  • Additive identity:
  • Additive inverse:
  • Multiplicative identity:
  • Distributive properties:

In a few words, a set of generic objects (that can be numbers, functions or other things) is a vector space if, after applying the operations, the result is always in that vector space.

Example of vector space - Real number sequences

An example of vector space is the set of -long sequences of numbers in :

Along with the addition and multiplication operations, defined as expected.

Another example of vector space - Functions

Another example of a vector space is the set of all functions

with the standard definition for sum and scalar product:

With additive identity and inverse defined as:


Each element inside of a vector space is a vector.

Curved surface are not a vector space, since summing two coordinates doesn’t assure us that the new coordinate will lay on the surface. (2D surfaces are a vector space).

For this reason, curved surfaces (such as the manifold) cannot be studied with linear algebra, but they need differential geometry.

We can still use linear algebra to study the functions that can be applied on surfaces, since as we’ve seen the set of all functions is a vector space.

N.B.: The domain doesn’t have to be , but can be a generic finite set .

Bases

A basis of a vector space is the minimal collection of vectors in that are linearly independent from each other and spans .

In other terms, it’s the minimal set of vectors that generates the entire space.

The basis vectors are linearly independent if and only if each has only one representation as a combination of (hence minmal collection).

This means that the number of vectors in the basis is the same as the dimensionality of the vector space.

Every vector can be expressed uniquely as a linear combination of the basis vectors:

The standard basis of is the collection of one-hot vectors (or indicator vectors): .

More about dimensions

Linear algebra can only be used to study vector space with finite dimensions. If the vector space is infinitely dimensional (for example the set of all functions that map real numbers to other real numbers) than we need functional analysis.

In the case of the vector space made of functions, for it to be finite dimensional, the domain has to be finite.