English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have |S1| = n and |S2| = m. I need to prove |S1 U S2| <= n+m

I need to formally prove this. I think i should just substitute the n and m for |S1| and |S2| respectfully, however im kinda confused if that actually proves that.

The union simply means that the new set will be all of the elements in each set and if there are duplicates they are only counted once.

Thanks

2006-09-13 04:36:53 · 4 answers · asked by Anonymous in Science & Mathematics Mathematics

4 answers

First, assume that S1 and S2 are subsets of a universal set A. Then S1 U S2 is also a subset of A. S1 and S2 may be disjoint or not.

Since S1|=n and |S2|=m, then
S1 = {a1,a2,a3,...,an} and
S2 = {b1,b2,...,bm}

then S1 U S2 = {a1, a2, a3, ...an, b1, b2, ...,bm}

If S1 and S2 are disjoint, then no member repeats. Therefore
|S1 U S2| = n + m

However, if S1 and S2 are not, then they have a common element. (AKA ai = bj) Hence the union will only list it once. Therefore
|S1 U S2| < n+m

2006-09-13 05:50:40 · answer #1 · answered by dennis_d_wurm 4 · 0 0

You just need to use the fact that S1 union S2 = S1 +S2 - (S1 intersect S2) and then you use the triangle inequality.

2006-09-13 06:32:00 · answer #2 · answered by raz 5 · 0 0

First, argue that if all elements of both sets are unique then the cards are equal; if there are repeats, the card of the union set wil be less then the two combined cards.

2006-09-13 04:49:16 · answer #3 · answered by bruinfan 7 · 0 0

Sure, let A = {even integers}, B = {odd integers}, A U B = {all integers} Then A≠B, but |A| = |B| = |A U B|.

2016-03-26 23:18:40 · answer #4 · answered by ? 4 · 0 0

fedest.com, questions and answers