Type your numbers straight into the grids for matrix A and matrix B. One tap gives A + B, A − B, A × B or B × A, and each matrix has its own buttons for transpose, determinant, inverse, power and multiplying by a number. Any answer can be sent back into A or B to continue the working.
Set the number of rows and columns with the + and − buttons.
Type the entries into the boxes. An empty box counts as 0.
Tap an operation such as A × B, Determinant or Inverse.
Read the answer, or put it back into A or B for the next step.
Add or subtract: Same size only; combine entries in the same position
Multiply: Columns of A must equal rows of B; entry = row of A · column of B
2×2 determinant: |A| = ad − bc
Inverse: A⁻¹ = adj(A) ÷ |A|, only when |A| is not 0
The matrix calculator works on tables of numbers arranged in rows and columns. You type the numbers of matrix A and matrix B into grids on the screen, choosing any size from 1 × 1 up to 5 × 5. With one tap you can add them, subtract them or multiply them in either order.
Each matrix also has its own buttons. Transpose turns rows into columns. Determinant gives the single number that tells whether the matrix can be inverted. Inverse finds the matrix that undoes the original one, with entries shown as fractions the way textbooks print them. You can raise a square matrix to a power or multiply every entry by a number. Any answer can be placed back into A or B, so a long problem can be done step by step without retyping. This covers the matrices and determinants chapters of Class 12 and first-year engineering mathematics.
1. To add or subtract, check that both matrices have the same number of rows and columns, then combine the entries in matching positions.
2. To multiply A by B, check that the columns of A equal the rows of B.
3. Each entry of the product is one row of A multiplied term by term with one column of B, and added up.
4. For a 2 × 2 matrix [a b; c d], the determinant is ad − bc.
5. For a 3 × 3 matrix, expand along the first row: each entry times the determinant of the 2 × 2 matrix left after removing its row and column, with signs + − +.
6. If the determinant is not zero, the inverse is the adjoint (transpose of the cofactor matrix) divided by the determinant.
7. Check by multiplying the matrix with its inverse. The result must be the identity matrix.
Geometrically, a 2 × 2 matrix transforms the unit square into a parallelogram, and the determinant is that parallelogram's signed area. For 3 × 3, it is the signed volume of the transformed unit cube. A determinant of 0 means the shape has been squashed flat into a line or plane, so information is lost and cannot be recovered. That is exactly why a matrix with zero determinant, called singular, has no inverse. A negative determinant means orientation has been flipped, like a mirror image.
Multiplying A by its adjoint gives a matrix whose diagonal entries are expansions of det(A) along each row, and whose off-diagonal entries are expansions using the wrong row's cofactors. Those off-diagonal sums equal the determinant of a matrix with two identical rows, which is zero. So A × adj(A) = det(A) × I, and dividing by det(A) gives A⁻¹ = adj(A) ÷ det(A). The 2 × 2 swap-and-negate rule is this same formula written out.
The transpose does not change the determinant: det(Aᵀ) = det(A). The determinant of a product is the product of determinants, det(AB) = det(A) det(B), and det(A⁻¹) = 1 ÷ det(A). The inverse of a product reverses order: (AB)⁻¹ = B⁻¹A⁻¹. Swapping two rows changes the determinant's sign, and multiplying a row by k multiplies it by k. The calculator uses floating-point arithmetic, so a determinant that should be exactly zero can occasionally appear as a tiny non-zero number.
Riya is checking her Class 12 homework, where she found the inverse of the 2 × 2 matrix with rows 4, 7 and 2, 6 by hand.
Determinant: ad − bc = 4×6 − 7×2 = 10
Inverse = (1/det) × [d, −b; −c, a]: [ 0.6, -0.7 ] [ -0.2, 0.4 ]
Answer: Determinant 10; Inverse [ 0.6, -0.7 ] [ -0.2, 0.4 ]; Transpose [ 4, 2 ] [ 7, 6 ]
Forgetting the alternating signs of cofactors, especially the minus on the middle term of row 1.
Using the cofactor matrix itself as the adjoint without transposing it.
For 2 × 2, negating a and d instead of swapping them, and swapping b and c instead of negating them.
Entering the matrix column by column instead of row by row.
Trying to invert a matrix whose determinant is zero, or dividing by the determinant twice.
Checking Class 12 answers for determinants, adjoints and inverses.
Solving systems of linear equations by the matrix method X = A⁻¹B.
Undoing 2D and 3D transformations in computer graphics.
Finding the area of a triangle from coordinates using a determinant.
Testing whether a set of vectors is linearly independent.
Why does my matrix have no inverse?
Its determinant is zero, which means its rows are linearly dependent.
How can I check the inverse?
Multiply A by its inverse; the result should be the identity matrix.