Worked example
Invert A = [4, 7] [2, 6]. The determinant is 4 × 6 − 7 × 2 = 10, which is not 0, so A has an inverse. Swap 4 and 6, change the signs of 7 and 2, and divide by 10: A⁻¹ = [3/5, −7/10] [−1/5, 2/5]. Multiplying A by A⁻¹ gives the identity matrix [1, 0] [0, 1], which confirms it.
Order matters in multiplication
With B = [1, 2] [3, 4] and C = [5, 6] [7, 8]: B × C = [19, 22] [43, 50], but C × B = [23, 34] [31, 46]. Each entry of a product is a row of the first matrix times a column of the second, added up: the top-left of B × C is 1 × 5 + 2 × 7 = 19.
Determinants of 3×3 matrices
Expand along the first row: det = a₁₁M₁₁ − a₁₂M₁₂ + a₁₃M₁₃, where each M is the 2×2 determinant left after crossing out that entry’s row and column. The signs alternate +, −, +. For 4×4 matrices the calculator row-reduces to a triangular matrix instead, which is quicker: the determinant is the product of the diagonal, with the sign changed for each row swap.
Where matrices are used
Solving systems of linear equations (x = A⁻¹b), rotating and scaling images and 3D models, Markov chains and Google-style ranking, economics input-output tables, and the layers of neural networks all come down to the operations here. Spreadsheets have them too: MDETERM, MINVERSE and MMULT in Excel and Google Sheets, though those work in decimals.
Related tools
- Quadratic equation solver
- LCM and GCF calculator
- Prime number checker
- Scientific notation converter
- Long division calculator
- Pythagorean theorem calculator
- Exponent and log calculator
- Fraction calculator
- Scientific calculator
Sources
Checked on November 26, 2026:
Frequently asked questions
How do I find the inverse of a matrix?
What does the determinant tell me?
Why are the answers fractions?
Can I multiply matrices in either order?
Can I type decimals and fractions?
How do I copy the result?
Last updated: 2026-11-26