{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $n \\ge 1$ and let $x = (x_1, \\dots, x_n)$ and $y = (y_1, \\dots, y_n)$ be vectors of $\\R^n$.\nThe *dot product* of $x$ and $y$ is the real number\n$$x \\cdot y = \\sum_{i=1}^{n} x_i y_i = x_1 y_1 + x_2 y_2 + \\cdots + x_n y_n.$$\n\n## Remarks\n\nIn matrix notation, $x \\cdot y = x^T y$ for column vectors $x$ and $y$.\nIt is symmetric, bilinear and positive definite, so it is an [[inner product|0NB0AWGJBW]] on $\\R^n$.\nGeometrically, $x \\cdot y = \\norm{x} \\norm{y} \\cos\\theta$, where $\\theta$ is the angle between $x$ and $y$.\nThe same formula defines a symmetric bilinear form on $F^n$ for every field $F$.\n\n## Explanations\n\n### L1 human\n\nThe dot product multiplies two vectors coordinate by coordinate and adds the results.\nFor example, $(1, 2, 3) \\cdot (4, 5, 6) = 4 + 10 + 18 = 32$.\nIt is zero exactly when the two vectors are perpendicular, or when one of them is zero.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "defines": "0S52TNNTH9",
    "kind": "definition",
    "msc": [
      "15A63"
    ],
    "name": "Dot product",
    "sources": [
      {
        "locator": "Coordinate definition",
        "url": "https://en.wikipedia.org/wiki/Dot_product"
      }
    ],
    "tag": "05HQYM0R4G",
    "uses": [
      "0XM8BZD76G"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/05HQYM0R4G/",
  "links": [
    {
      "field": "defines",
      "target": "0S52TNNTH9"
    },
    {
      "field": "uses",
      "target": "0XM8BZD76G"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/05HQYM0R4G.md",
  "msc": [
    "15A63"
  ],
  "name": "Dot product",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/05H/05HQYM0R4G.md",
  "status": null,
  "tag": "05HQYM0R4G",
  "uri": "m2://05HQYM0R4G",
  "url": "https://math2.tamnd.com/wiki/dot-product-definition/",
  "writing": {
    "tag": "05HQYM0R4G",
    "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
      }
    ]
  }
}
