{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $V$ be an [[inner product space|0QVNCJXRY3]] over $\\R$ or $\\C$, with the [[induced norm|0MFJJV97RJ]] $\\norm{\\cdot}$.\nThen, for all $x, y \\in V$,\n$$\\abs{\\langle x, y \\rangle} \\le \\norm{x} \\norm{y}.$$\nEquality holds if and only if $x$ and $y$ are linearly dependent.\n\n## Remarks\n\nFor the dot product on $\\R^n$, it says $\\left(\\sum_i x_i y_i\\right)^2 \\le \\left(\\sum_i x_i^2\\right)\\left(\\sum_i y_i^2\\right)$.\nIn a real inner product space, it allows the definition of the angle $\\theta \\in [0, \\pi]$ with $\\cos\\theta = \\langle x, y \\rangle / (\\norm{x} \\norm{y})$ for nonzero $x$ and $y$.\nOne proof uses that $\\norm{x - ty}^2 \\ge 0$ for all real $t$, so a quadratic has a nonpositive discriminant.\nIt implies the [[triangle inequality|0FJZMBX0ZZ]] for the induced norm.\n\n## Explanations\n\n### L1 human\n\nThe inner product of two vectors is at most the product of their lengths, in absolute value.\nIn the plane, this is the fact that $\\abs{\\cos\\theta} \\le 1$.\nEquality happens only when the vectors lie on one line.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "kind": "statement",
    "msc": [
      "15A63",
      "46C05"
    ],
    "name": "Cauchy–Schwarz inequality",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q190546",
      "wikipedia": "Cauchy–Schwarz inequality"
    },
    "sources": [
      {
        "locator": "Statement of the inequality",
        "url": "https://en.wikipedia.org/wiki/Cauchy–Schwarz_inequality"
      }
    ],
    "tag": "0RFWW56Y22",
    "uses": [
      "01EK923SKP",
      "0KG4D8AP6G"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0RFWW56Y22/",
  "links": [
    {
      "field": "uses",
      "target": "01EK923SKP"
    },
    {
      "field": "uses",
      "target": "0KG4D8AP6G"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0RFWW56Y22.md",
  "msc": [
    "15A63",
    "46C05"
  ],
  "name": "Cauchy–Schwarz inequality",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0RF/0RFWW56Y22.md",
  "status": null,
  "tag": "0RFWW56Y22",
  "uri": "m2://0RFWW56Y22",
  "url": "https://math2.tamnd.com/wiki/cauchy-schwarz-inequality/",
  "writing": {
    "tag": "0RFWW56Y22",
    "kind": "statement",
    "level": "W1",
    "next": [
      {
        "what": "edge about out",
        "note": "the concepts that the statement is about",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge proves in",
        "note": "at least one proof node",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge instance_of or illustrates in",
        "note": "one example that shows the statement at work",
        "have": 0,
        "want": 1
      },
      {
        "what": "explanation L2",
        "have": 0,
        "want": 1
      }
    ]
  }
}
