2x2 Matrix Multiplication Calculator
Multiply two 2x2 matrices instantly.
Enter values for both matrices to get the product with all four elements using the row-by-column dot product method.
Matrix multiplication combines two matrices to produce a new matrix. Each entry in the product matrix is computed by taking the dot product of a row from the first matrix with a column from the second matrix.
For two 2x2 matrices A and B, the product C = A x B is:
A = [a b] B = [e f] C = [ae+bg af+bh]
[c d] [g h] [ce+dg cf+dh]
Where:
- C[1,1] = (Row 1 of A) dot (Column 1 of B) = ae + bg
- C[1,2] = (Row 1 of A) dot (Column 2 of B) = af + bh
- C[2,1] = (Row 2 of A) dot (Column 1 of B) = ce + dg
- C[2,2] = (Row 2 of A) dot (Column 2 of B) = cf + dh
Practical Example:
[1 2] × [5 6] = [1×5+2×7 1×6+2×8] = [19 22]
[3 4] [7 8] [3×5+4×7 3×6+4×8] [43 50]
C[1,1] = 1x5 + 2x7 = 5 + 14 = 19 C[1,2] = 1x6 + 2x8 = 6 + 16 = 22 C[2,1] = 3x5 + 4x7 = 15 + 28 = 43 C[2,2] = 3x6 + 4x8 = 18 + 32 = 50
When to use this calculator: Matrix multiplication is fundamental in linear algebra and appears in computer graphics (transformations, rotations), physics (quantum mechanics, relativity), engineering (circuit analysis, structural mechanics), machine learning (neural networks), and economics (input-output models).
Key rules:
- Matrix multiplication is not commutative: A x B does not usually equal B x A. Order matters.
- Matrix multiplication is associative: (A x B) x C = A x (B x C)
- The identity matrix I = [[1,0],[0,1]] is the matrix equivalent of multiplying by 1: A x I = I x A = A
- If det(A) and det(B) are both non-zero, then det(A x B) = det(A) x det(B)
Common Mistakes:
- Confusing matrix multiplication with element-wise multiplication. Matrix multiplication uses dot products of rows and columns, not just multiplying matching positions.
- Assuming A x B = B x A. This is almost never true for matrices.
- For larger matrices, the number of columns in A must equal the number of rows in B, or multiplication is undefined.