{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $K$ be a field and let $\\mathcal{A}$ be an [[affine space|09XNAPTJQ7]] over a $K$-vector space.\nA triangle in $\\mathcal{A}$ is an ordered triple $(A, B, C)$ of points of $\\mathcal{A}$ that are not [[collinear|0AFNNTRTJE]]. It is written $ABC$ or $\\triangle ABC$.\nThe points $A$, $B$ and $C$ are its vertices. The segments $BC$, $CA$ and $AB$ are its sides.\n\n## Remarks\n\nThree points are not collinear if and only if they are affinely independent: the vectors $B - A$ and $C - A$ are linearly independent.\nIn a Euclidean space, the side lengths are often written $a = d(B, C)$, $b = d(C, A)$ and $c = d(A, B)$. The angles of the triangle are $\\angle BAC$, $\\angle CBA$ and $\\angle ACB$.\nA triangle is isosceles if two sides have the same length, equilateral if all three do, and scalene if no two do. It is a right triangle if one angle is $\\pi / 2$.\nMathlib's `Affine.Triangle` is an affinely independent family of three points, indexed by $\\{0, 1, 2\\}$.\n\n## Explanations\n\n### L1 human\n\nPick three points that are not on one straight line and join each pair. The result is a triangle. If the three points were on one line, the \"triangle\" would be flat, and it would have no area.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0CTNFGYMM2",
    "kind": "definition",
    "msc": [
      "51M04"
    ],
    "name": "Triangle",
    "sources": [
      {
        "locator": "Definition, terminology, and types",
        "url": "https://en.wikipedia.org/wiki/Triangle"
      }
    ],
    "tag": "0JDB8YJBSR",
    "uses": [
      "0AFNNTRTJE",
      "09XNAPTJQ7"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0JDB8YJBSR/",
  "links": [
    {
      "field": "defines",
      "target": "0CTNFGYMM2"
    },
    {
      "field": "uses",
      "target": "0AFNNTRTJE"
    },
    {
      "field": "uses",
      "target": "09XNAPTJQ7"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0JDB8YJBSR.md",
  "msc": [
    "51M04"
  ],
  "name": "Triangle",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0JD/0JDB8YJBSR.md",
  "status": null,
  "tag": "0JDB8YJBSR",
  "uri": "m2://0JDB8YJBSR",
  "url": "https://math2.tamnd.com/wiki/triangle-definition/",
  "writing": {
    "tag": "0JDB8YJBSR",
    "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
      }
    ]
  }
}
