Overview
Matrix multiplication combines rows from the first matrix with columns from the second. This multiplies two 2×2 matrices and gives the determinant of the result.
Enter each matrix row by row. The order matters, since A × B usually differs from B × A.
Worked examples
| Inputs | Result |
|---|---|
| A, row 1, column 11A, row 1, column 22A, row 2, column 13A, row 2, column 24B, row 1, column 15B, row 1, column 26B, row 2, column 17B, row 2, column 28 | Row 1: 19, 22Row 2: 43, 50Determinant of A × B: 4 |
Show 2 more examples
| A, row 1, column 11A, row 1, column 20A, row 2, column 10A, row 2, column 21B, row 1, column 15B, row 1, column 26B, row 2, column 17B, row 2, column 28 | Row 1: 5, 6Row 2: 7, 8Determinant of A × B: -2 |
| A, row 1, column 12A, row 1, column 20A, row 2, column 11A, row 2, column 23B, row 1, column 14B, row 1, column 21B, row 2, column 10B, row 2, column 22 | Row 1: 8, 2Row 2: 4, 7Determinant of A × B: 48 |
How it works
Each result entry is the dot product of a row of A and a column of B. For example, the top-left entry is the first row of A with the first column of B. The determinant of the product equals the product of the two determinants.
The formula
| a–d | Entries of matrix A |
| e–h | Entries of matrix B |
Practical tips
- [1 2; 3 4] × [5 6; 7 8] = [19 22; 43 50].
- Multiplying by the identity matrix [1 0; 0 1] leaves a matrix unchanged.
- Don’t just multiply matching entries, which is a different operation.
Frequently asked questions
Is matrix multiplication commutative?
No. Swapping the order usually changes the answer.
When can two matrices be multiplied?
When the first has as many columns as the second has rows.