Inverse

Inverse[m]

gives the inverse of a square matrix m.

Details and Options

  • Inverse works on both symbolic and numerical matrices.
  • For matrices with approximate real or complex numbers, the inverse is generated to the maximum possible precision given the input. A warning is given for illconditioned matrices.
  • Inverse[m,Modulus->n] evaluates the inverse modulo n.
  • Inverse[m,ZeroTest->test] evaluates test[m[[i,j]]] to determine whether matrix elements are zero. The default setting is ZeroTest->Automatic.
  • A Method option can also be given. Settings for exact and symbolic matrices include "CofactorExpansion", "DivisionFreeRowReduction", and "OneStepRowReduction". The default setting of Automatic switches among these methods depending on the matrix given.

Examples

open all close all

Basic Examples  (3)

Inverse of a 2×2 matrix:

In[1]:=
Click for copyable input
Out[1]=

Enter the matrix in a grid:

In[1]:=
Click for copyable input
Out[1]=

Inverse of a symbolic matrix:

In[1]:=
Click for copyable input
Out[1]=

Applications  (3)

Properties & Relations  (1)

Possible Issues  (3)

Introduced in 1988
(1.0)
|
Updated in 1996
(3.0)