1. Matrix Multiplication
    • Note that the inner dimensions need to match up
  2. Transpose
    • , this means swap the rows and the columns
  3. Inverse
    • Not all matrices have an inverse
    • The following statements are equivalent
      • A is invertible
      • The rank of A is n
      • RREF of A is the identity matrix
      • For all the system has a unique solution
      • The columns of A are linearly independent
      • The column space of A is
    • The way you find the inverse depends on the size of the matrix but for a simple 2x2 matrix…

Some properties include…

More On Matrix Multiplication

If we want to compute the product of 2 matrices and which is . The entry is… where we just perform a dot product of the row of and columns of .

There are entries to compute here (). Assuming each entry is independent of n requires additions and multiplications. Therefore, directly computing takes time.
There is a better way to do this using Divide and Conquer.
Let’s divide and into four by blocks. This looks like and . Here, the multiplication is expressed as…

Where:

  • This decomposition is called Strassen’s Algorithm. This allows us to compute using 7 matrix multiplications instead of 8.

The recurrance relation for the run-time is: . From master’s theorem, we get which is about .