{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $R$ be a [[Euclidean domain|0GJ2HRG95T]] and let $a, b \\in R$.\nThen $a$ and $b$ have a [[greatest common divisor|0F7KNJ1ZYN]] $d$, and there are $s, t \\in R$ with\n$$d = s a + t b.$$\n\n## Remarks\n\nThe [[Euclidean algorithm|023VY493K0]] computes $d$. The extended Euclidean algorithm also computes $s$ and $t$, by back substitution.\nIn $\\mathbb{Z}$: $\\gcd(252, 198) = 18 = 4 \\cdot 252 - 5 \\cdot 198$.\nThe same identity holds in every [[principal ideal domain|0RZYDVZ475]], because the ideal $(a, b)$ is principal.\nIf $d \\neq 0$, the coefficients are not unique: $s + k b/d$ and $t - k a/d$ also work for each $k \\in R$.\n\n## Explanations\n\n### L1 human\n\nThe gcd of two elements is a combination of them with coefficients in the ring.\nFor example, $\\gcd(4, 6) = 2 = 2 \\cdot 4 - 1 \\cdot 6$.\nThis is the main tool to solve linear equations $s a + t b = c$ in a Euclidean domain.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "kind": "statement",
    "msc": [
      "13F07"
    ],
    "name": "Bézout's identity in a Euclidean domain",
    "role": "theorem",
    "sources": [
      {
        "locator": "For principal ideal domains",
        "url": "https://en.wikipedia.org/wiki/B%C3%A9zout%27s_identity"
      }
    ],
    "tag": "0VY3WPP9Y3",
    "uses": [
      "0GJ2HRG95T",
      "0F7KNJ1ZYN",
      "023VY493K0"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0VY3WPP9Y3/",
  "links": [
    {
      "field": "uses",
      "target": "0GJ2HRG95T"
    },
    {
      "field": "uses",
      "target": "0F7KNJ1ZYN"
    },
    {
      "field": "uses",
      "target": "023VY493K0"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0VY3WPP9Y3.md",
  "msc": [
    "13F07"
  ],
  "name": "Bézout's identity in a Euclidean domain",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0VY/0VY3WPP9Y3.md",
  "status": null,
  "tag": "0VY3WPP9Y3",
  "uri": "m2://0VY3WPP9Y3",
  "url": "https://math2.tamnd.com/wiki/bezouts-identity-in-a-euclidean-domain/",
  "writing": {
    "tag": "0VY3WPP9Y3",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
