Vector Algebra

Magnitude and direction of a vector

  • Magnitude of a vector using L1 and L2 Norm

  • Direction of a vector

Sum and difference of vectors

  • Sum of Vectors

  • Difference of Vectors

Distance between vectors

  • Distance between vectors

Multiplying a vector by a scalar

  • Multiplying a vector by a scalar

The dot product

  • The dot product

  • L2-norm = sqrt(dot product of a vector with itself)

  • Norm of a vector using dot product

Geometric Dot Product

  • Two vectors are orthogonal if their dot product is zero

  • Dot product of Orthogonal vectors

  • Dot product of two vectors

  • The sign of a dot product of two vectors can be either positive, zero or negative. If the dot product is positive it is because the projection of one vector on to the other is in the same direction. If the dot product is negative then the projection of a vector on the other is in opposite direction

  • Sign of a Dot Product

  • Geometric Dot Product of two vectors

Multiplying a matrix with a vector