liveBook · Manning

Matrix inversion

As explained in Geometry for Programmers

Matrix inversion is the operation of finding a matrix that multiplies with a given matrix to produce an identity matrix, when such a matrix exists.

Matrix inversion finds a matrix that multiplies with a given matrix to produce an identity matrix. Such an inverse may or may not exist. section 2.5.2

The operation is useful for undoing a geometrical transformation: multiplying by the inverse reverses the original matrix transformation. section 2.5.2

Keep these practical points in mind:

  • Treat the identity matrix as the result that leaves the represented transformation unchanged. section 2.5.2
  • Expect matrix orientation to matter, because transposition changes rows into columns and can affect how routines operate. section 2.5.2
  • Use SymPy when manual inversion is unnecessary; hand methods remain available for learning how inversion works. section 2.5.2

An inverse pair

Given a matrix and its inverse, either matrix can be multiplied by the other to obtain the identity matrix. Swapping the two matrices preserves the relationship. section 2.5.2

How Geometry for Programmers covers it

How deep it goes
Defines inverse matrices and identity multiplication, but defers manual algorithms and detailed applications.
Examples
Uses a paired-matrix example whose products produce the identity matrix.
What it assumes
Assumes basic matrix operations and introduces inversion through identity matrices and transposition.
What you can do after
Apply inversion with SymPy and recognize when multiplication produces an identity matrix.
How it connects
Connects matrix multiplication, identity matrices, transposition, matrix algebra, and geometrical transformations.

Also explained in

Compare how 2 books explain matrix inversion →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Geometry for Programmers. The section links point to the parts of the book it draws on.