{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $A$ be a real symmetric $n \\times n$ matrix, and let $Q(x) = x^T A x$ for $x \\in \\R^n$.\nThen there are an [[orthogonal matrix|0W02QESPJQ]] $P$ and real numbers $\\lambda_1, \\dots, \\lambda_n$ such that, for $x = P y$,\n$$Q(x) = \\lambda_1 y_1^2 + \\lambda_2 y_2^2 + \\cdots + \\lambda_n y_n^2.$$\nThe numbers $\\lambda_i$ are the eigenvalues of $A$, and the columns of $P$ are orthonormal eigenvectors of $A$.\n\n## Remarks\n\nIt follows from the [[spectral theorem|0DGZBQWZWN]] $A = P D P^T$ with $D$ diagonal.\nThe lines spanned by the columns of $P$ are the *principal axes* of $Q$.\nFor example, $Q(x) = 5x_1^2 + 4x_1 x_2 + 2x_2^2$ has the eigenvalues $6$ and $1$, so it becomes $6y_1^2 + y_2^2$.\nSo the curve $Q(x) = 1$ is an ellipse, with semi-axes $1/\\sqrt 6$ and $1$.\n\n## Explanations\n\n### L1 human\n\nEach real quadratic form becomes a sum of squares after a rotation of the axes, possibly with a reflection.\nThe new axes are the principal axes of the form.\nThis is how we find the shape of an ellipse or a hyperbola from its equation.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "kind": "statement",
    "msc": [
      "15A63",
      "15A18"
    ],
    "name": "Principal axis theorem",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q7245073",
      "wikipedia": "Principal axis theorem"
    },
    "sources": [
      {
        "locator": "Formal statement",
        "url": "https://en.wikipedia.org/wiki/Principal_axis_theorem"
      }
    ],
    "tag": "0PR5P9Z4KM",
    "uses": [
      "0HZNE5QZDJ",
      "0DGZBQWZWN"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0PR5P9Z4KM/",
  "links": [
    {
      "field": "uses",
      "target": "0HZNE5QZDJ"
    },
    {
      "field": "uses",
      "target": "0DGZBQWZWN"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0PR5P9Z4KM.md",
  "msc": [
    "15A63",
    "15A18"
  ],
  "name": "Principal axis theorem",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0PR/0PR5P9Z4KM.md",
  "status": null,
  "tag": "0PR5P9Z4KM",
  "uri": "m2://0PR5P9Z4KM",
  "url": "https://math2.tamnd.com/wiki/principal-axis-theorem/",
  "writing": {
    "tag": "0PR5P9Z4KM",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
