1

I'm reading the Book of Proof textbook and I got stuck on the following example question:

Proposition: If A is any set of 10 integers between 1 and 100, then there exist two different subsets X ⊆ A and Y ⊆ A for which the sum of elements in X equals the sum of elements in Y.

Textbook Solution: Suppose A ⊆ {1,2,3,4,...,99,100} and |A| = 10. Notice that if X ⊆ A, then X has no more than 10 elements, each between 1 and 100, and therefore the sum of all the elements of X is less than 100·10 = 1000. Consider the function f : P(A) → {0,1,2,3,4,...,1000} where f(X) is the sum of the elements in X. As |P(A)| = 2^10 = 1024 > 1001 = |{0,1,2,3,...,1000}| it follows from the pigeonhole principle that f is not injective.

Here are my confusions about this example:

1) From the above: "therefore the sum of all the elements of X is less than 100·10 = 1000". I'm not certain why the sum must be less than 100·10. Is it because that the set X may be {100,100,100,100,100,100,100,100,100,100}, so its sum would be 100·10? Since the problem did't state whether the values from 1 to 100 can be repeated. But from my understanding, {100,100,100,100,100,100,100,100,100,100} = {100}...but the elements can't repeat since |P(A)| = 2^10 tells us that the power set of a set with 10 elements is 2^10, which means that there are 2^10 combinations of different sums, so it can't have repeating elements such that {ten 100s} and in this case, it should be less than or equals to 91+92+...+100 = 955 to make it more precise?

2) "As |P(A)| = 2^10 = 1024 > 1001 = |{0,1,2,3,...,1000}|", why does the set contains a zero in output set "{0,1,2,3,...,1000}". Since the set A contains only numbers from 1 to 100, there is no sum of any elements of the subsets of A that is equals to zero. I'm thinking that since X ⊆ A, then null set is in set X, so the sum of an empty set is zero? I'm not sure if this logic is correct.

Thanks for the help.

Sam Kay
  • 117
  • "it should be less than or equals to 91+92+...+100 = 955 to make it more precise?" Why would being more precise be a good thing? If $SUM \le 955 < 1000$ then $SUM < 1000$. So... what's the problem? – fleablood Nov 09 '17 at 23:16
  • Actually, 2) bugs me too. The 0 is absolutely unnecessary. But $955 < 1000 < 10001 < 1024$ so again... what's our problem? – fleablood Nov 09 '17 at 23:20
  • Point being, being more precise to make an inequality tighter might be more sophisticated but it does not in any sense make a looser less precise inequality any less true. If I came up with some weird reason the sum was less than or equal to $1023$ (lord only knows how I'd come up with it) my proof would still be correct. – fleablood Nov 09 '17 at 23:23
  • Oh, wait.... the $0$ is necessary as the empty set is a legitimate subset. Of course, it is trivial to point out that the empty set is the only subset with a sum of $0$ so we don't have to consider it. But $0$ is a valid sum. – fleablood Nov 09 '17 at 23:25
  • It's a little like if we were asked to prove Whales are alive, we could prove that whales have DNA that proves they are must closely related to either pigs or hippos and going into a seven year research grant to answer the question, when all we had to do was say "whales have cells; everything with cells are alive". – fleablood Nov 09 '17 at 23:45

2 Answers2

0

For (1)

You're right that there can be no repetitions, your subset can't have $100$ ten times. But whatever it has, $100 \times 10$ must be greater than the sum, so the sum is less than $1000$.

For (2)

Your right that the sum can't be $0$ so there is one fewer possible value.

But for the pigeonhole principle argument to work all you need is an inequality. The bounds from both (1) and (2) are good enough. No need to work harder to improve them.

Ethan Bolker
  • 95,224
  • 7
  • 108
  • 199
0

1) $\sum\limits_{x\in Y\subset A} x \le 955 < 100*10 < 1024$.

So you are correct that $955$ is a more precise upper bound. But that doesn't make the proof wrong. $100*10$ is still an upper bound. And so long as it is less than $1024$ the proof is valid.

2) $\sum\limits_{x \in \emptyset \subset A} x = 0$. So $0$ is a valid sum. Of course $0$ is only achieved via the emptyset so we know there aren't any other with a sum of $0$. We also know that if $\{1\} \subset A$ that that is the only subset with a sum of $1$. So you only have to consider $P(A) \to \{2,3,4....,955\}$ which has $954$ elements and .... again $954 < 1001 < 1024$

But pointing those exceptions out does nothing to make the proof any easier. Quite the opposite in fact. Pointing out $0$ and $1$ are unique sums and the maximum value is $91 + 92 + .... + 100 = 955$ are distracting and irrelevant tangents. If we were proving a much tighter result, it's conceivable that we'd need to use them but as our inequality is still good... why bother?

And again... being more precise does not make a less precise proof wrong.

fleablood
  • 124,253
  • Thank you for the detailed explanation. I thought of the same that 955 or 10010 wouldn't matter here as long as we have it less than 1024, then it's enough for the proof. I was just a bit paranoid that I might miss interpret the author's actual meaning of 10010, that's why I came here to ask for help :). Usually the textbook explains how they got the answers, but this time it was kinda outta the blue. Thanks again for the help, i understand it now. – Sam Kay Nov 12 '17 at 03:11