Identity matrix

Multiplying a scalar number by 1 will result in the original scalar number. There is a matrix analogue to this, the identity matrix. The identity matrix is commonly written as I. If a matrix is multiplied by the identity matrix, the result is the original matrix Identity matrix.

In the identity matrix, all non-diagonal elements are 0, while all diagonal elements are one Identity matrix. The identity matrix looks like this:

Identity matrix

Getting ready

Because the identity matrix has ...

Get Game Physics Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.