Characteristics

  • Arrow in a hyperplane
  • Magnitude (size)
  • Direction

Norm

The vector norm is a way to measure itโ€™s magnitude.

L1-Norm

Also known as Manhattan distance or Taxicab norm.

L2-Norm

Is the most popular norm, also known as the Euclidean distance (norm). It is the shortest distance to go from one point to another.

Vector and Matrix Operations

Vector Sum

Vector Difference

Multiply Vector by a Scalar

Multiply Vector vs Matrix

The number of matrixโ€™s columns must be equal to the vector rowโ€™s number .

Vector and Matrix Transpose

The transpose is an operation that flips a matrix or vector over its main diagonal, switching its rows and columns. The transpose converts an matrix into an matrix.

For a vector and a matrix :

The respective transposes are:

Dot Product

Also known as inner product, this operation gives an intuition about the projections between the two vectors.

Given the two vectors:

The dot product is given by:

The dot product also can be structured as a matrix multiplication:

  • : Positive projection
  • : Ortogonal vectors
  • : Negative projection