Choose the operation that answers the task
Use addition or subtraction for matching entries, multiplication for a row-by-column transformation, transpose to swap rows and columns, the determinant to check whether a square matrix is invertible, and inverse when you need a matrix that reverses A. For multiplication, the result compares A×B with B×A because their order usually changes the answer.
Formulas and result checks
For C=AB, cᵢⱼ is the sum of aᵢₖbₖⱼ over k. For a 2×2 matrix [[a,b],[c,d]], det(A)=ad−bc. A matrix has an inverse only when its determinant is nonzero. The inverse is computed with pivoted row reduction. The displayed A×A⁻¹ residual is an independent numerical check against the identity matrix.
Independent examples
For A=[[1,2],[3,4]] and B=[[5,6],[7,8]], A×B=[[19,22],[43,50]] while B×A=[[23,34],[31,46]]. For A=[[4,7],[2,6]], det(A)=10 and A⁻¹=[[0.6,−0.7],[−0.2,0.4]]. For A=[[6,1,1],[4,−2,5],[2,8,7]], det(A)=−306. These examples are also covered by automated arithmetic tests.
Input mistakes, interpretation and limits
Enter exactly two or three rows and the same number of columns. Separate rows with a new line or semicolon; commas separate entries and are not thousands separators. Zero and negative entries are valid, but a zero or near-singular matrix has no reported inverse. Display rounding changes only the text, not the calculation. Entries are dimensionless unless you supply a consistent unit interpretation outside the calculator. This small-matrix tool does not solve symbolic matrices, eigenvalues, systems larger than 3×3 or error propagation for measured inputs.
Formula sources
OpenStax Matrices and Matrix Operations defines entrywise and row-by-column operations. OpenStax Solving Systems with Inverses covers determinants, row reduction and invertibility.