Permutation Matrices are Orthogonal Square Matrices that are formed by Re-Arranging the Columns and/or Rows of Identity Matrix and are used to Re-Arrange the Columns and/or Rows of any other given Matrix.
Following are some examples of Permutation Matrices
The Rows of any \(M \times N\) Matrix \(A\) can be Rearranged by Pre-Multiplying the Matrix \(A\) with any \(M \times M\) Permutation Matrix \(P\).
The Columns of any \(M \times N\) Matrix \(A\) can be Rearranged by Post-Multiplying the Matrix \(A\) with any \(N \times N\) Permutation Matrix \(P\).
To demonstrate how the Permutation Matrices work, let's consider a \(4 \times 4\) Matrix \(A\) having elements \(a_{ij}\) and a \(4 \times 4\) Permutation Matrix \(P\) having elements \(p_{ij}\) as given below
Please note that The Unity Element of \(i^{th}\) Row and \(j^{th}\) Column of the Permutation Matrix \(P\) Gets Multiplied to the \(j^{th}\) Row of Matrix \(A\) and the \(j^{th}\) Row of Matrix \(A\) gets Re-Arranged to \(i^{th}\) Row of Matrix \(A\).
Post-Multiplying the Permutation Matrix \(P\) with Matrix \(A\) Re-Arranges Columns of the Matrix \(A\) as given in the following
Please note that The Unity Element of \(i^{th}\) Row and \(j^{th}\) Column of the Permutation Matrix \(P\) Gets Multiplied to the \(i^{th}\) Column of Matrix \(A\) and the \(i^{th}\) Column of Matrix \(A\) gets Re-Arranged to \(j^{th}\) Column of Matrix \(A\).