{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "HJW1KSQZWA"
    },
    {
      "field": "uses",
      "target": "XXQ378NQE2"
    }
  ],
  "body": "\n## Definition\n\nLet $K$ be a [[field|0QA8CHH8MG]] and let $f, g \\in K[x]$ be polynomials that are not both $0$.\nA greatest common divisor of $f$ and $g$ is a polynomial $d \\in K[x]$ such that:\n\n1. $d$ divides $f$ and $d$ divides $g$;\n2. every polynomial that divides both $f$ and $g$ divides $d$.\n\nThe greatest common divisor $\\gcd(f, g)$ is the unique [[monic|0BDX4MBKT4]] polynomial with these two properties.\n\n## Remarks\n\nTwo greatest common divisors differ by a nonzero constant factor, so exactly one of them is monic.\nExample: $\\gcd(x^2 - 1, x^2 - 3x + 2) = x - 1$.\nCheck: $x - 1$ divides both, and a common divisor divides $(x^2 - 1) - (x^2 - 3x + 2) = 3x - 3$, hence divides $x - 1$.\nNon-example: $2x - 2$ satisfies both clauses, but it is not monic, so it is a greatest common divisor and not $\\gcd(f, g)$.\nThe [[Euclidean algorithm|023VY493K0]] computes $\\gcd(f, g)$, and [[Bézout's identity|0VY3WPP9Y3]] gives $a, b \\in K[x]$ with $a f + b g = \\gcd(f, g)$.\nOver a [[unique factorisation domain|06YMXJMXYS]] such as $\\Z$, greatest common divisors in $\\Z[x]$ also exist, but only up to units, see [[greatest common divisor in an integral domain|0F7KNJ1ZYN]].\n\n## Explanations\n\n### L1 human\n\nThe greatest common divisor is the largest polynomial that goes into both.\nAsking for leading coefficient $1$ picks one answer among its constant multiples.\n",
  "commit": "efe85cee8dbc57d85bedbacfb97b99d1b7bee843",
  "front": {
    "defines": "Q75YRG25JK",
    "kind": "definition",
    "msc": [
      "13F20",
      "13A05"
    ],
    "name": "Polynomial greatest common divisor",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Polynomial_greatest_common_divisor"
      }
    ],
    "tag": "99J1WXG3F7",
    "uses": [
      "0QA8CHH8MG",
      "0Q9EZS90GY",
      "0BDX4MBKT4",
      "0F7KNJ1ZYN"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/99J1WXG3F7/",
  "links": [
    {
      "field": "defines",
      "target": "Q75YRG25JK"
    },
    {
      "field": "uses",
      "target": "0QA8CHH8MG"
    },
    {
      "field": "uses",
      "target": "0Q9EZS90GY"
    },
    {
      "field": "uses",
      "target": "0BDX4MBKT4"
    },
    {
      "field": "uses",
      "target": "0F7KNJ1ZYN"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/99J1WXG3F7.md",
  "msc": [
    "13F20",
    "13A05"
  ],
  "name": "Polynomial greatest common divisor",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/99J/99J1WXG3F7.md",
  "status": null,
  "tag": "99J1WXG3F7",
  "uri": "m2://99J1WXG3F7",
  "url": "https://math2.tamnd.com/wiki/polynomial-greatest-common-divisor-definition/",
  "writing": {
    "tag": "99J1WXG3F7",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
