A × B gives 19 22 43 50, B × A gives 23 34 31 46

The same two 2×2 matrices multiplied in both orders on the same card — and one thing that survives the swap.

Matrices and vectors · Level: Classroom · Updated on 2026-11-10

Put A as 1, 2 / 3, 4 and B as 5, 6 / 7, 8 into the matrix calculator: the A × B row reads 19 22 43 50, because 1·5 + 2·7 = 19 and 3·5 + 4·7 = 43 and so on. Swap the operands — B first, A second — and the same row reads 23 34 31 46. Same four numbers in, different matrix out: multiplication of matrices is not commutative, and these are the smallest entries that show it.

What does survive is worth knowing. Both products have determinant 4, which is det(A)·det(B) = (−2)(−2), and both have trace 69: 19 + 50 = 23 + 46. So AB ≠ BA while det(AB) = det(BA) and tr(AB) = tr(BA) — the two invariants textbooks use to check that a student has multiplied in some order at all. The workbench links below do those two checks in one line each.

Answer

19 22 43 50

How to read it

The A × B row on the matrix calculator for A = 1, 2 / 3, 4 and B = 5, 6 / 7, 8. The second link loads the same pair in the other order; the third is the determinant of the first product.

Source

Matrix multiplication is not commutative; for A = [[1,2],[3,4]] and B = [[5,6],[7,8]], AB ≠ BA while det(AB) = det(BA) = det(A)det(B) = 4 and tr(AB) = tr(BA) = 69

Work it in the calculator

These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.

This is an independent third-party tool site. It is not affiliated with, sponsored by, or authorised by Casio, Texas Instruments or their distributors. Model names and product names are trademarks of their respective owners and appear here only to identify devices.

The keystroke sequences in these manuals were written from this site's own layout data — the same data the online calculator renders — plus publicly available product facts. Specifications and regional configurations are confirmed against the physical device and the manufacturer's most recent material.