Linear Algebra
Matrix Multiplication
Multiply matrices A·B.
Formula
Formula
Cij = Σk Aik Bkj
Variables
| Symbol | Definition | Type & range | Units | Role |
|---|---|---|---|---|
| A | m×n matrix | real matrix | — | input |
| B | n×p matrix | real matrix | — | input |
Try it yourself
Interactive calculator
Worked examples
Example 1
GivenA = 1, 2; 3, 4, B = 5, 6; 7, 8
Result
| 19 | 22 |
| 43 | 50 |
Example 2
GivenA = 1, 0; 0, 1, B = 9, 8; 7, 6
Result
| 9 | 8 |
| 7 | 6 |