Matrix operations
Add, multiply and know when AB ≠ BA.
Lesson 2 of 10 11 min
You will learn
- Add matrices of same order
- Multiply when columns of A = rows of B
- Know identity and transpose
Worked example
A = [[1,2],[0,1]], B = [[1,0],[3,1]]. Find AB.
- Row×col: [[1+6, 0+2],[0+3, 0+1]] = [[7,2],[3,1]].
Answer: [[7,2],[3,1]]
Checkpoint
1. If A is 2×3 and B is 3×4, AB is…