Try this
- : split into two classes so that no class contains ( counts too, e.g. ). Did you manage it?
- Set to and try again. If several attempts fail, tap “Ask the computer”.
- Read the “Addition principle” meter below: however you color, what do the class sizes add up to?
- How many successful colorings are there in all? Does swapping the two colors give a new partition?
If a set is the union of non-empty subsets that are pairwise disjoint:
then is called an -partition of . The most direct consequence is the addition principle: .
The handiest way to think of a partition is as a coloring: everything in one piece gets the same color. “Can it be partitioned as required?” becomes “Can it be colored as required?”
Predict first
In how many ways can be split into two pieces (unordered, each non-empty)?
Give each element one of two colors: colorings. Remove the that use only one color (the other piece would be empty), leaving . Swapping the colors gives the same partition, so divide by : ways.
You can also count directly: a single element on its own gives ways, two-and-two gives , for in all.
Why 5 numbers cannot escape
{1,2,3,4,5} cannot be split into two pieces that both avoid x+y=z
Step 1 / 5- Start with 1, without loss of generality
Suppose a valid split exists. The two colors play the same role, so without loss of generality is in the first class (●).
“Without loss of generality” and “forced” are the two key phrases in proofs like this: symmetry halves the case work, and each step leaves only one choice, so the argument ends in a few moves. , on the other hand, can be split: and . Between and lies the border between “possible” and “impossible”.
Another restriction: equal sums
Now split into pieces so that every piece has the same sum. Before you start, think: what must the total satisfy?
A total divisible by is necessary, but it is not enough: for the total is , so each piece should be , yet on its own is already too big. A necessary condition rules out a lot of cases; the ones that remain have to be settled one by one with a construction.
Practice
In how many ways can be split into two pieces (unordered, each non-empty)?
For which among can be split into two pieces with equal sums? (List all such , separated by commas.)
In how many ways can be split into three pieces (unordered, each non-empty)?
For which among can be split into three pieces with equal sums?