Matrix Multiplication Calculator (2x2, 3x3) and Inverse Matrix Steps
Quick answer: you can multiply A × B only when columns of A equal rows of B. Each cell is the row of A times the column of B added up. [1 2; 3 4] × [5 6; 7 8] = [19 22; 43 50]. The 2x2 inverse is 1/(ad - bc) × [d -b; -c a].
How to multiply and invert matrices
- Check size: (m x n) × (n x p) gives m x p.
- Cell (i, j) = row i of A dot column j of B.
- 2x2 inverse: det = ad - bc; swap a and d, negate b and c, divide by det.
- 3x3 inverse: find the determinant, the matrix of cofactors, transpose it (adjugate) and divide by the determinant.
- If det = 0 there is no inverse.
Roman Urdu: Pehle matrix ki row ko doosre ki column se zarb de kar jama karein.
Matrix Multiplication Calculator table
Quick reference values you can check your own numbers against.
| Matrix A | Matrix B | A x B |
|---|---|---|
| [1 2; 3 4] | [5 6; 7 8] | [19 22; 43 50] |
| [2 0; 1 3] | [1 4; 2 5] | [2 8; 7 19] |
| [1 0 2; 0 1 3; 4 0 1] | [1 2 0; 0 1 1; 2 0 1] | [5 2 2; 6 1 4; 6 8 1] |
| 2x3 | 3x2 | 2x2 (12 multiplications) |
| 3x3 | 3x3 | 3x3 (27 multiplications) |
| 2x2 | 2x3 | 2x3 (12 multiplications) |
| 2x3 | 2x3 | Not possible |
Rows are separated by semicolons. Matrix multiplication is not commutative: A x B is usually not B x A.
Multiplying integers, binomials and radicals
Matrix cells are plain multiplications and additions. For a single multiplication of integers use the calculator hub; for fractions use the fraction calculator, and for averages the average calculator. Binomial rule: (a + b)(c + d) = ac + ad + bc + bd. Radicals: sqrt a × sqrt b = sqrt(ab).