The permutation matrix is a square matrix with 1's in the positions corresponding to the permutation and 0's elsewhere. In this case, the permutation matrix is:
$$ P = \left(\begin{array}{cccc} 0 & 1 & 0 & 0 \\ 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1
Show more…