{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Counterexample\n\nThe ring $\\mathbb{Z}[x]$ is an integral domain, but it is not a [[principal ideal domain|0RZYDVZ475]].\nThe ideal $(2, x)$, the set of the polynomials with an even constant term, is not [[principal|00A2EDFT9Q]].\nSuppose $(2, x) = (f)$. Then $f \\mid 2$, so $f$ is a constant $c$ with $c \\in \\{\\pm 1, \\pm 2\\}$.\nIf $c = \\pm 1$, then $1 \\in (2, x)$, but $1$ has an odd constant term.\nIf $c = \\pm 2$, then $x$ is a multiple of $2$ in $\\mathbb{Z}[x]$, which is false.\n\n## Remarks\n\nThe quotient $\\mathbb{Z}[x]/(2, x)$ is $\\mathbb{F}_2$, so $(2, x)$ is a maximal ideal.\nThe ring $\\mathbb{Z}[x]$ is still a [[unique factorization domain|06YMXJMXYS]], by [[the theorem on polynomial rings over a UFD|0D6KH8Y59N]].\nOver a field $K$, the ring $K[x]$ is a principal ideal domain.\n\n## Explanations\n\n### L1 human\n\nIn $\\mathbb{Z}[x]$, the ideal generated by $2$ and $x$ needs two generators.\nNo single polynomial divides both $2$ and $x$ except the units $\\pm 1$, and $\\pm 1$ generates too much.\nThe cause is that $\\mathbb{Z}$ is not a field.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "kind": "counterexample",
    "msc": [
      "13F20"
    ],
    "name": "Z[x] is not a principal ideal domain",
    "sources": [
      {
        "locator": "Non-examples",
        "url": "https://en.wikipedia.org/wiki/Principal_ideal_domain"
      }
    ],
    "tag": "06E3AG9TM2",
    "uses": [
      "0RZYDVZ475",
      "0Q9EZS90GY",
      "00A2EDFT9Q"
    ]
  },
  "kind": "counterexample",
  "link": "https://math2.tamnd.com/node/06E3AG9TM2/",
  "links": [
    {
      "field": "uses",
      "target": "0RZYDVZ475"
    },
    {
      "field": "uses",
      "target": "0Q9EZS90GY"
    },
    {
      "field": "uses",
      "target": "00A2EDFT9Q"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/06E3AG9TM2.md",
  "msc": [
    "13F20"
  ],
  "name": "Z[x] is not a principal ideal domain",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/06E/06E3AG9TM2.md",
  "status": null,
  "tag": "06E3AG9TM2",
  "uri": "m2://06E3AG9TM2",
  "url": "https://math2.tamnd.com/wiki/z-x-is-not-a-principal-ideal-domain/",
  "writing": {
    "tag": "06E3AG9TM2",
    "kind": "counterexample",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge refutes or not_instance_of out",
        "have": 0,
        "want": 1
      }
    ]
  }
}
