{
  "aliases": [
    "triangle-inequality-for-a-metric"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "0B2305GNAZ"
    },
    {
      "field": "uses",
      "target": "0P9DCDES73"
    },
    {
      "field": "uses",
      "target": "0YS40B38JD"
    }
  ],
  "body": "\n## Statement\n\nLet $(X, d)$ be a [[metric space|063W5JMY85]].\nFor all points $x, y, z \\in X$,\n$$d(x, z) \\le d(x, y) + d(y, z).$$\n\n## Remarks\n\nThis is one of the four axioms of a metric.\nFor $X = \\mathbb{R}$ with $d(x, y) = |x - y|$, it is the [[triangle inequality|03HF5PMY5T]] for real numbers, with $a = x - y$ and $b = y - z$.\nA consequence is the reverse form $|d(x, y) - d(x, z)| \\le d(y, z)$ for all $x, y, z \\in X$.\n\n## Explanations\n\n### L1 human\n\nA direct path from $x$ to $z$ is never longer than a path that goes through a third point $y$.\nIn the plane, this says that one side of a triangle is at most the sum of the other two sides.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "aliases": [
      "triangle-inequality-for-a-metric"
    ],
    "kind": "statement",
    "msc": [
      "54E35"
    ],
    "name": "Triangle inequality for a metric",
    "role": "axiom",
    "sources": [
      {
        "locator": "Metric space",
        "url": "https://en.wikipedia.org/wiki/Triangle_inequality"
      },
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/Metric_space"
      }
    ],
    "tag": "01M6CW9VM6",
    "uses": [
      "063W5JMY85"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/01M6CW9VM6/",
  "links": [
    {
      "field": "uses",
      "target": "063W5JMY85"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/01M6CW9VM6.md",
  "msc": [
    "54E35"
  ],
  "name": "Triangle inequality for a metric",
  "prov": null,
  "role": "axiom",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/01M/01M6CW9VM6.md",
  "status": null,
  "tag": "01M6CW9VM6",
  "uri": "m2://01M6CW9VM6",
  "url": "https://math2.tamnd.com/wiki/triangle-inequality-for-a-metric/",
  "writing": {
    "tag": "01M6CW9VM6",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
