linear algebra 1

Transpose

(AB)T=BTAT\boldsymbol{(AB)}^T = \boldsymbol{B}^T \cdot \boldsymbol{A}^T

Element-wise op, Hadamard product

Dot product

  • projection = Mechanical work is the dot product of force and displacement vectors.

  • output is scalar.

Matrix multiplication is not commutative.

AB=?BA\boldsymbol{A} \cdot \boldsymbol{B} \stackrel{?}{=} \boldsymbol{B} \cdot \boldsymbol{A}

Identity Matrix

Matrix inverse

AA1=I\boldsymbol{A} \cdot \boldsymbol{A} ^{-1} = \boldsymbol{I}

For A1\boldsymbol{A} ^ {-1} to be exist, Ax=b\boldsymbol{Ax} = \boldsymbol{b} must have exactly one solution.

Necessary & sufficient conditions to find inverse matrix = A is square, m = n = rank(A)

Rank

  • linearly independent columns

  • vector space generated by its columns

Norms

  • mapping vectors to non-negative values.

L2L ^ 2 norm, x||x|| = Euclidean distance

squared L2L ^ 2norm = better computationally, but increase slowly near the origin.

L1L ^ 1norm = good for zero & nonzero is important.

LL ^ \inftynorm = absolute value of the element with the largest magnitude in the vector.

Last updated

Was this helpful?