Find determinants, inverses, transposes, RREF and rank, or multiply, add and subtract matrices, with exact fractions. det [[1, 2], [3, 4]] = 1·4 − 2·3 = −2, and [[4, 7], [2, 6]]⁻¹ = [[0.6, −0.7], [−0.2, 0.4]].
Type each row on its own line. Works up to 6×6.
One row per line (or separate rows with ;), entries separated by spaces or commas. Up to 6×6. Fractions and decimals are kept exact.
det(A) = -9
A = [[2, 1, 3], [0, −1, 4], [1, 2, 0]]
det(A) = −9, so A is invertible.
Use the 2×2 formula.
[[0.6, −0.7], [−0.2, 0.4]]. Check: A·A⁻¹ = I.
Rows of A times columns of B.
[[19, 22], [43, 50]]
Press Explain the steps with AI under any answer and the MathAI GPT math solver opens with your numbers already filled in, then explains the method line by line and answers follow-up questions. You can also type or photograph the whole question. On your phone, use MathAI GPT for iPhone or MathAI GPT for Android.
For [[a, b], [c, d]], det = ad − bc. For [[1, 2], [3, 4]]: 1·4 − 2·3 = −2.
Expand along the first row: det = a(ei − fh) − b(di − fg) + c(dh − eg). For [[2, 1, 3], [0, −1, 4], [1, 2, 0]]: 2(0 − 8) − 1(0 − 4) + 3(0 + 1) = −16 + 4 + 3 = −9.
A 2×2 matrix [[a, b], [c, d]] has inverse (1/(ad − bc))·[[d, −b], [−c, a]]. For [[4, 7], [2, 6]], ad − bc = 10, so the inverse is [[0.6, −0.7], [−0.2, 0.4]]. Larger matrices are inverted by row-reducing [A | I]. If det = 0 there is no inverse.
Entry (i, j) of A×B is row i of A dotted with column j of B, so A’s column count must equal B’s row count. [[1, 2], [3, 4]] × [[5, 6], [7, 8]] = [[19, 22], [43, 50]]. Order matters: A×B is usually not B×A.
RREF is the matrix after row operations make every pivot 1 with zeros above and below it. The number of pivots is the rank. [[1, 2, 3], [4, 5, 6], [7, 8, 9]] reduces to [[1, 0, −1], [0, 1, 2], [0, 0, 0]], so its rank is 2.
Yes. Every entry is kept as an exact fraction, so an inverse shows 1/3 rather than 0.3333, and decimals you type are converted exactly.