{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $n \\ge 1$ be an integer.\nAn *integral quadratic form* in $n$ variables is a [[quadratic form|0RBQS1JJCR]]\n$$Q(x_1, \\dots, x_n) = \\sum_{1 \\le i \\le j \\le n} a_{ij} x_i x_j$$\nwhose coefficients $a_{ij}$ all lie in the [[integers|0C4JS9RF5M]].\nTwo integral quadratic forms $Q$ and $Q'$ in $n$ variables are *equivalent* if $Q'(x) = Q(Mx)$ for some $n \\times n$ integer [[matrix|0VD9ZSWWJG]] $M$ with $\\det M = \\pm 1$.\n\n## Remarks\n\nEvery integral quadratic form takes integer values at integer points.\nThe form can be written $Q(x) = \\frac12 x^T A x$ with a symmetric integer matrix $A$ whose diagonal entries $2a_{ii}$ are even.\nSome authors call $Q$ integral only when $Q(x) = x^T B x$ for a symmetric integer matrix $B$.\nThis means that all cross coefficients $a_{ij}$ with $i \u003c j$ are even; such forms are called classically integral.\n\nExample: $x^2 + xy + y^2$ is integral, with $a_{11} = a_{12} = a_{22} = 1$; it is not classically integral, because the coefficient of $xy$ is odd.\n\nNon-example: $x^2 + \\frac12 xy + y^2$ is a quadratic form over $\\Q$ but not integral, since the coefficient of $xy$ is not an integer; its value at $(1, 1)$ is $5/2$.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "2FQVQCTV88",
    "kind": "definition",
    "msc": [
      "11E12",
      "11E20"
    ],
    "name": "Integral quadratic form",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Quadratic_form"
      }
    ],
    "tag": "TA5025GWDQ",
    "uses": [
      "0RBQS1JJCR",
      "0C4JS9RF5M",
      "0VD9ZSWWJG"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/TA5025GWDQ/",
  "links": [
    {
      "field": "defines",
      "target": "2FQVQCTV88"
    },
    {
      "field": "uses",
      "target": "0RBQS1JJCR"
    },
    {
      "field": "uses",
      "target": "0C4JS9RF5M"
    },
    {
      "field": "uses",
      "target": "0VD9ZSWWJG"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/TA5025GWDQ.md",
  "msc": [
    "11E12",
    "11E20"
  ],
  "name": "Integral quadratic form",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/TA5/TA5025GWDQ.md",
  "status": null,
  "tag": "TA5025GWDQ",
  "uri": "m2://TA5025GWDQ",
  "url": "https://math2.tamnd.com/wiki/integral-quadratic-form-definition/",
  "writing": {
    "tag": "TA5025GWDQ",
    "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
      }
    ]
  }
}
