{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nA *quadratic field* is an [[algebraic number field|MWBDFS2KJ5]] $K$ with [[degree|0EAJ2XXADC]] $[K : \\Q] = 2$.\n\n## Remarks\n\nEvery quadratic field is $\\Q(\\sqrt{d}) = \\set{a + b\\sqrt{d} : a, b \\in \\Q}$ for exactly one [[square-free integer|08X0VCR2NW]] $d$ with $d \\ne 0, 1$.\nIt is called real if $d \u003e 0$ and imaginary if $d \u003c 0$.\nExample: $\\Q(\\sqrt{2})$; the element $\\sqrt{2}$ is a root of the irreducible polynomial $x^2 - 2$, so $1, \\sqrt{2}$ is a basis and the degree is $2$.\nNon-example: $\\Q(\\sqrt[3]{2})$ has degree $3$, because $x^3 - 2$ is irreducible over $\\Q$; so it is a number field but not a quadratic field.\nThe ring of integers of $\\Q(\\sqrt{d})$ is $\\Z[(1 + \\sqrt{d})/2]$ if $d \\equiv 1 \\pmod 4$, and $\\Z[\\sqrt{d}]$ if $d \\equiv 2$ or $3 \\pmod 4$.\nThe discriminant is $d$ in the first case and $4d$ in the second.\n",
  "commit": "efe85cee8dbc57d85bedbacfb97b99d1b7bee843",
  "front": {
    "defines": "7SV4WA92SM",
    "kind": "definition",
    "msc": [
      "11R11"
    ],
    "name": "Quadratic field",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Quadratic_field"
      }
    ],
    "tag": "7E23FBM9NQ",
    "uses": [
      "MWBDFS2KJ5",
      "0EAJ2XXADC",
      "08X0VCR2NW"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/7E23FBM9NQ/",
  "links": [
    {
      "field": "defines",
      "target": "7SV4WA92SM"
    },
    {
      "field": "uses",
      "target": "MWBDFS2KJ5"
    },
    {
      "field": "uses",
      "target": "0EAJ2XXADC"
    },
    {
      "field": "uses",
      "target": "08X0VCR2NW"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/7E23FBM9NQ.md",
  "msc": [
    "11R11"
  ],
  "name": "Quadratic field",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/7E2/7E23FBM9NQ.md",
  "status": null,
  "tag": "7E23FBM9NQ",
  "uri": "m2://7E23FBM9NQ",
  "url": "https://math2.tamnd.com/wiki/quadratic-field-definition/",
  "writing": {
    "tag": "7E23FBM9NQ",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
