{
  "aliases": [
    "row-reduction"
  ],
  "backlinks": null,
  "body": "\n## Summary\n\nGaussian elimination is an algorithm that changes a matrix into a [[row echelon form|0VYCDGMJJJ]] by [[elementary row operations|04XWH28452]].\nIt works column by column, from left to right.\nIn each column, it chooses a nonzero entry as [[pivot|0J0BBCMJ5W]] and moves its row up.\nThen it adds multiples of that row to the rows below, to make their entries in that column zero.\nApplied to the [[augmented matrix|0T6MWGZSXA]] of a [[system of linear equations|0GT4WWGWH2]], it gives an equivalent system that [[back substitution|0ATFVE08MW]] solves.\nFor an $n \\times n$ matrix, it uses on the order of $n^3$ arithmetic operations.\n\n## Remarks\n\nThe algorithm also computes the [[rank|0ZC9YTXZRY]] of a matrix and, with a record of the row operations, its [[determinant|00KDZRW4C0]].\nIt also tests if a system is [[consistent|0X6V9B1V10]]: the system is inconsistent exactly when a row $(0, \\dots, 0 \\mid c)$ with $c \\ne 0$ appears.\nThe method was known in China in the book *The Nine Chapters on the Mathematical Art*, long before Gauss.\n\n## Explanations\n\n### L1 human\n\nGaussian elimination is the method of solving equations by removing one unknown at a time.\nWe use the first equation to remove $x_1$ from all the other equations, then the second to remove $x_2$, and so on.\nAt the end, the last equation has the fewest unknowns, and we solve upwards.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "aliases": [
      "row-reduction"
    ],
    "kind": "concept",
    "msc": [
      "15A06",
      "65F05"
    ],
    "name": "Gaussian elimination",
    "same_as": {
      "wikidata": "Q2658",
      "wikipedia": "Gaussian elimination"
    },
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Gaussian_elimination"
      }
    ],
    "tag": "0JVJ2WCXZH"
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/0JVJ2WCXZH/",
  "links": null,
  "markdown": "https://math2.tamnd.com/node/0JVJ2WCXZH.md",
  "msc": [
    "15A06",
    "65F05"
  ],
  "name": "Gaussian elimination",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0JV/0JVJ2WCXZH.md",
  "status": null,
  "tag": "0JVJ2WCXZH",
  "uri": "m2://0JVJ2WCXZH",
  "url": "https://math2.tamnd.com/wiki/gaussian-elimination/",
  "writing": {
    "tag": "0JVJ2WCXZH",
    "kind": "concept",
    "level": "W1",
    "next": [
      {
        "what": "edge defines in",
        "note": "at least one definition",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge instance_of in",
        "note": "at least two examples",
        "have": 0,
        "want": 2
      },
      {
        "what": "edge not_instance_of in",
        "note": "at least one non-example",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge specializes both",
        "note": "the more general notions and the special cases",
        "have": 0,
        "want": 1
      }
    ]
  }
}
