Matrix Inverse Calculator
Work out the exact inverse of a square matrix from matrix (rows on separate lines). A⁻¹ from Gauss–Jordan on [A | I], with every entry an exact fraction, and the page prints the substitution so the result can be checked by hand.
Matrix Inverse Calculator
Work out the exact inverse of a square matrix from matrix (rows on separate lines). A⁻¹ from Gauss–Jordan on [A | I], with every entry an exact fraction, and the page prints the substitution so the result can be checked by hand.
How this page computes
A⁻¹ from Gauss–Jordan on [A | I], with every entry an exact fraction
The page multiplies A by its answer and prints the product. It says the product is the identity only when every entry is exactly the identity entry, not when it is close.
Entries print as reduced fractions beside their decimals, so an inverse of sixths is visible rather than rounded.
The calculation runs entirely in this browser tab; nothing is uploaded.
Matrix Inverse Calculator computes the exact inverse of a square matrix. A⁻¹ from Gauss–Jordan on [A | I], with every entry an exact fraction. The page prints the rule, the numbers substituted into it and the result, so the arithmetic can be checked by hand.
The page multiplies A by its answer and prints the product. It says the product is the identity only when every entry is exactly the identity entry, not when it is close. Pressed with matrix 1 2; 3 4, it answers: [ -2 1 ]
How to use Matrix Inverse Calculator
Enter matrix 1 2; 3 4, then press Run: the page evaluates the exact inverse of a square matrix and prints every line of the working. Typed input is read exactly as written, and a blank field is refused with its name.
Read the first line as the answer and the lines below it as the substitution. If a value is out of range the page refuses it by field and reason instead of printing a number.
With matrix 1 2; 3 4, the answer is [ -2 1 ].
The check is the identity
The page multiplies A by its answer and prints the product. It says the product is the identity only when every entry is exactly the identity entry, not when it is close.
Entries print as reduced fractions beside their decimals, so an inverse of sixths is visible rather than rounded.
What to Expect
Best for
- Working out the exact inverse of a square matrix without a spreadsheet
- Checking a figure someone else quoted
- Seeing the formula behind an answer
Not ideal for
- A singular matrix is refused with its zero determinant, and a matrix above 6 by 6 is refused.
- A quantity the page cannot compute, which it refuses instead of estimating
- Rounding an answer that has an exact form
What this tool keeps
- A⁻¹ from Gauss–Jordan on [A | I], with every entry an exact fraction
- Every input exactly as typed
What may need cleanup
- Nothing: the printed answer is the final output
- A unit conversion, if the inputs were entered in different units
Common errors
- A singular matrix is refused with its zero determinant, and a matrix above 6 by 6 is refused.
- An empty field is refused with the field's name
Example use cases
- Work out the exact inverse of a square matrix for one set of inputs
- Check the result against the formula by hand
- See which input the answer is most sensitive to
Sample input
Matrix Inverse Calculator: matrix 1 2; 3 4
Sample output
[ -2 1 ] — [ 3/2 -1/2 ]
Who this is for
- Students checking a formula
- Anyone who needs the number and the working
Frequently asked questions
What formula does this page use?
A⁻¹ from Gauss–Jordan on [A | I], with every entry an exact fraction. The page prints the substitution as well, so the answer can be checked against the rule.
What does Matrix Inverse Calculator refuse?
A singular matrix is refused with its zero determinant, and a matrix above 6 by 6 is refused.
What does the default example give?
Matrix 1 2; 3 4 gives [ -2 1 ]. Every line below that restates the same arithmetic.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.