liveBook · Manning

Matrix inversion

Matrix inversion is the operation of computing a matrix that, when multiplied by a given invertible matrix, produces the identity matrix.

How 2 Manning books explain it

Hacking Cryptography

Matrix inversion is the operation of finding a matrix that multiplies with a given invertible matrix to produce the identity matrix.

How it is used
Recovers LFSR tap coefficients from observed output bits during a stream-cipher exploit.
How deep it goes
Explains matrix construction, Boolean arithmetic, inversion failure, and executable recovery, but stops short of deriving inversion internals.
Examples
Demonstrates inversion through Go recovery routines and a known-prefix attack that decrypts a timestamp.
What you can do after
Diagnose and clone an LFSR when enough observed bits and a valid invertible state matrix are available.

Read how Hacking Cryptography explains matrix inversion →

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.

How it is used
Uses inversion to undo geometrical transformations and clean up matrix-based computations.
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 you can do after
Apply inversion with SymPy and recognize when multiplication produces an identity matrix.

Read how Geometry for Programmers explains matrix inversion →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.