{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $V$ be a real vector space of finite dimension $n$, and let $Q$ be a [[quadratic form|0RBQS1JJCR]] on $V$.\nChoose a basis in which $Q(x_1 e_1 + \\cdots + x_n e_n) = a_1 x_1^2 + \\cdots + a_n x_n^2$.\nLet $p$, $q$ and $r$ be the numbers of indices $i$ with $a_i \u003e 0$, $a_i \u003c 0$ and $a_i = 0$.\nThe *signature* of $Q$ is the triple $(p, q, r)$.\n\n## Remarks\n\nBy [[Sylvester's law of inertia|0WFED3K3DQ]], the triple does not depend on the choice of the basis.\nFor a symmetric matrix $A$ of $Q$, the numbers $p$, $q$ and $r$ count the positive, negative and zero eigenvalues of $A$, with multiplicity.\nConventions vary: some authors write only $(p, q)$, or the number $p - q$.\nThe Minkowski form $x_1^2 - x_2^2 - x_3^2 - x_4^2$ on $\\R^4$ has $p = 1$, $q = 3$ and $r = 0$.\n\n## Explanations\n\n### L1 human\n\nThe signature counts the plus signs, the minus signs and the zeros in a real quadratic form, after diagonalisation.\nIt is the complete invariant of a real quadratic form.\nTwo real quadratic forms are equivalent exactly when they have the same signature.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "07EZA80NEH",
    "kind": "definition",
    "msc": [
      "15A63",
      "11E04"
    ],
    "name": "Signature of a quadratic form",
    "sources": [
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/Metric_signature"
      }
    ],
    "tag": "0KQZYGEJTF",
    "uses": [
      "0HZNE5QZDJ",
      "0WFED3K3DQ"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0KQZYGEJTF/",
  "links": [
    {
      "field": "defines",
      "target": "07EZA80NEH"
    },
    {
      "field": "uses",
      "target": "0HZNE5QZDJ"
    },
    {
      "field": "uses",
      "target": "0WFED3K3DQ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0KQZYGEJTF.md",
  "msc": [
    "15A63",
    "11E04"
  ],
  "name": "Signature of a quadratic form",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0KQ/0KQZYGEJTF.md",
  "status": null,
  "tag": "0KQZYGEJTF",
  "uri": "m2://0KQZYGEJTF",
  "url": "https://math2.tamnd.com/wiki/signature-of-a-quadratic-form-definition/",
  "writing": {
    "tag": "0KQZYGEJTF",
    "kind": "definition",
    "level": "W1",
    "next": [
      {
        "what": "edge instance_of in",
        "note": "one example",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge not_instance_of in",
        "note": "one non-example that fails one clause",
        "have": 0,
        "want": 1
      }
    ]
  }
}
