# Matrix inversion

← Back: Minors and cofactors |
Overview: Matrix inversion |
Next: Gauß-Jordan-Algorithm → |

The inverse of an n-by-n square matrix is denoted as and defined such that

where is the n-by-n identity matrix.

Prerequesite for the inversion is, that is an n-by-n square matrix and that is regular. Regular means that the row and column vectors are linearly independent and so the determinant is nonzero:

Otherwise the matrix is called singular.

Before determining the inverse of a matrix it is always useful to compute the determinant and check whether the matrix is regular or singular. If it is singular it is not possible to determine the inverse because there is no inverse. The following two subarticles describe two of the common procedures to determine the inverse of a matrix.

Transformation matrices have a special structure, that is described in the transformations chapter. For this special matrix structure an easier method to invert the matrix exists. This method is presented in

Example: inverse of a 2-by-2 matrix
This is a simple example for the inverse of a 2-by-2 matrix: |

Example: inverse of a 3-by-3 matrix
This is an example for the inverse of a 3-by-3 matrix: |

Example: inverse of a 4-by-4 matrix
This example is a proof of equation 3.40 in the robotics script (see page 3-61): |