{
  "aliases": [
    "pythagoras-theorem"
  ],
  "backlinks": null,
  "body": "\n## Statement\n\nLet $ABC$ be a [[triangle|0CTNFGYMM2]] in the Euclidean space $\\mathbb{R}^n$. Let $d$ be the [[Euclidean distance|0NPPGHQNXQ]], and let $\\angle ABC$ be the [[angle at $B$|0GJAJC6TNZ]].\nThen\n$$d(A, C)^2 = d(A, B)^2 + d(B, C)^2$$\nif and only if $\\angle ABC = \\pi / 2$.\n\n## Remarks\n\nThe direction \"if\" is the classical theorem: in a right triangle, the square of the hypotenuse is the sum of the squares of the legs, $a^2 + b^2 = c^2$. The direction \"only if\" is its converse.\nIn vector form: for vectors $u$ and $v$ with $u \\cdot v = 0$, $\\|u + v\\|^2 = \\|u\\|^2 + \\|v\\|^2$.\nThe theorem is the special case $\\gamma = \\pi / 2$ of the [[law of cosines|060ZVZBV3E]].\nMathlib states the equivalence for all points $A$, $B$ and $C$, with its convention for the angle at a repeated point.\n\n## History\n\nThe theorem carries the name of the Greek philosopher Pythagoras. Euclid's Elements proves it as Proposition 47 of Book I, and the converse as Proposition 48.\n\n## Explanations\n\n### L1 human\n\nBuild a square on each side of a right triangle. The two small squares together have the same area as the big square on the longest side. For the sides $3$, $4$ and $5$: $9 + 16 = 25$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "aliases": [
      "pythagoras-theorem"
    ],
    "kind": "statement",
    "msc": [
      "51M04"
    ],
    "name": "Pythagorean theorem",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q11518",
      "wikipedia": "Pythagorean theorem"
    },
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Pythagorean_theorem"
      },
      {
        "locator": "Converse",
        "url": "https://en.wikipedia.org/wiki/Pythagorean_theorem"
      }
    ],
    "tag": "0VP3A1290K",
    "uses": [
      "0CTNFGYMM2",
      "0GJAJC6TNZ",
      "0NPPGHQNXQ"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0VP3A1290K/",
  "links": [
    {
      "field": "uses",
      "target": "0CTNFGYMM2"
    },
    {
      "field": "uses",
      "target": "0GJAJC6TNZ"
    },
    {
      "field": "uses",
      "target": "0NPPGHQNXQ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0VP3A1290K.md",
  "msc": [
    "51M04"
  ],
  "name": "Pythagorean theorem",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0VP/0VP3A1290K.md",
  "status": null,
  "tag": "0VP3A1290K",
  "uri": "m2://0VP3A1290K",
  "url": "https://math2.tamnd.com/wiki/pythagorean-theorem/",
  "writing": {
    "tag": "0VP3A1290K",
    "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
      }
    ]
  }
}
