{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $F$ be a field, let $A$ be an $n \\times n$ matrix over $F$ with $\\det A \\ne 0$, and let $b \\in F^n$.\nFor $1 \\le i \\le n$, let $A_i$ be the matrix that results when column $i$ of $A$ is replaced by $b$.\nThen the [[linear system|0GT4WWGWH2]] $Ax = b$ has exactly one solution $x = (x_1, \\dots, x_n)$, and\n$$x_i = \\frac{\\det A_i}{\\det A} \\qquad (1 \\le i \\le n).$$\n\n## Remarks\n\nFor $n = 2$, the system $ax + by = e$, $cx + dy = f$ has the solution $x = (ed - bf)/(ad - bc)$ and $y = (af - ec)/(ad - bc)$.\nThe rule follows from the formula for the inverse with the [[adjugate|07W9H8QF38]].\nIt needs $n + 1$ determinants, so it is slow for large $n$ compared with [[Gaussian elimination|0JVJ2WCXZH]].\n\n## Explanations\n\n### L1 human\n\nCramer's rule gives each unknown as a quotient of two determinants.\nThe denominator is always $\\det A$.\nFor the numerator of unknown $i$, put the right side $b$ in column $i$ of $A$.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "kind": "statement",
    "msc": [
      "15A06",
      "15A15"
    ],
    "name": "Cramer's rule",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q322666",
      "wikipedia": "Cramer's rule"
    },
    "sources": [
      {
        "locator": "General case",
        "url": "https://en.wikipedia.org/wiki/Cramer's_rule"
      }
    ],
    "tag": "0977KZ6PQB",
    "uses": [
      "0C3CFHDN6R",
      "0JTRMBQ1SA"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0977KZ6PQB/",
  "links": [
    {
      "field": "uses",
      "target": "0C3CFHDN6R"
    },
    {
      "field": "uses",
      "target": "0JTRMBQ1SA"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0977KZ6PQB.md",
  "msc": [
    "15A06",
    "15A15"
  ],
  "name": "Cramer's rule",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/097/0977KZ6PQB.md",
  "status": null,
  "tag": "0977KZ6PQB",
  "uri": "m2://0977KZ6PQB",
  "url": "https://math2.tamnd.com/wiki/cramers-rule/",
  "writing": {
    "tag": "0977KZ6PQB",
    "kind": "statement",
    "level": "W1",
    "next": [
      {
        "what": "edge about out",
        "note": "the concepts that the statement is about",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge proves in",
        "note": "at least one proof node",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge instance_of or illustrates in",
        "note": "one example that shows the statement at work",
        "have": 0,
        "want": 1
      },
      {
        "what": "explanation L2",
        "have": 0,
        "want": 1
      }
    ]
  }
}
