{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $V$ be a complex vector space of finite dimension $n$, and let $Q$ be a quadratic form on $V$.\nLet $r$ be the [[rank|0ZC9YTXZRY]] of the symmetric matrix of $Q$ in a basis.\nThen $V$ has a basis $(e_1, \\dots, e_n)$ such that, for all $x_1, \\dots, x_n \\in \\C$,\n$$Q(x_1 e_1 + \\cdots + x_n e_n) = x_1^2 + x_2^2 + \\cdots + x_r^2.$$\nSo two quadratic forms on $V$ are equivalent if and only if their matrices have the same rank.\n\n## Remarks\n\nThe proof starts from a [[diagonal form|0Z3FEWZ8HA]] $a_1 x_1^2 + \\cdots + a_n x_n^2$ and replaces $e_i$ by $e_i / \\sqrt{a_i}$ for each $a_i \\ne 0$.\nThe same result holds over every algebraically closed field of characteristic not $2$.\nOver $\\R$, this fails: $x^2$ and $-x^2$ have the same rank but are not equivalent.\n\n## Explanations\n\n### L1 human\n\nOver the complex numbers, every nonzero number is a square.\nSo all coefficients of a diagonal form can be made equal to $1$.\nOnly the number of squares remains, and it is the rank.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "11E04",
      "15A63"
    ],
    "name": "Classification of complex quadratic forms",
    "role": "theorem",
    "sources": [
      {
        "locator": "Equivalence of forms",
        "url": "https://en.wikipedia.org/wiki/Quadratic_form"
      }
    ],
    "tag": "0CEX9BRXRZ",
    "uses": [
      "0Z3FEWZ8HA",
      "0EWQEYRVA8"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0CEX9BRXRZ/",
  "links": [
    {
      "field": "uses",
      "target": "0Z3FEWZ8HA"
    },
    {
      "field": "uses",
      "target": "0EWQEYRVA8"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0CEX9BRXRZ.md",
  "msc": [
    "11E04",
    "15A63"
  ],
  "name": "Classification of complex quadratic forms",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0CE/0CEX9BRXRZ.md",
  "status": null,
  "tag": "0CEX9BRXRZ",
  "uri": "m2://0CEX9BRXRZ",
  "url": "https://math2.tamnd.com/wiki/classification-of-complex-quadratic-forms/",
  "writing": {
    "tag": "0CEX9BRXRZ",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
