# Triangle inequality

In mathematics, the triangle inequality states that the distance from A to B to C is never shorter than going directly from A to C. The triangle inequality is a theorem in spaces such as the real numbers, Euclidean space, Lp spaces (p ≥ 1) and in all inner product spaces; it is an axiom in the definition of abstract concepts such as normed vector spaces and metric spaces.

 Contents

## Normed vector space

In a normed vector space V, the triangle inequality is

||x + y|| ≤ ||x|| + ||y||     for all x, y in V

that is, the norm of the sum of two vectors is at most as large as the sum of the norms of the two vectors.

## Metric space

In a metric space M with metric d, the triangle inequality is

d(x, z) ≤ d(x, y) + d(y, z)     for all x, y, z in M

that is, the distance from x to z is at most as large as the sum of the distance from x to y and the distance from y to z.

## Consequences

The following consequences of the triangle inequalities are often useful; they give lower bounds instead of upper bounds:

| ||x|| - ||y|| | ≤ ||x - y|| or for metric | d(x, y) - d(x, z) | ≤ d(y, z)

this implies that the norm ||-|| as well distance function d(x, -) are 1-Lipschitz and therefore continuous.

## Reversal in Minkowski space

In the usual Minkowski space and in Minkowski space extended to an arbitrary number of spatial dimensions, assuming null or timelike vectors in the same time direction, the triangle inequality is reversed:

||x + y|| ≥ ||x|| + ||y||     for all x, y in V such that ||x|| ≥ 0, ||y|| ≥ 0 and tx ty ≥ 0

A physical example of this inequality is the twin paradox in special relativity.de:Dreiecksungleichung es:Desigualdad del triángulo fr:Inégalité triangulaire he:אי שוויון המשולש ja:三角不等式 pl:Nierówność trójkąta zh:三角不等式

• Art and Cultures
• Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
• Space and Astronomy
{"ft_lang_label":"__label__en","ft_lang_prob":0.84356594,"math_prob":0.9921357,"size":1805,"snap":"2022-27-2022-33","text_gpt3_token_len":510,"char_repetition_ratio":0.14491948,"word_repetition_ratio":0.07761194,"special_character_ratio":0.26426592,"punctuation_ratio":0.10626703,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99751633,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-07-03T23:49:30Z\",\"WARC-Record-ID\":\"<urn:uuid:a6afd8fe-fdac-4da1-82e0-66b7c720930f>\",\"Content-Length\":\"28200\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:5adff68e-cdd6-46cf-b4d2-a17ab547c491>\",\"WARC-Concurrent-To\":\"<urn:uuid:aa6b78b3-f189-43b4-b864-668a9e1560e6>\",\"WARC-IP-Address\":\"108.59.0.28\",\"WARC-Target-URI\":\"https://aids.academickids.com/encyclopedia/index.php/Triangle_inequality\",\"WARC-Payload-Digest\":\"sha1:VYRD5N2TRCIUKNUDZGWJ2AJBQ6SRIBWR\",\"WARC-Block-Digest\":\"sha1:EYBOSISA4NKZEKD5K25RIVQXQSPHUCHF\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656104277498.71_warc_CC-MAIN-20220703225409-20220704015409-00149.warc.gz\"}"}