Returns the inverse matrix for the matrix stored in an array.
A numeric array with an equal number of rows and columns.
Formulas that return arrays must be entered as array formulas.
Inverse matrices, like determinants, are generally used for solving systems of mathematical equations involving several variables. The product of a matrix and its inverse is the identity matrix — the square array in which the diagonal values equal 1, and all other values equal 0.
As an example of how a two-row, two-column matrix is calculated, suppose that the range A1:B2 contains the letters a, b, c, and d that represent any four numbers. The following table shows the inverse of the matrix A1:B2.
1 2 A B d/(a*d-b*c) b/(b*c-a*d) c/(b*c-a*d) a/(a*d-b*c)
MINVERSE is calculated with an accuracy of approximately 16 digits, which may lead to a small numeric error when the calculation is not complete.
Some square matrices cannot be inverted and will return the #NUM! error value with MINVERSE. The determinant for a noninvertable matrix is 0.
|Tip Use the INDEX (reference) function to access individual elements from the inverse matrix.|
Example 1: Returning Inverse matrix for the matrix stored in a two-column array
Example 2: Returning Inverse matrix for the matrix stored in a three-column array