Home / Blog / Math & Scientific

Math & Scientific

Find a Matrix Inverse and Verify the Identity Product

Work through a two-by-two inverse, verify multiplication gives the identity, and recognize singular matrices and the effect of copying rounded results.

Find a Matrix Inverse and Verify the Identity Product

Define the result you are looking for

The inverse of a square matrix A is a matrix written A⁻¹ that reverses its multiplication: A times A⁻¹ equals the identity matrix. For a two-by-two problem, the identity has rows 1,0 and 0,1. Finding an inverse is not the same as taking the reciprocal of every entry. For example, replacing a zero entry with its reciprocal would be undefined, yet many matrices containing zeros are perfectly invertible. Start with the whole matrix and its row-column structure rather than treating its values independently.

Apply the two-by-two formula

For A with rows 4,7 and 2,6, calculate the determinant as 4×6−7×2=10. Swap the diagonal entries, change the signs of the off-diagonal entries, then divide the resulting matrix by ten. This produces rows 0.6,−0.7 and −0.2,0.4. The operation uses the original determinant, not a determinant recomputed after swapping entries. Writing the intermediate matrix as rows 6,−7 and −2,4 makes the sign changes easier to inspect before the final division.

Verify all four entries of the product

Multiply A by the candidate inverse. The top-left entry is 4×0.6+7×(−0.2)=1. The top-right is 4×(−0.7)+7×0.4=0. The bottom-left is 2×0.6+6×(−0.2)=0, and the bottom-right is 2×(−0.7)+6×0.4=1. The result is the identity, as required. Checking one diagonal entry alone would miss some incorrect candidates. This explicit product is especially useful after copying a negative value or transposing a matrix by mistake.

Use the dedicated local inverse tool

Enter the first row as 4 7 and the second row as 2 6 in the Inverse Matrix Calculator, then calculate. Each line represents one row; keep the same number of entries in every row. The result gives the inverse and the determinant. For an independent product check, open the general Matrix Calculator and choose multiplication, putting the original matrix in A and the returned inverse in B. The local calculation is numerical and reports rounded entries, so it should not be mistaken for an exact symbolic fraction engine.

Recognize when an inverse cannot exist

The matrix with rows 1,2 and 2,4 has determinant 1×4−2×2=0. Its second row is twice the first, and it is singular. No ordinary inverse exists, so the formula must not divide by the zero determinant. A rectangular matrix also lacks an ordinary square inverse in this tool. Other mathematical concepts such as a pseudoinverse answer different questions and are not computed here. A rejection of rectangular or singular input is therefore a mathematical limitation of the requested operation rather than a reason to alter the data until an output appears.

Keep rounding and numerical sensitivity in view

An inverse may contain repeating decimals. Copying displayed entries into another calculation discards digits, and multiplying the rounded matrix back may produce values slightly different from zero and one. Retain exact fractions during a hand calculation when convenient, or use an appropriate numerical method with enough precision for the task. Very nearly dependent rows can also make a solution sensitive to small input changes. The local inverse routine normalizes rows and uses a numerical pivot threshold to identify a resolvable inverse; it is not a proof engine or a general guarantee of reliability for nearly dependent matrices.

Connect the inverse to a system carefully

If A times the unknown column equals b and A is invertible, multiplying by A⁻¹ gives the unknown column as A⁻¹b. For the example matrix, choose b as the column 11,8. The inverse product gives 0.6×11−0.7×8=1 and −0.2×11+0.4×8=1. Substituting into the original equations gives 4+7=11 and 2+6=8. For a large numerical system, directly solving it is generally a separate operation from printing an inverse. This small example demonstrates the relationship and verification without claiming the local tool handles every matrix-solving method.

Use the Inverse Matrix Calculator

Open Inverse Matrix Calculator

Source and scope

MIT OpenCourseWare: matrix algebra and inverse operations