Matrix multiplication identity

For multiplication of any matrix, the identity matrix is:

\mathbf{I_n} = \begin{bmatrix} 1 & 0 & 0 & \cdots & 0 \\ 0 & 1 & 0 & \cdots & 0 \\ 0 & 0 & 1 & \cdots & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & 0 & \cdots & 1 \end{bmatrix}

For a 2x2 identity matrix, it is:

\mathbf{I_2}= \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}

Proof for a 2x2 identity matrix

Let \mathbf{A} = \begin{bmatrix} a & b \\ c & d \end{bmatrix} and \mathbf{I_2} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}, then:

Proof for a 3x3 identity matrix

This is the same thing, but not quite so neat to write out…

Let \mathbf{A} = \begin{bmatrix} a & b & c \\ d & e & f \\ g & h & i \end{bmatrix} and \mathbf{I_3} = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}, then: