{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $n \\ge 1$ and let $\\sigma$ be a permutation of $\\{1, \\dots, n\\}$.\nThe *permutation matrix* of $\\sigma$ is the $n \\times n$ matrix $P_\\sigma$ with entries\n$$(P_\\sigma)_{ij} = \\begin{cases} 1 \u0026 \\text{if } i = \\sigma(j), \\\\ 0 \u0026 \\text{otherwise.} \\end{cases}$$\nA *permutation matrix* is a matrix of the form $P_\\sigma$.\n\n## Remarks\n\nThe matrix $P_\\sigma$ sends the standard basis vector $e_j$ to $e_{\\sigma(j)}$.\nWith this convention, $P_\\sigma P_\\tau = P_{\\sigma \\tau}$; some authors use the transposed convention.\nEach permutation matrix is invertible with $P_\\sigma^{-1} = P_\\sigma^T$, and $\\det P_\\sigma = \\sgn \\sigma$.\nThe matrix $\\begin{pmatrix} 0 \u0026 1 \\\\ 1 \u0026 0 \\end{pmatrix}$ is the permutation matrix that exchanges two coordinates.\n\n## Explanations\n\n### L1 human\n\nA permutation matrix is the identity matrix with its columns shuffled.\nMultiplying a vector by it shuffles the entries of the vector in the same way.\nEach row and each column has exactly one $1$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "08SP3DF8NB",
    "kind": "definition",
    "msc": [
      "15A99",
      "05A05"
    ],
    "name": "Permutation matrix",
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Permutation_matrix"
      }
    ],
    "tag": "0Q5SM60HTH",
    "uses": [
      "0CP7YY6NAG"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0Q5SM60HTH/",
  "links": [
    {
      "field": "defines",
      "target": "08SP3DF8NB"
    },
    {
      "field": "uses",
      "target": "0CP7YY6NAG"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0Q5SM60HTH.md",
  "msc": [
    "15A99",
    "05A05"
  ],
  "name": "Permutation matrix",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0Q5/0Q5SM60HTH.md",
  "status": null,
  "tag": "0Q5SM60HTH",
  "uri": "m2://0Q5SM60HTH",
  "url": "https://math2.tamnd.com/wiki/permutation-matrix-definition/",
  "writing": {
    "tag": "0Q5SM60HTH",
    "kind": "definition",
    "level": "W1",
    "next": [
      {
        "what": "edge instance_of in",
        "note": "one example",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge not_instance_of in",
        "note": "one non-example that fails one clause",
        "have": 0,
        "want": 1
      }
    ]
  }
}
