{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Summary\n\nRow reduction computes the inverse of a square matrix, or shows that no inverse exists.\nLet $A$ be an $n \\times n$ matrix over a field $F$, and form the $n \\times 2n$ [[augmented matrix|0T6MWGZSXA]] $[A \\mid I_n]$.\nApply [[Gauss–Jordan elimination|098D6FQN3N]] to it.\nIf the left block becomes $I_n$, then the result is $[I_n \\mid A^{-1}]$, and the right block is the inverse.\nIf the left block gets a zero row, then $A$ is not [[invertible|0EB9N0S33C]].\n\n## Remarks\n\nThe method works because each row operation is left multiplication by an [[elementary matrix|01REXW3WWE]].\nIf $E_k \\cdots E_1 A = I_n$, then $E_k \\cdots E_1 = A^{-1}$, and the same product changes $I_n$ into $A^{-1}$.\nFor $A = \\begin{pmatrix} 2 \u0026 1 \\\\ 1 \u0026 1 \\end{pmatrix}$, the method gives $A^{-1} = \\begin{pmatrix} 1 \u0026 -1 \\\\ -1 \u0026 2 \\end{pmatrix}$.\n\n## Explanations\n\n### L1 human\n\nWe write the identity matrix next to $A$ and row reduce the whole wide matrix.\nWhen the left half becomes the identity, the right half has become $A^{-1}$.\nThe same row operations that turn $A$ into $I$ turn $I$ into $A^{-1}$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "concept",
    "msc": [
      "15A09",
      "65F05"
    ],
    "name": "Computing the inverse by row reduction",
    "sources": [
      {
        "locator": "Finding the inverse of a matrix",
        "url": "https://en.wikipedia.org/wiki/Gaussian_elimination"
      }
    ],
    "tag": "0Z83DHFMYM"
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/0Z83DHFMYM/",
  "links": null,
  "markdown": "https://math2.tamnd.com/node/0Z83DHFMYM.md",
  "msc": [
    "15A09",
    "65F05"
  ],
  "name": "Computing the inverse by row reduction",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0Z8/0Z83DHFMYM.md",
  "status": null,
  "tag": "0Z83DHFMYM",
  "uri": "m2://0Z83DHFMYM",
  "url": "https://math2.tamnd.com/wiki/computing-the-inverse-by-row-reduction/",
  "writing": {
    "tag": "0Z83DHFMYM",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
