{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "KTGAS9DGRX"
    },
    {
      "field": "uses",
      "target": "KZTFH832H0"
    },
    {
      "field": "defines",
      "target": "PQV6DNE0CW"
    }
  ],
  "body": "\n## Summary\n\nA binary quadratic form is a [[quadratic form|0RBQS1JJCR]] in two variables, $ax^2 + bxy + cy^2$, usually with integer coefficients.\nIts discriminant $b^2 - 4ac$ is unchanged by integral changes of variables of determinant $1$.\nGauss developed the theory of these forms: which integers they represent, how they fall into equivalence classes, and how the classes combine into a group.\nThis theory is equivalent to the arithmetic of ideals in [[quadratic fields|7SV4WA92SM]], and the number of classes is a [[class number|KTKK9B1X41]].\n\n## Explanations\n\n### L1 human\n\nThe forms $x^2 + y^2$ and $x^2 + 2y^2$ are binary quadratic forms.\nA classical question is which numbers they produce when $x$ and $y$ run through the integers.\nFermat found that an odd prime is of the form $x^2 + y^2$ exactly when it leaves remainder $1$ on division by $4$.\nChanging variables by an integer matrix of determinant $1$ does not change the set of values, so such forms are grouped into classes.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "kind": "concept",
    "msc": [
      "11E16"
    ],
    "name": "Binary quadratic form",
    "same_as": {
      "wikidata": "Q864134",
      "wikipedia": "Binary quadratic form"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Binary_quadratic_form"
      }
    ],
    "specializes": [
      "2FQVQCTV88"
    ],
    "tag": "SBDSYA037Q"
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/SBDSYA037Q/",
  "links": [
    {
      "field": "specializes",
      "target": "2FQVQCTV88"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/SBDSYA037Q.md",
  "msc": [
    "11E16"
  ],
  "name": "Binary quadratic form",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/SBD/SBDSYA037Q.md",
  "status": null,
  "tag": "SBDSYA037Q",
  "uri": "m2://SBDSYA037Q",
  "url": "https://math2.tamnd.com/wiki/binary-quadratic-form/",
  "writing": {
    "tag": "SBDSYA037Q",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
