{
  "id": "triangle-inequality",
  "title": "Triangle Inequality",
  "lang": "en",
  "source_lang": "en",
  "summary": "The triangle inequality states that a direct distance or the size of a sum cannot exceed the corresponding sum of distances or sizes.",
  "category": "mathematics",
  "subcategory": "geometry",
  "type": "concept",
  "aliases": [
    "Triangular inequality"
  ],
  "generated_at": "2026-10-04",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/triangle-inequality/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/triangle-inequality/",
      "json": "https://aiwiki.page/zh/triangle-inequality.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "The triangle inequality is a fundamental relation in geometry and mathematical analysis stating that the distance between two points is no greater than the distance obtained by passing through a third point. For a distance function \\(d\\), it takes the form \\(d(x,z)\\leq d(x,y)+d(y,z)\\). Related formulations apply to absolute values and vector norms. Although originally associated with triangle side lengths, the inequality is also a defining property of abstract distances and norms. (math.ucla.edu)"
    },
    {
      "heading": "Geometric statement and origins",
      "text": "For a nondegenerate Euclidean triangle with side lengths \\(a,b,c\\), the sum of any two sides is strictly greater than the third:\n\n\\[a<b+c,\\qquad b<c+a,\\qquad c<a+b.\\]\n\nThe classical statement appears in Book I, Proposition 20 of Euclid’s Elements. Euclid proves it by extending a side, constructing an isosceles triangle, and using the relationship between larger angles and their opposite sides. Thus an apparently intuitive fact receives a deductive geometric proof. (web.calstatela.edu)\n\nWhen arbitrary points are allowed, including collinear or coincident points, the appropriate statement uses “less than or equal to.” For Euclidean distance, equality in\n\\(d(A,C)\\leq d(A,B)+d(B,C)\\) occurs precisely when \\(B\\) lies on the closed line segment joining \\(A\\) and \\(C\\). The distinction between strict and non-strict versions separates genuine triangles from degenerate configurations. (maths.usyd.edu.au)"
    },
    {
      "heading": "Absolute values and complex numbers",
      "text": "For real numbers \\(x,y\\), the inequality becomes\n\n\\[|x+y|\\leq |x|+|y|.\\]\n\nAn elementary proof follows from\n\\(-|x|\\leq x\\leq |x|\\) and the corresponding bounds for \\(y\\). Adding them gives\n\\(-(|x|+|y|)\\leq x+y\\leq |x|+|y|\\).\nEquality holds exactly when \\(xy\\geq0\\), so the numbers have compatible signs or at least one is zero. (ms.uky.edu)\n\nThe same formula holds for complex numbers, with modulus replacing real absolute value. Viewing complex numbers as vectors in the plane makes this the Euclidean vector inequality. For nonzero complex numbers, equality occurs when they have the same argument: their associated vectors point in the same direction. (sites.chemengr.ucsb.edu)"
    },
    {
      "heading": "Normed vector spaces and proof",
      "text": "A norm measures the size of a vector in a vector space. One of the defining conditions of a normed vector space is\n\n\\[\\|u+v\\|\\leq\\|u\\|+\\|v\\|.\\]\n\nHere the inequality is an axiom of the abstract structure. For a proposed formula to qualify as a norm, however, this condition must be verified rather than merely assumed. (blogs.ncl.ac.uk)\n\nFor a norm induced by an inner product, a proof uses the Cauchy–Schwarz inequality:\n\n\\[\\begin{aligned} \\|u+v\\|^2 &=\\|u\\|^2+2\\operatorname{Re}\\langle u,v\\rangle+\\|v\\|^2\\\\ &\\leq \\|u\\|^2+2\\|u\\|\\|v\\|+\\|v\\|^2\\\\ &=(\\|u\\|+\\|v\\|)^2. \\end{aligned}\\]\n\nTaking nonnegative square roots proves the result. This works for both real and complex inner-product spaces. (sites.chemengr.ucsb.edu)\n\nIn Euclidean space, equality requires one vector to be a nonnegative scalar multiple of the other, unless either is zero. Other norms can have different equality conditions. For example, under\n\\(\\|(x_1,x_2)\\|_1=|x_1|+|x_2|\\), the vectors \\((1,0)\\) and \\((0,1)\\) attain equality despite being linearly independent. (maths.usyd.edu.au)"
    },
    {
      "heading": "Metric spaces and the reverse inequality",
      "text": "A metric space consists of a set equipped with a distance function satisfying nonnegativity, separation of distinct points, symmetry, and the triangle inequality. Every norm supplies a metric through\n\n\\[d(x,y)=\\|x-y\\|,\\]\n\nbecause \\(x-z=(x-y)+(y-z)\\). A general metric space need not possess vector addition, straight lines, or angles; its triangle inequality is a relation among distances alone. (math.ucla.edu)\n\nA useful consequence is the reverse triangle inequality:\n\n\\[\\big|\\|u\\|-\\|v\\|\\big|\\leq\\|u-v\\|.\\]\n\nIndeed, applying the ordinary inequality to \\(u=(u-v)+v\\) gives one bound, and interchanging \\(u,v\\) gives the other. The analogous metric statement is\n\n\\[|d(x,z)-d(y,z)|\\leq d(x,y).\\]\n\nConsequently, the norm and distance from a fixed point have Lipschitz continuity with constant \\(1\\); small changes in position cannot produce larger changes in these quantities. This conclusion follows directly from the displayed bounds. (blogs.ncl.ac.uk)"
    },
    {
      "heading": "Generalizations and analytical uses",
      "text": "Repeated application, formalized by mathematical induction, gives the finite-sum inequality\n\n\\[\\left\\|\\sum_{k=1}^{n}v_k\\right\\| \\leq\\sum_{k=1}^{n}\\|v_k\\|.\\]\n\nLikewise, the distance between the endpoints of a finite chain is bounded by the sum of its successive distances. These are direct extensions of the two-term statement. (blogs.ncl.ac.uk)\n\nFor L^p spaces, the triangle inequality is known as Minkowski’s inequality. For \\(1\\leq p<\\infty\\),\n\n\\[\\|f\\|_p=\\left(\\int |f|^p\\,d\\mu\\right)^{1/p}, \\qquad \\|f+g\\|_p\\leq\\|f\\|_p+\\|g\\|_p.\\]\n\nThe integral is taken over the underlying measure space. The result also holds for \\(p=\\infty\\), using the essential supremum norm. For \\(1<p<\\infty\\), a standard proof applies Hölder’s inequality. (pi.math.cornell.edu)\n\nIn convergence arguments, splitting an error through an intermediate approximation yields\n\n\\[d(x_n,x)\\leq d(x_n,y_n)+d(y_n,x).\\]\n\nThus two quantities tending to zero bound a third. Similar estimates underlie reasoning about limits and Cauchy sequences, allowing separate approximation errors to be controlled without knowing their directions or signs. (math.ucla.edu)"
    }
  ],
  "links": [
    "geometry",
    "mathematical-analysis",
    "euclids-elements",
    "euclid",
    "euclidean-distance",
    "real-number",
    "complex-number",
    "norm-mathematics",
    "vector-space",
    "normed-vector-space",
    "axiom",
    "inner-product",
    "mathematical-proof",
    "cauchy-schwarz-inequality",
    "metric-space",
    "lipschitz-continuity",
    "mathematical-induction",
    "lp-space",
    "minkowski-inequality",
    "integral",
    "holders-inequality",
    "limit",
    "cauchy-sequence"
  ],
  "sources": [
    {
      "title": "math.ucla.edu/~biskup/131ah.1.23w/PDFs/ch14.pdf",
      "url": "https://www.math.ucla.edu/~biskup/131ah.1.23w/PDFs/ch14.pdf"
    },
    {
      "title": "web.calstatela.edu/faculty/hmendel/Ancient%20Mathematics/Euclid/Euclid%20I/Eucl…",
      "url": "https://web.calstatela.edu/faculty/hmendel/Ancient%20Mathematics/Euclid/Euclid%20I/Euclid%201.20/Euclid.1.20.html"
    },
    {
      "title": "maths.usyd.edu.au/u/daners/publ/vector-calculus/chapter-vectors-5.html",
      "url": "https://www.maths.usyd.edu.au/u/daners/publ/vector-calculus/chapter-vectors-5.html"
    },
    {
      "title": "ms.uky.edu/~droyster/courses/fall99/math4181/classnotes/notes4.pdf",
      "url": "https://www.ms.uky.edu/~droyster/courses/fall99/math4181/classnotes/notes4.pdf"
    },
    {
      "title": "sites.chemengr.ucsb.edu/~jbraw/principles/PRINCIPLES-book-2nd-edition-3rd-print…",
      "url": "https://sites.chemengr.ucsb.edu/~jbraw/principles/PRINCIPLES-book-2nd-edition-3rd-printing.pdf"
    },
    {
      "title": "blogs.ncl.ac.uk/mlgutierrezabed2/files/2019/06/My-Lecture-Notes.pdf",
      "url": "https://blogs.ncl.ac.uk/mlgutierrezabed2/files/2019/06/My-Lecture-Notes.pdf"
    },
    {
      "title": "pi.math.cornell.edu/~erin/analysis/lectures.pdf",
      "url": "https://pi.math.cornell.edu/~erin/analysis/lectures.pdf"
    }
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}