In mathematics, an involutory matrix is a square matrix that is its own inverse. That is, multiplication by the matrix A n × n {\displaystyle {\mathbf {A}}_{n\times n}} is an involution if and only if A 2 = I , {\displaystyle {\mathbf {A}}^{2}={\mathbf {I}},} where I {\displaystyle {\mathbf {I}}} is the n × n {\displaystyle n\times n} identity matrix. Involutory matrices are all square roots of the identity matrix. This is a consequence of the fact that any invertible matrix multiplied by its inverse is the identity.