How it works
Fill the four cells of matrix A and the four of matrix B, then pick the operation. Addition and subtraction work cell by cell. Multiplication rows times columns: each result cell is the row of A dotted with the column of B. The determinant lines below show det(A) and det(B), the scaling factor each matrix applies to area.
Formula
Determinant: det = ad - bc for a matrix [[a, b], [c, d]].
Example
Example in plain words. A = [[1, 2], [3, 4]] and B = [[5, 6], [7, 8]], multiplied.
The product is [[19, 22], [43, 50]].
Both determinants come out to -2.
Frequently asked questions
What does the determinant tell me?
It is the area-scaling factor of the transformation, and its sign tells whether orientation flips. A zero determinant means the matrix squashes the plane onto a line and has no inverse.
Why only 2x2?
Two-by-two matrices cover most homework and graphics work, and stay readable on a phone. For bigger systems, a dedicated linear algebra tool fits better.