Triangle inequaility for sets of same cardinality

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
mnb96
Messages
711
Reaction score
5
Hello,
given a set [tex]\Omega[/tex], we consider all its subsets [itex]A_1,A_2,A_3,\ldots[/itex] with same cardinality k.

Do you have some hint in order to prove the following:

[tex]\forall A_x,A_y,A_z\subseteq \Omega[/tex] such that [tex]|A_x|=|A_y|=|A_z|=k[/tex]

[tex]|A_x-A_z| \leq |A_x-A_y|+ |A_y-A_z|[/tex]

Thanks
 
Last edited:
Physics news on Phys.org
Maybe I solved it by myself.
For the sake of brevity I'll write [itex]X=A_x[/itex], [itex]Y=A_y[/itex], [itex]Z=A_z[/itex].

By reductio-ad-absurdum let's assume that:

[tex]|X-Z|>|X-Y|+|Y-Z|[/tex]

re-writing it in different form, we have that:

[tex]|X|-|X \cap Z| > |X|+|Y|-|X \cap Y|-|Y\cap Z|[/tex]

Now, recalling the inclusion-exclusion formula for three sets X,Y,Z, we can write:

[tex]|X|-|X \cap Z| > |X\cup\ Y\cup Z| - |Z| + |X\cap Z| - |X\cap Y\cap Z|[/tex]

Simply re-arranging the terms, and using the inclusion-exclusion formula for the leftmost term yields:

[tex]|X \cup Z| + |X\cap Y\cap Z| > |X\cup\ Y\cup Z| + |X\cap Z|[/tex]

Now, it is easy to observe that [itex]|X \cup Z| \leq |X\cup\ Y\cup Z|[/itex] and [itex]|X \cap Y\cap Z| \leq |X\cap\ Z|[/itex], so the leftmost term is always less than or equal to the rightmost term: we reached a contradiction with the initial hypothesis and the statement is proved.

--Interestingly we have not used the fact that |X|=|Y|=|Z|, so apparently the statement holds in general.
 
Last edited: