In this lab we shall look at some interesting properties of a Dot product type matrix multiplication. Understanding these properties will become useful as we move forward with machine learning advanced linear algebra. The lab will require you to calculate results to provide a proof for these properties.
You will be able to:
- Understand and analytically explain Distributive, Commutative and Associative properties of dot product
- For each property, create suitably sized matrices with random data and prove the equations
- Ensure that size/dimension assumptions are met while performing calculations (you'll see errors otherwise)
- Calculate the LHS and RHS for all equations and show if they are equal or not
# Your code here
# Your code here
# Your code here
Note: supersciptT denotes the transpose we saw earlier
# Your code here
# Your code here
So now we have seen enough matrix algebra to help us solve a problem of linear equations as we saw earlier in this section. We shall see how to do this next.