A vector space is a set whose elements are called “vectors” (denoted as v or v), which have two operations defined on them: addition of vectors and multiplication of a scalar by a vector.

Formally, a vector space V is a set with two operations + and that satisfy the following properties:

  • If u,vV, then u+vV.
    • u+v=v+u
    • u+(v+w)=(u+v)+w
    • There is a special element called the zero vector 0V such that u+0=0+u=u.
    • For every uV, there’s an inverse element u such that u+(u)=0.
  • If uV and αR, then αuV.
    • (α+β)u=αu+βu
    • α(βu)=(αβ)u
    • 1u=u

Notable examples of vector spaces:

  • Segments on the plane and in space; addition uses the parallelogram law, and multiplication by a scalar scales the segment.
  • The set of n×n matrices, with addition defined by element.
  • The set of all polynomials.
  • The space consisting of the zero vector alone: 0.

Vector subspaces

A subset UV of a vector space V is a subspace if:

  • For all u,vU, u+vU.
  • For all αR and uU, αuU.

Linear dependence

A set of vectors is linearly dependent if one element from the set can be written as a linear combination of the other elements in the set. If this cannot be done, then the set is linearly independent, which is also known as a basis for some vector space. The dimension is the number of elements in the basis. If b1,b2,,bn is a basis, then any linear combination of the basis will have the form:

v=a1b1+a2b2++anbn

The numbers a1,a2,,an are called the components of v in the specified basis. Note that the basis doesn’t need to be orthogonal nor have unit vectors.

The set of vectors [1,0,0],[0,1,0],[0,0,1] is an example of a basis of dimension 3

Linear maps

A map between vector spaces is linear if it preserves addition and multiplication with scalars as defined above. Formally, a map L:UV is linear if:

  • For all u,vU, L(u,v)=L(u)+L(v).
  • For all αR and uU, L(αu)=αL(u).

Additional operations

Norm

The norm of a vector is denoted by |v| and satisfies:

  • |v|0; |v|=0 only if v=0.
  • |αv|=α|v|.
  • |v1+v2||v1|+|v2| (triangle inequality).

Scalar product

The scalar product of two vectors is a function f:V×VR. The function is commonly denoted as v1,v2 and satisfies:

  • w,(u+v)=w,u+w,v.
  • w,αv=αw,v.
  • $\left \langle \mathbf{v,v} \right \rangle \geq 0.