# spherical triangle inequality for multiple edges

Consider a spherical triangle, with side lengths $0 \leq a,b,c \leq \pi$. In texts on spherical geometry we see proofs that $a \leq b + c$ but this inequality is unnecessarily weak, in that some sets of lengths of sides satisfy the triangle inequality (and its cyclic permutations) but no triangle can be constructed with the given side lengths; for example $a=\pi, b=\pi, c=\frac{\pi}{2}$.

Stronger is $$a \leq \begin{cases}b + c, &b+c\leq \pi\\2\pi-b-c, &b+c > \pi\end{cases},$$ or more concisely, $$\cos a \geq \cos(b+c),$$ which does have the property that a triangle can be constructed from edges of length $a,b,c$ if and only if the lengths satisfy the triangle inequality.

Does this inequality generalize in a clean way to general polygons of side lengths $0 \leq a, b, c, d, \ldots \leq \pi$?

"There exists a spherical $n$-gon with sidelengths $2\pi \nu_1,\dots, 2\pi \nu_n$ if and only for every subset $P\subset \{1,\dots,n\}$ of odd cardinality $|P|$ the inequality $$\sum_{i\in P}\nu_i -\sum_{i\notin P}\nu_i - \frac{|P|-1}{2}\le 0$$ holds."
{"ft_lang_label":"__label__en","ft_lang_prob":0.83169967,"math_prob":0.99994445,"size":800,"snap":"2022-05-2022-21","text_gpt3_token_len":228,"char_repetition_ratio":0.14321607,"word_repetition_ratio":0.0,"special_character_ratio":0.28,"punctuation_ratio":0.12716763,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99998426,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-05-17T03:30:02Z\",\"WARC-Record-ID\":\"<urn:uuid:20d41c12-6b00-4ebd-a3a4-9bd96aacff93>\",\"Content-Length\":\"222019\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:9e8bd786-2387-47cc-b3c5-1407f14ad7b6>\",\"WARC-Concurrent-To\":\"<urn:uuid:26d1eb26-74d8-4c2b-a78a-3d2030767a64>\",\"WARC-IP-Address\":\"151.101.1.69\",\"WARC-Target-URI\":\"https://math.stackexchange.com/questions/176945/spherical-triangle-inequality-for-multiple-edges\",\"WARC-Payload-Digest\":\"sha1:FFW5RR7GFSDW4OQOWIMMNWD24G6YMSWQ\",\"WARC-Block-Digest\":\"sha1:7K2KO6NX4H7O2KKN2QZY634ZXMOMX7QN\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-21/CC-MAIN-2022-21_segments_1652662515501.4_warc_CC-MAIN-20220517031843-20220517061843-00274.warc.gz\"}"}