- Matrix Multiplication
- Note that the inner dimensions need to match up
- Transpose
- , this means swap the rows and the columns
- 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 .