Math 2.0

definition

Permutation matrix

Definition

Let n≥1n \ge 1 and let σ\sigma be a permutation of {1,…,n}\{1, \dots, n\}. The permutation matrix of σ\sigma is the n×nn \times n matrix PσP_\sigma with entries (Pσ)ij={1if i=σ(j),0otherwise.(P_\sigma)_{ij} = \begin{cases} 1 & \text{if } i = \sigma(j), \\ 0 & \text{otherwise.} \end{cases} A permutation matrix is a matrix of the form PσP_\sigma.

Remarks

The matrix PσP_\sigma sends the standard basis vector eje_j to eσ(j)e_{\sigma(j)}. With this convention, PσPτ=PστP_\sigma P_\tau = P_{\sigma \tau}; some authors use the transposed convention. Each permutation matrix is invertible with Pσ−1=PσTP_\sigma^{-1} = P_\sigma^T, and det⁡Pσ=sgn⁡σ\det P_\sigma = \sgn \sigma. The matrix (0110)\begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} is the permutation matrix that exchanges two coordinates.

Explanations

L1 human

A permutation matrix is the identity matrix with its columns shuffled. Multiplying a vector by it shuffles the entries of the vector in the same way. Each row and each column has exactly one 11.

What this node needs for W2
  • edge instance_of in: one example (0 of 1)
  • edge not_instance_of in: one non-example that fails one clause (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

What this needs

To read this node, read these 3 nodes in this order. The foundations come first, and the list ends with this node.

Each node uses the nodes above it. The colour of the bar on a box shows the evidence level, and the box also gives it as text. The list below has the same nodes.
  • no evidence level
  1. Matrix definition
  2. Square matrix definition
  3. Permutation matrix definition

Sources

  1. Web https://en.wikipedia.org/wiki/Permutation_matrix, lead section